WorksheetsFinal Exam Review
Total questions: 21
Worksheet time: 25mins
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.
Only Statement 1 is correct
Only Statement 2 is correct
Both statements are correct
Neither statement is correct
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.
Only Statement I is true
Only Statement II is true
Both I and II are true
Neither I nor II is true
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.
Only Statement I is true
Only Statement II is true
Both I and II are true
Neither I nor II is true
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.
Only Statement I is true
Only Statement II is true
Both I and II are true
Neither I nor II is true
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?
Abstraction
Algorithmic Thinking
Decomposition
Evaluation
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?
Abstraction
Algorithmic Thinking
Decomposition
Evaluation
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?
Abstraction
Algorithmic Thinking
Decomposition
Evaluation
Identify the best data type to represent the price of a coffee.
Boolean
Float
Integer
String
Identify the best data type to represent the number of pages in a book.
Boolean
Float
Integer
String
Identify the best data type to represent whether a user is subscribed or not.
Boolean
Float
Integer
String
Identify the best data type to represent a student’s grade point average (GPA).
Boolean
Float
Integer
String
Evaluate the expression:
8 // 2 + 3 * 2
10
9
8
12
Evaluate the expression:
(12 - 4) // 2 + 5 * 2
11
14
13
9
Evaluate the expression:
8 + (4.0 % 3) * 2 - 7 // 2
7.0
5.0
4.0
6.0
Which expression below results in FALSE?
True and not False
not(False or False)
True or (False and False)
not(True or False and True)
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?
5
10
-1
0
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.
What will be the printed output when x = 4 and y = 6?
13
14
16
17
What should be the initial value of the variable n for the output to print FIVE (5) asterisks (*)?
2
3
4
All values are correct
Which of the following function calls will print Y?
gen()
gen(0)
gen("X")
gen(1)
Given the program below, which print() statement correctly prints out:
go go go team!
