Introduction to Software Testing and Verification Lecture 1 Quiz
10 Questions
1 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What was the incident that led to the coining of the term 'computer bug'?

  • A technician accidentally reconfiguring the Mark II computer
  • A malfunction in the Mark II computer at Harvard University
  • The glowing vacuum tubes in the Mark II computer
  • The high voltage zapping a moth that landed on a relay (correct)
  • Which of the following terms is synonymous with 'defect' in the context of software development?

  • Fault (correct)
  • Inconsistency
  • Variance
  • Incidence
  • What is one of the potential sources of software problems related to implementation?

  • Mistakes in chip fabrication (correct)
  • Incomplete testing
  • Poor programming languages
  • Fundamental design flaws
  • Which phase of software development is prone to erroneous, incomplete, and inconsistent requirements?

    <p>Testing phase</p> Signup and view all the answers

    What led to the coining of the term 'computer bug'?

    <p>A moth flying into the Mark II computer and getting zapped by high voltage</p> Signup and view all the answers

    What was the adverse effect of faulty software in transportation as mentioned in the text?

    <p>Sudden acceleration and inability to brake</p> Signup and view all the answers

    What was the fault in Project Mercury's FORTRAN code as mentioned in the text?

    <p>Incorrect syntax in a loop expression</p> Signup and view all the answers

    What was the reason for the F-18 crash as mentioned in the text?

    <p>Lack of exception condition 'if then else'</p> Signup and view all the answers

    What caused the auto insurance rate of Mr. Blodgett to triple as mentioned in the text?

    <p>Incorrect interpretation of age</p> Signup and view all the answers

    What programming fault led to the shutdown of five nuclear power plants in 1979 as mentioned in the text?

    <p>Arithmetic error in sum calculations</p> Signup and view all the answers

    Study Notes

    • Computer bug originated when a moth flew into Harvard University's Mark II computer in 1947, causing a malfunction.
    • A computer bug refers to a defect, fault, problem, or error in software.
    • Types of bugs include requirements definition errors, design flaws, implementation mistakes, support system issues, inadequate testing, evolution, and adverse effects.
    • Adverse effects of faulty software can lead to communication losses, space application failures, transportation accidents, safety-critical application risks, money management issues, control of elections, and control of jails and law enforcement issues.
    • An example of a software bug in space occurred with Mercury's FORTRAN code, where "DO i=1.10" instead of "DO i=1,10" caused the loop to be executed only once.
    • Military aviation examples of software bugs include a missing exception condition in the F-18's code causing a crash and a virtual plane flipping over when crossing the equator due to a missing minus sign.
    • Year ambiguities in software include a 104-year-old kindergarten invitee and an auto insurance rate tripling for a driver turning 101 due to age misinterpretation.
    • Shaky math errors led to the shutdown of five nuclear power plants in the US due to a programming fault that miscalculated earthquake-resistance capabilities.

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    Description

    Test your knowledge on the introduction to software testing and verification with this quiz. It covers topics such as the history of computer bugs, including the famous case of a moth causing a computer malfunction at Harvard University in 1947.

    More Like This

    Use Quizgecko on...
    Browser
    Browser