Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

i need help with the following MCQs(Multiple Choice Questions): 1)When a TCP seg

ID: 3548906 • Letter: I

Question

i need help with the following MCQs(Multiple Choice Questions):


1)When a TCP segment arrives to a host, the socket to which the segment is directed to

depends on:

a) the destination port number

b) the source port number

c) the source IP address of the datagram that encapsulated the segment

d) all of the above

e) none of the above


2) In routing among ASs, which of the following issues dominate(s)?

a) current congestion levels in the ASs

b) number of ASs traversed

c) policy

d) geographical distance between ASs

e) all of the above

f) none of the above


3) Isolated broadcast domains can be achieved by using ____________________.

a) hubs

b) switches

c) routers

d) both [A] and [B]

e) both [A] and [C]

f) both [B] and [C]

g) all of [A], [B], and [C]

h) none of the above


4) In the figure shown, datagrams sent

by router A and delivered to router B

_______________ .

a) are guaranteed to be received by router B in-order (i.e. same order as sent by router A)

b) are guaranteed to be received by router B out-of-order

c) could be received by router B out-of-order dependent on the ATM service model used

d) are not possible as ATM and IP use different protocols


5) If an Ethernet adapter determines that a received frame is addressed to a different adapter,

it takes the following action(s):

a) It sends a negative acknowledgement to the sending host

b) It delivers the frame to the network layer

c) It discards the frame

d) It sends an ICMP error message

e) Both [A] and [B]

f) Both [B] and [C]

g) Both [C] and [D]

h) Both [A] and [C]

i) Both [A] and [D]

j) All of [A][D]

k) None of [A][D]


6) A cut-through switch has which of the following properties:

a) a packet may be leaving and entering the switch at the same time

b) a packet is forwarded through the switch without a store-and-forwarding delay when

the output link is free

c) does not provide a performance improvement over store and forward if the output

links are always congested

d) all of the above


7) RIP is

a) an intra-AS protocol

b) an inter-AS protocol

c) based on Distance Vector Routing

d) allows multiple same cost paths

e) Both [A] and [C]

f) Both [B] and [C]

g) [A], [C] and [D]

h) [B], [C] and [D]

i) All of [A][D]

j) None of [A][D]


8) IEEE 802.11 uses CSMA/CA because____________________________ .

a) CSMA/CA resolves the hidden terminal problem

b) CSMA/CA resolves the issue of fading

c) unlike CSMA/CD, CSMA/CA does not use acknowledgements for received data

d) both a. and b.

e) both a. and c.

f) both b. and c.

g) all of a., b., and c.

h) none of the above


9) Consider sending a 3000-byte datagram (inclusive of a minimum size header) from a host

to another host over IPv6only network. Along the path between the two hosts, the

datagram will go over a link whose MTU is 500 bytes (inclusive of a minimum size

header). Thus, the number of fragments generated by the router immediately preceding

the specified link is:

a) 6

b) 7

c) no fragments will be generated

d) cannot be determined from given information


10) The device connecting the two hubs in the

figure shown must be a:

a) hub

b) switch

c) router

d) Both [A] and [B]

e) Both [A] and [C]

f) Both [B] and [C]

g) All of [A][C]

h) None of [A][C]

11) Ethernet provides which of the following services to the network layer

a) reliable data transfer

b) flow control

c) error detection

d) all of the above

e) none of the above


12) If an Ethernet adapter determines that a received frame is addressed to a different adapter,

it takes the following action(s):

a) It sends a negative acknowledgement to the sending host

b) It delivers the frame to the network layer

c) It discards the frame

d) It does send an ICMP error message

e) Both [A] and [B]

f) Both [B] and [C]

g) Both [C] and [D]

h) Both [A] and [C]

i) Both [A] and [D]

j) All of [A][D]

k) None of [A][D]


13) Suppose that an Ethernet node, which uses CSMA/CD protocol, constructs a frame and

then senses that the channel is busy. Then the adapter

