Lab Quiz Batch II

10 Questions | Total Attempts: 42

SettingsSettingsSettings
Lab Quiz Batch II - Quiz


Questions and Answers
  • 1. 
    The client in socket programming must know which informations?   
    • A. 

      IPaddress of Server

    • B. 

      Port number

    • C. 

      Both A & B

    • D. 

      None of the above

  • 2. 
    What does the java.net.InetAddress class represent? 
    • A. 

      Socket

    • B. 

      IP Address

    • C. 

      Protocol

    • D. 

      MAC Address

  • 3. 
    Datagram is basically an information but there is no guarantee of its content, arrival or arrival time
    • A. 

      True

    • B. 

      False

  • 4. 
    Which classes are used for connection-less socket programming?
    • A. 

      DatagramSocket

    • B. 

      DatagramPacket

    • C. 

      Both A & B

    • D. 

      None of the above

  • 5. 
    Which answer correctly lists the OSI PDUs in order?
    • A. 

      Data, Packet, Frame, Segment, Bit

    • B. 

      Bit, Data, Packet, Segment, Frame

    • C. 

      Data, Segment, Packet, Frame, Bit

    • D. 

      Bit, Frame, Segment, Packet, Data

  • 6. 
    Which transport layer protocol provides connection-oriented, reliable transport?
    • A. 

      TFTP

    • B. 

      UDP

    • C. 

      Ethernet

    • D. 

      TCP

  • 7. 
     Which OSI layer is concerned with reliable end-to-end delivery of data?
    • A. 

      Application

    • B. 

      Transport

    • C. 

      Network

    • D. 

      Data Link

  • 8. 
    Logical addressing is found in the ________________ layer, while physical addressing is found in the ________________ layer.
    • A. 

      Physical, Network

    • B. 

      Network, Physical

    • C. 

      Data Link, Network

    • D. 

      Network, Data Link

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

      Virtual circuit subnet

    • B. 

      Short circuit subnet

    • C. 

      Datagram subnet

    • D. 

      ATM subnet

  • 10. 
    In datagram subnet new route is chosen …………………
    • A. 

      For every packet sent

    • B. 

      For all the packet sent

    • C. 

      Only for the first packet

    • D. 

      For the packet which is not transmitted

Back to Top Back to top