Class 12 Computer Science · Chapter 5 · Test 1
Testing and Errors
36 MCQs
36 questions · 30 min · 36 marks
Want to try first? Take the free Computer Science test: Networks Basics
Sample questions
The first 5 of 36. Try each one, then tap to see the answer.
Question 1
Testing is essential for reliable applications because it helps to:
- AOptimise performance
- BIdentify and fix bugs
- CReduce the program size
- DMake code run faster
Show answerHide answer
Answer: B
Testing helps detect errors so that they can be fixed before release.
Question 2
Common types of programming errors include:
- ASyntax error
- BLogic error
- CRuntime error
- DAll of the above
Show answerHide answer
Answer: D
Syntax and logic and runtime errors are all common programming errors.
Question 3
Testing checks whether an application:
- AMeets its requirements
- BUses the shortest code
- CWas written by one person
- DAvoids all libraries
Show answerHide answer
Answer: A
Testing verifies that an application meets its requirements.
Question 4
Testing reduces the risk of:
- ASlow typing
- BLarger files
- CCrashes or incorrect outputs
- DExtra features
Show answerHide answer
Answer: C
Thorough testing lowers the chance of crashes and wrong outputs.
Question 5
Regular testing helps ensure that changes:
- AAre made faster
- BRemove old features
- CSkip review
- DDo not break existing features
Show answerHide answer
Answer: D
Repeated testing confirms that new changes leave existing features working.
More tests in Code Testing and Debugging
Practise with a free account
Save your scores, see which chapters need work, and keep a notebook of every question you got wrong.