a) Waits until it senses the channel is idle for 96 bit times, then begins to transmit the

frame

b) Polls a master node for permission to transmit

c) Does not enter exponential backoff

d) Begins to transmit the frame but listens to the channel during transmission

e) Both [A] and [B]

f) Both [B] and [C]

g) Both [C] and [D]

h) Both [A] and [C]

i) Both [A] and [D]

j) All of [A][D]

k) None of [A][D]


14) Ethernets:

a) Use CSMA/CD

b) Use Manchester encoding for 10BaseT

c) Some variants can run at a data rate of 1 Gbps

d) Both [A] and [B]

e) Both [A] and [C]

f) Both [B] and [C]

g) All of [A][C]

h) None of [A][C]


15)A channel partitioning protocol has the following characteristic(s):

a) All transmitting nodes get the same amount of bandwidth

b) It is collision-free

c) It may cause silent periods

d) Both [A] and [B]

e) Both [A] and [C]

f) Both [B] and [C]

g) All of [A][C]

h) None of [A][C]


16)A cut-through switch has which of the following properties:

a) a packet may be leaving and entering the switch at the same time

b) a packet is forwarded through the switch without a store-and-forwarding delay when

the output link is free

c) does not provide a performance improvement over store and forward if the output

links are always congested

d) all of the above


17)Hubs, switches, and routers:

a) Switches have the most optimized routes

b) Hubs process frames faster than switches

c) Hubs and switches are plug and play

d) Routers are multi-point hubs

e) Both [A] and [B]

f) Both [A] and [C]

g) Both [B] and [C]

h) Both [C] and [D]

i) [A], [B], and [C]

j) All of [A][D]


18) RIP is

a) an intra-AS protocol

b) an inter-AS protocol

c) based on Distance Vector Routing

d) allows multiple same cost paths

e) Both [A] and [C]

f) Both [B] and [C]

g) [A], [C] and [D]

h) [B], [C] and [D]

i) All of [A][D]

j) None of [A][D]


19) OSPF is

a) an intra-AS protocol

b) has security features

c) can route packets differently based on type of service

d) based on distance vector routing

e) Both [A] and [B]

f) Both [A] and [C]

g) [A], [B] and [C]

h) [B], [C], and [D]

i) All of [A][D]

j) None of [A][D]


20)BGP is

a) a path vector protocol

b) concerned with Policy based routing

c) based on link state protocol

d) does not use route advertisements

e) Both [A] and [B]

f) Both [B] and [C]

g) [A], [B], and [C]

h) [A], [B], and [D]

i) All of [A][D]

j) None of [A][D]


21) Connection-Oriented (CO) service:

a) Requires setup & disconnect phase

b) Can provide reliable service

c) Requires state information in switches

d) Higher startup time than connectionless

e) Both [A] and [B]

f) Both [B] and [C]

g) Both [C] and [D]

h) Both [A] and [C]

i) All of [A][D]

j) None of [A][D]


22) Connection-Less (CL) service:

a) Has no setup or disconnect phase (every packet has address)

b) Provides best effort service

c) Does NOT require state information in switches

d) Works better than CO if some nodes fail

e) Both [A] and [B]

f) Both [B] and [C]

g) Both [C] and [D]

h) Both [A] and [C]

i) All of [A][D]

j) None of [A][D]


23) Which of the following methods can be used to set up an IP address on a workstation?

a) An IP address is configured for the workstation by an administrator

b) A dynamic address is configured on the workstation by the ARP protocol

c) A dynamic address is obtained from a DHCP server

d) An IP address is obtained from the stations Ethernet adaptor

e) Both [A] and [B]

f) Both [A] and [C]

g) Both [C] and [D]

h) [A], [B], and [C]

i) [B], [C], and [D]

j) All of [A][D]


24)Ad hoc wireless networks

a) Dont use centralized base stations

b) May exhibit hidden terminal problems

c) Need an access point (AP) to operate

d) Efficiently run CSMA/CD protocol

