Sie sind auf Seite 1von 2

Answer :

Reg. No
Client
SRM UNIVERSITY, NCR CAMPUS MODINAGAR • Makes a request by specifying a UR L + additional info
DEPARTMENT OF INFORMATION TECHNOLOGY • Basicall y a method call, the method and arguments.
B.Tech.-IT, CYCLE TEST-2, APR 2016
Web Server
Sixth Semester
• Receives the request.
IT01020 – Web Systems & Technology
• Identifies the request as a servlet request
• Passes the request to the servlet container
Time: 11/2 Hrs. Max. Marks :50
Servlet Container
PART – A (1 × 6 = 06 Marks)
Answer ALL Questions • Locates the servlet (Java code, lo aded and running in the
1. Servlets configuration is used to send information to a servlets at the container JVM)
time of initializing the servlets. • Feeds the request parameters to the servlet
(a) ServletRequest (b) ServletResponse Servlet
(c) Servlets (d) ServletConfig • Executes in a separate thread
2. Advantages of JavaScript is • The servlet can store/retrieve objects (possibl y session
(a) Less server interaction (b) Immediate feedback to the visitors scoped) from the servlet container.
(c) Increased interactivity (d) Reading or writing of files • Output is sent back to the requesting web browser.
3. Which of the following statements to use for Java Servlet • Servlet continues to be available in the servlet container.
(a) Efficiency (b) Persistency (c) Portability (d) All of these 8 Mention the need for cascading style sheets .
4. What is the role of server?
(a) Manages application tasks (b)Handles storage Answer : Need for CSS
(c) Handles security (d) All of these Allow the information in the document to be presented without change
5. What is meant by loop back address? in a variety of ways Relatively easy to give all of the elements on a
(a) 123.2.3.1 (b) 127.0.0.1 (c)255.255.255.0 (d) 0.0.0.0 page consistent appearance Both the document author and the person
6. What are the sequences of steps for each HTTP request from viewing the document can specify aspect of the document style as it is
a client to the server? displayed by the browser
1. Making the connection 9 What are the two methods of implementing style
2. The response sheets?
3. Closing the connection
4. Making a request Answer :
(a) 1-2-3-4 The two methods of implementing styles to HTML elements are
(b) 1-4-2-3 Rule Cascading
(c) 4-3-2-1 Inheritance
(d) 3-4-2-1 10 List out some primary CSS text properties
.
11 What are the two components of Javascript
Answer ANY FIVE Questions implementation?
PART – B (4 ×5 = 20 Marks)
7 Explain in brief the interaction between a web 12 What are the functions of doGet() and doPost()
server and a Servlet. methods?
Answer ANY TWO Questions
PART – C (12 ×2 = 24 Marks)
13. Explain in brief the interaction between a web server
and a Servlet. OR

List The Various Dialog Boxes In Java Script


14 With a neat diagram write a SCRIPT PROGRAM with
validation for the following
a- Student Mark List
b- Employee Pay Slip generation
OR

Write short notes on Java Script/Advantages of Scripting


a- Java Script control statements
b- Java Script functions

Das könnte Ihnen auch gefallen