MCQ Collection
China MCQs
Practice China questions with answers and explanations.
Choose an option to check your answer.
Correct Answer: C. A useful debugging process reproduces the fault, isolates causes and verifies the fix with tests
Explanation:
Reproduction, isolation and regression testing make a fix explainable and less likely to create new faults.
Choose an option to check your answer.
Correct Answer: B. Big-O notation describes how resource use grows with input size
Explanation:
Asymptotic notation characterises growth rates rather than exact machine-specific time.
Choose an option to check your answer.
Correct Answer: A. A primary key uniquely identifies each row in a table
Explanation:
Primary-key values are unique and support reliable row identification and relationships.
Choose an option to check your answer.
Correct Answer: D. Encapsulation groups data with methods and controls access to internal state
Explanation:
Encapsulation supports modular design by hiding implementation details behind a defined interface.
Choose an option to check your answer.
Correct Answer: C. A function packages reusable behaviour and parameters supply inputs to that behaviour
Explanation:
Functions support abstraction and reuse, while parameters pass values into a call.
Choose an option to check your answer.
Correct Answer: A. A useful debugging process reproduces the fault, isolates causes and verifies the fix with tests
Explanation:
Reproduction, isolation and regression testing make a fix explainable and less likely to create new faults.
Choose an option to check your answer.
Correct Answer: D. Big-O notation describes how resource use grows with input size
Explanation:
Asymptotic notation characterises growth rates rather than exact machine-specific time.
Choose an option to check your answer.
Correct Answer: C. A primary key uniquely identifies each row in a table
Explanation:
Primary-key values are unique and support reliable row identification and relationships.
Choose an option to check your answer.
Correct Answer: C. Encapsulation groups data with methods and controls access to internal state
Explanation:
Encapsulation supports modular design by hiding implementation details behind a defined interface.
Choose an option to check your answer.
Correct Answer: A. Selection chooses among paths while iteration repeats a block under a condition
Explanation:
Branches choose execution paths; loops repeat work while their control condition allows it.
Choose an option to check your answer.
Correct Answer: B. Big-O notation describes how resource use grows with input size
Explanation:
Asymptotic notation characterises growth rates rather than exact machine-specific time.
Choose an option to check your answer.
Correct Answer: A. A primary key uniquely identifies each row in a table
Explanation:
Primary-key values are unique and support reliable row identification and relationships.