Skip to content
VUBuddy

CS506 Final Term Solved MCQs by VU Malik

Web Design and Development PDF 1.5 MBUpdated 23 Oct 2026
Final term past paper CS506 Final Term Solved MCQs by VU Malik PDF 1.5 MB
vubuddy.com
Type
Final term past paper
Course
CS506 Web Design and Development
Size
PDF 1.5 MB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 1.5 MB

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 54. Download the file for all 54 pages.

Q1. Which of the following problem occurs with lower priority threads?

  •  Starvation
  •  Average waiting time
  •  Race condition
  •  Process death

Q2. Web.xml is a --------------

  •  Servlet file
  •  Configuration file
  •  Jar file
  •  Java file

Q3. Which of the following variable value will not be set during the installation and configuration of apache tomcat server?

  •  Java_home
  •  Classpath
  •  Catalina_home
  •  Jdk_home

Q4. The newly created thread can be moved to “ready state” by calling------------ ----method

  •  Sleep()
  •  Start()
  •  Wait()
  •  Yield()

Q5. Which of the following is not a servlet related package?

  •  Javax.servlet.servlet
  •  Javax.servlet
  •  Ja5.vax.servlet.http
  •  Javax.servlet.swt

Q7.  access to the requested resource was successful

  •  resource has been destroyed
  •  access to the requested resource has been denied
  •  resource can be accessed after one hour

Q8. When a thread is in “new state” during its lifecycle, it is--------------

  •  In ready queue
  •  Just created page 226
  •  Being assigned a processor to run
  •  Ready to run

Q9. . In the context of http response code, the values in the 200s signify that-------

  •  Request was successful p231
  •  Request was not successful
  •  Error by client

Q10. Which of the following is not the stage of servlet lifecycle?

  •  Wait
  •  Service
  •  Destroy

Q11. Request and response of servlet are handles at -----------------stage

  •  Destroy
  •  Failure page 258
  •  Service

Q12. At servlet service stage ,webserver invokes ------------- method

  •  Servletservices()
  •  Services() page 259
  •  servicesSvlt()
  •  svltServices()

Q13. Choose correct line od code to start a thread ‘t’ in java

  •  t.start()
  •  t-start()
  •  t=start()
  •  t->start()

Q14.  Request resource is available

  •  Request requires http authentication page 231
  •  Request resource is not available

Q15.  “ready state” means a thread is in------------

  •  New state page 226
  •  Waiting state
  •  Ready state
  •  Dead state

Q16. Choose correct line of code to inherit a worker class from thread class in java

  •  Public class worker new thread()
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.