cs506 final term current paper

  • All mcqs were from mostly waqar files
    1. Question = page no 458 py dia gya programe questions mn likha howa tha person info wala uska missing code likhna tha

     

    1. Question = Least visible to most visible mentions karny thy
    2. Question = complete the following missing code
    3. // File Worker.java
    4. public class Worker implements Runnable {
    5. private String job ;
    6. //Constructor of Worker class
    7. public Worker (String j ){
    8. job = j;
    9. }
    10. //Implement run() method of Runnable interface
    11. public void run ( ) {
    12. for(int i=1; i<= 10; i++)
    13. out.println(job + ” = ” + i);
    14. }
    15. } // end class

    Question No 4 =And aik long main layers k column bnany thy mean matching krni thi.presentation layer,data layer,business layer

    Question no 5=  threads call karni thi tably mn using Yield() execution

     

     

     

    Question No =5Thread States: Life Cycle of a Thread

    Pg no 285 py 29.4 RequestDispatcher: Include  ki image di hoi thi usko clarify karna tha  jis ka answer nichy likh rahi hn

  • It will be more cleared from the following figure. User sends a HTTPRequest to Servlet1.

    Serlet2 is called by Servlet1 by using include(request, response) method. The response

    generated by Servlet2 sends back to Servlet1. Servlet1 can also add its own response content and

    finally send it back to user.

Also Read:  Cs201 today final term paper aug

Leave a Comment