Software Testing | Week 4 : Assignment 4

 

Week 4 : Assignment 4

Due date: 2022-08-24, 23:59 IST.
Assignment not submitted
1 point
Which of the following best describes a test driver?
 
 
1 point
If method A uses a variable v shared with method B, where A writes to v and B reads from v, then, it is an example of which kind of coupling interface listed below?
 
 
 
 
1 point
To test sequencing constraints that occur as requirements specification, which of the following tests are used?
 
 
 
 
1 point
A simple path from the last definition to the first use of a coupling variable is called as . . . . . . . . ..
 
 
1 point
State Yes or No: Are control flow graphs representing code the same as finite state machines that represent the same code?
 
 

Consider the graph below that depicts the calls to file handler methods open()close(),read() and write(). Any procedure/method that uses these methods has to satisfy the following sequencing constraints: (1) An open(f) must be executed before every write(t), (2) An open(f) must be executed before every close()(3) A write(f) may not be executed after a close() unless there is an open(f) in between, (4) A write(t) should be executed before every close().



Answer the following questions with reference to the sequencing constraints and the graph a method that uses these constraints.
1 point
Which of the following is true with reference to the graph satisfying the sequencing constraints?
 
 
 
 
1 point
State true or false: The path (1,4,5,7) satisfies constraint (4).
 
 
1 point
State true or false: The path (1,2,3,7) satisfies all the constraints.
 
 
1 point
State yes or no: Does the path (1,4,6,7) violate any of the constraints?
 
 
1 point
State true or false: The path (1,4,6,4,6,7) satisfies all the constraints.
 
 
You may submit any number of times before the due date. The final submission will be considered for grading.


1. a
2. d
3. c
4. b
5. a
6. d
7. a
8. b
9. a
10. b

Not 100% correct

Comments

Popular posts from this blog

Walmart Sparkplug 2022 | 150 students will be selected for summer internship | ₹1-1.1 lakh monthly

Flipkart Runway: Season 3 | 2025 | Internship

Python for Data Science NPTEL Assignment Solutions Week 4 2022

GATE 2022 Answer Key Release Date Announced; Details Here