Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

# REVIEW 1 DATA TYPES

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

What data type is: "Dingwall Academy"?

a)

String

b)

Integer

c)

Float

d)

Boolean

2.

What type of error is displayed here?

a)

logic

b)

syntax

c)

execution

3.

What data type is: 0.784?

a)

String

b)

Integer

c)

Float

d)

Boolean

4.

What do we call a memory space created to store a value?

a)

data type

b)

String

c)

Variable

d)

identifier

5.

In which line is the error in this code?

a)

Line 1

b)

Line 2

6.

What do we call this piece of code: #Get name and assign

a)

Line code

b)

White space

c)

readable code

d)

commentary

7.

What code is used to get data from the user?

a)

print()

b)

input()

c)

#Get data from user

d)

data = num1 + num2

8.

What data type is: 2345?

a)

String

b)

Integer

c)

Float

d)

Boolean

9.

What is the output from this code?

a)

6

b)

9

c)

3 6

d)

numberThree 6

10.

What code is used to display on the screen?

a)

print()

b)

input()

c)

#Send to display

d)

display()

11.

What is the output from this code if 5 is entered?

a)

30

b)

25

c)

5 + 5

d)

25 5

12.

What type of value can be True or False

a)

boolean

b)

string

c)

integer

d)

float

13.

What can you add to your code to make it more readable?

a)

Line code

b)

White space

c)

readable code

d)

dictionary

14.

What is the output from this code?

a)

numberOne + numberTwo

b)

numberOnenumberTwo

c)

26

d)

8

15.

The term used to describe taking a value from the keyboard and storing it as a variable is...

a)

storage

b)

assignment

c)

memory

d)

equals