Docsity

COMPUTER NETWORKING FINAl EXAM ALL QUIZ MIDTE, Exams of Nursing

Toggle sidebar
bg1
COMPUTER NETWORKING FINAl
EXAM ALL QUIZ/MIDTERM
QUESTIONS WITH ACCURATE
ANSWERS
T/F: Before sending a packet into the internet, the source must determine all of the links
that packet will traverse between source and destination. - ANSWERSFalse
T/F: Layers four and five of the Internet protocol stack are implemented in the end
systems but not in the routers in the network core. - ANSWERSTrue, Layers 4 and 5
are the Application and Transport layers
T/F: The Internet provides its applications two types of services, a TDM (Time Division
Multiplexing) service and a FDM (Frequency Division Multiplexing) service. -
ANSWERSFALSE. Packet Switching is the now modern used service.
T/F: Suppose 10 connections traverse the same link of rate 1 Gbps. Suppose that the
client access links all have rate 5 Mbps. Then the maximum throughput for each
connection is 100 Mbps. - ANSWERSFalse! Maximum throughput is limited to the
smallest pipe, i.e. 5 Mbps.
T/F: Consider a queue preceding a transmission link of rate R. Suppose a packet
arrives to the queue periodically every 1/a seconds. Also suppose all packets are of
length L. Then the queuing delay is small and bounded as long as aL < R. -
ANSWERSTrue! R is bits or bytes per second, so if a packet is L bits/bytes long, and it
passing the transmission link at rate 1/a seconds...
T/F: In a virtual-circuit packet-switched network, a packet switch maintains state
information for each connection passing through the router. - ANSWERSTrue!
Parts that make up network delay. - ANSWERSQueuing Delay -
Transmission Delay-
Processing Delay-
Propagation Delay-
Ethernet runs on what media: - ANSWERSFiber
Co-axial cables
Unshielded twisted pair (UTP)
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download COMPUTER NETWORKING FINAl EXAM ALL QUIZ MIDTE and more Exams Nursing in PDF only on Docsity!

COMPUTER NETWORKING FINAl

EXAM ALL QUIZ/MIDTERM

QUESTIONS WITH ACCURATE

ANSWERS

T/F: Before sending a packet into the internet, the source must determine all of the links that packet will traverse between source and destination. - ANSWERSFalse T/F: Layers four and five of the Internet protocol stack are implemented in the end systems but not in the routers in the network core. - ANSWERSTrue, Layers 4 and 5 are the Application and Transport layers T/F: The Internet provides its applications two types of services, a TDM (Time Division Multiplexing) service and a FDM (Frequency Division Multiplexing) service. - ANSWERSFALSE. Packet Switching is the now modern used service. T/F: Suppose 10 connections traverse the same link of rate 1 Gbps. Suppose that the client access links all have rate 5 Mbps. Then the maximum throughput for each connection is 100 Mbps. - ANSWERSFalse! Maximum throughput is limited to the smallest pipe, i.e. 5 Mbps. T/F: Consider a queue preceding a transmission link of rate R. Suppose a packet arrives to the queue periodically every 1/a seconds. Also suppose all packets are of length L. Then the queuing delay is small and bounded as long as aL < R. - ANSWERSTrue! R is bits or bytes per second, so if a packet is L bits/bytes long, and it passing the transmission link at rate 1/a seconds... T/F: In a virtual-circuit packet-switched network, a packet switch maintains state information for each connection passing through the router. - ANSWERSTrue! Parts that make up network delay. - ANSWERSQueuing Delay - Transmission Delay- Processing Delay- Propagation Delay- Ethernet runs on what media: - ANSWERSFiber Co-axial cables Unshielded twisted pair (UTP)

