Q1. What is an algorithm?
✅ Correct Answer: (C) A step-by-step procedure to solve a problem
📘 Explanation: An algorithm is a finite, ordered set of steps used to solve a specific problem.
📘 Explanation: An algorithm is a finite, ordered set of steps used to solve a specific problem.
Q2. Which of the following is the first step in problem solving?
✅ Correct Answer: (C) Problem analysis
📘 Explanation: Before writing an algorithm, the problem must be clearly understood and analyzed.
📘 Explanation: Before writing an algorithm, the problem must be clearly understood and analyzed.
Q3. An algorithm must have ______.
✅ Correct Answer: (C) Finite number of steps
📘 Explanation: A good algorithm must terminate after a finite number of steps..
📘 Explanation: A good algorithm must terminate after a finite number of steps..
Q4. Which symbol is used to represent START/STOP in a flowchart?
✅ Correct Answer: (C) Oval (Terminator)
📘 Explanation: The oval (terminator) symbol is used to indicate the beginning and end of a flowchart.
📘 Explanation: The oval (terminator) symbol is used to indicate the beginning and end of a flowchart.
Q5. Which flowchart symbol is used for input/output operations?
✅ Correct Answer: (D) Parallelogram
📘 Explanation: The parallelogram symbol represents input and output operations.
📘 Explanation: The parallelogram symbol represents input and output operations.
Q6. The decision-making symbol in a flowchart is:
✅ Correct Answer: (B) Diamond
📘 Explanation: The diamond symbol is used for decisions like Yes/No or True/False.
📘 Explanation: The diamond symbol is used for decisions like Yes/No or True/False.
Q7. Which symbol represents processing in a flowchart?
✅ Correct Answer: (C) Rectangle
📘 Explanation: A rectangle is used to show calculations or processing steps.
📘 Explanation: A rectangle is used to show calculations or processing steps.
Q8. Pseudocode is written using:
✅ Correct Answer: (C) Simple English-like statements
📘 Explanation: Pseudocode uses simple, readable language to describe logic without syntax rules.
📘 Explanation: Pseudocode uses simple, readable language to describe logic without syntax rules.
Q9. Which of the following is NOT a characteristic of a good algorithm?
✅ Correct Answer: (C) Ambiguity
📘 Explanation: A good algorithm must be clear and unambiguous.
📘 Explanation: A good algorithm must be clear and unambiguous.
Q10. Which one comes after algorithm design?
✅ Correct Answer: (B) Coding
📘 Explanation: Once the algorithm is designed, it is converted into a program using coding.
📘 Explanation: Once the algorithm is designed, it is converted into a program using coding.
Q11. Flowcharts are useful because they:
✅ Correct Answer: (C) Visually represent logic
📘 Explanation: Flowcharts help in visualizing program logic, making it easier to understand.
📘 Explanation: Flowcharts help in visualizing program logic, making it easier to understand.
Q12. Which of the following is TRUE about pseudocode?
✅ Correct Answer: (C) It is meant for human understanding
📘 Explanation: Pseudocode is designed for humans, not machines.
📘 Explanation: Pseudocode is designed for humans, not machines.
Q13. What does the rectangle symbol represent in a flowchart?
✅ Correct Answer: (C) Processing
📘 Explanation: Processing operations such as calculations are shown using rectangles.
📘 Explanation: Processing operations such as calculations are shown using rectangles.
Q14. Which of the following is an advantage of using algorithms?
✅ Correct Answer: (C) Easy to understand and debug
📘 Explanation: Algorithms make programs easier to understand, test, and debug.
📘 Explanation: Algorithms make programs easier to understand, test, and debug.
Q15. Which of the following is NOT a flowchart symbol?
✅ Correct Answer: (D) Triangle
📘 Explanation: Triangle is not a standard flowchart symbol.
📘 Explanation: Triangle is not a standard flowchart symbol.
Q16. Which flowchart symbol is used for looping or repetition?
✅ Correct Answer: (B) Diamond
📘 Explanation: Loop conditions are represented using the decision (diamond) symbol.
📘 Explanation: Loop conditions are represented using the decision (diamond) symbol.
Q17. Pseudocode helps programmers to:
✅ Correct Answer: (B) Understand program logic before coding
📘 Explanation: Pseudocode helps plan logic before writing actual code.
📘 Explanation: Pseudocode helps plan logic before writing actual code.
Q18. An algorithm that produces incorrect output is called:
✅ Correct Answer: (C) Invalid
📘 Explanation: An algorithm must produce correct output for valid input; otherwise it is invalid.
📘 Explanation: An algorithm must produce correct output for valid input; otherwise it is invalid.
Q19. Flowcharts help in detecting:
✅ Correct Answer: (B) Logical errors
📘 Explanation: Flowcharts help identify logical mistakes in program flow.
📘 Explanation: Flowcharts help identify logical mistakes in program flow.
Q20. Which statement is TRUE about algorithms, flowcharts, and pseudocode?
✅ Correct Answer: (C) They help in problem solving before coding
📘 Explanation: All three tools help in planning and understanding logic before coding.
📘 Explanation: All three tools help in planning and understanding logic before coding.