wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Introduction to Python

Total questions: 22

Worksheet time: 29mins

Name
Class
Date
1.

Which of the options is not an example of a text-based programming language?

a)

Java

b)

Blockly

c)

Python

d)

Swift

2.

Why do computers only understand machine language?

4 lines
3.

Why do computers need programming?

4 lines
4.

What is the difference between machine language and High-Level Languages?

4 lines
5.

Briefly differentiate between text-based programming languages and visual programming languages with examples.

4 lines
6.

Find out and explain the similarities and differences between; Compiler and Interpreter

4 lines
7.

Classify the following based on which of the translator (interpreter or compiler) is used to convert its codes to machine language. i. Python ii. Java iii. Scratch iv. JavaScript v. C++

4 lines
8.

What is the name of the Python environment that allows you to write your program and then test them out?

a)

shell

b)

window

c)

IDLE

d)

CLI

9.

Who developed the Python Programming language?

a)

Tim Berners-Lee

b)

Bill Gates

c)

Guido van Rossum

d)

Ronald Reagan

10.

What is programming?

a)

Creating hardware components

b)

Passing instructions to a machine to solve a problem

c)

Designing computer graphics

d)

Writing reports about computers

11.

The only language a computer and other electronic devices understand is:

a)

English

b)

Python

c)

Machine language

d)

High-level language

12.

(a)   programming languages allow programmers to write instructions by typing words and phrases in a particular syntax.

13.

A person who writes instructions for a computer using a programming language is called a (a)  

14.

High-level languages were developed because:

a)

Computers couldn't understand machine language

b)

Machine language was too fast

c)

Machine language was difficult for average programmers to understand

d)

High-level languages are more efficient

15.

Which of the following is NOT an example of a high-level programming language?

a)

Java

b)

C++

c)

Machine language

d)

Kotlin

16.

Programs that translate high-level language code to machine language are called:

a)

Translators

b)

Converters

c)

Decoders

d)

Interpreters and compilers

17.
  • The two major versions of Python are:

a)
  • Python 1.x and Python 2.x

b)
  • Python 2.x and Python 3.x

c)
  • Python 3.x and Python 4.x

d)
  • Python 1.x and Python 3.x

18.
  • An application that contains all the necessary tools needed to write a program is called:

a)
  • Text editor

b)
  • Compiler

c)
  • Integrated Development Environment (IDE)

d)
  • Python shell

19.
  • The default IDE that comes with Python is called:

a)
  • PyCharm

b)
  • Visual Studio Code

c)
  • IDLE

d)
  • Spyder

20.

  • In the Python IDLE, the (a)   is what displays when it's waiting for you to type something.

21.

  • The coded zeros and ones that represent instructions in the computer are collectively called (a)   .

22.

Python was developed in (a)   year.