wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Final Exam Review

Total questions: 21

Worksheet time: 25mins

Name
Class
Date
1.

Which of the following statements best describes Computational Thinking?

1. Computational Thinking involves breaking down complex problems into manageable parts.

2. Computational Thinking is only useful when writing computer programs.

a)

Only Statement 1 is correct

b)

Only Statement 2 is correct

c)

Both statements are correct

d)

Neither statement is correct

2.

Which of the statements below is/are TRUE?

I. Algorithmic Thinking involves creating a step-by-step solution to solve a problem.
II. Evaluation is the process of executing a program to generate more ideas for new problems.

a)

Only Statement I is true

b)

Only Statement II is true

c)

Both I and II are true

d)

Neither I nor II is true

3.

Which of the statements below is/are TRUE?

I. Algorithmic Thinking allows us to develop step-by-step instructions to solve a problem efficiently.
II. Decomposition helps solve complex problems by breaking them down into smaller, more manageable parts.

a)

Only Statement I is true

b)

Only Statement II is true

c)

Both I and II are true

d)

Neither I nor II is true

4.

Which of the statements below is/are TRUE?

I. Evaluation is only necessary during the planning stage of problem-solving.
II. Evaluation means rewriting the entire algorithm from scratch, regardless of performance.

a)

Only Statement I is true

b)

Only Statement II is true

c)

Both I and II are true

d)

Neither I nor II is true

5.

Sarah is designing an educational video to teach children how recycling works. She wants to include only the most important steps so the message is simple and easy to understand. What computational thinking concept should Sarah use to achieve this?

a)

Abstraction

b)

Algorithmic Thinking

c)

Decomposition

d)

Evaluation

6.

Miguel created a mobile app that helps users track their daily water intake. Before releasing it to the public, he tested the app multiple times to check for bugs, ensure it gives correct results, and confirm that users can navigate it easily. What computational thinking concept is Miguel applying?

a)

Abstraction

b)

Algorithmic Thinking

c)

Decomposition

d)

Evaluation

7.

Lena was assigned to create a website for a local bakery. To manage the project better, she divided the work into smaller tasks: designing the homepage, setting up the menu section, building the contact form, and adding images. What computational thinking concept did Lena apply?

a)

Abstraction

b)

Algorithmic Thinking

c)

Decomposition

d)

Evaluation

8.

Identify the best data type to represent the price of a coffee.

a)

Boolean

b)

Float

c)

Integer

d)

String

9.

Identify the best data type to represent the number of pages in a book.

a)

Boolean

b)

Float

c)

Integer

d)

String

10.

Identify the best data type to represent whether a user is subscribed or not.

a)

Boolean

b)

Float

c)

Integer

d)

String

11.

Identify the best data type to represent a student’s grade point average (GPA).

a)

Boolean

b)

Float

c)

Integer

d)

String

12.

Evaluate the expression:
8 // 2 + 3 * 2

a)

10

b)

9

c)

8

d)

12

13.

Evaluate the expression:

(12 - 4) // 2 + 5 * 2

a)

11

b)

14

c)

13

d)

9

14.

Evaluate the expression:

8 + (4.0 % 3) * 2 - 7 // 2

a)

7.0

b)

5.0

c)

4.0

d)

6.0

15.

Which expression below results in FALSE?

a)

True and not False

b)

not(False or False)

c)

True or (False and False)

d)

not(True or False and True)

16.

If you were given the expression y > 10 or y < 0, where y contains an integer value, which among the following values for y will result in TRUE?

a)

5

b)

10

c)

-1

d)

0

17.

The following code should calculate a person's Body Mass Index (BMI), given their mass in kilograms and height in meters. To compute the BMI, divide the weight by the square of the height. The square of the height and final BMI are calculated on separate lines.

a)

b)

c)

d)

18.

What will be the printed output when x = 4 and y = 6?

a)

13

b)

14

c)

16

d)

17

19.

What should be the initial value of the variable n for the output to print FIVE (5) asterisks (*)?

a)

2

b)

3

c)

4

d)

All values are correct

20.

Which of the following function calls will print Y?

a)

gen()

b)

gen(0)

c)

gen("X")

d)

gen(1)

21.

Given the program below, which print() statement correctly prints out:

go go go team!

a)

b)

c)

d)