wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Code Vocab and concept Review

Total questions: 32

Worksheet time: 12mins

Name
Class
Date
1.

What would be the best ID name for an object?

a)

DOGBUTTON

b)

DogButton

c)

dogButton

d)

DogButton

2.

Define Binary

a)

a set of instructions for the computer

b)

punch cards that the computer can read

c)

ones and zeros

3.

I want to place a red circle at the bottom of my canvas, but there is a red line across the canvas. What did I do wrong?

a)

I forgot to use penDown

b)

I forgot to change the color to red

c)

I forgot to use penUp

4.

What is the binary code for 10?

a)

10

b)

1010

c)

10000

5.

When should I run my script?

a)

when I'm done with the assignment

b)

after every 10 lines of code

c)

After every line of new code

6.

which part of the canvas would 100,50 be located in

a)

top left

b)

top right

c)

bottom left

d)

bottom right

7.

When creating a new project, what is the first thing I should do?

a)

enter my comments

b)

name the project

c)

save the project

d)

design the app

8.

Define algorithm

a)

to repeat something over and over again

b)

a precise set of instructions for a task

c)

a set of instructions that a computer can follow

9.

what is a bit? More that one is correct

a)

a tiny piece of code

b)

a byte

c)

Each one or zero in binary code

10.

define debugging

a)

to remove a bug from your computer

b)

typing in your comments

c)

finding the problem with your code

11.

What is the binary counting line known as?

a)

base 5 number line

b)

base 2 number line

c)

the decimal system

12.

Which direction is the x axis?

a)

vertical--up and down

b)

horizontal-across

13.

What is the name of the programming language we are learning?

a)

Python

b)

Java

c)

Blockly

d)

javascript

14.

How many bits in a byte?

a)

6

b)

8

c)

12

15.

which direction does the y axis run?

a)

vertical--up and down

b)

horizontal--across

16.

Where are the results of your code displayed?

a)

canvas

b)

script

c)

program area

17.

What is 21 in binary?

a)

10101

b)

10000

c)

10121

18.

What is the naming convention called used to name objects ?

a)

capitals and lower case

b)

camelCase

c)

Canvas

19.

How do we paste backgound images? ​ ​ ​

a)

Save image as

b)

Save link as

c)

copy image

d)

copy image address

20.

When layering images, the adjusted image must be

a)

placed directly into an image holder

b)

saved to the library first

c)

copied into app lab

21.

In order to use the speech in app lab, one must

a)

type between the quote marks

b)

record your own voice

c)

erase the quote marks and just type

22.

Variable is defined as

a)

something that varies

b)

a container for memory

c)

score and lives

23.

A text input box is used to hold

a)

user input like score and lives

b)

a message to the user

c)

any text we want

24.

A text area box is used to hold

a)

user input like score and lives

b)

a message for the user

c)

anything we want

25.

Comments are required before each onEvent block to explain that block

a)

True

b)

False

26.

Examine the code snippet. Is this correct?

a)

Yes

b)

NO

27.

Define the term User Interface

a)

objects like buttons, images, text boxes, screens, etc

b)

a command that "listens" for a command to perform a function

c)

refers to how a person interacts with the app

28.

UI Elements

a)

objects, like buttons, images, text boxes, screens etc

b)

controls, like a click, scroll, move mouse, arrow

c)

refers to how a person interacts with the app

29.

In order to increase the variable RESULTS by 1 we would

a)

RESULTS+1

b)

RESULTS=RESULTS+1

c)

RESULTS=results+1

30.

Which block do we use to DISPLAY the results to the user?

a)

setPosition

b)

setText

c)

setScreen

d)

onEvent

31.

Which variable block do we use to create a variable?

a)

Var x

b)

Var x =o

c)

Var =0

32.

Which design feature do we use to HOLD the results?

a)

Text Area

b)

Text Input

c)

Button

d)

Screen