Lab Quiz Batch I

10 Questions | Attempts: 64
Share

SettingsSettingsSettings
Lab Quiz Batch I - 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. 
    Which statement is true regarding the user exec and privileged exec mode?
    • A. 

      They both require the enable password

    • B. 

      User exec is a subset of the privileged exec

    • C. 

      The '?' only works in Privileged exec

    • D. 

      They are identical

  • 4. 
    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

  • 5. 
    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

  • 6. 
    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

  • 7. 
    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

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

      True

    • B. 

      False

  • 9. 
    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

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

      Virtual circuit subnet

    • B. 

      Short circuit subnet

    • C. 

      Datagram subnet

    • D. 

      ATM subnet

Back to Top Back to top
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.