CS506 Final Term Solved MCQs by Junaid
Web Design and Development
PDF 1.6 MBUpdated 23 Oct 2026
Final term past paper
CS506 Final Term Solved MCQs by Junaid
PDF 1.6 MB
vubuddy.com
- Type
- Final term past paper
- Course
- CS506 Web Design and Development
- Size
- PDF 1.6 MB
- Updated
- 23 Oct 2026
Free download
0 of 3 used today
You get 3 free files a day on the website. Add the Chrome extension for 30 a day.
Preview text
Text from pages 2, 3, 4 of 53. Download the file for all 53 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
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()
Related CS506 files
All CS506 files →- CS506 Final Term Solved Papers 6 by Waqar Siddhu Final term PDF 2.9 MB
- CS506 Final Term Solved Subjective by Junaid Final term PDF 1.9 MB
- CS506 Final Term Solved MCQs Set 3 by Junaid Final term PDF 1.6 MB
- CS506 Highlighted Handouts Highlighted PDF 10.9 MB
- CS506 Quiz 3 Spring 2023 by VU Stars Quiz PDF 8.7 MB
- CS506 Final Term Solved MCQs with References Set 2 by Moaaz Final term PDF 1.4 MB
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
Chrome extension
Free on the Chrome Web Store
- 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.