Placement Papers: Microsoft Paper 2009

Glide to success with Doorsteptutor material for CTET/Paper-2 : get questions, notes, tests, video lectures and more- for all subjects of CTET/Paper-2.

  1. How do you use RSA for both authentication and secrecy?
  2. What is ARP and how does it work?
  3. what՚s the difference between a switch and a router?
  4. Name some routing protocols (RIP, OSPF etc.) ?
  5. How do you do authentication with message digest (MD5) (Usually MD is used for finding tampering of data) ?
  6. How do you implement a packet filter that distinguishes following cases and selects first case and rejects second case. A host inside the corporate n/w makes a ftp request to outside host and the outside host sends reply. A host outside the network sends a ftp request to host inside. For the packet filter in both cases the source and destination fields will look the same.
  7. How does traceroute work? Now how does traceroute make sure that the packet follows the same path that a previous (with ttl-1) probe packet went in?
  8. Explain Kerberos Protocol?
  9. What are digital signatures and smart cards?
  10. Difference between discretionary access control and mandatory access control?


  1. How do you find the size of a java object (not the primitive type) ? ANS. Type cast it to string and find its s. Length ()
  2. Why is multiple inheritance not provided in Java?
  3. Thread t = new Thread () ; t. Start () ; t = null; now what will happen to the created thread?
  4. How is garbage collection done in java?
  5. How do you write a “ping” routine in java?
  6. What are the security restrictions on applets?


  1. Write a function to check if two rectangles defined as below overlap or not. Struct rect {int top, bot, left, right;} r1, r2
  2. Write a SetPixel (x, y) function, given a pointer to the bitmap. Each pixel is represented by 1 bit. There are 640 pixels per row. In each byte, while the bits are numbered right to left, pixels are numbered left to right. Avoid multiplications and divisions to improve performance.