wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Quiz No.4: Introduction to Python Programming

Total questions: 10

Worksheet time: 8mins

Name
Class
Date
1.

What is the word (command) used to display numbers and text on the screen?

a)

print

b)

input

c)

output

d)

command

2.

What is python?

a)

a programming language

b)

DTP software

c)

Spreadsheet software

d)

Computer

3.

Who is the creator of Python programming language?

a)

Dennis Ritchie

b)

James Gosling

c)

Guido Van Rossum

d)

Ross Ihaka

4.

How do you display text?

a)

print

b)

input

c)

output

d)

command

5.

This particular data type has 2 potential values (typically True or False)

a)

string

b)

integer

c)

boolean

d)

float

6.

A price such as 3.65 pesos should be saved as what kind of variable?

a)

string

b)

integer

c)

boolean

d)

float

7.

What will be the output?

name = 'Dave'

print(name)

a)

Dave

b)

'Dave'

c)

name

d)

(name)

8.

A data type consisting of numbers, letters and symbols.

a)

string

b)

integer

c)

boolean

d)

float

9.

Which data type represnts a whole number?

a)

string

b)

integer

c)

boolean

d)

float

10.

What is a variable?

a)

A box (memory location) where you store values

b)

a type of graphics

c)

data type

d)

a type of memory