Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Coding Midterm 2020

Total questions: 60

Worksheet time: 11hrs 32mins

Name
Class
Date
1.

What is this called?

a)

Used Space

b)

Cowbell

c)

User Interface

d)

Unique Identifier

2.

Where is the Stage?

a)

Top Left

b)

Top Right

c)

Bottom Left

d)

Bottom Right

3.

Which group would allow me to loop 15 times?

a)
b)
c)
d)
4.

How would I go about changing the name of a sprite

a)

Shout loudly at the screen

b)

Look for the appropriate block in the block library

c)

Change the background of the stage

d)

Click on the text above the script area

5.

The reason I cannot see the script I was writing is:

a)

Because I am looking at the wrong computer

b)

Because I have selected a different sprite

c)

A frog ate it

d)

A big boy erased it and then ran away

6.

What is the best definition of a script in Scratch?

a)

Something actors say on the stage

b)

Blocks connected together to form instructions to a particular thing

c)

Frog

d)

The area which sprites carry out their instructions

7.
a)
Make the character spin
b)
Make the ball bounce
c)
Start the game 
d)
Add a sprite
8.
An algorithm is..
a)
.. A set of instructions
b)
... A motion block
c)
... A character
d)
... A loop statement 
9.
A costume is 
a)
A code block
b)
A motion 
c)
A different way a sprite looks
d)
A sound 
10.
Variables are already made for you
a)
True 
b)
False 
11.
In scratch, a character or object is called? 
a)
Spirit
b)
Sprint
c)
Sprite
d)
Split
12.
You use _____ blocks to program Scratch
a)
Code
b)
Algorithm
c)
Sequence 
d)
Memory
13.
The Y axis is "Up" and "Down" 
a)
True 
b)
False 
14.
Which command let the sprites walk ?
a)
Walk
b)
Run
c)
Move
d)
GO!
15.
Can we give sprite specific location to start from ?
a)
No
b)
Yes
16.
Programming languages give computers instructions
a)
True
b)
False
17.

What is scope as it relates to programming?

a)

The minimum and maximum values that can be used

b)

A declaration as local or global

c)

The range over which a variable or block can be used.

d)

The height andwidth of the stage in Scratch

18.

A custom block in Scratch is best described as:

a)

A sprite costume drawn by the programmer.

b)

A snippet of code that can be used by referencing the block name.

c)

An existing Scratch block that has been reprogrammed

d)

A centralized location for storing sprite scripts

19.

When would code be reused?

a)

When the same code appears in multiple places in a program

b)

If the project contains more than one variable.

c)

When there is more than one sprite in a project.

d)

Code should never be reused.

20.

What are the values passed to a custom block in Scratch called?

a)

snippets

b)

scripts

c)

variables

d)

arguments

21.

Which data type cannot be used with a custom block in Scratch?

a)

number

b)

string

c)

Boolean

d)

object

22.

What describes a string input?

a)

A looping input that connects back to itself.

b)

A sequence of numbers

c)

Text or a variable that contains text.

d)

A condition that is either true or false.

23.

A(n) __________ is software designed to help the user in some way, such as a weather app.

a)

utility

b)

operating system

c)

file structure

d)

naming convention

24.
Which of the above let us manipulate the position of the selected sprite while coding?
a)
1
b)
2
c)
3
25.
You want to test an interaction between two sprites. In which color you would look at?
a)
Motion
b)
Events
c)
Sensing
26.
You want to change costume when a sprite touches to another. In which color you would look at?
a)
Looks
b)
Events
c)
More Blocks
27.
At some part of your script you want your sprite character change to next costume when it touches to color “red”. Which of the script would do that?
a)
1
b)
2
c)
3
28.
You control a sprite with keyboard and you do not want the sprite get out of the stage. Which of the script would do that?
a)
1
b)
2
c)
3
29.
You created  a maze game. If your character touches the walls of the maze you want your character return to starting point which is x=-225, and y= -155. Which of the script would do that?
a)
1
b)
2
c)
3
30.
You want to display the “Score” the player makes. This means you need to create a “Score” variable. In which color you would go to create the “Score” variable?
a)
Events
b)
Control
c)
Data
31.
You look at your friend’s Scratch project and you see the following script. What do you think happens when this script is executed?
a)
The timer starts counting 1 until 5
b)
The sprite waits 1, 2, 3, 4, or 5 seconds
c)
The maximum time the sprite to wait can be 5 seconds
32.

