Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

CIS 2750 – Testing Exam Questions and Answers

Rating
-
Sold
-
Pages
4
Grade
A+
Uploaded on
08-08-2025
Written in
2025/2026

CIS 2750 – Testing Exam Questions and Answers True or False: Testing is the same as debugging. - answer- False. Testing is the systematic attempt to break a program, while debugging is the process of fixing and removing errors. True or False: Testing can take upwards of 40 percent of total development time. - answer- True. It is not unusual for developers to spend 40% of the total project time on testing. • For life-critical software (e.g. flight control, reactor monitoring), testing can cost 3 to 5 times as much as all other activities combined. True or False: Testing can prove the absence of errors. - answer- False, testing cannot show (or prove!) the absence of defects -- it can only show that software defects are present. Testing - answer- The process of executing a program with the intent of finding an error. A ____ test case is one that has a high probability of finding an as yet undiscovered error. - answer- Good A __________ test is one that uncovers an as yet undiscovered error. - answer- Successful Testing should systematically uncover _________ _______ of errors in a minimum amount of time and with a minimum amount of effort. - answer- Different Classes • A secondary benefit of testing is that it demonstrates that the software appears to be working as stated in the specification. • The data collected through testing can also provide an indication of the software's reliability and quality. Typographical errors are ______. - answer- Random Logic errors and incorrect assumptions are _________ ____________ to the probability that a program path will be executed. - answer- Inversely Proportional • General processing tends to be well understood, while special case processing tends to be prone to errors. • However, we often believe that a logical path is not likely to be executed when in fact, it may be executed on a regular basis. • Our unconscious assumptions about control flow and data lead to design errors that can only be detected by testing. Black Box Testing - answer- • Consider only public interface of module or entire program • Apply inputs → examine outputs → compare to spec • Ideally done by independent testing group - NOT the original programmer White Box Testing - answer- Involves looking at module's source code, then targeting tests to exercise particular statements Proper White Box Testing will: - guarantee that all ___________ _____ within a module have been exercised at least once, - exercise all _______ _________ on their true and false sides, - execute all _____ at their boundaries and within their operational bounds, and - exercise internal ____ __________ to ensure their validity. - answer- Independent Paths, Logical Decisions, Loops, Data Structures 3 Steps to Testing Nirvana - answer- Step 1: Consider all possible problems as you implement a solution. Consider array boundaries, loop boundaries, ranges for variable values, etc. - Consider all the situations a block of code could have and design tests for them. Step 2: Test systematically, starting with easy tests and working up to more elaborate ones. Step 3: Within a module, test incrementally as you code. TLDR: Know your code boundaries, test systematically (simple - complex), test often. GIGO - answer- ("garbage in, garbage out") means that if your input is incorrect, your output is worthless. - In some cases its unavoidable (various data analysis methods) - Include "garbage in" in your test cases, to make sure defensive code is working as desired cmp - answer- Compare files for identity - Useful for comparing output of your program to 'gold output' (AKA expected/correct output) diff - answer- Report differences - Useful for comparing output of your program to 'gold outpu

Show more Read less
Institution
CIS 2750 –
Course
CIS 2750 –

Content preview

CIS 2750 – Testing Exam Questions
and Answers
True or False: Testing is the same as debugging. - answer- False. Testing is the
systematic attempt to break a program, while debugging is the process of fixing and
removing errors.

True or False: Testing can take upwards of 40 percent of total development time. -
answer- True. It is not unusual for developers to spend 40% of the total project time
on testing.

• For life-critical software (e.g. flight control, reactor monitoring), testing can cost 3 to
5
times as much as all other activities combined.

True or False: Testing can prove the absence of errors. - answer- False, testing
cannot show (or prove!) the absence of defects -- it can only show that software
defects are present.

Testing - answer- The process of executing a program with the intent of finding an
error.

A ____ test case is one that has a high probability of finding an as yet undiscovered
error. - answer- Good

A __________ test is one that uncovers an as yet undiscovered error. - answer-
Successful

Testing should systematically uncover _________ _______
of errors in a minimum amount of time and with a minimum amount of effort. -
answer- Different Classes

• A secondary benefit of testing is that it demonstrates that the software appears to
be
working as stated in the specification.
• The data collected through testing can also provide an indication of the software's
reliability and quality.

Typographical errors are ______. - answer- Random

Logic errors and incorrect assumptions are _________ ____________ to the
probability that a program path will be executed. - answer- Inversely Proportional

• General processing tends to be well understood, while special case processing
tends to be prone to errors.

• However, we often believe that a logical path is not likely to be executed when in

Written for

Institution
CIS 2750 –
Course
CIS 2750 –

Document information

Uploaded on
August 8, 2025
Number of pages
4
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$15.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Freshy Oxford University
View profile
Follow You need to be logged in order to follow users or courses
Sold
62
Member since
2 year
Number of followers
4
Documents
6986
Last sold
3 weeks ago

3.6

10 reviews

5
3
4
4
3
1
2
0
1
2

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions