Font size
WorksheetsMidterm Exam Review
Total questions: 35
Worksheet time: 23mins
Computational thinking isn't exclusive to programmers only but as well as to other fields as well.
True
False
Computational thinking can enhance problem-solving skills in various disciplines.
False
True
Only computer science students benefit from learning computational thinking.
False
True
Computational thinking is a skill that needs to be developed by programmers only.
False
True
When applying Computational thinking to frame a problem, you must start with Decomposition, then Abstraction, next Algorithmic Thinking, then last is Evaluation.
False
True
There are only four core concepts of Computational Thinking.
False
True
Which of the CT Core concepts helps us determine the important data/information?
Decomposition
Abstraction
Algorithmic Thinking
Evaluation
When framing a problem, this CT Core concept helps us identify the subtasks of the main problem.
Decomposition
Abstraction
Algorithmic Thinking
Evaluation
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?
Decomposition
Abstraction
Algorithmic Thinking
Evaluation
Determining the best, average, and worst solution is the mindset of:
Decomposition
Abstraction
Algorithmic Thinking
Evaluation
This helps us visualize the decomposition.
Tree Structure
Narrative Format
Bulleted List
Video Recording
A form of decomposition that starts from the desired solution/goal and work backward
Means-End
Bottom-Up
Below are the sub-processes of the problem except:
Sequential
Parallel
Simple
Complex
Decomposition varies from one person to another.
True
False
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
B
C
D
In abstraction, suppressing too much information/data can lead to:
Too much abstraction
Less Abstraction
Right Abstraction
No Abstraction
In abstraction, retaining too much or all information/data can lead to:
Too much abstraction
Less Abstraction
Right Abstraction
No Abstraction
A computer program is considered as algorithm or set of algorithms.
True
False
The state of the algorithm monitors the status of the steps of the tasks while executing them.
True
False
Variables are storages of values.
True
False
You can express your algorithm in bulleted form.
True
False
You can express your algorithm in narrative form.
True
False
Creating multiple test cases help us determine the correctness of a solution.
True
False
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?
No, still considered as incorrect.
Yes, the error is just a minor glitch
The appropriate data type for age.
integer
string
float
boolean
The appropriate data type for the Number of Fish.
integer
string
float
boolean
The appropriate data type for determining the presented source if it is reliable or not.
integer
string
float
boolean
The appropriate data type for the value of gravitational force F.
integer
string
float
boolean
The appropriate data type for the price of the fish per kilo.
integer
string
float
boolean
Which operator is evaluated FIRST?
3-5-3+7*2
- in (3-5)
- in (5-3)
+
*
Which operator is evaluated THIRD?
6//3+2*6/9
//
+
*
/
Which operator is evaluated FIRST?
(3-2+5) ** 2 / 8
+
**
-
/
Which operator is evaluated SECOND in the following expression:
-2 * (3+2) % 5 / 2
- (unary)
*
%
*
The solution is correct
Line 3: price2 = int(input("Price for product 2: "))
Line 6: total = total + (price2 * quantity2)
Line 7: print("Current Total: %.2f" % (total))
Line 2: hour = secs // (60*60)
Line 3: minute = (secs - (hour*60*60))//50
The solution is correct
Line 4: seconds = secs - ((hour*60) + (minute*60))
