Lily09897
Badges: 9
Rep:
?
#1
Report Thread starter 5 months ago
#1
FUNC runQuiz(questions):
score → 0
FOR question IN questions:
answer → INPUT
IF answer → questionAnswer
score += 1

OUTPUT ("You scored ", score, "out of ", LEN(questions))

runQuiz(questions)
0
reply
philogrobized
Badges: 16
Rep:
?
#2
Report 5 months ago
#2
When I was doing gcse computer science a few years ago, I used to just keep a flow chart shape definition grid open. Then all I had to do was put the pseudocode into the shapes.
0
reply
Lily09897
Badges: 9
Rep:
?
#3
Report Thread starter 5 months ago
#3
(Original post by philogrobized)
When I was doing gcse computer science a few years ago, I used to just keep a flow chart shape definition grid open. Then all I had to do was put the pseudocode into the shapes.
so do you know how to convert this into flowchart

FUNC runQuiz(questions):
score → 0
FOR question IN questions:
answer → INPUT
IF answer → questionAnswer
score += 1

OUTPUT ("You scored ", score, "out of ", LEN(questions))

runQuiz(questions)


i am not sure how to do it.
0
reply
X

Quick Reply

Attached files
Write a reply...
Reply
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

How are you feeling about starting university this autumn?

Really excited (72)
22.78%
Excited but a bit nervous (142)
44.94%
Not bothered either way (38)
12.03%
I'm really nervous (64)
20.25%

Watched Threads

View All