wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Edublock input and ouput

Total questions: 19

Worksheet time: 10mins

Name
Class
Date
1.

What is Python?

a)

A type of snake

b)

A programming language

c)

A drawing tool.

d)

A widget

2.

What is eduBlocks?

a)
A programming language
b)
A type of computer hardware
c)
A block-based coding tool
d)
A type of software for creating games
3.

What are variables in Python?

a)
Variables in Python are containers for storing data values
b)
Variables in Python are used for looping
c)
Variables in Python are used for error handling
d)
Variables in Python are used for defining functions
4.

What is the use of the print() statement in Python?

a)
To display a value on the screen
b)
To read a value from the user
c)
To store a value in a variable
d)
To perform mathematical operations
5.

What is an integer?

a)

A whole number

b)

A decimal number

c)

A sentence/mix of characters

d)

True or False

6.

What is a string?

a)

A whole number

b)

A decimal number

c)

A sentence/mix of characters

d)

True or False

7.

Which symbol is used to divide in python?

a)

y

b)

/

c)

^

d)

*

8.

What programming language have we been using with Edublocks?

a)

Java

b)

Basic

c)

Python

d)

HTML

9.

What would this output?

a)

"Hello!!!!!"

b)

Hello!!!!!

c)

Hello world

10.

What would this output?

a)

What is your name?

b)

INPUT

c)

Whatever the user inputs

d)

"What is your name?"

11.

What is the keyword for an input in python?

a)

PRINT

b)

OUTPUT

c)

INPUT

d)

ANSWER

12.

What is a valid keyword for output?

a)

INPUT

b)

OUTPUT

c)

PRINT

d)

ANSWER

13.

Is this a....

a)

input?

b)

output?

c)

both?

14.

Is this a....

a)

input?

b)

output?

c)

both?

15.

What would this output?

a)

8 + 1

b)

9

c)

10

d)

8

16.

What would this output?

a)

8

b)

10

c)

18

d)

80

17.

What would this output?

a)

4

b)

8

c)

2

d)

10

18.

What is the shortcut for copy?

a)

CTRL + X

b)

CTRL + C

c)

CTRL + V

19.

What is the value of computerNumber after this block is run

a)

computerNumber

b)

"0"

c)

0

d)

a random number