NPTEL Online Certification Course
Design & Implementation Of Human-Computer Interfaces
Assignment 10: Detailed Solution
Indian Institute of Technology Guwahati
i
at
ah
1. To gain insight into white-box testing strategies, what can be used to visualize the
uw
program's flow?
a. CFG
yG
b. DFD
c. ERD
d. Class diagram
log
Correct Answer: a
Detailed Solution: From NPTEL Week 10 Lecture 1
no
2. To construct a CFG we assign numbers to all statements of the program, create a node
in the CFG for each numbered statement and_____________.
ch
a. Complement the CFG
Te
b. Add edges
c. Sort the nodes
Correct Answer: b
of
Detailed Solution: From NPTEL Week 10 Lecture 1
te
3. Does branch coverage guarantee statement coverage?
a. Yes
tu
b. No
sti
Correct Answer: a
Detailed Solution: From NPTEL Week 10 Lecture 1
In
4. What should test cases in path coverage ensure?
n
a. Linearly independent paths
dia
b. Linearly dependent paths
Correct Answer: a
Detailed Solution: From NPTEL Week 10 Lecture 1
In
5. What formula is used to compute cyclomatic complexity, where E = number of edges
and N = number of nodes?
a. E-N+2
b. E-N+1
c. E+N-2
d. E+N-1
Correct Answer: a
Detailed Solution: From NPTEL Week 10 Lecture 1
6. What are the three main stages of system testing?
a. Alpha testing, beta testing, and gamma testing
b. Alpha testing, beta testing, and sigma testing
c. Alpha testing, beta testing, and acceptance testing
d. Alpha testing, beta testing, and omega testing
Correct Answer: c
Detailed Solution: From NPTEL Week 10 Lecture 2
i
at
7. Volume testing tests system performance for ______ input
ah
a. Small
b. Large
uw
Correct Answer: b
Detailed Solution: From NPTEL Week 10 Lecture 2
yG
8. In a CFG, a node is created for each numbered _________.
a. Line number
log
b. End of parentheses
c. Statement
Correct Answer: c no
Detailed Solution: From NPTEL Week 10 Lecture 1
ch
9. There are _____ stages of empirical research.
a. Three
Te
b. Four
c. Five
of
d. Six
Correct Answer: b
te
Detailed Solution: From NPTEL Week 10 Lecture 4
tu
10. White-box testing is harder than black-box testing.
sti
a. True
b. False
In
Correct Answer: a
Detailed Solution: From NPTEL Week 10 Lecture 1
n
dia
In
In
dia
n
In
sti
tu
te
of
Te
ch
no
log
yG
uw
ah
at
i