• Congratulations to the Class of 2024 on your results!
    Let us know how you went here
    Got a question about your uni preferences? Ask us here

SDD: Multiple Choice (2 Viewers)

setonusyd

New Member
Joined
Nov 3, 2009
Messages
7
Gender
Undisclosed
HSC
N/A
I gather there will also be some controversy over Q23. b) iii.

Does the subprogram use reference parameters? If it does not then you would have to insert the code to display the swimmer's time inside the subprogram after the loops (which is probably not very good abstraction/programming technique), as the values in mainprogram will not have changed from -1.
I just put add line 265: print swimmer_time

lol, is there something wrong with that?
 

51684

Member
Joined
Dec 21, 2007
Messages
137
Gender
Male
HSC
2009
I just put add line 265: print swimmer_time

lol, is there something wrong with that?
Did the exact same thing aha but I thought it might be wrong because it was worth 2 marks or something
 

Norcinu

Charliezard
Joined
Nov 30, 2008
Messages
35
Gender
Female
HSC
2009
Ah good, if 15 is A then I've got it right. I was really unsure with 7+8 though, so I definately got them wrong by the looks of it.
 

greatgreeks2

Member
Joined
Jul 10, 2008
Messages
100
Gender
Male
HSC
2009
15 is not A but D. this is becuase you all global parameters are meant to be in the bracket.
the blogal parameters in this are a,b,c,d

and 17 is B not C. this is because global variables are in the bracket. and the variable first is in the bracket hense it is global.
 

Handmedown

New Member
Joined
Oct 24, 2007
Messages
26
Gender
Male
HSC
2010
I just put add line 265: print swimmer_time

lol, is there something wrong with that?
If you assume that when the variables are altered by the while loops in the subprogram, they do not affect the variables back in mainprogram (which they shouldn't unless they are reference parameters); then that is correct.

If you put the print statement in the main program (between lines 140 - 150) then it will print -1.000 as the swimmers time.

15 is not A but D. this is becuase you all global parameters are meant to be in the bracket.
the blogal parameters in this are a,b,c,d

and 17 is B not C. this is because global variables are in the bracket. and the variable first is in the bracket hense it is global.
You do not have to pass global variables into modules, as their scope is the entire program.
 

sidereal

Member
Joined
Feb 15, 2008
Messages
38
Location
Canberra
Gender
Male
HSC
2009
Uni Grad
2013
15 is not A but D. this is becuase you all global parameters are meant to be in the bracket.
the blogal parameters in this are a,b,c,d

and 17 is B not C. this is because global variables are in the bracket. and the variable first is in the bracket hense it is global.
you can post this as often as you like, it's not going to make the wrong answers right
 

TechnIx

Member
Joined
Apr 4, 2009
Messages
88
Gender
Male
HSC
N/A
OK guys, I'm 100% confident in all my answers and I'm pretty good at this subject. According to the information in this thread, and some quick book re-reading, pretty sure these are the correct answers:

1.A
2.C
3.D
4.B
5.B
6.C
7.D
8.D
9.B
10.B
11.C
12.A
13.D
14.C
15.A
16.B
17.C
18.A
19.C
20.D

If you have any disputes, feel free to reply and we can work out the question (I'm just trying to compile a list of correct answers for us all)
 

NerasJ

New Member
Joined
Mar 3, 2008
Messages
2
Gender
Male
HSC
2009
1) a
2) c
3) d
4) b
5) b
6) c
7) b- i agree d is correct
8) d
9) b
10) b
11) c
12) a
13) d
14) c
15) b- i disagree with A, e.g. parameters point in, return values from functions point out, but i get what sidereal said
16) b
17) c
18) a
19) c
20) b- this one i had trouble understanding cause i thought it was supposed to be improving so it presents where the values are, but i get where D works, damn, should have read the question.
 
Last edited:

sidereal

Member
Joined
Feb 15, 2008
Messages
38
Location
Canberra
Gender
Male
HSC
2009
Uni Grad
2013
If you have any disputes, feel free to reply and we can work out the question (I'm just trying to compile a list of correct answers for us all)
these look spot on to me, exactly what i had
 

Handmedown

New Member
Joined
Oct 24, 2007
Messages
26
Gender
Male
HSC
2010
For Question 15, just something else to think about.

If you must put in brackets all variables coming into the module then...

Would M1 (the main program) require 'b' to be in brackets? Assuming M1 is the mainprogram and the module run first when executed, where would it get the value for b from?
 

TechnIx

Member
Joined
Apr 4, 2009
Messages
88
Gender
Male
HSC
N/A
1) a
2) c
3) d
4) b
5) b
6) c
7) b- i agree d is correct
8) d
9) b
10) b
11) c
12) a
13) d
14) c
15) b- i disagree with A, e.g. parameters point in, return values from functions point out, but i get what sidereal said
16) b
17) c
18) a
19) c
20) b- this one i had trouble understanding cause i thought it was supposed to be improving so it presents where the values are, but i get where D works, damn, should have read the question.
Well for 15, doesnt really matter i guess. Even if we are both wrong (unlikely) then its only a mark hah.....im happy with 19/20 lol
 

Fluorescent

Banned
Joined
Apr 5, 2009
Messages
266
Location
Sydney
Gender
Female
HSC
2009
1. A
2. C
3. D
4. B
5. B - this one was fairly vague IMO.... I might have put down c but I cant remember
6. C
7. D
8. C - I hated this question so much lol i read somewhere that DLL's are usually included in the compilation process ... D made no sense to me
9. B - i could see how it would be A aswell
10. B - i was laughing my ass off at this point
11. C
12. A
13. D
14 .C
15. B - these are the only 2 being passed to that module
16. B
17. I CANT REMEMBER... i think I did B
18. A
19. C
20. A - i had NFI
 

epochfail

New Member
Joined
Sep 24, 2009
Messages
1
Gender
Male
HSC
2011
I am 100% sure that the following answers are correct:

1 A
2 C
3 D
4 B
5 B
6 C
7 D
8 D
9 B
10B
11C
12A
13D
14C
15A -- ALL of the previous SDD exams pass the result variable to functions (dont ask me why, paper-makers are idiots)
16B
17C
18A
19C
20D


Overall, i was disappointed with the paper. Too easy. Expecting 98%+
 
Last edited:

Users Who Are Viewing This Thread (Users: 0, Guests: 2)

Top