MedVision ad

SDD Final Stretch (1 Viewer)

dav53521

Well-Known Member
Joined
Mar 23, 2022
Messages
317
Gender
Male
HSC
2022
I thought since its conditional, module 2 and 3 can be skipped if the condition is not met?
That might be correct, although I would've thought they would put the diamonds on the individual lines like in the course spec, but that might've been more confusing.

However, it seems that the diagram should be read from left to right, but in B, module 3 is executed before module 2, which doesn't make sense if read in that way. But it's been some time since I last read one of these diagrams so I might be interpreting it wrong.
 

igor9

Well-Known Member
Joined
Sep 9, 2024
Messages
566
Gender
Male
HSC
2024
official answers are out and Q16 is A, what a fucking guess! but I also don't know how Q12 is D so it balances it out for me, 17/20 it is then.
 

PCNQQn2

Member
Joined
Jan 7, 2008
Messages
62
Gender
Undisclosed
HSC
N/A
but I also don't know how Q12 is D
Do a desk check on the first 3 lines:

screenshot.72.png

Temp = X
List(4) = X
List(1) = X

The array contents are then XAWX

The first 3 lines look like they're swapping elements 1 and 4, but they don't.
 

igor9

Well-Known Member
Joined
Sep 9, 2024
Messages
566
Gender
Male
HSC
2024
Screen Shot 2024-11-14 at 2.13.30 pm.png
also i went off the course specs btw which said this was a swapping algorithm, and literally looks exactly like that, so that's why i chose C.
 

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

Top