wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Mid_Term_Retest

Total questions: 30

Worksheet time: 15mins

Name
Class
Date
1.

What does an arrow represent in a FLOWCHART?

a)

Data flow

b)

start

c)

process

d)

decision

2.

What is a flow chart?

a)

A series of shapes.

b)

A diagram that shows abstraction.

c)

A visual representation of an algorithm.

d)

A diagram that shows selecting a burger.

3.

Why do we need to think computationally?

a)

To help us program

b)

To help us solve complex problems more easily

c)

To help us to think like a computer

d)

To guide us to think like a computer

4.

To be able to draw cars, which one of the following characteristics is it necessary to know about?

a)

Who sells them

b)

Who owns them

c)

Where to buy them

d)

If they have wheels

5.

What is abstraction?

a)

The process of filtering out unnecessary details

b)

The process of filtering out irrelevant characteristics and unnecessary detail.

c)

The process of filtering out irrelevant characteristics

d)

None of the above

6.

Creating a step by step set of instructions to solve the problem.

a)

algorithm

b)

abstraction

c)

decomposition

d)

pattern recognition

7.

Picking out the important bits of information from the problem, ignoring the specific details that don’t matter

a)

abstraction

b)

decomposition

c)

pattern recognition

d)

algorithmic thinking

8.

Finding repeating patterns that could be solved quickly

a)

abstraction

b)

decomposition

c)

pattern recognition

d)

algorithmic thinking

9.

Breaking a complex problem down into smaller problems and solving each one individually

a)

decomposition

b)

abstraction

c)

programming

d)

algorithmic thinking

10.

What is a complex problem?

a)

A problem that, at first, is not easy to solve

b)

A problem that, at first, is easy to understand

c)

A problem that, at first, is a bit easy to understand

d)

A problem that, at first, is not easy to solve or to understand.

11.

____ is the processes involved in formulating a problem and expressing its solutions in such a way that computer-human- or machine can effectively carry out.

a)

Science thinking

b)

Analytical thinking

c)

Computational thinking

d)

Mathematical thinking

12.

It is text that is written programmatically but designed to be read by humans and not a machine.

a)

flowchart

b)

algorithm

c)

pseudocode

d)

programming

13.

Which term is for when you identify sections of a problem that are similar to each other?

a)

output

b)

iteration

c)

abstraction

d)

pattern recognition

14.

An algorithm is the sequence of instructions or a set of rules to get something done.

a)

True

b)

False

15.

What is the purpose of a flowchart?

a)

Because it is easier

b)

To plan the program before it is made

16.

The values that are put into the algorithm

a)

input

b)

output

c)

process

d)

information

17.

The repetition of a process (LOOP)

a)

sequence

b)

selection

c)

iteration

d)

algorithm

18.

Which programming construct used in computer programming that a series of ordered processes?

a)

sequence

b)

selection

c)

iteration

d)

algorithm

19.

A decision, which is based on whether a certain condition is met.

a)

sequence

b)

selection

c)

iteration

d)

algorithm

20.

A location in memory in which you can temporarily store text or numbers?

a)

string

b)

variable

c)

data type

d)

algorithm

21.

What will the output be from the following code? print("Hello world")

a)

Hello world!

b)

SyntaxError

c)

Hello world! Hello world!

d)

Hello world! Hello world!

22.

What is syntax?

a)

It is used to read information

b)

It is used to output information

c)

Syntax is the word used to describe an error

d)

Syntax is the rules of the programming language

23.

Code executed based on a condition being true

a)

Sequence

b)

Selection

c)

Iteration

d)

Variable

24.

What will the output be from the following code?

print(Hello world!)

a)

Hello world!

b)

Hello world

c)

SyntaxError

d)

print(Hello world!)

25.

What will the output be from the following code?

print(“What is your name?”)

a)

SyntaxError

b)

What is your name?

c)

What is Your Name?

d)

print(What is your name?)

26.

What will the output be from the following code?

#name=input("What is your name”?)

a)

SyntaxError

b)

What is your name?

c)

What is Your Name?

d)

It will not display anything on python shell

27.

What will the output be from the following code?

name? =input ("What is your name”?)

a)

invalid syntax

b)

What is your name?

c)

What is Your Name?

d)

It will not display anything on python shell

28.

What will the output be from the following code?

1st_name = input (“What is your name?”)

a)

invalid syntax

b)

What is your name?

c)

What is Your Name?

d)

It will not display anything on python shell

29.

What will the output be from the following code?

from = input (“Where are you born?)

a)

invalid syntax

b)

Where are you born?

c)

Where are you bORN

d)

Where Are Your Born?

30.

Which Python command is used to output information to the screen?

a)

print

b)

read

c)

display

d)

output