CS506 QUIZ NO 2 SOLVED SPRING 2019 FILE 2|| 100% VERIFIED|| VURANK

CS506 QUIZ NO 2 SOLVED 100% VERIFIED BY ADMIN (FINAL TERM SYLLABUS)

Q1: HTTP is a __________ protocol.
A) Stateless (100% Sure)
B) Connectionless
C) Connection oriented
D) Both Connectionless and Stateless

Q2: Which of the following folder contains configuration file?
A) classes
B) lib
C) bin
D) WEB-INF (100% Sure)

Q3: Which of the following is NOT true about HTTP?
A) HTTP is a stateless protocol
B) HTTP is a request response communication model
C) HTTP maintains user session between successive requests (100% Sure)
D) HTTP has no built-in state management between successive requests

Q4: From the following packages which one is used to write the servlets?
A) javax (100% Sure)
B) java
C) java.util
D) java.lang

Q5: Which of the following is NOT a web technology of Java?
A) Servlet
B) JSP
C) ASP (100% Sure)
D) JSF

Q6: "application" is a object of
A) ServletContext (100% Sure)
B) HttpSession
C) ServeletConfig
D) Both ServeletConfig and HttpSession

Q7: getrequest() method get information from a client and postrequest() method post data to a client.
A) Flase
B) True (100% Sure)

Q8: Servlets are used to
A) Create graphics
B) Provide dynamic web contents which extend web server (100% Sure)
C) Develop applets
D) Create GUI

Q9: Which one is used to collect data when a user navigates between web pages?
A) Session Tracking (100% Sure)
B) User Tracking
C) Session Migration
D) Both User Tracking and Session Migration

Q10: From the following which ID is transmitted between the client and the serve
A) Session ID (100% Sure)
B) Network ID
C) Server ID
D) None of these