Processes running on different hosts communicate using: - ANSWERSMessages Process running on a host machine is identified by: - ANSWERShost IP address and the associated port number TCP Service Provides: - ANSWERSReliable Transport, Flow Control, Connection oriented, Congestion contol UDP service: - ANSWERSUnreliable, used in gaming applications What is true for HTTP: - ANSWERSIt can be both non-persistent and persistent, it uses tcp, and is stateless. HTTP 1.0 protocol supports following methods: - ANSWERSGET, HEAD, POST T/F: Connections in a UDP application starts with a 3-way handshake - ANSWERSFALSE! UDP is the sending of information with no handshake to a destination. This is why it is unreliable. 3-Way handshake has the following paket sequence: - ANSWERS1. SYN,

  1. SYN-ACK,
  2. ACK Assuming a single non-persistent connection, how long does it take to to download a very small object from a server? What about 3 very small objects? - ANSWERS1 object: 2 RTT (Round trip time) 3 objects: 6 RTT Which DNS record gives the IP of a host? - ANSWERS'A' T/F: Consider an HTTP Web server using persistent connections. Suppose the server spawns a separate process for each client that connects to the server. Then each of these spawned processes will have different server port numbers. - ANSWERSFalse! The server uses the client side ip and port to determine what to respond to and where to send a response. T/F: Suppose that host A wants to send data over TCP to host B, and host B wants to send data to host A over TCP. Two separate TCP connections - one for each direction - are needed. - ANSWERSFalse! Once a three way handshake is established, data can be transmitted in both directions. A HTTP server has two types of sockets. Name and describe them. - ANSWERSPassive socket is one that is set up and is just listening for connections, and will establish one when found. Active socket is one that actually does data transfer.

If the ACK value is 200, then which byte has been received successfully. - ANSWERS The value of window size is determined by _________. - ANSWERSthe reciever Connection establishment in TCP is called __________ handshaking - ANSWERS3- way handshaking In TCP, the receiver can temporarily shut down the window; the sender, however, can always send a segment of _____ byte(s) after the window is shut down. - ANSWERSone ACK segments consume _______ sequence number(s) and are they acknowledged? - ANSWERS0; they are not "store-and-forward" technology is used by - ANSWERSpacket switched networks Complexity in the internet is at the ________ of the network. - ANSWERSedge!!!!! Encapsulation and decapsulation is a process of adding and removing ______ to the messages. - ANSWERSheaders in the 5 layer network we are studying in the class, name the layers in the correct order

  • ANSWERSApplication Transport Network Data Link Physical Name the two layers implemented only at the end hosts. - ANSWERSApplication layer and Transport layer, layers 5 and 4. Two main attributes that measure the performance of a network are.... - ANSWERSThroughput and Delay T/F: Throughput measures the number of useful bits delivered at the receiver, and is different from but related to to the bandwidth of the link. - ANSWERSTrue! Consider a 125 KB file that needs to be sent through a network path. The bandwidth of the path is 1 Mbps. The one way delay between sender and receiver is 20 ms. Suppose the sender continuously sends data at the bandwidth rate, and no packets are lost, no retransmissions. How long does it take to send the file? And the throughput of the network is?

1KB = 1000Bytes - ANSWERS125* 1000 * 8 = 1000000 bits or 1 Mb So on a path with bandwidth 1Mbps ( 1 Mb per second) it would take roughly 1 second to transmit the file. The throughput of the network is 1 Mbps. Consider a 125 KB file that needs to be sent through a network path. The bandwidth of the path is 1 Mbps. The one way delay between sender and receiver is 20 ms. Suppose the sender needs to wait for an ACK after sending every 1 KB packet (that means we have a congestion window size of 1). Assume ACK also takes 20 ms to come back. How long does it take to send the file? ___ seconds. And the throughput of the network is ___ Kbps. If we increase the congestion window size to 4, how long will it take for the file to get transferred? ___ sec. And the new throughput value is ___ Kbps? If congestion window size is 4 and the receive buffer size is set to 1KB, how long will it take to transfer the file now? ___ sec? And the new throughput value is ___ Kbps? - ANSWERSWe are no longer going to exceed the bandwidth due to acknowledgements. 40 ms per 1 KB 125 * 0.04 = 5 seconds Throughput of the network is (125KB1000bytes/KB8bits/byte)/5seconds = 200 Kbps Congestion window at size 4, time is reduced by 4. Time for transfer 1.25 seconds. New throughput is 800 Kbps If the congestion window is 4 but the receive buffer size is at 1 KB, that means we are back to only 1 KB at a time, so time is again 5 seconds and the throughput is again 200 Kbps. Common HTTP response codes: 200 indicates... 301 indicates... 404 is... 500 is ...

