wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Midterm Exam Review

Total questions: 35

Worksheet time: 23mins

Name
Class
Date
1.

Computational thinking isn't exclusive to programmers only but as well as to other fields as well.

a)

True

b)

False

2.

Computational thinking can enhance problem-solving skills in various disciplines.

a)

False

b)

True

3.

Only computer science students benefit from learning computational thinking.

a)

False

b)

True

4.

Computational thinking is a skill that needs to be developed by programmers only.

a)

False

b)

True

5.

When applying Computational thinking to frame a problem, you must start with Decomposition, then Abstraction, next Algorithmic Thinking, then last is Evaluation.

a)

False

b)

True

6.

There are only four core concepts of Computational Thinking.

a)

False

b)

True

7.

Which of the CT Core concepts helps us determine the important data/information?

a)

Decomposition

b)

Abstraction

c)

Algorithmic Thinking

d)

Evaluation

8.

When framing a problem, this CT Core concept helps us identify the subtasks of the main problem.

a)

Decomposition

b)

Abstraction

c)

Algorithmic Thinking

d)

Evaluation

9.

Diane is working on making strategic plans to increase the sales of her business. She lists a few ideas in order to achieve the goal such as making advertisements, donating to well-known charities, sponsoring a sports game, and coming up with a new, trending product. What CT Core concept could best apply to Diane's problem in order for her to determine what's the best strategy for her business?

a)

Decomposition

b)

Abstraction

c)

Algorithmic Thinking

d)

Evaluation

10.

Determining the best, average, and worst solution is the mindset of:

a)

Decomposition

b)

Abstraction

c)

Algorithmic Thinking

d)

Evaluation

11.

This helps us visualize the decomposition.

a)

Tree Structure

b)

Narrative Format

c)

Bulleted List

d)

Video Recording

12.

A form of decomposition that starts from the desired solution/goal and work backward

a)

Means-End

b)

Bottom-Up

13.

Below are the sub-processes of the problem except:

a)

Sequential

b)

Parallel

c)

Simple

d)

Complex

14.

Decomposition varies from one person to another.

a)

True

b)

False

15.

When ordering the following into layers of abstraction, starting with the most general concept and ending with the most specific concept, which would be the most specific?

A. Tommy (The name of the Tiger)

B. Animal

C. Carnivore(An animal that eats flesh)

D. Tiger

a)

A

b)

B

c)

C

d)

D

16.

In abstraction, suppressing too much information/data can lead to:

a)

Too much abstraction

b)

Less Abstraction

c)

Right Abstraction

d)

No Abstraction

17.

In abstraction, retaining too much or all information/data can lead to:

a)

Too much abstraction

b)

Less Abstraction

c)

Right Abstraction

d)

No Abstraction

18.

A computer program is considered as algorithm or set of algorithms.

a)

True

b)

False

19.

The state of the algorithm monitors the status of the steps of the tasks while executing them.

a)

True

b)

False

20.

Variables are storages of values.

a)

True

b)

False

21.

You can express your algorithm in bulleted form.

a)

True

b)

False

22.

You can express your algorithm in narrative form.

a)

True

b)

False

23.

Creating multiple test cases help us determine the correctness of a solution.

a)

True

b)

False

24.

Shane created a complex computer program. He then identifies 50 test cases for her to check which part of the program has an error. Among the 50 test cases, only 1 fails but is considered a minor error. The program is meant not to accept passwords without special characters but the case is, the program accepts passwords with all numbers. Is it ok to publish/implement the program?

a)

No, still considered as incorrect.

b)

Yes, the error is just a minor glitch

25.

The appropriate data type for age.

a)

integer

b)

string

c)

float

d)

boolean

26.

The appropriate data type for the Number of Fish.

a)

integer

b)

string

c)

float

d)

boolean

27.

The appropriate data type for determining the presented source if it is reliable or not.

a)

integer

b)

string

c)

float

d)

boolean

28.

The appropriate data type for the value of gravitational force F.

a)

integer

b)

string

c)

float

d)

boolean

29.

The appropriate data type for the price of the fish per kilo.

a)

integer

b)

string

c)

float

d)

boolean

30.

Which operator is evaluated FIRST?

3-5-3+7*2

a)
  • - in (3-5)

b)
  • - in (5-3)

c)

+

d)

*

31.

Which operator is evaluated THIRD?

6//3+2*6/9

a)

//

b)

+

c)

*

d)

/

32.

Which operator is evaluated FIRST?

(3-2+5) ** 2 / 8

a)

+

b)

**

c)

-

d)

/

33.

Which operator is evaluated SECOND in the following expression:

-2 * (3+2) % 5 / 2


a)
  • - (unary)

b)

*

c)

%

d)

*

34.
a)

The solution is correct

b)

Line 3: price2 = int(input("Price for product 2: "))

c)

Line 6: total = total + (price2 * quantity2)

d)

Line 7: print("Current Total: %.2f" % (total))

35.
a)

Line 2: hour = secs // (60*60) 

b)

Line 3: minute = (secs - (hour*60*60))//50

c)

The solution is correct

d)

Line 4: seconds = secs - ((hour*60) + (minute*60))