Software Engineering-I MCQs with Answers
Practice important Software Engineering-I MCQs with answers and explanations.
Chapter: 41
Q721:
Which checklist item checks if all possible cases in a switch statement are covered?
A. Control faults
B. Data faults
C. Input/Output faults
D. Interface faults
Correct Answer:
A
Chapter: 41
Q722:
______ are used to check if a loop will terminate.
A. Control faults
B. Storage faults
C. Data faults
D. Interface faults
Correct Answer:
A
Chapter: 41
Q723:
In inspections, ______ helps to focus on common errors for specific programming languages.
A. debugging
B. dynamic analysis
C. checklists
D. documentation
Correct Answer:
C
Chapter: 41
Q724:
Which of the following faults checks for correct parameter order in function calls?
A. Data faults
B. Interface faults
C. Control faults
D. Input/Output faults
Correct Answer:
B
Chapter: 41
Q725:
If code has unreachable segments, it is identified under ______ faults.
A. Interface
B. Control
C. Storage
D. Input/Output
Correct Answer:
B
Chapter: 41
Q726:
Fill in the blank: A ______ checklist may include items such as array bounds and variable initialization.
A. defect
B. control
C. data
D. testing
Correct Answer:
C
Chapter: 41
Q727:
______ faults occur when variables are outputted multiple times without reassignment.
A. Data
B. Control
C. Input/Output
D. Interface
Correct Answer:
C
Chapter: 41
Q728:
Which fault checks if memory links are updated when a linked structure changes?
A. Control faults
B. Storage management faults
C. Data faults
D. Input/Output faults
Correct Answer:
B
Chapter: 41
Q729:
For an inspection to be effective, inspectors should prepare a ______ beforehand.
A. test case
B. checklist
C. blueprint
D. timeline
Correct Answer:
B
Chapter: 41
Q730:
Inspections and ______ work together in verification and validation.
A. coding
B. testing
C. design
D. user documentation
Correct Answer:
B
Chapter: 41
Q731:
Which of the following should inspectors be familiar with for successful inspections?
A. Client requirements
B. Organization standards
C. External libraries
D. None of the above
Correct Answer:
B
Chapter: 41
Q732:
An example of an input/output fault is when ______.
A. a variable is unassigned
B. a variable is used twice without reassignment
C. an array exceeds bounds
D. a loop fails to terminate
Correct Answer:
B
Chapter: 41
Q733:
Fill in the blank: ______ faults check if the correct number of parameters is used in a function call.
A. Control
B. Interface
C. Data
D. Input/Output
Correct Answer:
B
Chapter: 41
Q734:
Which is NOT an example of data fault in static analysis?
A. Array bound violations
B. Undeclared variables
C. Unreachable code
D. Variable used before initialization
Correct Answer:
C
Chapter: 41
Q735:
Which of the following faults is identified when unassigned pointers are detected?
A. Storage management faults
B. Input/Output faults
C. Data faults
D. Control faults
Correct Answer:
A
Chapter: 42
Q736:
Debugging is a process primarily aimed at identifying and resolving _______.
A. software bugs
B. network issues
C. hardware failures
D. user errors
Correct Answer:
A
Chapter: 42
Q737:
The term "bug" in computer programming was popularized by which individual?
A. Charles Babbage
B. Grace Hopper
C. Alan Turing
D. Ada Lovelace
Correct Answer:
B
Chapter: 42
Q738:
According to Benjamin Franklin, what two things are certain in life?
A. Death and taxes
B. Bugs and taxes
C. Errors and solutions
D. Errors and taxes
Correct Answer:
A
Chapter: 42
Q739:
What is a common reason developers miss obvious errors in their code?
A. They are inexperienced
B. Personal bias
C. Insufficient time
D. Lack of tools
Correct Answer:
B
Chapter: 42
Q740:
AT&T’s 1990 service outage was caused by a _______ in its system software.
A. network failure
B. power outage
C. program error
D. hardware failure
Correct Answer:
C