π§© Computational Thinking & Programming Quiz 1 β Class 11 Computer Science
Practice 15 CBSE Class 11 Computer Science (Code 083) MCQs on computational thinking and programming fundamentals β the problem-solving process, algorithms, decomposition, flowcharts, and pseudocode.
These questions are ideal for quick revision, self-assessment, and classroom practice before a test or the board exam. Tap any question to reveal the answer with a clear explanation.
π§© Problem Solving
What are the steps involved in problem-solving?
- Analyzing, coding, testing
- Coding, debugging, analyzing
- Analyzing, developing an algorithm, coding, testing, debugging
- Developing an algorithm, coding, testing, debugging
Show Answer & Explanation
β Answer: (c) Analyzing, developing an algorithm, coding, testing, debugging
The complete problem-solving process follows five stages in order: analyzing the problem, developing an algorithm, coding, testing, and debugging. Skipping the analysis step (as in the other options) means the solution isn’t built on a proper understanding of the requirements.
π§± Decomposition
Which step of problem-solving involves breaking down a complex problem into smaller, more manageable parts?
- Analyzing the problem
- Developing an algorithm
- Coding
- Decomposition
Show Answer & Explanation
β Answer: (d) Decomposition
Decomposition is the specific technique of splitting a large, complex problem into smaller sub-problems that are easier to understand, solve, and test individually.
βοΈ Algorithm
What is an algorithm?
- A computer program
- A sequence of steps to solve a problem
- A bug in the code
- A flowchart representation
Show Answer & Explanation
β Answer: (b) A sequence of steps to solve a problem
An algorithm is a finite, well-defined sequence of steps designed to solve a specific problem. It’s the plan β a program is just one way of implementing that plan in code.
π§© Problem Solving
Which step of problem-solving involves writing the code based on the algorithm?
- Analyzing the problem
- Developing an algorithm
- Coding
- Decomposition
Show Answer & Explanation
β Answer: (c) Coding
Coding is the stage where the algorithm β already worked out on paper or in pseudocode β gets translated into actual program statements in a programming language.
π§© Problem Solving
Which step of problem-solving involves checking if the program works correctly and meets the desired specifications?
- Analyzing the problem
- Developing an algorithm
- Testing
- Debugging
Show Answer & Explanation
β Answer: (c) Testing
Testing is where the finished program is run against various inputs to verify it behaves correctly and meets the original requirements.
π§© Problem Solving
What is the purpose of testing in problem-solving?
- To find bugs in the code
- To develop an algorithm
- To analyze the problem
- To break down the problem into smaller parts
Show Answer & Explanation
β Answer: (a) To find bugs in the code
Testing exists to find bugs (errors) in the code by running it under different conditions and inputs. Once bugs are found, the separate step of debugging is used to actually fix them.
π§© Problem Solving
What is the role of debugging in problem-solving?
- Developing an algorithm
- Analyzing the problem
- Testing the code
- Fixing errors in the code
Show Answer & Explanation
β Answer: (d) Fixing errors in the code
Debugging is the process of locating and fixing errors that testing has revealed in the code β it comes right after testing in the problem-solving cycle.
π· Flowchart
Which of the following is used to represent the logical steps of an algorithm visually?
- Pseudocode
- Flowchart
- Code snippet
- Debugging tool
Show Answer & Explanation
β Answer: (b) Flowchart
A flowchart uses standardized symbols and arrows to show the logical flow of an algorithm visually β pseudocode does something similar but in structured plain-language text, not diagrams.
π Pseudocode
What is pseudocode?
- A programming language
- A diagrammatic representation of an algorithm
- A set of logical steps to solve a problem
- A testing technique
Show Answer & Explanation
β Answer: (c) A set of logical steps to solve a problem
Pseudocode is an informal, plain-language way of writing out the logical steps of an algorithm β close to English, but structured like code. It’s not a real programming language and it isn’t diagrammatic (that’s a flowchart).
π· Flowchart
Which of the following is a commonly used symbol in flowcharts to represent a decision point?
- Rectangle
- Circle
- Diamond
- Arrow
Show Answer & Explanation
β Answer: (c) Diamond
A diamond shape is the standard flowchart symbol for a decision point β anywhere the flow branches based on a Yes/No or True/False condition.
π§© Problem Solving
Which step of problem-solving involves analyzing the given problem and understanding its requirements?
- Analyzing the problem
- Developing an algorithm
- Coding
- Debugging
Show Answer & Explanation
β Answer: (a) Analyzing the problem
Analyzing the problem is always the first step β understanding exactly what’s being asked, what inputs are available, and what output is expected, before any algorithm or code is written.
π§± Decomposition
What is decomposition in problem-solving?
- Breaking down a complex problem into smaller parts
- Developing an algorithm
- Testing the code
- Debugging the code
Show Answer & Explanation
β Answer: (a) Breaking down a complex problem into smaller parts
Decomposition means breaking a complex problem into smaller, more manageable parts, each of which can be tackled β and even coded β somewhat independently.
π· Flowchart
Which of the following is true about flowcharts?
- They are written in programming languages
- They represent the physical appearance of the program
- They provide a visual representation of an algorithm
- They are used for testing the code
Show Answer & Explanation
β Answer: (c) They provide a visual representation of an algorithm
Flowcharts provide a visual representation of an algorithm using shapes and arrows β they aren’t written in any programming language and have nothing to do with a program’s βappearanceβ or its testing.
π· Flowchart
What is the purpose of a flowchart in problem-solving?
- To develop an algorithm
- To write the code
- To analyze the problem
- To visually represent the steps of an algorithm
Show Answer & Explanation
β Answer: (d) To visually represent the steps of an algorithm
A flowchart’s purpose is to visually represent the steps of an algorithm, making the logic easier to follow, review, and communicate before any code is written.
π Pseudocode
Which of the following is an advantage of using pseudocode?
- It can be directly executed by a computer
- It is easier to read and understand than code
- It is a visual representation of an algorithm
- It helps in debugging the code
Show Answer & Explanation
β Answer: (b) It is easier to read and understand than code
Pseudocode’s biggest advantage is that it’s easier to read and understand than actual code β it lets you focus on logic without worrying about a programming language’s exact syntax. It can’t be executed by a computer, and it’s text-based, not diagrammatic.
