0% found this document useful (0 votes)
27 views5 pages

Test Bank On LO4

The document is a test bank containing questions and answers related to problem-solving concepts, algorithms, flowcharts, and pseudocode. It covers key topics such as the steps in the problem-solving process, the definition of algorithms, and the functions of various flowchart symbols. The test bank is structured in a multiple-choice format, providing correct answers for each question.

Uploaded by

ESSAM Elkholy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views5 pages

Test Bank On LO4

The document is a test bank containing questions and answers related to problem-solving concepts, algorithms, flowcharts, and pseudocode. It covers key topics such as the steps in the problem-solving process, the definition of algorithms, and the functions of various flowchart symbols. The test bank is structured in a multiple-choice format, providing correct answers for each question.

Uploaded by

ESSAM Elkholy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Test bank on LO4

1. What is the first step in the problem-solving process?


a) Implementing the solution
b) Identifying the problem
c) Testing the solution
d) Writing pseudocode
Answer: b) Identifying the problem

2. What is an algorithm?
a) A set of instructions designed to solve a specific problem
b) A hardware component in a computer
c) A flowchart symbol
d) A type of software
Answer: a) A set of instructions designed to solve a specific problem

3. Which of the following is NOT a key concept in problem-solving?


a) Well-defined problem
b) Algorithm
c) Flowchart
d) Random guess
Answer: d) Random guess

4. In a flowchart, what symbol is typically used to represent a decision point?


a) Oval
b) Rectangle
c) Diamond
d) Parallelogram
Answer: c) Diamond
5. What is pseudocode?
a) A programming language
b) A high-level description of an algorithm using plain language
c) A specific software tool
d) A flowchart
Answer: b) A high-level description of an algorithm using plain language

6. Which of the following operations is NOT typically represented in a flowchart?


a) Inputting data
b) Outputting data
c) Writing code
d) Branching decisions
Answer: c) Writing code

7. What is the purpose of a flowchart in problem-solving?


a) To create a graphical representation of the solution
b) To generate random solutions
c) To implement the program
d) To measure the time complexity of the algorithm
Answer: a) To create a graphical representation of the solution

8. Which symbol is used in a flowchart to represent the start or end of a process?


a) Rectangle
b) Diamond
c) Oval
d) Parallelogram
Answer: c) Oval

9. What is the main difference between an algorithm and pseudocode?


a) Pseudocode is written in a programming language, while algorithms are not
b) Algorithms focus on solving problems, while pseudocode is the actual implementation
c) Pseudocode uses plain language, while algorithms are more formal and structured
d) Algorithms are only used for simple problems
Answer: c) Pseudocode uses plain language, while algorithms are more formal and structured
10. In which type of flowchart structure is a set of steps executed repeatedly based on a
condition?
a) Sequence
b) Selection
c) Repetition (Loop)
d) Branching
Answer: c) Repetition (Loop)

11. Which of the following best describes a well-defined problem?


a) A problem that has a clear goal and constraints
b) A problem that is open-ended with no constraints
c) A problem with infinite possible solutions
d) A problem that cannot be solved by an algorithm
Answer: a) A problem that has a clear goal and constraints

12. What symbol is used in a flowchart to represent input and output operations?
a) Rectangle
b) Parallelogram
c) Diamond
d) Arrow
Answer: b) Parallelogram

13. What is the role of a decision point in a flowchart?


a) To represent a data input
b) To show a conditional choice in the process
c) To indicate the end of the process
d) To create a loop
Answer: b) To show a conditional choice in the process

14. Which of the following is NOT an essential feature of a good algorithm?


a) Finiteness
b) Clear and unambiguous steps
c) Infinite loops
d) Well-defined input and output
Answer: c) Infinite loops

15. What is the function of the "sequence" structure in a flowchart?


a) To make decisions based on a condition
b) To execute steps in a logical, step-by-step order
c) To repeat steps until a condition is met
d) To output data to the user
Answer: b) To execute steps in a logical, step-by-step order

16. How does a "selection" structure work in an algorithm or flowchart?


a) It performs steps in a loop
b) It branches into different paths based on a condition
c) It outputs data to the user
d) It counts the number of iterations
Answer: b) It branches into different paths based on a condition

17. Which of the following is a real-life example of a sequence structure in a flowchart?


a) Making a decision at a traffic light
b) Adding sugar to tea, then stirring it
c) Repeatedly checking if a file is uploaded
d) Choosing between multiple file types to download
Answer: b) Adding sugar to tea, then stirring it

18. What does "conditional loop" mean in problem-solving?


a) A process that repeats until a certain condition is met
b) A sequence of operations executed only once
c) A loop that continues forever
d) A way to end a program
Answer: a) A process that repeats until a certain condition is met
19. Which of the following symbols represents a process or step in a flowchart?
a) Diamond
b) Parallelogram
c) Rectangle
d) Arrow
Answer: c) Rectangle

20. Which of these is the correct order of the problem-solving steps?


a) Define the problem → Implement solution → Design solution → Test solution
b) Define the problem → Design solution → Implement solution → Test solution
c) Test solution → Implement solution → Define problem → Design solution
d) Implement solution → Test solution → Design solution → Define problem
Answer: b) Define the problem → Design solution → Implement solution → Test solution

You might also like