CPT2 Opinions---------------------------- Watch

This discussion is closed.
Surfing Hamster
Badges: 1
Rep:
?
#41
Report 15 years ago
#41
Originally posted by mrmarsupial
not too sure I did CPT in Jan and the last question was a dry run of a program and it was the hardest one I seen, something about bubble sort which i had never encountered before so that messed me up from getting an A
Those dry run algorithms are worth so many marks, they're very discriminatory!! In Thursday's CPT1 exam I got PAT to be transformed into TAP and so the final output was FALSE.

Did anyone else get this? :P
0
Surfing Hamster
Badges: 1
Rep:
?
#42
Report 15 years ago
#42
Originally posted by Unregistered
PAT: TAP (Or the other way round, I can't remember now!)

I put print as a function, and the other two as a procedure, and I think I'm bound to get 2 out of the the 3 marks on that table!
I marked them all as procedures!? An example of a function is:

Code:
function addintegers(x,y)
   dim total as integer
   total = x + y
   addintegers = total
end function
Functions must return a value, right?
0
Computergeek
Badges: 1
Rep:
?
#43
Report 15 years ago
#43
yeah but the print thing dosent return a value
0
Computergeek
Badges: 1
Rep:
?
#44
Report 15 years ago
#44
im sure print is a procedure
0
Surfing Hamster
Badges: 1
Rep:
?
#45
Report 15 years ago
#45
Yeh I know, that's why I put them all as procedures lol

Not sure if it's right though
0
Unregistered
Badges:
#46
Report 15 years ago
#46
Er.. my teacher told me that parameters follow a procedure in a bracket.

2/3 of em did, print didnt.

I ****ed the dry run up a treat - ive never been able to do them.

I wrote True
X
new posts
Latest
My Feed

See more of what you like on
The Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

Personalise

Were you ever put in isolation at school?

Yes (274)
27.29%
No (730)
72.71%

Watched Threads

View All
Latest
My Feed