SDD: Multiple Choice (2 Viewers)

dv3

Member
Joined
May 28, 2008
Messages
89
Gender
Male
HSC
2009
How did you guys go in the multiple choice? Please post your answers so we can compare. :)
 

Nivek5

Member
Joined
Dec 2, 2008
Messages
48
Gender
Male
HSC
2009
1|A
2|C
3|D
4B
5|B
6|C
7|B
8|D
9|C
10|B
11|C
12|A
13|D
14|B
15|B
16|B
17|B
18|A
19|C
20|D

I know there are mistakes as i generally didnt know the answer :p
 

robm

Member
Joined
Mar 15, 2008
Messages
54
Gender
Male
HSC
2009
1)a
2)c
3)d
4)b
5)b
6)c
7)d
8)d
9)b
10)c
11)c
12)a
13)d
14)c
15)b
16)b
17)c
18)a
19)c
20)a


k now other people post up theirs, regardless of what you got :)
 

Snoople

Member
Joined
Sep 1, 2008
Messages
76
Gender
Male
HSC
2009
i spent heaps of MC cutting down stupid answrs and picking randomly out of ones i had lol and i got 16 wrong lol..
i put C.. such a tard
 

dv3

Member
Joined
May 28, 2008
Messages
89
Gender
Male
HSC
2009
1 a
2 c
3 d
4 b
5 b
6 c
7 d
8 d
9 a (mainly because its little code which could simply show a message to check if the module has passed correctly......i was tossing between a and b and decided to go a lol ----probably wrong though)
10 b
11 c
12 a
13 d
14 c
15 b
16 b
17 c
18 a
19 c
20 a (guessed)
 

Nivek5

Member
Joined
Dec 2, 2008
Messages
48
Gender
Male
HSC
2009
20 = D

Cant be found = true cuz there is no checks for Found = True so it would be useless

If target = index it would have to continue through the whole array.. say it was 5000 index long.. and you found it on index 50... you would have to go through 4950 more indexs for no reason

No need to print

Has to be D = Index=Lengthofarray.

So next pass it will end.

=]
 

mik e

New Member
Joined
Mar 17, 2009
Messages
5
Gender
Undisclosed
HSC
2009
I dont know how well i did(Im not a uber geek so yeah) but this is what i got
1.A
2.C
3.D
4.B
5.B
6.C
7.A
8.A
9.C
10.D
11.A
12.D
13.D
14.C
15.B
16.C
17.A
18.B
19.C
20.D

And is there a way to find out the answers???
 

joshhunt

Member
Joined
Nov 5, 2008
Messages
60
Gender
Male
HSC
2009
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) b
15) b
16) FORGOT TO GO BACK AND ANSWER!!!!11ONE
17) c
18) a
19) c
20) b - I really didnt like this question. I think A, B and D all should have been in there. I suppose B answered the question better… I think (the question was very vague)
 

mystiques4

Awesome Member
Joined
May 30, 2009
Messages
208
Gender
Male
HSC
2009
I got A for 11.
C seemed wrong... I thought the brackets meant variables being passed from module to module, not data being read?
 

mik e

New Member
Joined
Mar 17, 2009
Messages
5
Gender
Undisclosed
HSC
2009
Yeah i got A aswell it sounded right i hope.
 

NitroBoon

Member
Joined
Sep 8, 2007
Messages
45
Location
North Parramatta
Gender
Male
HSC
2009
I got:
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) A
 

51684

Member
Joined
Dec 21, 2007
Messages
137
Gender
Male
HSC
2009
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. No idea.
16. B
17. C
18. A
19. C
20. D
 
Last edited:

lolrofllol

Member
Joined
Feb 29, 2008
Messages
127
Gender
Male
HSC
2009
1. A
2. C
3. D
4. B
5. B
6. C
7. D
8. C (teacher said D)
9. B
10. B
11. C
12. A
13. D
14. C
15. B (not sure)
16. B
17. C
18. A
19. C
20. D

Fair test...
 

Handmedown

New Member
Joined
Oct 24, 2007
Messages
26
Gender
Male
HSC
2010
Yeah 8 would have been D in my opinion. It wasn't C however, as DLLs are included after compilation in a process called linking.

15 would have been A. If you were to imagine M1 calling M2 the line would have been:

M2 (a,b) as a and b were the names of the parameter and control parameter/flag between the two.

Hence the first line would have been:

BEGIN SUBPROGRAM M2 (a,b)
 

Mr-Morten

New Member
Joined
Mar 15, 2008
Messages
9
Gender
Male
HSC
2009
15 would have been A. If you were to imagine M1 calling M2 the line would have been:

M2 (a,b) as a and b were the names of the parameter and control parameter/flag between the two.

Hence the first line would have been:

BEGIN SUBPROGRAM M2 (a,b)
I put B, but technically I can't see that any of the answers are correct. C and D are obviously wrong so that leaves A and B. With A, b isn't a paramater passed to M2, its a value returned to M1. Hence it shouldn't be in the first line as a parameter for M2. With B, a and d are both passed to M2, but d still shouldn't be a parameter for M2 as it's supposedly the return from a call made to M4.

That's how I see it anyway. Can anyone else shed any light on this?
 

sidereal

Member
Joined
Feb 15, 2008
Messages
38
Location
Canberra
Gender
Male
HSC
2009
Uni Grad
2013
I put B, but technically I can't see that any of the answers are correct. C and D are obviously wrong so that leaves A and B. With A, b isn't a paramater passed to M2, its a value returned to M1. Hence it shouldn't be in the first line as a parameter for M2. With B, a and d are both passed to M2, but d still shouldn't be a parameter for M2 as it's supposedly the return from a call made to M4.

That's how I see it anyway. Can anyone else shed any light on this?
this comes back to the stupid way the HSC psuedocode works. according to the specifications, there's no psuedocode instruction to "return" a value. instead they like to use a parameter in the subprogram that is assumed to be passed by reference. so something like:
Code:
BEGIN MAINLINE
	a = "hello"
	doStuff(a, b)
	PRINT b
END MAINLINE

BEGIN SUBPROGRAM doStuff(first, second)
	second = first
END SUBPROGRAM
is equivalent to:
Code:
BEGIN MAINLINE
	a = "hello"
	b = doStuff(a)
	PRINT b
END MAINLINE

BEGIN SUBPROGRAM doStuff(first)
	RETURN first
END SUBPROGRAM
the question was hilariously vague, but your explanation for B,C,D being wrong was right and this stupid stuff makes A the most correct answer
 
Last edited:

setonusyd

New Member
Joined
Nov 3, 2009
Messages
7
Gender
Undisclosed
HSC
N/A
Here is my multichoice:

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. B (Most people put B but looks like we may be wrong? My smart friend put A :p)...
16. B
17. C
18. A
19. C
20. D
 

Handmedown

New Member
Joined
Oct 24, 2007
Messages
26
Gender
Male
HSC
2010
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.
 

danny_2132

New Member
Joined
Mar 31, 2009
Messages
3
Gender
Male
HSC
2009
1 a
2 c
3 d
4 b
5 b
6 c
7 can remmber which one i chose><<<<
8 d
9 b
10 b
11 c
12 a
13 d
14 c
15 b
16 b
17 b
18 a
19 c
20 a


omg the last question took me like 20 mins to figure out and it was soo fuken easy!!!!!!!!!!!!!!!!!!!
 
Last edited:

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

Top