LAB2_COMP311

docx

School

Centennial College *

*We aren’t endorsed by this school

Course

311

Subject

Computer Science

Date

Feb 20, 2024

Type

docx

Pages

6

Uploaded by DeaconDonkeyMaster471

Report
Team Print the names of both team members below. 1__Vasu Patel__________________________ Student number ______301241181_____________ 2__Yagnam Sukhadia____________________ Student number ________301239519___________ 1. What class is the driver for this slice of the application? (1) Answer: manifest.Java 2. What major part of the application is replaced by a stub? Name the class(es) that make up this stub. (1) Answer: UserPrompter.Java 3. List three defects that you located in the original code and describe then as you would in a tester’s 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. (6) a. Where (class/method names): sellTicket(); in SeatReserve.java User input: “y” System response: The business seat is not available to get discount b. Where: getYesNoAnswer() in UserPrompter.java User input: “s” System response: It’s not handle the other words except Y and N
c. Where: sellTicket() in SeatReserve.java; User input: “n” System response:
1 A should be not available, but it shows available. 4. Briefly define the terms Breakpoint, Step In, Step Out and Step Over: (2) BreakPoint: a breakpoint is an intentional stopping or pausing place in a program, put in  place for debugging purposes. It is also sometimes simply referred to as a pause. Step In: Executes code one statement at a time. Step Out: Like Step Into. The difference in use occurs when the current statement contains a call to a procedure.  4. Give the Screenshots for the import of jar file into the java IDE, Debug mode and fix of no error. (1) GO TO IMPORT
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
NEXT TO ARCHIEVE FILE
IMPORT FIL FROM COMPUTER AND FINISH
YOU WILL GET THE FILES IN THE FOLDER.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help