wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

T1-CSC401/P.C.1.1-1.9

Total questions: 15

Worksheet time: 11mins

Name
Class
Date
1.

Python is an example of:

a)

a natural language

b)

a high-level language

c)

a machine language

2.

A complete set of known commands is called:

a)

a machine list

b)

an instruction list

c)

a low-level list

3.

What is source code?

a)

Another name for source file

b)

Machine code executed by compters

c)

A program written is high-level programming language

4.

What do you call a program which directly executes instructions written in a programming language?

a)

Compiler

b)

Interpreter

c)

translator

5.

What python version is covered in this course?

a)

Python 3

b)

Python 2

c)

Python 1

6.

What is IDLE?

a)

Its an acronym that stands for Interactive Development and Learning Extension

b)

Its a Python version

c)

Its an acronym that stands for Intergrated Development and Learning Environment for Python

7.

What do you call a tool that lets you launch your code step by step and inspect it at each moment of execution?

a)

An editor

b)

A debugger

c)

A console

8.

Which of the following is an example of Python file extension?

a)

pi

b)

p

c)

py

9.

Which of the following statement will be used to display on screen?

a)

PRINT

b)

Print

c)

print

10.

What will be the output?

print(My Python Program)

a)

The code is erroneous

b)

(My Python Program)

c)

print"My Python Program"

11.

Which type of algorithm is shown in picture:

a)

Pseudocode

b)

Flowchart

c)

Diagram

12.

Which of the following is/are example of high-level language(s)? (Select all)

a)

Python

b)

machine language

c)

Java

13.

A set of well-defined logical steps that must be taken to perform a task or solve a problem is called:

a)

Pseudocode

b)

Algorithm

c)

Sequence

14.

At which stage of the program development life cycle would you create algorithms or pseudocode?

a)

Design the program

b)

Write the code

c)

test the program

15.

Create a program that will display “Hello World”

a)

print(Hello World)

b)

Print("Hello World)

c)

print("Hello World")