wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Introduction to Python

Total questions: 10

Worksheet time: 3mins

Name
Class
Date
1.

Who created Python?

a)

Guido van Rossum

b)

Tim Berners-Lee

c)

Larry Page

d)

Mark Zuckerberg

2.

What is Python known for?

a)

High-level programming language

b)

Low-level programming language

c)

Assembly language

d)

Hardware programming language

3.

What is the purpose of the print() function in Python?

a)

Display something in the console

b)

Read user input

c)

Perform mathematical calculations

d)

Create a loop

4.

What is the purpose of a code editor in an Integrated Development Environment (IDE)?

a)

To write and edit code

b)

To debug code

c)

To compile code

d)

To run code

5.

What is the main advantage of using Python over Java?

a)

More libraries

b)

Better for system programming

c)

Easier learning curve

d)

Faster performance

6.

What is the purpose of the PyCharm IDE?

a)

General-purpose IDE

b)

Specifically designed for Python development

c)

Primarily for mobile app development

d)

Focused on web development

7.

What is the significance of indentation in Python programming?

a)

Not required in Python

b)

Used for decorative purposes

c)

Optional for code execution

d)

Very important for code readability

8.

Which mode of using the Python interpreter allows for immediate code execution?

a)

Script mode

b)

Compile mode

c)

Interactive mode

d)

Debug mode

9.

What type of language is Python?

a)

Structured, declarative, mid-level

b)

Functional, imperative, assembly

c)

Compiled, procedural, low-level

d)

Interpreted, object-oriented, high-level

10.

Why Python is in demand?

a)

Simple syntax

b)

Useful in embedded and cross platforms

c)

It is the fastest performing programming language

d)

It has fewer libraries.