wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Python Test 1.0 - 2.0

Total questions: 21

Worksheet time: 50mins

Name
Class
Date
1.

What are step by step instructions for solving a task called?

a)

Algorithm

b)

Pseudocode

c)

Flowchart

d)

Syntax

2.

Someone who creates programs that are used by others?

a)

Coder/Developer

b)

User

c)

Pseudocode

d)

Hacker

3.

What is the practice of writing out your algorithm in plain English called?

a)

Algorithm

b)

Pseudocode

c)

Flowchart

d)

Syntax

4.

What is a visual representation of an algorithm called?

a)

Algorithm

b)

Pseudocode

c)

Flowchart

d)

Syntax

5.

What are the directional arrows that indicate the flow of steps in a flowchart called?

a)

Flowlines

b)

Syntax

c)

Stepwise Refinement

d)

Keywords

6.

What comprises the rules for entering code?

a)

Flowlines

b)

Syntax

c)

Stepwise Refinement

d)

Keywords

7.

What is the process of breaking down a problem into small steps called?

a)

Flowlines

b)

Syntax

c)

Stepwise Refinement

d)

Keywords

8.

What are reserved words that have a pre-defined meaning in Python called?

a)

Flowlines

b)

Syntax

c)

Stepwise Refinement

d)

Keywords

9.

What are the rules dealing with problems aggravated, transformed or created by computer technology called?

a)

Computer Ethics

b)

Cookies

c)

Online Profiling

d)

Web Beacons

10.

What are small files that websites upload to your computer so they can keep track of your preferences called?

a)

Computer Ethics

b)

Cookies

c)

Online Profiling

d)

Web Beacons

11.

my_list = "Who let the dogs out"

(a)   (my_list[:])

12.

What would output from this code?

my_list = " Who let the dogs out?"

print(my_list[4 :15])

a)

et the dogs

b)

let the dogs

c)

o who let th

d)

Error

13.

If a user enters the following password elOb1%, how would you add salt?

a)

Adding characters to the end of the hash

b)

Adding characters to the beginning of the hash

c)

Adding characters to the end of the password

d)

Adding characters to the beginning of the password

14.

Match the following

a)

Hashing

1.

Encryption Algorithm

b)

Cookies

2.

Used to track user's preference

c)

Salt

3.

Adding characters to the end of a string

d)

Piracy

4.

When illegal copies of software or movie

e)

Hacker

5.

Gets access to info without consent

15.

Label the input/output symbol

16.

What would output from the following Pseudocode once it's coded?

Initialize num1 = 5

Initialize num2 = 7

Calculate ans = num1*num2+num1

(a)  

17.

Create a flowchart for the following code:

Get value for num1

Get value for num2

Calculate Prod = num1*num2

Output Prod

18.

True or False

Writing down my password, and keeping it in my wallet is a safe password practice.

a)

True

b)

False

19.

Known as the Father of Computers

a)
Alan Turing
b)
Steve Jobs
c)
Bill Gates
d)
Charles Babbage
20.

Choose the most up-to-date generation of computers from this list:

a)

Fourth Generation

b)

First Generation

c)

Third Generation

d)

Second Generation

21.

Python is a

a)

Snake

b)

High Level Language

c)

Low Level Language

d)

Both B & C