IT-a Lab Quiz Group 2

10 Questions | Total Attempts: 43

SettingsSettingsSettings
IT-a Lab Quiz Group 2 - Quiz


Questions and Answers
  • 1. 
    Which class is used to create servers that listen for either local client or remote client programs?   
    • A. 

      ServerSockets

    • B. 

      HttpServer

    • C. 

      HttpResponse

    • D. 

      None of the above

  • 2. 
    Which constructor of DatagramSocket class is used to creates a datagram socket and binds it with the given Port Number?   
    • A. 

      DatagramSocket(int port)

    • B. 

      DatagramSocket(int port, InetAddress address)

    • C. 

      DatagramSocket()

    • D. 

      None of the above

  • 3. 
    What is an example of a MAC address
    • A. 

      Az32:6362:2434

    • B. 

      BA:281x:8288

    • C. 

      101:354:665:8734:ffd6:8023

    • D. 

      A625:cbdf:6525

  • 4. 
    If a datagram router goes down then …………..
    • A. 

      All packets will suffer

    • B. 

      Only those packets which are queued in the router at that time will suffer

    • C. 

      Only those packets which are not queued in the router atthat time will suffer

    • D. 

      No packets will suffer

  • 5. 
    What is route poisoning?
    • A. 

      It sends back the protocol received from a router as a poison pill, which stops the regular updates. The use of variable length subnet masks is permitted

    • B. 

      It is information received from a router that can’t be sent back to the originating router.RIPv2 supports classless routing

    • C. 

      It prevents regular update messages from reinstating a route that has just come up

    • D. 

      It describes when a router sets the metric for a downed link to infinity

  • 6. 
    Which statement is true regarding classless routing protocols?
    • A. 

      The use of discontinuous networks is not allowed

    • B. 

      The use of variable length subnet masks is permitted

    • C. 

      RIPv1 is a classless routing protocol

    • D. 

      RIPv2 supports classless routing

  • 7. 
    The DatagramSocket and DatagramPacket classes are not used for connection-less socket programming. 
    • A. 

      True

    • B. 

      False

  • 8. 
    Which methods are commonly used in ServerSocket class? 
    • A. 

      Public OutputStream getOutputStream()

    • B. 

      Public Socket accept()

    • C. 

      Public synchronized void close()

    • D. 

      None of the above

  • 9. 
     Each packet is routed independently in ……………….
    • A. 

      Virtual circuit subnet

    • B. 

      Short circuit subnet

    • C. 

      Datagram subnet

    • D. 

      ATM subnet

  • 10. 
    Which address is meant for delivery of packet at Transport layer?
    • A. 

      IP address

    • B. 

      MAC Address

    • C. 

      Socket Adress

    • D. 

      Physical Address

Back to Top Back to top