Untitled

Quiz Questions and Answers

Quiz 1

  1. CLO1.1 Fixing errors early in the software development saves time and money
       - A) True
       - B) False
       - Answer: A) True

  2. CLO1.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) True

  3. CLO1.1 Testers should only be involved after code delivery to customers
       - A) True
       - B) False
       - Answer: B) False

  4. CLO1.1 Testing checks how good or reliable an application or project is
       - A) True
       - B) False
       - Answer: A) True

  5. CLO1.1 User Acceptance Testing (UAT) often involves customers
       - A) True
       - B) False
       - Answer: A) True

  6. CLO1.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

  1. CLO1.1 Fixing errors early in the software development saves time and money.
       - A) True
       - B) False
       - Answer: A) True

  2. CLO1.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) True

  3. CLO1.2 User Acceptance Testing (UAT) often involves customers.
       - A) True
       - B) False
       - Answer: A) True

  4. CLO1.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

  5. CLO1.1 Unit testing is a ______ testing technique.
       - A) white-box
       - B) design
       - C) regression
       - D) requirement
       - Answer: A) white-box

  6. CLO1.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 error

  7. CLO1.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

  1. 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 coverage

  2. CLO1.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 testing

  3. CLO2.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 logic

  4. CLO2.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 handling

  5. CLO2.1 Once unit testing is complete, ______ testing can begin.
       - a) requirement
       - b) integration
       - c) design
       - d) alpha
       - Answer: b) integration

  6. CLO2.1 What is white box testing?
       - Answer: Testing that examines the internal structure, logic, and code of the program.

  7. CLO2.1 What is Black-box testing?
       - Answer: Testing that focuses on inputs and outputs without knowing the internal code.

  8. 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 → Reject

  9. CLO2.1 Testing is performed to find defects and verify that the system meets user requirements.
       - A) True
       - B) False
       - Answer: A) True

  10. CLO2.1 White-box testing means the tester cannot see the internal code.
        - A) True
        - B) False
        - Answer: B) False

  11. CLO2.1 Black-box testing focuses only on inputs and outputs.
        - A) True
        - B) False
        - Answer: A) True

  12. CLO2.1 100% statement coverage guarantees 100% branch coverage.
        - A) True
        - B) False
        - Answer: B) False

  13. CLO2.1 Unit testing is usually performed during the implementation phase.
        - A) True
        - B) False
        - Answer: A) True

  14. CLO2.1 Functional testing is typically considered a white-box technique.
        - A) True
        - B) False
        - Answer: B) False

  15. CLO2.1 Data coverage focuses on analyzing program inputs and generated data.
        - A) True
        - B) False
        - Answer: A) True

  16. CLO2.1 It is possible to achieve 100% data coverage.
        - A) True
        - B) False
        - Answer: B) False

  17. CLO2.1 Unit testing is usually performed by developers.
        - A) True
        - B) False
        - Answer: A) True

  18. CLO2.1 Branch coverage tests all possible True and False outcomes of conditions.
        - A) True
        - B) False
        - Answer: A) True

  19. CLO2.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

  1. 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 requirements

  2. CLO1.1 Which quality attribute answers the question “Does it do what I want?”
       - a) Reliability
       - b) Integrity
       - c) Correctness
       - d) Security
       - Answer: c) Correctness

  3. CLO1.1 Which quality attribute is concerned with security?
       - a) Flexibility
       - b) Efficiency
       - c) Usability
       - d) Integrity
       - Answer: d) Integrity

  4. CLO1.1 The ability to use software on another machine refers to:
       - a) Reusability
       - b) Flexibility
       - c) Portability
       - d) Usability
       - Answer: c) Portability

  5. CLO1.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 standards

  6. CLO1.1 SQA stands for Software Quality Accuracy.
       - a) True
       - b) False
       - Answer: b) False

  7. CLO1.1 The People Capability Maturity Model (People CMM) focuses on technology rather than people.
       - a) True
       - b) False
       - Answer: b) False

  8. CLO1.1 Customer and market focus is included in the Baldrige criteria.
       - a) True
       - b) False
       - Answer: a) True

  9. CLO1.1 ISO9000 was developed in 1987.
       - a) True
       - b) False
       - Answer: a) True

  10. CLO1.1 Reliability in software engineering measures whether the software performs its intended functions accurately and consistently over time.
        - a) True
        - b) False
        - Answer: a) True

  11. CLO2.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 designed

  12. CLO2.1 Once unit testing is complete, which type of testing can begin?
        - a) Alpha
        - b) Usability
        - c) Acceptance
        - d) Integration
        - Answer: d) Integration

  13. CLO2.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 requirements

  14. CLO2.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 code

  15. CLO2.1 Which one is NOT a coverage criterion:
        - a) Data Coverage
        - b) Code Coverage
        - c) Model based Coverage
        - d) System Coverage
        - Answer: d) System Coverage

  16. CLO2.1 Integration testing comes before unit testing.
        - a) True
        - b) False
        - Answer: b) False

  17. CLO2.1 Functional testing is a white-box technique.
        - a) True
        - b) False
        - Answer: b) False