Week 10
Week 10
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
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 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
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.
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.
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 .
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.
10) Identify the component expression corresponding to the given code. 1 point
https://onlinecourses.nptel.ac.in/noc24_cs91/unit?unit=79&assessment=222 3/3