Midterm Attempt Review Nile PDF
Document Details
Uploaded by Deleted User
2024
Tags
Summary
This document contains a midterm exam review on computer networking, covering topics such as UDP, TCP, encapsulation, and routing. The exam covers fundamental concepts and includes various multiple-choice questions related to network protocols.
Full Transcript
Status Finished Started Sunday, 17 November 2024, 8:36 AM Completed Sunday, 17 November 2024, 9:26 AM Duration 50 mins Question 1 Complete Marked out of 1.00 A UDP segment can be delivered out of order to the application. a. True b....
Status Finished Started Sunday, 17 November 2024, 8:36 AM Completed Sunday, 17 November 2024, 9:26 AM Duration 50 mins Question 1 Complete Marked out of 1.00 A UDP segment can be delivered out of order to the application. a. True b. False Question 2 Complete Marked out of 1.00 UDP is preferred over TCP for applications that require high reliability and in-order delivery. a. False b. True Question 3 Complete Marked out of 1.00 What is the purpose of encapsulation in the Internet protocol stack? a. To organize data into network segments b. To encrypt messages c. To increase the packet size d. To add headers for message transfer between layers Question 4 Complete Marked out of 1.00 The time required to examine the packet’s header and determine where to direct the packet is part of __________ a. Propagation delay b. Processing delay c. Transmission delay d. Queuing delay Question 5 Complete Marked out of 1.00 Suppose Host A sends a file to Host B through three links, of bandwidths R1 = 500 kbps, R2 = 2 Mbps, and R3 = 1 Mbps. Assuming no other tra!c in the network, what is the maximum expected throughput for the file transfer? a. 3.5 Mbps b. 0.5 Mbps c. 2 Mbps d. 1 Mbps Question 6 Complete Marked out of 1.00 It is a HTTP header that identifies the client software making the request. a. Content-Type b. User-Agent c. Authorization d. None Question 7 Complete Marked out of 1.00 Status code of 401 indicates that the requested resource is not understood by the server. True False Question 8 Complete Marked out of 1.00 UDP provides flow control to avoid network congestion. a. True b. False Question 9 Complete Marked out of 1.00 TCP’s flow control is achieved by: a. Prioritizing high-tra!c flows b. Advertised window size in the receiver’s header c. Reducing the packet size d. Random selection of packet destinations Question 10 Complete Marked out of 1.00 Which of the following are transport layer protocols used in networking? Select one: A. HTTP and FTP B. TCP and UDP C. TCP and FTP D. UDP and HTTP Question 11 Complete Marked out of 1.00 The addressing hierarchy in the TCP/IP model is: a. Mac address on the physical, IP address in network layer and port number in transport layer. b. none c. Mac address on the data link layer, IP address in transport layer and port number in application layer. d. Mac address on the data link layer, IP address in network layer and port number in transport layer. Question 12 Complete Marked out of 1.00 Transport layer protocols deals with ____________ Select one: A. Process to process communication B. Application to application communication C. Node to node communication D. Man to man communication Question 13 Complete Marked out of 1.00 A frame of length 1.2 kB is transmitted from host1 to host2 over a route that consists of one router and two links of bandwidths 1 Mbps and 2 Mbps. The total distance is 10 Km and the speed of propagation is 2x108 m/sec. The nodal processing delay is 10 msec and there is no queuing delay. Determine the total delay that will the packet undergo? a. 24.45 msec b. 14.4 msec c. 2.4 msec Question 14 Complete Marked out of 1.00 In packet-switching: a. All packets are transmitted in parallel b. Each packet may have its own route c. Each packet is transmitted at full link capacity d. All packets share the media bandwidth. Question 15 Complete Marked out of 1.00 Selective Repeat allows retransmission of only the packets that were lost. a. False b. True Question 16 Complete Marked out of 1.00 The process of dividing a large message into smaller segments is called: a. Encapsulation b. Segmentation c. Demultiplexing d. Multiplexing Question 17 Complete Marked out of 1.00 Connection establishment in TCP is done by which mechanism? Select one: A. Forwarding B. Three-Way Handshaking C. Synchronization D. Flow control Question 18 Complete Marked out of 1.00 In the network core, which function is responsible for determining the path packets take from source to destination? a. Encapsulation b. Switching c. Forwarding d. Routing Question 19 Complete Marked out of 1.00 TCP provides reliable data transfer using: a. UDP packets b. Multiplexing c. Acknowledgments and retransmissions d. Encryption Question 20 Complete Marked out of 1.00 In DNS, what type of server provides the requested IP address? a. Proxy server b. Local server c. Authoritative server d. Root server Question 21 Complete Marked out of 1.00 Queueing delay occurs when a packet is transmitted without waiting. a. False b. True Question 22 Complete Marked out of 1.00 The value of acknowledgement field in a segment defines _______ Select one: A. sequence number of the next byte to be received B. total number of bytes to receive C. sequence of zeros and ones D. sequence number of the byte received previously Question 23 Complete Marked out of 1.00 The transport layer provides: a. Data storage for applications b. Logical communication between application processes on di#erent hosts c. Physical connection between hosts d. Network addressing for devices Question 24 Complete Marked out of 1.00 The internet core is: a. all of the above b. mesh of switches and routers c. mesh of interconnected routers d. mesh of hosts, switches and routers. Question 25 Complete Marked out of 1.00 DNS provides: a. Hostname of sender to hostname of receiver translation b. Hostname to IP address translation c. Hostname to socket number translation Question 26 Complete Marked out of 1.00 Encapsulation is the process of adding headers to data as it moves through the protocol stack. a. False b. True Question 27 Complete Marked out of 1.00 In Client-Server Architecture, server process is that initiates the communication. a. False b. True Question 28 Complete Marked out of 1.00 Packet-switching requires a dedicated path for each communication. a. False b. True Question 29 Complete Marked out of 1.00 Which type of multiplexing/demultiplexing is used by TCP? a. Four-tuple-based (source IP, source port, dest IP, dest port) b. Source IP-based c. Protocol-based d. Port-based only Question 30 Complete Marked out of 1.00 In TCP, a cumulative acknowledgment acknowledges only the last received packet. a. False b. True Question 31 Complete Marked out of 1.00 An image is 1024*768 pixels with 3 bytes/pixel. Assume the image is uncompressed. How long does it take to transmit it over a 1Mbps Ethernet? A. 344.942 sec B. 18.874 sec C. 0.0193 sec D. none of the mentioned Question 32 Complete Marked out of 1.00 The size of the TCP rwnd never changes throughout the duration of the connection. True False Question 33 Complete Marked out of 1.00 The propagation delay depends on the speed of the transmission link. a. True b. False Question 34 Complete Marked out of 1.00 In packet switching, which type of delay occurs when a packet is waiting for transmission? a. Processing delay b. Propagation delay c. Transmission delay d. Queueing delay Question 35 Complete Marked out of 1.00 For a 10Mbps Ethernet link, if the length of the packet is 32bits, the transmission delay is ____________ (in microseconds) a. 32 b. 320 c. 0.32 d. 3.2 Question 36 Complete Marked out of 1.00 In Client-server paradigm, clients can communicate to each other directly. True False Question 37 Complete Marked out of 1.00 Which organization publishes Internet standards through RFCs? a. IEEE b. IETF c. W3C d. ISO Question 38 Complete Marked out of 1.00 The UDP checksum provides: a. Flow control b. Encryption c. Error detection d. Error correction Question 39 Complete Marked out of 1.00 Which delay involves error-checking and determining the output link at the router? a. Processing delay b. Propagation delay c. Transmission delay d. Queueing delay Question 40 Complete Marked out of 1.00 A port number is a physical connection point for communications. It allows multiple services on a device to use the same IP address but handle di#erent communications. a. True b. False Question 41 Complete Marked out of 1.00 Web caching a. reduces response time for client request and reduces tra!c on an institution’s access link b. reduces response time for client request but increases tra!c on an institution’s access link c. increases response time for client request and increases tra!c on an institution’s access link Question 42 Complete Marked out of 1.00 Forwarding in a router means: a. determine the route taken by packets from source to destination. b. move packets from router’s input to appropriate router output c. All of the above d. determine number of hosts. Question 43 Complete Marked out of 1.00 In Selective Repeat, the sender resends all packets in the window upon detecting a loss. a. False b. True Question 44 Complete Marked out of 1.00 In Go-Back-N, the receiver can acknowledge individual packets. a. True b. False Question 45 Complete Marked out of 1.00 High tra!c intensity increases queueing delays in packet-switched networks. a. False b. True Question 46 Complete Marked out of 1.00 Which TCP feature helps in controlling the rate of data transmission to prevent bu#er overflow at the receiver? a. Pipelining b. Flow control c. Checksum d. Congestion control Question 47 Complete Marked out of 1.00 Multiplexing in the transport layer allows: a. Multiple applications to share network layer resources b. Encryption of data packets c. Data transmission only on the transport layer d. Multiple applications to use the same port number Question 48 Complete Marked out of 1.00 What is a key characteristic of the Internet's "network of networks" structure? a. Centralized control by a single entity b. Connectivity between multiple ISPs c. Use of a single type of access network d. Private ownership of the entire Internet Question 49 Complete Marked out of 1.00 TCP header size is 8 bytes due to the additional fields needed for managing connections and reliability a. False b. True Question 50 Complete Marked out of 1.00 Routers manage packet switching in the network core. a. True b. False Question 51 Complete Marked out of 1.00 Which field is not a component of the HTTP request message? a. Header lines b. Method c. URL d. Status Code Question 52 Complete Marked out of 1.00 Transport layer protocols are found in a. every host b. every router c. non of the above d. every host & router Question 53 Complete Marked out of 1.00 Data transmitted on the transport layer is a: a. Packet b. Frame c. Segment d. Message Question 54 Complete Marked out of 1.00 1. Hosts A & B are communicating over a TCP connection. Host A has received from host B all bytes up to 1288 and B has received from A all bytes up to 345. case 1: A sent a segment containing 70 bytes of data with source and destination port numbers of 540 and 820. What are the contents of the indicated header fields? case 2: Then, B sent back a segment of 200 bytes. What are the contents of the indicated header fields? header fields in case 2 are source port # 540, destination port # 820, A=1, seq #1289, Ack# 346 header fields in case 1 are source port # 540, destination port # 820, A=1, seq# 346 , Ack# 1289 Question 55 Complete Marked out of 1.00 A persistent HTTP response time for a web page having 4 objects is: a. 10RTT+ 4 file transmission times relative to each file size b. 8RTT+ 4 file transmission times relative to each file size c. 10RTT+ 5 file transmission times relative to each file size Question 56 Complete Marked out of 1.00 Applications need transport services such as: a. guaranteed time of delivery b. security c. throughput d. Data integrity, Question 57 Complete Marked out of 1.00 In a packet-switched network, packets may be dropped if the router’s bu#er is full. a. True b. False Question 58 Complete Marked out of 1.00 How long does it take to move a packet of length 200 bytes over two links. The first has a length of 8 km and bandwidth of 2Mbps while the second is of length10 km with bandwidth of 1Mbps. Assume speed in both links is 2.5*108 m/s. Ignore other delays a. 2.472 msec b. 2.234 msec c. 3.345 msec Question 59 Complete Marked out of 1.00 Standards are needed to: a. Allow hardware and software from di#erent vendors to communicate b. Increase the network bandwidth c. Specify the media bandwidth Question 60 Complete Marked out of 1.00 A server is: a. non of the above b. An always-on router and has a permanent IP address c. An always-on host and has a permanent IP address d. An always-on host and has a dynamic IP address