With Correct Answers Already
Passed!!!
Parameters in a Java method are passed by... CORRECT ANSWERS value
When an object is passed to a method, the actual parameter and the formal parameter
become... CORRECT ANSWERS aliases of each other
Method overloading CORRECT ANSWERS The process of giving a single method
name multiple definitions
The signature of each overloaded method must be... CORRECT ANSWERS unique
The signature includes the ________, _________, and _________ of the parameters
CORRECT ANSWERS number, type, and order
How does the compiler determine which method is being invoked? CORRECT
ANSWERS By analyzing the parameters
The return type of the method is part of the signature.
T/F CORRECT ANSWERS False.
The return type of the method is NOT part of the signature.
Constructors can be overloaded.
T/F CORRECT ANSWERS True
Constructor can be overloaded.
__________ and other ____________ can be _____________ for delivery or exchange
CORRECT ANSWERS *Source code* and other *supporting files* can be *packaged
together* for delivery or exchange
Jar files are really just special .zip files
T/F CORRECT ANSWERS True.
Jar files are really just special .zip files
, Java uses the __________ to compress and bundle the files CORRECT ANSWERS Jar
file
What is the tool's name? CORRECT ANSWERS Jar
What is testing? CORRECT ANSWERS The act of running a completed program with
various inputs to discover problems
Any evaluation that is performed by human or machine to asses the quality of the
evolving system
What is the goal of testing? CORRECT ANSWERS To find errors
Running a program with _________________________ establishes only that the
program works for that _______________ CORRECT ANSWERS Running a program
with *specific input and producing correct results* establishes only that the program
works for that *particular input*
What is regression testing? CORRECT ANSWERS When you re-run the previous test
cases to ensure we didn't introduce new errors
Testing is also referred to as... CORRECT ANSWERS Defect testing
What is a test case? CORRECT ANSWERS A set of inputs, user actions, or initial
conditions, and the expected output
How many approaches are there to defect testing? CORRECT ANSWERS There are
*two* approaches to defect testing.
Black-box and white-box.
Black-box CORRECT ANSWERS Black Box Testing is a software testing method in
which the internal structure/ design/ implementation of the item being tested is NOT
known to the tester
White-box CORRECT ANSWERS White Box Testing is a software testing method in
which the internal structure/ design/ implementation of the item being tested is known to
the tester.
Goal is to ensure that *every path through a program is executed at least once*
*Statement coverage testing* - test that maps the possible paths through the code and
ensures that the *test case causes every path to be executed*
Unit Testing CORRECT ANSWERS Creates a test case for each module of code that
been authored. The goal is to ensure *correctness of the methods*, one method at a
time