MCQ Collection
China MCQs
Practice China questions with answers and explanations.
Choose an option to check your answer.
Correct Answer: C. 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: C. Testing seeks evidence about defects and behaviour but cannot prove the complete absence of defects
Explanation:
Testing samples behaviour against expectations; exhaustive proof is usually infeasible.
Choose an option to check your answer.
Correct Answer: D. A data type constrains the values and operations valid for a variable
Explanation:
Types define representation and permitted operations, helping programs detect invalid use.
Choose an option to check your answer.
Correct Answer: C. 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. A binary digit can represent one of two states, 0 or 1
Explanation:
Binary uses base two, so each bit has two possible values and positional weights are powers of two.
Choose an option to check your answer.
Correct Answer: D. An operating system manages hardware resources and provides services to applications
Explanation:
Operating systems coordinate processes, memory, storage, devices and user/application interfaces.
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: A. 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: B. 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. A binary digit can represent one of two states, 0 or 1
Explanation:
Binary uses base two, so each bit has two possible values and positional weights are powers of two.