CS506 Final Term Solved MCQs by VU Malik
- Type
- Final term past paper
- Course
- CS506 Web Design and Development
- Size
- PDF 1.5 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 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()
Related CS506 files
All CS506 files →- CS506 Final Term Current Solved Paper by Rehan Final term PDF 2 MB
- CS506 Final Term Solved Subjective with References by Moaaz Final term PDF 275 KB
- CS506 Final Term Solved Papers 6 by Waqar Siddhu Final term PDF 2.9 MB
- CS506 Final Term MCQs Set 2 by VU Topper RM Final term PDF 1.6 MB
- CS506 Highlighted Handouts Set 3 Highlighted PDF 11.2 MB
- CS506 Quiz 3 Quiz PDF 846 KB
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.