e) Both [A] and [B]

f) Both [B] and [C]

g) Both [C] and [D]

h) Both [A] and [C]

i) Both [A] and [D]

j) All of [A][D]

k) None of [A][D]


25) The IEEE 802.11 protocols can use RTS-CTS frames to ____________________.

a) Reserve access to the shared channel

b) Enhance the signal strength

c) Reduce the signal strength

d) Detect collisions

e) Both [A] and [D]

f) All of the above

g) None of the above


26) From the attached ISP router perspective, a NAT-enabled router looks like ___________.

a) an inter-AS router

b) an intra-AS router

c) a single device with a single IP address

d) all of the above

e) none of the above


27) IEEE 802.11 uses CSMA/CA because____________________________ .

a) CSMA/CA resolves the hidden terminal problem

b) CSMA/CA resolves the issue of fading

c) unlike CSMA/CD, CSMA/CA does not use acknowledgements for received data

d) both a. and b.

e) both a. and c.

f) both b. and c.

g) all of a., b., and c.

h) none of the above


28) Consider sending a 3000-byte datagram (inclusive of a minimum size header) from a host

to another host over IPv6only network. Along the path between the two hosts, the

datagram will go over a link whose MTU is 500 bytes (inclusive of a minimum size

header). Thus, the number of fragments generated by the router immediately preceding

the specified link is:

a) 6

b) 7

c) no fragments will be generated

d) cannot be determined from given information


29) When a switch transmits an Ethernet frame on a specific interface, the Ethernet frame

has:

a) the switchs LAN address as the frames source address

b) the switchs LAN address as the frames destination address

c) the broadcast address as the frames source address

d) None of the above



True or False Questions:


1.

Assuming a proxy server is not used; two distinct web pages

(www.kfupm.edu.sa and www.hotmail.com) can be sent over the same

persistent connection.


2.

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, must be established.


3. Network congestion has no impact on the process of IP fragmentation.


4.

If a mobile node wishes to transmit a datagram to a stationary correspondent,

then, from an efficiency point of view, the direct routing approach is

preferred over the indirect routing approach.


5. With CDMA, two concurrent (simultaneous) senders in the same network

must use the same chipping code.


6.

Consider a twisted-pair Ethernet in which all nodes are 50 meters from the

hub. The time it takes for a bit to propagate from hub to node for a 10BaseT

Ethernet is ten times longer than for a 100BaseT Ethernet.


7. CSMA/CD is more restrictive than the CSMA in the sense that it puts

restrictions on the cable lengths and frame sizes.


8. Pure ALOHA results in higher peak channel utilization compared to the

slotted ALOHA.


9. In CSMA/CD, after the 4th collision, the probability that a colliding node

chooses K = 0 in the exponential backoff algorithm is zero (i.e., P{K=0} = 0).


10.

In wireless networking, TCP congestion control does not decrease the

congestion window size when a loss event occurs due to a lost segment

caused by RF conditions.

