Y8 - GM - L05 - Selection Structures Quiz

Y8 - GM - L05 - Selection Structures Quiz

12th Grade

5 Qs

quiz-placeholder

Similar activities

HTML5 Forms

HTML5 Forms

11th - 12th Grade

10 Qs

POST TEST HARI 2

POST TEST HARI 2

1st Grade - University

8 Qs

HTML Tables

HTML Tables

9th - 12th Grade

10 Qs

Java If Else

Java If Else

9th - 12th Grade

10 Qs

Hari 3 - Kuis Coding & Perkenalan AI

Hari 3 - Kuis Coding & Perkenalan AI

1st - 12th Grade

10 Qs

Javascript Quiz 1

Javascript Quiz 1

10th - 12th Grade

9 Qs

Ai nhanh hơn For-do

Ai nhanh hơn For-do

5th Grade - University

10 Qs

Python lists and tuples

Python lists and tuples

12th Grade

10 Qs

Y8 - GM - L05 - Selection Structures Quiz

Y8 - GM - L05 - Selection Structures Quiz

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Terry Watts

FREE Resource

5 questions

Show all answers

1.

DROPDOWN QUESTION

1 min • 1 pt

Fill in the Blanks - Part 1

-

If kettle has no water then

Fill Kettle with water

​ (a)  

Boil Kettle

Spoon hot chocolate into the cup

​ (b)  

Pour boiled water from kettle into the cup

​ (c)  

​ (d)  

Stir hot chocolate

Else stir until it is mixed before proceeding

​ (e)  

Add a dash of milk

If kettle is not boiled then
If chocolate is not mixed enough then
If the kettle has boiled then
If extra milk needed then
Else wait for kettle to boil before proceeding

2.

DROPDOWN QUESTION

1 min • 1 pt

Fill in the Blanks - Part 2

-

​ (a)  

Add whipped cream on to the top of the drink

​ (b)  

​ (c)  

​ (d)  

If drink is cool enough then

Drink hot chocolate

​ (e)  

If whipped cream needed then
Add mini marshmallows to the top of the drink
Wait for it cool
Else wait until cool before drinking
If marshmallows needed then

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is happening in this segment of code? (click the image to enlarge it)

If the score is greater than 1000 then draw the caption “you win” at coordinates 0,0 else draw the caption “Game Over” at the ROOM coordinates 0,0

If the score is greater than OR EQUAL to 1000 then draw the caption “you win” at coordinates 0,0 else draw the caption “Game Over” at the ROOM coordinates 0,0

If the score is greater than 1000 then draw the caption “you win” at coordinates 0,0 else draw the caption “Game Over” at the OBJECT coordinates 0,0

If the score is greater than 1000 then draw the caption “Game Over” at coordinates 0,0 else draw the caption “You Win” at the ROOM coordinates 0,0

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is happening in this segment of code? (click the image to enlarge it)

If the score is greater than 1000 and if the “game_complete” variable equals true then set the score to 0 else add 10 to the score

If the score is greater than 1000 and if the “game_complete” variable DOES NOT equal true then set the score to 0 else add 10 to the score

If the score is greater than 1000 and if the “game_complete” variable is equal to true then set the score to 0 else set the score to 10

If the score is greater than 1000 and if the “game_complete” variable is equal to true then add 10 to the score to 0 else set the score to 10

5.

REORDER QUESTION

1 min • 1 pt

What order should these blocks go in if ….

…when the player presses the left mouse button and the player instance exists then it removes itself from the game otherwise if the right mouse button has been pressed the player loses a life.

Rearrange the blocks below into the order in which these actions should run:

Media Image
Media Image
Media Image
Media Image
Media Image

Discover more resources for Computers