• Best of luck to the class of 2024 for their HSC exams. You got this!
    Let us know your thoughts on the HSC exams here
  • YOU can help the next generation of students in the community!
    Share your trial papers and notes on our Notes & Resources page
MedVision ad

Railroad diagram - q23 (1 Viewer)

Fly Kite

Member
Joined
Aug 1, 2008
Messages
82
Gender
Male
HSC
2010
:eek:omgshh
i put like there is no repetition for this question as the structure only showed and if statement
so i didnt even draw a railroad:eek::eek:

thats 3 marks gone!!!:eek::eek::eek::eek:
 

Terlob

Member
Joined
May 6, 2007
Messages
164
Location
Wagga Wagga
Gender
Male
HSC
2008
Fly Kite said:
:eek:omgshh
i put like there is no repetition for this question as the structure only showed and if statement
so i didnt even draw a railroad:eek::eek:

thats 3 marks gone!!!:eek::eek::eek::eek:
Dont worry, I dont think many people did this question well. I didn't :p
 

witide

Member
Joined
Jan 31, 2008
Messages
439
Gender
Male
HSC
2008
It was a post-test repetition wasn't it? I thought we had to have REPEAT and UNTIL at the start and end of it, but apart from that mine was the same as yours.
 

whitey9999

New Member
Joined
Aug 14, 2007
Messages
26
Gender
Male
HSC
N/A
Yeh this question sucked, i didnt have a clue at first i thought u had to do sumthing like yours but...

I looked at the if statement they had up there and changed my mind. i just put the words

----REPEAT-----Assignement statement/User input statment-------------UNTIL --- Assignment Statement ---


with um the Repeat and until in circles and the others in rectangles as you do.
 

i4gotmypass

New Member
Joined
Sep 21, 2008
Messages
5
Gender
Male
HSC
2008
i had it alot like the original post. At the start was a 'DO' in an oval and a 'WHILE' in an oval before the conditional exp. REPEAT and UNTIL would be the same. I just wrote it that way because it's how you do it in C. i kind of regret not using repeat until words, but DO / WHILE is how its done in the real world's most popular language.
 

darcys22

New Member
Joined
Dec 8, 2007
Messages
8
Gender
Male
HSC
2008
I had exactly the same as that one, except before i put the repetition i put a ( ; )
 

BlazifeX

HONK HONK
Joined
Apr 12, 2007
Messages
24
Location
Sydney
Gender
Male
HSC
2008
witide said:
It was a post-test repetition wasn't it? I thought we had to have REPEAT and UNTIL at the start and end of it, but apart from that mine was the same as yours.
Yeah I put that in too, think you had to.
The other thingy had IFF and ENDIFF so I would assume so.
 

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

Top