We have been working very hard since 2009 to facilitate in your learning Read More. We can't keep up without your support. Donate Now.

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More


CS506 Solved MCQs - CS506 Solved Online Quizzes - CS506 Solved MCQs Bank - CS506 MCQs Collection from Online Quizzes – CS506 Mega Solved MCQs – CS506 Mid Term Final Term Papers Solved MCQs

CS506 Solved MCQs - CS506 Solved Online Quizzes - CS506 Solved MCQs Bank - CS506 MCQs Collection from Online Quizzes – CS506 Mega Solved MCQs – CS506 Mid Term Final Term Papers Solved MCQs


+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)


Views: 56

Replies to This Discussion

CS506 Web Design and Development MCQs

HTML form data can be processed by JSP
TRUE
FALSE

From the following methods, which method cannot be overridden in the JSP page
_jspService()
jspDestroy()
jspInit()
None of these

 

Which of the following object is used for sharing resources among different servlets of same application?
ServletConfig
ServletRequest
ServletResponse
ServletContext

A ServletContext object provides information about the servlet environment (such as name of the server) and allows sharing of resources between servlets in the group, within any single JVM. (For servlet containers supporting multiple simultaneous JVMs, implementation of resource-sharing varies.)

 

getParameters() method returns an array of strings containing the values for a specified servlet parameter.
TRUE
FALSE

Returns the value of a request parameter as a String, or null if the parameter does not exist. Request parameters are extra information sent with the request. For HTTP servlets, parameters are contained in the query string or posted form data.
You should only use this method when you are sure the parameter has only one value. If the parameter might have more than one value, use getParameterValues(java.lang.String).

 

Interface can be implemented in JSP

TRUE
FALSE
setAttribute(String, Object) associates a ----------with a name.
None of these
Object
String
Value
JSP technology is extensible
TRUE
FALSE

Packages are the way to organize files into different -------------according to their functionality, usability as well as category they should belong to.
Directories
Folders
Libraries
None of these

What is the initial contact point for handling a web request in a Page-Centric architecture?
JSP page
JavaBean
servlet
HTML page

Relationship between JSP and servlets is
Servlets are built on JSP semantics and all servlets are compiled to JSP pages for runtime usage
JSP and servlets are unrelated technologies
Servlets and JSP are competing technologies for handling web requests. Servlets are being superseded by JSP, which is preferred. The two technologies are not useful in combination
JSPs are built on servlet semantics and all JSPs are compiled to servlets for runtime usage

All -----------data is kept at the application server.
Dynamic
Static
Both dynamic and static
None of these

When JSP page compiled, it is translated into?
Applet
Application
Servlet
Web Browser

From following which code can be used to create session object in the Servlet:
HttpSession session = req.getSession(true);
HttpSession session = req.getSession(false);
HttpSession session = req.getSession(1);
None of these
From the following indicators; which is added in user session to know the session time out?
Sessiontimeoutindicator
SessionTimeOutIndicator
SessionTimeoutIndicator
None of these


From the following which ID is transmitted between the client and the server
Session ID
Network ID
Server ID
None of these

To define the error page in JSP we use following tag?
exception-type
error-type
error-page
exception-page

Which one is used to collect data when a user navigates between web pages?
Session Tracking
User Tracking
None of these
Session Migration

doGet() and doPost() receive ServletRequest and ServletResponse objects as an arguments which facilitate interaction between the client and the server.
TRUE
FALSE

When a session object is invalidated, it can be again refreshed.
TRUE
FALSE

RSS

Latest Activity

Profile IconFatima, Sheza mariam, Iftikhar Ali and 16 more joined Virtual University of Pakistan
22 minutes ago
Imtiaz Waqar added a discussion to the group STA630 Research Methods
37 minutes ago
Imtiaz Waqar joined +M.Tariq Malik's group
38 minutes ago
Muhammad Fawad Hassan joined +M.Tariq Malik's group
53 minutes ago
Maria commented on +M.Tariq Malik's group EDU101 Foundations of Education
1 hour ago
+ Faisal + replied to shifa arshad's discussion CS605 Assignment No 02 Fall 2020 Solution / Discussion Due Date: 10-dec-2020 in the group CS605 Software Engineering-II
1 hour ago
Maria joined +M.Tariq Malik's group
1 hour ago
Maria and SafeerZaidi are now friends
1 hour ago
SafeerZaidi liked Maria's profile
1 hour ago
Tasha Malik posted a status
"Bio 201 Assignment # 2 Solution https://youtu.be/Gowjc67WZ4c"
2 hours ago
Maria liked +M.Tariq Malik's profile
3 hours ago
Maria left a comment for +M.Tariq Malik
3 hours ago
Blessings posted a status
"Kya khbr k ab wo khan rehta hai...........................Khush rhe yar jhan rehta hai"
3 hours ago
SafeerZaidi liked +M.Tariq Malik's group PAK301 Pakistan Studies
3 hours ago
Virtual Educators Academy posted a discussion
4 hours ago
Virtual Educators Academy updated their profile
4 hours ago
☆ Tina Solangi ☆ updated their profile
5 hours ago
Humaira Khadim replied to +M.Tariq Malik's discussion PSY404 Abnormal Psychology Assignment 01 Fall 2020 Solution / Discussion in the group PSY404 Abnormal Psychology
5 hours ago
Humaira Khadim replied to +M.Tariq Malik's discussion PSY402 Experimental Psychology Assignment 01 Fall 2020 Solution / Discussion Due Date: 07-12-2020 in the group PSY402 Experimental Psychology
5 hours ago
Ali Fahad posted a discussion
5 hours ago

© 2020   Created by +M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service

.