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

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

+ ! + Ops updated their profile
3 hours ago
Black Wolf updated their profile
3 hours ago
Muhammad Bilal replied to +M.Tariq Malik's discussion FIN624 GDB No 01 Fall 2020 Solution / Discussion in the group FIN624 Islamic Mode of Financing
3 hours ago
Muhammad Bilal replied to Fragrance of Islam's discussion ENG301 Business Communication GDB No 01 Fall 2020 Solution / Discussion in the group ENG301 Business Communication
3 hours ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion SOC101 Introduction to Sociology Online Quiz No 01 Fall 2020 Solution / Discussion Last Date: 01-12-2020 in the group SOC101 Introduction to Sociology
3 hours ago
Muhammad Usman liked +M.Tariq Malik's group EDU430 ICT in Education
3 hours ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion CS402 Assignment 01 Fall 2020 Solution / Discussion in the group CS402 Theory of Automata
3 hours ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion GSC201 Teaching of General Science Assignment 01 Fall 2020 Solution / Discussion Due Date: in the group GSC201 Teaching of General Science
3 hours ago
+M.Tariq Malik liked +M.Tariq Malik's discussion GSC201 Teaching of General Science Assignment 01 Fall 2020 Solution / Discussion Due Date:
3 hours ago
+M.Tariq Malik added a discussion to the group GSC201 Teaching of General Science
3 hours ago
Saqib replied to +M.Tariq Malik's discussion MTH501 Linear Algebra Assignment 01 Fall 2020 Solution / Discussion Due Date: 03-12-2020 in the group MTH501 Linear Algebra
3 hours ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion MTH641 Functional Analysis Online Quiz No 01 Fall 2020 Solution / Discussion in the group MTH641 Functional Analysis
3 hours ago

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

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

.