CPT2 Opinions----------------------------

Watch
This discussion is closed.
Surfing Hamster
Badges: 1
Rep:
?
#41
Report 17 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 17 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 17 years ago
#43
yeah but the print thing dosent return a value
0
Computergeek
Badges: 1
Rep:
?
#44
Report 17 years ago
#44
im sure print is a procedure
0
Surfing Hamster
Badges: 1
Rep:
?
#45
Report 17 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 17 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
0
X
new posts
Back
to top
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

Have you made your firm and insurance uni choices yet?

Yes (117)
55.19%
Yes, but I want to swap them (16)
7.55%
No, but I know who I want to choose (19)
8.96%
No, I still don't know who I want to choose (50)
23.58%
I have decided I don't want to go to uni anymore and will not be choosing (10)
4.72%

Watched Threads

View All