Search Header Logo

PSPC - Week 11

Computers

University

Used 10+ times

PSPC - Week 11
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What block should be used in order to increase a counter by 1 everytime?

Set Block
Change Block
Ask Block
Join Block

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the following Snap application do?

Say AAAHHHH 20 times and then grow bigger
Say AAAHHHH  and then grow bigger
Say AAAHHHH 20 times and grow bigger at the same time
Say AAAHHHH and grow bigger at the same time

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What block would you use to store a variable?

Move
Increase
Set
Ask

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What blocks would you need to create the following applciation?

Pen down, Repeat, turn and Move
Pen down, Repeat, Step, Turn
Draw, Repeat, Move, Turn
Pen down, Repeat, Move, Turn

5.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

READ var
REPEAT UNTIL  var  is equal to  0  
PRINT var
  var = var – 2
END REPEAT 
Please state what would be the output of the above pseudocode for var = 8.

8, 6, 4, 2, 0
8, 7, 6, 5, 4, 3, 2, 1
8, 6, 4, 2 
Nothing will be printed as the loop won’t be executed

6.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

READ a, b
REPEAT 3 times  
IF (a>b)  
a = a -1  
ELSE   b = b-2  
ENDIF END REPEAT
For a = 8 and b = 6, what are the values of a and b after the above pseudocode is executed?

 a = 6, b = 4
a = 5, b = 6
a = 8, b = 0

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?