Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 . What class is the driver for this slice of the application? ( 0 . 5 ) 2 . What major part of the
What class is the driver for this slice of the application?
What major part of the application is replaced by a stub? Name the classes that make up this stub.
Answer: The user interface part of the application is replaced by a stub. The classes that make up this stub are Manifest and UserPrompter.
List three defects that you located in the original code, and describe then as you would in a testers defect report. Describe where user is in using the system and what the user input. Then state how the system response deviated from expected output.
a Defect Report :
Where: The user is at the point of selecting a seat after choosing to buy a business class ticket.
User input: The user inputs "Yes" for purchasing a business class ticket.
System response: The system assigns an economy class seat instead of a business class seat.
Expected response: The system should assign a seat in the business class section A or B
b Defect Report :
Where: The user is entering their name and status as an airline staff member.
User input: The user inputs "John Doe" as the name and selects "Yes" for being an airline staff.
System response: The system calculates the ticket price without applying the discount for the economy class seat.
Expected response: The system should apply a discount to the economy class ticket, resulting in a price of $ instead of $
c Defect Report :
Where: The user is requesting the manifest list after ticket sales have ended.
User input: The user inputs No to stop ticket sales.
System response: The system prints an incomplete or incorrect manifest list, showing some assigned seats as "Available."
Expected response: The system should print a complete and correct manifest list, showing all sold seats with the corresponding passenger names and only unsold seats as "Available."
Briefly define the term Step in Step out, Step over and Breakpoint:
Step in: This command allows the debugger to enter into the function or method call, enabling you to follow the execution linebyline within the function.
Step out: This command continues execution until the current function or method exits, returning control to the caller function.
Step over: This command executes the current line of code and moves to the next line, but if the line contains a function or method call, it executes the entire function or method without stepping into it
Breakpoint: A breakpoint is a marker set by the programmer that tells the debugger to pause the execution of the program at that specific line of code. It is used to inspect the state of the program at that point.
Give the Screenshots for the import of jar file into the java IDE Debug mode and fix of no error.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started