time it wanted to respond, it would require a time overhead to disassemble the headers and find that information. UDP, however, does not do this, as it is simply trying to move data without any promises on quality or connection-oriented data flow. Instead, all data to a specific port on one end enters on one socket, and only requires a source ip address and port number. Network Layer functionality can be broadly divided into two functionalities ___ plane functionality and ____ plane functionality. - ANSWERS1. Data

  1. Control ____ Forwarding is the responsibility of ____ plane while ____ is responsibility of ____ plane. - ANSWERS1. packet.
  2. data
  3. routing
  4. control Given the TCP header structure, which TCP port numbers are valid port numbers? 123456 1234 65700 63123 12345 1234567 - ANSWERS Correct! 1234 65700 Correct! 63123 Correct! 12345 1234567 Suppose an application generates chunks of 40 bytes of data every 20 msec, and each chunk gets encapsulated in a TCP segment and then an IP datagram. What percentage of each datagram will be overhead, and what percentage will be application data? - ANSWERSTCP header + IP datagram = 40 bytes.... 50% overhead, 50% data How many hosts can be added to a subnet with the subnet mask 128.1.1.1/28? - ANSWERS2^(32 - subnet(28)) = 2^4 = 16 Which of the following ip addresses are invalid ip addresses (select all that apply)? 251.252.253. 256.255.254. 250.250.1.

128.1.1.1 - ANSWERS256.255.254.253 is the only incorrect address. Which is a broadcast ip address? - ANSWERS255.255.255. Which of the following IP addresses are not publically routable? 10.10.2. 163.10.3. 3.10.20. 10.1.1.1 - ANSWERSThe Internet Assigned Numbers Authority (IANA) reserves the following IP address blocks for use as private IP addresses: 10.0.0.0 to 10.255.255.255. 172.16.0.0 to 172.31.255.255. 192.168.0.0 to 192.168.255. So option 1 and 4 are not publically routable The link-state algorithm has the following properties: - ANSWERS1. it determines the shortest path from the source node to all other nodes.

  1. it requires the source node to know the costs between every pair of adjacent nodes in the graph.
  2. after the kth iteration, the least-cost paths are known to k nodes T/F: The ICMP protocol runs directly on top of IP. - ANSWERSTrue! Internet Control Message Protocol runs on top of IP. T/F: In a distance-vector routing algorithm, each node has a map of the entire network and determines the shortest path from itself to all other nodes in the network. - ANSWERSFalse! T/F: In the BGP routing algorithm, each AS advertises to its neighbors its estimates of the shortest distances from the AS to all possible destination ASs. - ANSWERSFalse! T/F: OSPF uses BGP for routing among areas. - ANSWERSFalse! BGP is used for inter-AS routing, while OSPF is used for intra-AS routing. In intra-AS routing, OSPF uses link-state algorithms, calculating routes using Dijkstra's algorithm. Link-state algorithms are advertised only in each local area, however; to get to another AS, the local area is connected to a boundary router for the AS. This router has a series of dedicated "backbone" routers devoted to routing data that passes in and out of the AS helping it pipeline data, while each local area has "area border routers" that advertise the distances in their own area to other areas in the AS through the backbone. Since both BGP and OSPF are for different stages of AS routing, the statement in the question is false. T/F: Every autonomous system must use the same intra-autonomous system routing algorithm. - ANSWERSFalse!

Assume you freshly rebooted your machine and connected to the internet and typed "http://google.com" in the browser. By the time Google's home page is loaded, how many ARP requests are made by your machine? - ANSWERSOne.