i need help with the following MCQs(Multiple Choice Questions): When a TCP segment arrives to a host, the socket to which the segment is directed to depends on: the destination port number the source port number the source IP address of the datagram that encapsulated the segment all of the above none of the above In routing among ASs, which of the following issues dominate(s)? current congestion levels in the ASs number of ASs traversed policy geographical distance between ASs all of the above none of the above Isolated broadcast domains can be achieved by using . hubs switches routers both [A] and [B] both [A] and [C] both [B] and [C] all of [A], [B], and [C] none of the above In the figure shown, datagrams sent by router A and delivered to router B . are guaranteed to be received by router B in-order (i.e. same order as sent by router A) are guaranteed to be received by router B out-of-order could be received by router B out-of-order dependent on the ATM service model used are not possible as ATM and IP use different protocols If an Ethernet adapter determines that a received frame is addressed to a different adapter, it takes the following action(s): It sends a negative acknowledgement to the sending host It delivers the frame to the network layer It discards the frame It sends an ICMP error message Both [A] and [B] Both [B] and [C] Both [C] and [D] Both [A] and [C] Both [A] and [D] All of [A] a ^ ??[D] None of [A] a ^??[D] A cut-through switch has which of the following properties: a packet may be leaving and entering the switch at the same time a packet is forwarded through the switch without a store-and-forwarding delay when the output link is free does not provide a performance improvement over store and forward if the output links are always congested all of the above RIP is an intra-AS protocol an inter-AS protocol based on Distance Vector Routing allows multiple same cost paths Both [A] and [C] Both [B] and [C] [A], [C] and [D] [B], [C] and [D] All of [A] a ^??[D] None of [A] a ^??[D] IEEE 802.11 uses CSMA/CA because . CSMA/CA resolves the hidden terminal problem CSMA/CA resolves the issue of fading unlike CSMA/CD, CSMA/CA does not use acknowledgements for received data both a. and b. both a. and c. both b. and c. all of a., b., and c. none of the above Consider sending a 3000-byte datagram (inclusive of a minimum size header) from a host to another host over IPv6 a ^??only network. Along the path between the two hosts, the datagram will go over a link whose MTU is 500 bytes (inclusive of a minimum size header). Thus, the number of fragments generated by the router immediately preceding the specified link is: 6 7 no fragments will be generated cannot be determined from given information The device connecting the two hubs in the figure shown must be a: hub switch router Both [A] and [B] Both [A] and [C] Both [B] and [C] All of [A] a ^??[C] None of [A] a ^??[C] Ethernet provides which of the following services to the network layer reliable data transfer flow control error detection all of the above none of the above If an Ethernet adapter determines that a received frame is addressed to a different adapter, takes the following action(s): It sends a negative acknowledgement to the sending host It delivers the frame to the network layer It discards the frame It does send an ICMP error message Both [A] and [B] Both [B] and [C] Both [C] and [D] Both [A] and [C] Both [A] and [D] All of [A] a ^??[D] None of [A] a ^??[D] Suppose that an Ethernet node, which uses CSMA/CD protocol, constructs a frame and then senses that the channel is busy. Then the adapter Waits until it senses the channel is idle for 96 bit times, then begins to transmit the frame Polls a master node for permission to transmit Does not enter exponential backoff Begins to transmit the frame but listens to the channel during transmission Both [A] and [B] Both [B] and [C] Both [C] and [D] Both [A] and [C] Both [A] and [D] All of [A] a ^??[D] None of [A] a ^??[D] Ethernets: Use CSMA/CD Use Manchester encoding for 10BaseT Some variants can run at a data rate of 1 Gbps Both [A] and [B] Both [A] and [C] Both [B] and [C] All of [A] a ^??[C] None of [A] a ^??[C] A channel partitioning protocol has the following characteristic(s): All transmitting nodes get the same amount of bandwidth It is collision-free It may cause silent periods Both [A] and [B] Both [A] and [C] Both [B] and [C] All of [A] a ^??[C] None of [A] a ^??[C] A cut-through switch has which of the following properties: a packet may be leaving and entering the switch at the same time a packet is forwarded through the switch without a store-and-forwarding delay when the output link is free c) does not provide a performance improvement over store and forward if the output links are always congested all of the above Hubs, switches, and routers: Switches have the most optimized routes Hubs process frames faster than switches Hubs and switches are plug and play Routers are multi-point hubs Both [A] and [B] Both [A] and [C] Both [B] and [C] Both [C] and [D] [A], [B], and [C] All of [A] a ^??[D] RIP is an intra-AS protocol an inter-AS protocol based on Distance Vector Routing allows multiple same cost paths Both [A] and [C] Both [B] and [C] [A], [C] and [D] [B], [C] and [D] All of [A] a ^??[D] None of [A] a ^??[D] OSPF is an intra-AS protocol has security features can route packets differently based on type of service based on distance vector routing Both [A] and [B] Both [A] and [C] [A], [B] and [C] [B], [C], and [D] All of [A] a ^??[D] None of [A] a ^??[D] BGP is a path vector protocol concerned with Policy based routing based on link state protocol does not use route advertisements Both [A] and [B] Both [B] and [C] [A], [B], and [C] [A], [B], and [D] All of [A] a ^??[D] None of [A] a ^??[D] Connection-Oriented (CO) service: Requires setup & disconnect phase Can provide reliable service Requires state information in switches Higher startup time than connectionless Both [A] and [B] Both [B] and [C] Both [C] and [D] Both [A] and [C] All of [A] a ^??[D] None of [A] a ^??[D] Connection-Less (CL) service: Has no setup or disconnect phase (every packet has address) Provides best effort service Does NOT require state information in switches Works better than CO if some nodes fail Both [A] and [B] Both [B] and [C] Both [C] and [D] Both [A] and [C] All of [A] a ^??[D] None of [A] a ^??[D] Which of the following methods can be used to set up an IP address on a workstation? An IP address is configured for the workstation by an administrator A dynamic address is configured on the workstation by the ARP protocol A dynamic address is obtained from a DHCP server An IP address is obtained from the station a ^??s Ethernet adaptor Both [A] and [B] Both [A] and [C] Both [C] and [D] [A], [B], and [C] [B], [C], and [D] All of [A] a ^??[D] Ad hoc wireless networks Don a ^??t use centralized base stations May exhibit hidden terminal problems Need an access point (AP) to operate Efficiently run CSMA/CD protocol Both [A] and [B] Both [B] and [C] Both [C] and [D] Both [A] and [C] Both [A] and [D] All of [A] a ^??[D] None of [A] a ^??[D] The IEEE 802.11 protocols can use RTS-CTS frames to . Reserve access to the shared channel Enhance the signal strength Reduce the signal strength Detect collisions Both [A] and [D] All of the above None of the above From the attached ISP router perspective, a NAT-enabled router looks like . an inter-AS router an intra-AS router a single device with a single IP address all of the above none of the above IEEE 802.11 uses CSMA/CA because . CSMA/CA resolves the hidden terminal problem CSMA/CA resolves the issue of fading unlike CSMA/CD, CSMA/CA does not use acknowledgements for received data both a. and b. both a. and c. both b. and c. all of a., b., and c. none of the above Consider sending a 3000-byte datagram (inclusive of a minimum size header) from a host to another host over IPv6 a ^??only network. Along the path between the two hosts, the datagram will go over a link whose MTU is 500 bytes (inclusive of a minimum size header). Thus, the number of fragments generated by the router immediately preceding the specified link is: 6 7 no fragments will be generated cannot be determined from given information When a switch transmits an Ethernet frame on a specific interface, the Ethernet frame has: the switch a ^??s LAN address as the frame a ^??s source address the switch a ^??s LAN address as the frame a ^??s destination address the broadcast address as the frame a ^??s source address None of the above True or False Questions: Assuming a proxy server is not used; two distinct web pages (www.kfupm.edu.sa and www.hotmail.com) can be sent over the same persistent connection. 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, must be established. Network congestion has no impact on the process of IP fragmentation. If a mobile node wishes to transmit a datagram to a stationary correspondent, then, from an efficiency point of view, the direct routing approach is preferred over the indirect routing approach. With CDMA, two concurrent (simultaneous) senders in the same network must use the same chipping code. Consider a twisted-pair Ethernet in which all nodes are 50 meters from the hub. The time it takes for a bit to propagate from hub to node for a 10BaseT Ethernet is ten times longer than for a 100BaseT Ethernet. CSMA/CD is more restrictive than the CSMA in the sense that it puts restrictions on the cable lengths and frame sizes. Pure ALOHA results in higher peak channel utilization compared to the slotted ALOHA. In CSMA/CD, after the 4th collision, the probability that a colliding node chooses K = 0 in the exponential backoff algorithm is zero (i.e., P{K=0} = 0). In wireless networking, TCP congestion control does not decrease the congestion window size when a loss event occurs due to a lost segment caused by RF conditions.

