wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Tynker Quiz

Total questions: 13

Worksheet time: 8mins

Name
Class
Date
1.

What's a function?

a)

A sequence of commands that can be run together as if it were a couple command.

b)
A function is a relation that maps inputs to outputs.
c)

A sequence of commands that can be run together as if it were a single command.

d)
A function is a graphical representation of data.
2.

What's the difference between a "function definition" block and a "function call" block ?

a)
A 'function definition' block executes the function, while a 'function call' block defines it.
b)
A 'function definition' block is used for variable declaration, while a 'function call' block is for loops.
c)
A 'function definition' block is only for built-in functions, while a 'function call' block is for user-defined functions.
d)

The "function definition" block describes what the function will do, whereas the "function call" block can be used to call a function again and again).

3.

In levels 1-2, the" (a)   " function definition block has code attached to it that will make the dragon perform the following sequence: eat - walk - blast - walk.

4.

The " (a)   " command code block will run all of the blocks attached to the "climb up" function definition code block.

5.

The "..................." command code block will run all of the blocks attached to the "......." function definition code block.

(a)  

6.

What is abstraction?

a)
Abstraction is the act of creating physical models of objects.
b)

A way of making a specific problem more general, so the solution can be repeated for a wide range of problems

c)
Abstraction is a method of increasing detail in programming.
d)
Abstraction is the process of simplifying complex systems by modeling classes based on the essential properties and behaviors while hiding unnecessary details.
7.

1.    Something that repeats

a)
repetition
b)

loop

c)

counting loop

d)
pattern
8.

Make the character eat objects

a)

run

b)

sleep

c)

walk

d)

eat

9.

  Make the character move one step forward

a)
Move character backward by one step.
b)
Jump to the next level.
c)
Move character forward by one step.
d)
Rotate the character 90 degrees.
10.

  The language that tells a device (e.g., computer, tablet, iPhone) what to do

a)

sequence

b)

code

c)

command

d)

loop

11.

What is a loop in programming?

a)

A way to execute a block of code only once.

b)

A structure that allows repeated execution of a block of code as long as a condition is true.

c)

A method for defining functions in programming.

d)

A way to store multiple values in a single variable.

12.

What does the term 'variable' refer to in programming?

a)

A command that performs a specific action.

b)

A fixed value that cannot change during program execution.

c)

A named storage location in memory that can hold different values during program execution.

d)

A type of function that does not return a value.

13.

What is the purpose of a conditional statement?

a)

To declare variables in a program.

b)

To create loops that repeat code execution.

c)

To execute a block of code based on whether a condition is true or false.

d)

To define a function that can be reused.