CS506 Final Term Solved MCQs Set 2 by Junaid
- Type
- Final term past paper
- Course
- CS506 Web Design and Development
- Size
- PDF 1.6 MB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
Preview text
Text from pages 2, 3, 4 of 38. Download the file for all 38 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 page 231
- 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
- Initialize
Q11. Request and response of servlet are handles at-----------------stage
- Destroy
- Initialize
- 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. Public class worker new thread()
- Public class worker inherit thread()
- Public class worker implement thread()
- Public class worker extends thread() page 214
Q17. In get http request type, attribute-value pair is attached after----------------with requested url
- ? page 253
Q18. In web.xml, root tag---------------------represents web application
- Webapp
- <web-app> page 255
- <webapp>
- <web.app>
Related CS506 files
All CS506 files →- CS506 Final Term MCQs by Waqar Siddhu Final term PDF 25.6 MB
- CS506 Final Term Solved Subjective 2014 Final term DOCX 324 KB
- CS506 Final Term Solved Subjective Set 2 by Junaid Final term PDF 2.3 MB
- CS506 Final Term Solved MCQs Set 3 by Junaid Final term PDF 1.6 MB
- CS506 Highlighted Handouts by VU Topper RM Highlighted PDF 15.8 MB
- CS506 Quiz 1 by VU Topper RM Quiz PDF 1.4 MB
Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.