Explanation / Answer

I am giving explanation of some question, for which explanation is necessary.


1. All of the above.

Explanation:-TCP segment consist of Source Port, Destination Port and source IP Address is required to know about the source.

2.C

Explanation:-Autonomous System (AS) is a collection of connected Internet Protocol (IP) routing prefixes under the control of one or more network operators that presents a common, clearly defined routing policy to the Internet.

3.F

Explanation:-Switch & Router.A broadcast domain is a logical division of a computer network, in which all nodes can reach each other by broadcast at the data link layer. A broadcast domain can be within the same LAN segment or it can be bridged to other LAN segments.

4.A

5.G

Explanation:-Discard the frame and send ICMP Error Message for report problems.

6.D

Explanation:-Cut-through switching is a method for packet switching systems, wherein the switch starts forwarding a frame (or packet) before the whole frame has been received, normally as soon as the destination address is processed. Compared to store and forward, this technique reduces latency through the switch and relies on the destination devices for error handling.

7.G

Explanation:-Routing Information Protocol(RIP) based on distance vector routing.Intra AS Routing is also known as interior gateway protocol.

8.G

Explanation:-Collision avoidance is used to improve the performance of the CSMA method by attempting to divide the channel somewhat equally among all transmitting nodes within the collision domain.

9.A

