Skip to content
VUBuddy

CS506 Quiz 4 by VU Topper RM

Web Design and Development PDF 864 KBUpdated 23 Oct 2026
Quiz CS506 Quiz 4 by VU Topper RM PDF 864 KB
vubuddy.com
Type
Quiz
Course
CS506 Web Design and Development
Size
PDF 864 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 864 KB

You get 3 free files a day on the website. Add the Chrome extension for 30 a day.

Unlimited downloads in the Android app Get it free on Google Play

Preview text

Text from pages 2, 3, 4 of 50. Download the file for all 50 pages.

By means of Page Directive, a JSP can be given the responsibility of an Error page.

True Page 389

False

Which of the following is the correct format of writing a page directive in JSP?

  1. <% taglib {attribute=”val”} %> Page 379
  2. <%$ taglib {attribute=”val”} %>
  3. <%! taglib {attribute=”val”} %>
  4. <%# taglib {attribute=”val”} %>

Correct answer: <% taglib {attribute=”val”} %> Page 379

Tag Library Descriptor (.tld) file is a simple text base document.

True

JSP Stands for ____________ .

A. Java Server Page Google

B. Java Servlet Pages C. Java Server Program D. Java Standard Protocol

Which of the following approach is also called page-with-bean approach.

A. MVC Model1 Page 404

B. MVC Model2 C. MVC Model3 D. Page-Centric approach

Which of the following is the main idea behind partitioning a web application into layers?

  1. Increase Decoupling
  2. Reduce Coupling.
  3. Increase Coupling
  4. Reduce Decoupling

Correct answer: Reduce Coupling.

Which of the following architecture introduces a controller?

  1. MVC Model 3
  2. MVC Model 2 Page 404
  3. MVC Model 1
  4. MVC Model 4

Correct answer: MVC Model 2 Page 404

Which file extension is used for JSP files?

  1. .js
  2. .java
  3. .jsp Google
  4. .html

Correct answer: .jsp Google

Which of the following is true about tag with attributes in JSP?

  1. All of the given options
  2. It has attribute within tag
  3. It has no body enclosed
  4. It has start and end of tag

Correct answer: All of the given options

The correct way to define a JSP forward action element is:

A. <jsp:forward page = “one.jsp” /> Page 373

B. <jsp:forward page # “one.jsp” /> C. <jsp:forward page $ “one.jsp” /> D. <jsp:forward page “one.jsp” />

Is it true that Enterprise Applications need to support multiple types of users with multiple types of interfaces?

Yes

NO

A separate controller is a part of which of the following approache?

  1. MVC Model 3
  2. MVC Model 2 Page 404
  3. MVC Model 1
  4. Page-Centric approach

Correct answer: MVC Model 2 Page 404

What is a JavaBean?

  1. A type of coffee available in Java.
  2. A framework for developing web applications in Java.
  3. A built-in data type in Java for storing numerical values.
  4. A lightweight Java class that encapsulates data and behavior. Google

Correct answer: A lightweight Java class that encapsulates data and behavior. Google

Which of the following choices is the best choice as a controller in MVC Model Architecture?

  1. JavaScript
  2. Java
  3. Servlet
  4. JSP

Correct answer: Servlet

Normally web applications are partitioned into _______ logical layers. A. one B. two C. fore

D. three Page 243

What is the purpose of JSP?

  1. To define the structure and styling of web pages.
  2. To manage server configurations and deployments.
  3. To handle client-side scripting in web applications.
  4. To generate dynamic web content using Java code. Google

Correct answer: To generate dynamic web content using Java code. Google

Which keyword is used to declare a package in Java?

  1. Include
  2. Package Google
  3. Namespace

Correct answer: Package Google

Which of the following information is required by the JSP container?

  1. Tag name
  2. JSP version
  3. Tag library version
  4. All of the given options Page 379

Correct answer: All of the given options Page 379

In context of JSP custom tags, is it true that a "Tag with Attributes" does NOT have a body?

True Page 377

False

All CS506 files →
CS506 Web Design and Development All CS506 handouts, past papers, quizzes and MCQs in one place. Open course page

Get more out of VUBuddy, for free

Android app Free on Google Play
  • Unlimited downloads
  • The explanation behind every MCQ answer
  • Study offline on slow data
Get the Android app
Chrome extension Free on the Chrome Web Store
  • 30 downloads a day instead of 3
  • Sign in and buy Pro Semester here
Add to Chrome

One Pro Semester membership works in both the extension and the app.