wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

MicroBit Lesson 4 AND 5

Total questions: 12

Worksheet time: 6mins

Name
Class
Date
1.

Conditionals follow the format of

a)

THEN this, IF that.

b)

IF this, THEN that.

c)

OF this, THAT'S that.

d)

ALL of the above.

2.

The ELSE portion makes sure that a different action is performed in either case of the IF/THEN stetement.

a)

FALSE

b)

TRUE

3.

Looping Is a form of

a)

CONDITIONAL

b)

ITERATION

c)

THEN STATEMENTS

d)

IF STATEMENTS

4.

In computer programming, iteration is

a)

a form of literature

b)

The repetition of a sequence of code.

c)

The repetition of a multi function.

d)

The of your poetry.

5.

A loop repeats code until

a)

a variable is met.

b)

a certain statement is written

c)

a certain iteration is met

d)

a certain condition is met.

6.

In computer programming, this is known as the ‘shampoo algorithm’

a)

Wet hair. Apply shampoo to wet hair Scrub shampoo into hair Rinse shampoo out of hair REPEAT

b)

Wet hair. Apply shampoo to wet hair Scrub shampoo into hair

c)

Wet hair. Apply shampoo to wet hair

d)

Scrub shampoo into hair Rinse shampoo out of hair

7.

The ‘shampoo algorithm’ and is an example of :

a)

a computer jingle

b)

an ITERATION

c)

a loop

d)

a CONDITION

8.

the ‘shampoo algorithm’ is an example of an _________ OR ___________ As the algorithm keeps repeating with no condition that ends the looping.

a)

CONDITIONAL

b)

"integer" OR "endless loop'

c)

'0NE loop'

d)

'infinite loop OR 'endless loop'

9.

A ____________ is a type of variable used as input to a function or routine.

a)

VARIABLE

b)

CONDITIONAL

c)

LOOP

d)

PARAMETER

10.

A helpful feature of Microsoft MakeCode is

a)

"CON" OR CONDITIONAL CODE

b)

Slo-Mo”, or slow-motion mode.

c)

DELETION

d)

YOUTH APPEAL

11.

Loops inside other loops are known as nested loops.

a)

TRUE

b)

FALSE

12.

For your block activity in lesson 5, you had to

a)

Code a radio transmission

b)

Code a Sprite to laugh.

c)

Code a Sprite to walk a square.

d)

Code a flashing message