Explanation:-Divide the datagram is as under:-3000/500=>6

10.G

11.C

Explanation:-Error Detection

12.G(Both C & D)

Explanation:-Discard the frame and send ICMP Error Message for report problems.(As given in Q. 5)

13.J

Explanation:As Given in Question No. 8.

14.G

15.G

16.D

Explanation:-As Given in Question No. 6.

17.J

18.I

Explanation:- It is A,C,D not B. As Given in Question No. 7

19.J

Explanation:-OSPF (Open Shortest Path First) is a router protocol used within larger autonomous system networks in preference to the Routing Information Protocol (RIP). Using OSPF, a host that obtains a change to a routing table or detects a change in the network immediately multicasts the information to all other hosts in the network so that all will have the same routing table information.

20.I

Explanation:-BGP is a path-vector protocol, because it advertises the paths required to get to a certain destination.(A to D)

21.J

Explanation:-Connection-oriented communication includes the steps of setting up a call from one computer to another, transmitting/receiving data, and then releasing the call, just like a voice phone call.Connection Oriented(TCP) have two variant 1. Without virtual circuits 2. Virtual Circuit

22.I

Explanation:-Connectionless communication is just packet switching where no call establishment and release occur. A message is broken into packets, and each packet is transferred separately. Moreover, the packets can travel different route to the destination since there is no connection. Connectionless service is typically provided by the UDP (User Datagram Protocol), which we will examine later. The packets transferred using UDP are also called datagrams.

23.J

Explanation:-All the technique can be used for set up IP Address.

24.J

Explanation:-An ad hoc network typically refers to any set of networks where all devices have equal status on a network and are free to associate with any other ad hoc network device in link range. Ad hoc network often refers to a mode of operation of IEEE 802.11 wireless networks.

25.E

Explanation:-RTS/CTS (Request to Send / Clear to Send) is the optional mechanism used by the 802.11 wireless networking protocol to reduce frame collisions introduced by the hidden node problem

26.A

Explanation:-It is network address translation.

27.G

Explanation:-Already explained in Question No. 8

28.A

Explanation:-MTU(Maximum Transfer unit) so fragmentation required.Divide the datagram is as under:-3000/500=>6

29.B

True or False Question:

1.True

2.True

Explanation:-TCP Connection Established.

3.False

4.True

5.True

6.True

7.True

8.True

Explanation:-Pure ALOHA, only about 18.4% of the time is used for successful transmissions while Slotted Aloha have 36.8%.

9.True

10.True



I hope i will resolve your answer, in case you require detail explanations or have some query/confusion, please ping/comment on my answer.Thanks