computer MCQs
9th • Chapter 07
50 Questions TextBook
1
Which of the following best describes computational thinking?
A
A problem-solving approach that employs systematic, algorithmic, and logical thinking.B
A method of solving problems using mathematical calculations only.C
A technique used exclusively in computer programming.D
An approach that ignores real-world applications. 2
What is decomposition in computational thinking?
A
It simplifies problems by breaking them down into smaller, more manageable parts.B
It complicates problems by adding more details.C
It eliminates the need for solving the problem.D
It is only useful for simple problems. 3
What does pattern recognition involve?
A
Finding and using similarities within problems.B
Ignoring repetitive elements.C
Breaking problems into smaller pieces. 4
Which term refers to the process of ignoring irrelevant details to focus on the main idea?
5
What is a fundamental principle of computational thinking?
B
Ignoring problem understandingC
Avoiding solution designD
Implementing random solutions 6
What is an algorithm?
A
Step-by-step instructions for solving a problem.B
Graphical representations. 7
According to computational thinking, what is the first step in problem-solving?
A
Understanding the problem 8
What are flowcharts used for?
A
Representing algorithms graphically.C
Solving mathematical equations. 9
What is pseudocode?
A
A high-level description of an algorithm using plain language.C
A programming language. 10
What does dry running a flowchart involve?
A
Testing the flowchart with sample data manually.B
Writing the code in a programming language.C
Converting the flowchart into pseudocode.D
Ignoring the flowchart details. 11
Which of these is a key component of computational thinking?
12
An algorithm is similar to what everyday example?
A
Following a recipe to bake a cake 13
What does LARP stand for?
A
Logic of Algorithms for Resolution of ProblemsB
Logic and Resolution ProgrammingC
Logical Algorithm Resolution PracticeD
Language for Algorithm Resolution 14
What type of error occurs if you try to perform an impossible operation, such as dividing by zero?
15
What is the primary purpose of abstraction?
A
To simplify complex problems by focusing on essential details.B
To make a problem more complex.C
To create a visual representation of the problem.D
To find every possible error. 16
In a flowchart, what symbol is used to represent a decision point?
17
What does the rectangle symbol in a flowchart represent?
A
A process, task, or operationB
The start or end of a process 18
What does a parallelogram symbol in a flowchart represent?
19
What is the main goal of debugging?
A
To find and fix errors in an algorithm or flowchartB
To write an algorithm from scratchC
To simplify a complex problemD
To execute the code faster 20
Time complexity is a measure of what?
A
How fast or slow an algorithm performs as input size increasesB
The amount of memory an algorithm usesC
The number of symbols in a flowchartD
The clarity of pseudocode 21
What does space complexity measure?
A
The amount of memory an algorithm uses relative to input sizeB
The time an algorithm takes to runC
The number of steps in an algorithmD
The number of errors in the code 22
A manual walk-through of an algorithm with sample data is called a?
23
Using computer programs to model a real-world process is known as?
24
Which error is the hardest to find because the algorithm runs but produces incorrect results?
25
What is the first standardized flowchart symbols' development year?
26
The term 'debugging' originated from what?
A
An actual bug (a moth) found in an early computerB
A software tool named 'Debugger'C
A famous computer scientist named Deb UgD
A book about computer errors 27
What does the Oval symbol in a flowchart represent?
A
The start or end of a process 28
Which of the following helps in understanding the logic of an algorithm without worrying about specific syntax?
29
Breaking down the task of 'building a birdhouse' into smaller tasks is an example of what?
30
Identifying that the area of any square is the side length multiplied by itself is an example of?
31
Hiding complex details to focus on high-level steps, like in a recipe for tea, is an example of?
32
What is the purpose of an 'IF...THEN...ELSE' statement in an algorithm?
A
To handle decision-making processesB
To repeat a set of instructionsC
To read input from a user 33
In the LARP software, what does an 'Undefined Variable' error message indicate?
A
You are using a variable that hasn't been defined yetB
You forgot to include an important stepC
You are trying to perform an invalid operationD
There is a logical mistake in your algorithm 34
Big O notation, like O(n²), is used to express what?
C
The number of variablesD
The algorithm's accuracy 35
The login system flowchart in the book locks the account after how many failed attempts?
36
In the shop order flowchart, what is the first decision made after getting an order?
A
If the item is availableC
If the customer rating is highD
If the item can be packed 37
A prime number is a natural number greater than 1 that has no positive divisors other than...?
38
The pseudocode to check if a number is even uses what mathematical operator?
39
What is a key benefit of simulation?
A
It allows testing in a safe environment without real-world riskB
It always gives a perfectly accurate resultC
It is faster than any other methodD
It requires no input data 40
Which of these is NOT a debugging technique mentioned in the text?
41
In the context of problem-solving, what did Albert Einstein suggest spending most of the time on?
A
Thinking about the problemB
Thinking about the solutionsD
Testing the final product 42
Flowcharts and pseudocode are both tools used to do what?
43
In the pseudocode example for checking credentials, what is the first thing the procedure checks?
A
if the username is validB
if the password is validD
if the system is online 44
What is the primary function of the arrows (Flowlines) in a flowchart?
A
To show the direction of flow and connect symbolsB
To represent calculations 45
Which principle involves evaluating different approaches and selecting the most efficient one?
A
Solution Selection and Design 46
Meteorologists using computer models to predict weather is an example of what?
47
When drawing flowcharts in LARP, what do diamonds represent?
48
Which is a benefit of using pseudocode for planning?
A
It helps in understanding the logic without worrying about syntax.B
It can be executed directly by the computer.C
It provides a visual map of the process.D
It automatically finds all logical errors. 49
The first step in dry running the flowchart for adding two numbers is?
50
What is the output of the 'FindMax' pseudocode if the inputs are num1=10 and num2=15?