Untitled
Quiz Questions and Answers
Quiz 1
CLO1.1 Fixing errors early in the software development saves time and money
- A) True
- B) False
- Answer: A) TrueCLO1.1 A bug is an error in the program’s code or logic that causes the software to behave incorrectly or produce wrong results
- A) True
- B) False
- Answer: A) TrueCLO1.1 Testers should only be involved after code delivery to customers
- A) True
- B) False
- Answer: B) FalseCLO1.1 Testing checks how good or reliable an application or project is
- A) True
- B) False
- Answer: A) TrueCLO1.1 User Acceptance Testing (UAT) often involves customers
- A) True
- B) False
- Answer: A) TrueCLO1.1 Which phase of the Software Development Life Cycle (SDLC) involves executing testing activities?
- a) Requirement Analysis
- b) Design Phase
- c) Testing Phase
- d) Maintenance Phase
- Answer: c) Testing Phase
Quiz 2
CLO1.1 Fixing errors early in the software development saves time and money.
- A) True
- B) False
- Answer: A) TrueCLO1.1 A bug is an error in the program’s code or logic that causes the software to behave incorrectly or produce wrong results
- A) True
- B) False
- Answer: A) TrueCLO1.2 User Acceptance Testing (UAT) often involves customers.
- A) True
- B) False
- Answer: A) TrueCLO1.1 Which phase of the Software Development Life Cycle (SDLC) involves executing testing activities?
- A) Requirement Analysis
- B) Design Phase
- C) Testing Phase
- D) Maintenance Phase
- Answer: C) Testing PhaseCLO1.1 Unit testing is a ______ testing technique.
- A) white-box
- B) design
- C) regression
- D) requirement
- Answer: A) white-boxCLO1.1 The Therac-25 radiation machine failure was caused by ______.
- A) a software counter overflow error
- B) hardware
- C) software design
- D) user manuals
- Answer: A) a software counter overflow errorCLO1.1 In the late 1970s, testing was redefined as ______.
- A) executing a program with the intent of finding errors
- B) proving that software works
- C) debugging by designers
- D) customer validation
- Answer: A) executing a program with the intent of finding errors
Quiz 3
CLO1.1 Statement, branch, and path coverage are all part of ______.
- a) code coverage
- b) data model
- c) model-based user
- d) user coverage
- Answer: a) code coverageCLO1.1 ______ helps identify defects, measure quality, and provide feedback that improves the overall development process and software quality.
- a) Database
- b) System installation
- c) Software testing
- d) User documentation
- Answer: c) Software testingCLO2.1 Black-box testing focuses on ______.
- a) software requirement
- b) checking outputs for given inputs without knowing internal logic
- c) debugging syntax
- d) measuring design speed
- Answer: b) checking outputs for given inputs without knowing internal logicCLO2.1 Data coverage tests focus on ______.
- a) good and bad data inputs and program handling
- b) requirement specification
- c) algorithms only
- d) user interface
- Answer: a) good and bad data inputs and program handlingCLO2.1 Once unit testing is complete, ______ testing can begin.
- a) requirement
- b) integration
- c) design
- d) alpha
- Answer: b) integrationCLO2.1 What is white box testing?
- Answer: Testing that examines the internal structure, logic, and code of the program.CLO2.1 What is Black-box testing?
- Answer: Testing that focuses on inputs and outputs without knowing the internal code.CLO2.1 You are testing a software module that calculates a member’s monthly gym fee. Perform black-box testing based only on the requirements below.
- Basic membership costs 200 SAR per month.
- Premium membership costs 300 SAR per month.
- Personal Trainer option adds 100 SAR.
- The system must reject Trainer options if no membership type is selected.
- Expected Outcomes:
- Basic + No Trainer → 200 SAR
- Premium + No Trainer → 300 SAR
- Basic + Trainer → 300 SAR
- Premium + Trainer → 400 SAR
- No Membership + Trainer → Reject
- No Membership + No Trainer → RejectCLO2.1 Testing is performed to find defects and verify that the system meets user requirements.
- A) True
- B) False
- Answer: A) TrueCLO2.1 White-box testing means the tester cannot see the internal code.
- A) True
- B) False
- Answer: B) FalseCLO2.1 Black-box testing focuses only on inputs and outputs.
- A) True
- B) False
- Answer: A) TrueCLO2.1 100% statement coverage guarantees 100% branch coverage.
- A) True
- B) False
- Answer: B) FalseCLO2.1 Unit testing is usually performed during the implementation phase.
- A) True
- B) False
- Answer: A) TrueCLO2.1 Functional testing is typically considered a white-box technique.
- A) True
- B) False
- Answer: B) FalseCLO2.1 Data coverage focuses on analyzing program inputs and generated data.
- A) True
- B) False
- Answer: A) TrueCLO2.1 It is possible to achieve 100% data coverage.
- A) True
- B) False
- Answer: B) FalseCLO2.1 Unit testing is usually performed by developers.
- A) True
- B) False
- Answer: A) TrueCLO2.1 Branch coverage tests all possible True and False outcomes of conditions.
- A) True
- B) False
- Answer: A) TrueCLO2.1 Which testing technique requires access to the source code?
- A) Black-box testing
- B) Functional testing
- C) White-box testing
- D) User Acceptance Testing
- Answer: C) White-box testing
Quiz 4
CLO1.1 Which of the following is the primary criterion for measuring software quality?
- a) User opinions and satisfaction
- b) Total project cost
- c) Degree of conformance to specified software requirements
- d) Adherence to the project schedule
- Answer: c) Degree of conformance to specified software requirementsCLO1.1 Which quality attribute answers the question “Does it do what I want?”
- a) Reliability
- b) Integrity
- c) Correctness
- d) Security
- Answer: c) CorrectnessCLO1.1 Which quality attribute is concerned with security?
- a) Flexibility
- b) Efficiency
- c) Usability
- d) Integrity
- Answer: d) IntegrityCLO1.1 The ability to use software on another machine refers to:
- a) Reusability
- b) Flexibility
- c) Portability
- d) Usability
- Answer: c) PortabilityCLO1.1 ISO9000 is best described as:
- a) A single document
- b) A software tool
- c) A series of quality standards
- d) None of the above
- Answer: c) A series of quality standardsCLO1.1 SQA stands for Software Quality Accuracy.
- a) True
- b) False
- Answer: b) FalseCLO1.1 The People Capability Maturity Model (People CMM) focuses on technology rather than people.
- a) True
- b) False
- Answer: b) FalseCLO1.1 Customer and market focus is included in the Baldrige criteria.
- a) True
- b) False
- Answer: a) TrueCLO1.1 ISO9000 was developed in 1987.
- a) True
- b) False
- Answer: a) TrueCLO1.1 Reliability in software engineering measures whether the software performs its intended functions accurately and consistently over time.
- a) True
- b) False
- Answer: a) TrueCLO2.1 Testing is done to find errors (defects) and to check that the system:
- a) Can be sold
- b) Compiles without error
- c) Is user-friendly
- d) Meets user’s requirements and works as designed
- Answer: d) Meets user’s requirements and works as designedCLO2.1 Once unit testing is complete, which type of testing can begin?
- a) Alpha
- b) Usability
- c) Acceptance
- d) Integration
- Answer: d) IntegrationCLO2.1 System testing involves:
- a) Checking single lines of code
- b) Writing documentation
- c) Verifying algorithms
- d) Testing real-life user scenarios and validating requirements
- Answer: d) Testing real-life user scenarios and validating requirementsCLO2.1 White-box testing means the tester:
- a) Tests only from the user perspective
- b) Uses no code knowledge
- c) Has access to the internal code
- d) Focuses on the GUI only
- Answer: c) Has access to the internal codeCLO2.1 Which one is NOT a coverage criterion:
- a) Data Coverage
- b) Code Coverage
- c) Model based Coverage
- d) System Coverage
- Answer: d) System CoverageCLO2.1 Integration testing comes before unit testing.
- a) True
- b) False
- Answer: b) FalseCLO2.1 Functional testing is a white-box technique.
- a) True
- b) False
- Answer: b) False