0% found this document useful (0 votes)
34 views

Week 10

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views

Week 10

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

10/21/24, 2:58 PM Software Testing - - Unit 13 - Week 10

(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)

[email protected]

NPTEL (https://swayam.gov.in/explorer?ncCode=NPTEL) » Software Testing (course)

Course outline Week 10 : Assignment 10


The due date for submitting this assignment has passed.
About NPTEL () Due on 2024-10-02, 23:59 IST.

How does an
NPTEL online
Assignment submitted on 2024-10-02, 19:26 IST
course work? () 1) As discussed in the videos, which are the major kinds of testing applicable to test the functionality of web 1 point
applications?
Week 0 ()
Testing of web services, static and dynamic web applications.
Week 1 () Testing of static and dynamic web sites.
Client-side testing and server-side testing.
Week 2 ()
Black-box testing and white-box testing.

Week 3 () No, the answer is incorrect.


Score: 0
Accepted Answers:
Week 4 ()
Client-side testing and server-side testing.

Week 5 ()
2) What is the main idea in bypass testing of web applications? 1 point

Week 6 () Bypass testing deletes all the client-side validation checks and saves the data to send to the server.
Bypass testing technique removes some of the client-side validation checks and sends modified data to the server
Week 7 ()
to check for server responses.
Bypass testing sends data to another server by modifying the destination details.
Week 8 ()
Bypass testing changes the HTML constraints of the data sent by the web client.
Week 9 () Yes, the answer is correct.
Score: 1
Week 10 () Accepted Answers:
Bypass testing technique removes some of the client-side validation checks and sends modified data to the server to
Testing of web check for server responses.
Applications and
Web Services (unit?
3) Which of the following is the main issue tested for in a static website? 1 point
unit=79&lesson=80)

Testing of web
Testing for non-functional properties.
Applications and Checking if there is at least one HTML hyperlink.
Web Services (unit?
Testing for dead links.
unit=79&lesson=81)
Testing using breadth first search.
Testing of web
Yes, the answer is correct.
Applications and
Score: 1
Web Services (unit?
Accepted Answers:
unit=79&lesson=82)
Testing for dead links.
Testing of Object-
Oriented Applications 4) If a web application contains a collection of web pages that are created based on the inputs given by a user or 1 point
a client, which is the kind of underlying web application?

https://onlinecourses.nptel.ac.in/noc24_cs91/unit?unit=79&assessment=222 1/3
10/21/24, 2:58 PM Software Testing - - Unit 13 - Week 10

(unit? Static website.


unit=79&lesson=83)
Dynamic website.
Testing of Object-
Web service.
Oriented Applications
(unit? Client-varying website.
unit=79&lesson=84) Yes, the answer is correct.
Score: 1
Practice: Week 10:
Accepted Answers:
Assignment 10 (Non
Dynamic website.
graded)
(assessment? 5) Consider an Application Transition Graph (ATG), modeling a piece of some server code. A transition out of the 1 point
name=208) code’s execution modeling the pressing of a back or a forward button is called by which term?
Week 10 Feedback
Simple link transition.
Form: Software
Testing (IIITB) (unit? Form link transition.
unit=79&lesson=168) Oprational transition.
Quiz: Week 10 : Redirect transition.
Assignment 10
No, the answer is incorrect.
(assessment? Score: 0
name=222)
Accepted Answers:
Oprational transition.
Week 11 ()

6) What are the different data layers present in the architecture of a web application? 1 point
Week 12 ()
Data at the client-side and data at the server-side.
DOWNLOAD
Data content, data presentation and data storage layers.
VIDEOS ()
Data input and data output layers.
Text Transcripts () Data at the unit level and integration level.
Yes, the answer is correct.
Live sessions () Score: 1
Accepted Answers:
Books () Data content, data presentation and data storage layers.

Consider the Java Servlet code given in the image below. It is a simple code that takes as input, a student’s roll number
and after running a query, outputs the scores of the assignments. The atomic sections are marked in the code as Pi , for
1 ≤ i ≤ 7. Answer the following questions with respect to testing of this server-side code.

7) State yes or no: Is there an empty atomic section in the given code? 1 point

Yes.
No.

No, the answer is incorrect.

https://onlinecourses.nptel.ac.in/noc24_cs91/unit?unit=79&assessment=222 2/3
10/21/24, 2:58 PM Software Testing - - Unit 13 - Week 10

Score: 0
Accepted Answers:
No.

8) Identify the atomic sections that occur as choices in the sense that only one of them will be selected for 1 point
generating the website.

There are no atomic sections with choice in the given code.

The atomic sections with choice are P4 and P5 .

The atomic sections with choice are (1) P4 and P5 , and (2) P3 and P6 .

The atomic sections with choice are (1) P4 and P5 , and (2) P1 and P6 .

No, the answer is incorrect.


Score: 0
Accepted Answers:
The atomic sections with choice are (1) P4 and P5 , and (2) P3 and P6 .

9) What do the atomic sections P1 and P7 take care of in the given code? 1 point

These atomic sections take care of generating the header and body tags of the HTML file that will be sent to the
client browser.
These atomic sections ensure that correct data is sent to the server by the client.

No, the answer is incorrect.


Score: 0
Accepted Answers:
These atomic sections take care of generating the header and body tags of the HTML file that will be sent to the client
browser.

10) Identify the component expression corresponding to the given code. 1 point

P1 ⋅ ((P2∗ ⋅ P3 ⋅ (P4 |P5 ))|P6 ) ⋅ P7.

P1 ⋅ ((P2 |P3 ) ⋅ (P4 |P5 )|P6 ) ⋅ P7 .

P1 ⋅ (P2 ⋅ P3 ⋅ (P4 |P5 )|P6 ) ⋅ P7

P1 ⋅ (((P2 |P3 ) ⋅ (P4 |P5 ))|P6 ) ⋅ P7 .


No, the answer is incorrect.
Score: 0
Accepted Answers:
P1 ⋅ ((P2∗ ⋅ P3 ⋅ (P4 |P5 ))|P6 ) ⋅ P7.

https://onlinecourses.nptel.ac.in/noc24_cs91/unit?unit=79&assessment=222 3/3

You might also like