You are on page 1of 5

Started on Friday, 21 October 2022, 12:23 PM

State Finished
Completed on Friday, 21 October 2022, 12:25 PM
Time taken 1 min 57 secs
Marks 20.00/50.00
Grade 40.00 out of 100.00
Question 1
Incorrect
Mark 0.00 out of 10.00

Flag question

Question text
Suppose that the code segment in the box below were executed. What would be the
value of z?

a.
5

b.
2

c.
4
d.
3
Feedback
Your answer is incorrect.

Question 2
Incorrect
Mark 0.00 out of 10.00

Flag question

Question text
Suppose the following code were executed. What would be the value of z?

a.
4

b.
20

c.
7

d.
10
Feedback
Your answer is incorrect.

Question 3
Correct
Mark 10.00 out of 10.00

Flag question

Question text
Suppose the following code were executed. What would be the value of z?

33

b.
7

c.
9

Feedback
Your answer is correct.

Question 4
Incorrect
Mark 0.00 out of 10.00

Flag question

Question text
What is the output from each code segment below?

a.
1,0

b.
23,1

c.
23,23

d.
23,0
Feedback
Your answer is incorrect.

Question 5
Correct
Mark 10.00 out of 10.00

Flag question

Question text
What is the output from each code segment below?

a.
1,0

b.
1

c.
0,0

d.
1,1
Feedback
Your answer is correct.

You might also like