What is the scope of a custom block?

a)

global

b)

local to the script

c)

either global or local

d)

local to the sprite

33.

4. What concept in computer science do custom blocks serve?

a)

expressions

b)

variables

c)

reusability

d)

strings

34.

5. Which of the following can be used as input for a custom block?

a)

round, floor, ceiling

b)

variable, expression, value

c)

block, define, script

d)

sound, costume, backdrop

35.

Making a custom block is a two-step process of creating the block and then ______ it with the code snippet.

a)

modified

b)

defining

c)

divide

d)

move

36.

Benefits of using custom blocks include making the code easy to read, creating small sections of code, and allowing the code to be more easily ______.

a)

defining

b)

read

c)

modified

d)

reduced

37.

Using custom blocks for repeating code not only reduces the chance for ______, it is an efficient way to work.

a)

repetition

b)

input strings

c)

correct answers

d)

errors

38.

A container made by the coder that holds a snippet of code.

a)

call

b)

custom block

c)

utility

d)

arguement

e)

scope

39.

A program that helps the user in some way.

a)

call

b)

custom block

c)

utility

d)

argument

e)

scope

40.

A reference to a custom block.

a)

call

b)

custom block

c)

utility

d)

argument

e)

scope

41.

Value passed to and used in the definition of a custom block.

a)

call

b)

custom block

c)

utility

d)

argument

e)

scope

42.

The data types a custom block can accept are ______, ______, and ______. (any order)

a)

round, floor, ceiling

b)

number; string; Boolean

c)

block, define, script

d)

sound, costume, backdrop

43.

Which of the following can be used as input for a custom block?

a)

round, floor, ceiling

b)

variable, expression, value

c)

block, define, script

d)

sound, costume, backdrop

44.

2. What is another name for an event?

a)

block

b)

occurrence

c)

trigger

d)

target

45.

Where must an event hat block be placed in the code stack?

a)

At the bottom.

b)

At the top.

c)

By itself.

d)

It can be placed anywhere in the stack.

46.

4. Which of the following is not an event in Scratch?

a)

Moving a sprite.

b)

Pressing a key.

c)

Clicking a sprite.

d)

Switching backdrops

47.

5. What is a broadcast in Scratch?

a)

A live feed from a podcast.

b)

A message sent by one sprite that can be received by any other sprite.

c)

The Scratch project published to the Internet.

d)

Anything that happens for which the software can recognize and respond.

48.

What is the act of a Scratch sprite accepting a broadcast?

a)

listening

b)

catching

c)

receiving

d)

encapsulating

49.

What is the most important aspect of coordinating several scripts in Scratch?

a)

Set up a logical order of activities before inserting the events

b)

Create separate sprites for each script.

c)

Insert all events before doing anything else.

d)

Create a broadcast for each event in each script.

50.

Which of the following is not a requirement for a game to be a video game?

a)

It has rules.

b)

It is software-based.

c)

It has a victory condition.

d)

It uses broadcasts.

51.

A(n) __________ block can be placed anywhere in the code stack.

a)

when I receive broadcast

b)

when Stop Sign clicked

c)

event stack

d)

event hat

52.

In Scratch, what word appears at the beginning of each event hat block?

a)

if

b)

when

c)

send

d)

then

53.

A 'Repeat Until' block in Scratch is what type of programming?

a)

Conditional

b)

Iteration

c)

Variable

d)

Array

54.

What is the name of a programming method which can store a numbered list of items of data?

a)

Variable

b)

Iteration

c)

Decomposition

d)

Array

55.

On the Scratch stage, what are the coordinates of the centre of the stage?

a)

150, 150

b)

200, 200

c)

0,0

d)

0, 150

56.

In Scratch, what is the purpose of the purple blocks?

a)

Storing important data

b)

Using a block of code several times

c)

Making code stand out

d)

Using code for different sprites

57.
What is coding?
a)
Is a secrete language used by spies
b)
Is assigning code to create a program, app or website
c)
Is assigning loops to a device
58.
The language computer speaks is called...
a)
Bipolar Code
b)
Code bilateral
c)
Binary code
59.
What is Binary Code?
a)
Is a language that only the Java script code can use
b)
A mathematical language that uses 1 & O's
c)
Is a computer language that use 1-10 numbers to code
60.

What is the first step in every Scratch project?

a)

A. creating sprites

b)

B. coding

c)

C. planning

d)

D. publishing