Introduction to Problem Solving and Algorithms Quiz - CBSE Class 11 Computer Science
Free practice quiz: Introduction to Problem Solving and Algorithms (CBSE Class 11 Computer Science). 19 multiple-choice questions with answers and explanations. Play online, no sign-up needed.
Play all 19 questions freeSample questions
What is an algorithm?
- A type of computer hardware
- A step-by-step procedure to solve a problem
- A programming language
- A type of software
Show answer
Answer: B. A step-by-step procedure to solve a problem
An algorithm is a finite sequence of well-defined, computer-implementable instructions, typically to solve a class of problems or to perform a computation.
What is a flowchart?
- A type of programming language
- A diagram that represents an algorithm
- A type of computer hardware
- A type of software
Show answer
Answer: B. A diagram that represents an algorithm
A flowchart uses symbols to visually represent the steps and logic of an algorithm.
Explain the difference between efficiency and correctness of an algorithm.
- Efficiency refers to speed, correctness refers to accuracy
- Efficiency refers to memory usage, correctness refers to speed
- Both refer to accuracy
- Both refer to speed
Show answer
Answer: A. Efficiency refers to speed, correctness refers to accuracy
An algorithm can be correct but inefficient (slow or uses excessive memory). Efficiency focuses on resource usage, while correctness ensures it produces the right results.
Explain the concept of Big O notation in relation to algorithm efficiency.
- It describes the space complexity of an algorithm
- It describes the time complexity of an algorithm
- It describes the programming language used
- It describes the hardware required
Show answer
Answer: B. It describes the time complexity of an algorithm
Big O notation provides an upper bound on the growth rate of an algorithm's runtime as the input size increases.
How does the complexity of an algorithm affect its scalability?
- It has no effect
- Higher complexity algorithms scale better
- Lower complexity algorithms scale better
- It depends on the programming language
Show answer
Answer: C. Lower complexity algorithms scale better
Algorithms with lower time and space complexity perform better as the input size grows, making them more scalable.