DSALGO - QUIZ 1
  • 1. What is the standard direction of flow in a flowchart?
A) From left to right
B) From right to left
C) Clockwise
D) From top to bottom
  • 2. Which characteristic ensures that an algorithm produces the correct output for all possible inputs?
A) Correctness
B) Simplicity
C) Determinism
D) Efficiency
  • 3. What does the term "time complexity" refer to in algorithm analysis?
A) The number of instructions executed by an algorithm
B) The amount of memory used by an algorithm
C) The number of different operations in an algorithm
D) The number of input elements in an algorithm
  • 4. Which flowchart symbol is used to indicate the start and end points of a process?
A) Diamond
B) Rectangle
C) Oval
D) Parallelogram
  • 5. What does a diamond-shaped symbol represent in a flowchart?
A) A process or action
B) The start of the flowchart
C) The end of the flowchart
D) A decision or conditional statement
  • 6. What is a flowchart primarily used for?
A) Designing graphical user interfaces
B) Generating computer code automatically
C) Describing the logical steps of a process or algorithm
D) Representing the flow of a computer's electrical signals
  • 7. What does "finite number of steps" imply in the definition of an algorithm?
A) The algorithm is limited by the computer's memory
B) The algorithm must always terminate
C) The algorithm can have an unpredictable number of steps
D) The algorithm can have an infinite number of steps
  • 8. What is an algorithm?
A) A step-by-step procedure for solving a problem
B) A data structure
C) A computer program
D) A programming language
  • 9. In a flowchart, what is the purpose of a terminator symbol?
A) To mark the start of the flowchart
B) To mark the end of the flowchart
C) To represent a calculation or operation
D) To indicate a decision or branching point
  • 10. Which of the following is NOT a characteristic of a good algorithm?
A) Efficiency
B) SImplicity
C) Lengthiness
D) Correctness
  • 11. What does the term "input" refer to in the context of an algorithm?
A) The output produced by the algorithm
B) The steps involved in solving a problem
C) The algorithm's execution time
D) The data provided to the algorithm for processing
  • 12. What is meant by the term "deterministic" in algorithm design?
A) The algorithm may produce different outputs for the same input
B) The algorithm follows a fixed and predictable set of instructions for any input
C) The algorithm can only handle deterministic input data
D) The algorithm's execution time is unpredictable
  • 13. In a flowchart, what shape is typically used to represent a process or action?
A) oval
B) diamond
C) arrow
D) Rectangle
  • 14. What is the purpose of using arrows in a flowchart?
A) To indicate the direction of data flow
B) To connect different shapes or symbols
C) To represent mathematical operations
D) To show the start and end points of the flowchart
  • 15. What does a curved arrow represent in a flowchart?
A) A decision or choice
B) Data input
C) A loop or repetition
D) Sequential execution
Created with That Quiz — the math test generation site with resources for other subject areas.