wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Introduction to Python Programming

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What is Python

a)

A game

b)

A coding Platform

c)

A website

d)

None of these

2.

What is a programming language?

a)

English

b)

A language for babies

c)

A programming language is a vocabulary and a set a set of grammatical rules for instructing a computer or computing a device to perform specific tasks.

d)

A computer language

3.

What symbol is used in python to assign values to a variable?

a)

Equal =

b)

Plus +

c)

Forward slash \

d)

All of the above

4.

What is keyword?

a)

It is a meaningful word that has a specific task to execute

b)

Letters on a keyboard

c)

A keyboard

d)

To help in sentences

5.

What is a punctuator?

a)

Punctuation marks

b)

Punctuators help complete a SYNTAX

c)

A symbol

d)

All of the above

6.

what is a literal?

a)

Littering a country

b)

Storage Device

c)

Literals are a variety of data we use & store in computer program.

d)

A person who litters

7.

Age=14

print(Age)

What is the output?

a)

14

b)

=14

c)

Age

d)

None of the above

8.

What is Script mode?

a)

In script mode, You write your code in a text file then save it with a .py extension which stands for "Python". 

b)

You get a large script in this mode

c)

It is where you write a short code

d)

All of the above

9.

What is a commenting line?

a)

It is where you comment on something

b)

A line which is strait

c)

Commenting line helps the reader to understand the code for future purposes.

d)

None of these

10.

When does a SYNTAX error come?

a)

When you click on something

b)

A SYNTAX error comes when your code is wrong.

c)

When you don't form a sentence

d)

All of the above