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

Looking For Something at Site? Search Below

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: 54

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

+M.Tariq Malik replied to Fragrance of Islam's discussion ENG301 Business Communication GDB No 01 Fall 2020 Solution / Discussion in the group ENG301 Business Communication
38 minutes ago
Profile IconSamina, sahara, Jero and 13 more joined Virtual University of Pakistan
38 minutes ago
+!!! ❤️ Shadow Girl❤️!!! replied to Miss. Churhail's discussion $$$$$AB YE SOCHA HY K HAM HAD SE GUZAR JAYEN GY$$$$$$
39 minutes ago
maha replied to +M.Tariq Malik's discussion Mid Term Quiz Will Be Conducted Instead Of Mid Term Examinations - Fall 2020 Semester
40 minutes ago
+!!! ❤️ Shadow Girl❤️!!! liked Miss. Churhail's discussion $$$$$AB YE SOCHA HY K HAM HAD SE GUZAR JAYEN GY$$$$$$
40 minutes ago
maha replied to +M.Tariq Malik's discussion Mid Term Quiz Will Be Conducted Instead Of Mid Term Examinations - Fall 2020 Semester
42 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion FIN630 GDB No 01 Fall 2020 Solution / Discussion Last Date: 27-11-2020 in the group FIN630 Investment Analysis & Portfolio Management
43 minutes ago
Aasma kiran commented on +M.Tariq Malik's group ENG301 Business Communication
46 minutes ago
Aasma kiran joined +M.Tariq Malik's group
47 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion CS602 Computer Graphics Assignment 01 Fall 2020 Solution / Discussion Due Date: 04-12-2020 in the group CS602 Computer Graphics
55 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion CS602 Computer Graphics Assignment 01 Fall 2020 Solution / Discussion Due Date: 04-12-2020 in the group CS602 Computer Graphics
57 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion CS602 Computer Graphics Assignment 01 Fall 2020 Solution / Discussion Due Date: 04-12-2020 in the group CS602 Computer Graphics
58 minutes ago
Rabbani King updated their profile
1 hour ago
Tahir Ali left a comment for sara khan
1 hour ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion PAK301 Pakistan Studies Assignment 01 Fall 2020 Solution / Discussion in the group PAK301 Pakistan Studies
1 hour ago
Tahir Ali and sara khan are now friends
1 hour ago

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

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

.