Skip to content
VUBuddy

CS506 Solved Quiz 1 by VUBuddy

Web Design and Development PDF 596 KBUpdated 23 Oct 2026
Quiz CS506 Solved Quiz 1 by VUBuddy PDF 596 KB
vubuddy.com
Type
Quiz
Course
CS506 Web Design and Development
Size
PDF 596 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 596 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 10. Download the file for all 10 pages.

WMIg3Q

Q3. The method “getId()” of http Session class returns the unique identifier of the session.

  1. True
  2. False

Correct answer: True

Q4. In 3-layer architecture, we do NOT make any direct calls to database from the presentation layer.

  1. True
  2. False

Correct answer: True

Q5. Which of the following method allows any other thread of same priority to execute?

  1. sleep()
  2. wait()
  3. notify()
  4. yield()

Correct answer: yield()

WMIg3Q

Q6. Packages are nothing more than the way we organize files into different directories according to their functionality, usability as well as category they should belong to.

  1. True
  2. False

Correct answer: True

Q7. Which of the following interface needs to implement while creating threads.

  1. Serializable
  2. Runnable
  3. ActionListner
  4. WindowListener

Correct answer: Runnable

Q8. Each web application has ____ servlet context/s.

  1. 0
  2. 1

Correct answer: 1

WMIg3Q

c) 2 d) 3

Q9. Which of the following is NOT true about HTTP?

  1. HTTP is a stateless protocol
  2. HTTP is a request response communication model
  3. HTTP maintains user session between successive requests.
  4. HTTP has no bult-in state management between successive requests.

Correct answer: HTTP maintains user session between successive requests.

Q10. Context attributes are shared among ___ servlet/s of ___.

  1. all, desktop application
  2. all, a web application
  3. two, a web application
  4. two, desktop applications

Correct answer: all, a web application

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.