Top

TCP/IP

11.

Which of the following is the decimal and hexadecimal equivalents of the binary number 10011101?

Answer: B

To turn a binary number into decimal, you just have to add the values of each bit that is a 1. The values of 10011101 are 128, 16, 8, 4, and 1. 128 + 16 + 8 + 4 + 1 = 157.

Hexadecimal is a base-16 number system. The values of hexadecimal are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F-16 characters total, from which to create all the numbers you'll ever need. So, if 1001 in binary is 9, then the hexadecimal equivalent is 9. Since we then have 1101, which is 13 in binary, the hexadecimal answer is D and the complete hexadecimal answer is 0x9D.

Enter details here

12.

Which layer 4 protocol is used for a Telnet connection?

Answer: B

Although Telnet does use TCP and IP (TCP/IP), the question specifically asks about layer 4, and IP works at layer 3. Telnet uses TCP at layer 4.

Enter details here

13.

Which statements are true regarding ICMP packets?

1.ICMP guarantees datagram delivery.

2ICMP can provide hosts with information about network problems.

3.ICMP is encapsulated within IP datagrams.

4.ICMP is encapsulated within UDP datagrams.

Answer: B

ICMP is used for diagnostics and destination unreachable messages. ICMP is encapsulated within IP datagrams, and because it is used for diagnostics, it will provide hosts with information about network problems.

Enter details here

14.

Which of the following services use UDP?

1.DHCP

2.SMTP

3.SNMP

4.FTP

5.HTTP

6.TFTP

Answer: A

DHCP, SNMP, and TFTP use UDP.

Enter details here

15.

What is the address range of a Class B network address in binary?

Answer: C

The range of a Class B network address is 128-191. This makes our binary range 10xxxxxx.

Enter details here

16.

Which of the following are layers in the TCP/IP model?

1.Application

2.Session

3.Transport

4.Internet

5.Data Link

6.Physical

Answer: B

This seems like a hard question at first because it doesn't make sense. The listed answers are from the OSI model and the question asked about the TCP/IP protocol stack (DoD model). However, let's just look for what is wrong. First, the Session layer is not in the TCP/IP model; neither are the Data Link and Physical layers. This leaves us with the Transport layer (Host-to-Host in the DoD model), Internet layer (Network layer in the OSI), and Application layer (Application/Process in the DoD).

Enter details here

17.

You want to implement a mechanism that automates the IP configuration, including IP address, subnet mask, default gateway, and DNS information. Which protocol will you use to accomplish this?

Answer: C

Dynamic Host Configuration Protocol (DHCP) is used to provide IP information to hosts on your network. DHCP can provide a lot of information, but the most common is IP address, subnet mask, default gateway, and DNS information.

Enter details here

18.

Which of the following is private IP address?

Answer: D

Class A private address range is 10.0.0.0 through 10.255.255.255. Class B private address range is 172.16.0.0 through 172.31.255.255, and Class C private address range is 192.168.0.0 through 192.168.255.255.

Enter details here

19.

Which of the following allows a router to respond to an ARP request that is intended for a remote host?

Answer: C

Proxy ARP can help machines on a subnet reach remote subnets without configuring routing or a default gateway.

Enter details here

Loading…
Tags: TCP/IP Questions and Answers || TCP/IP MCQ Questions and Answers || TCP/IP GK Questions and Answers || TCP/IP GK MCQ Questions || TCP/IP Multiple Choice Questions and Answers || TCP/IP GK || GK on TCP/IP || Computer Networking Questions and Answers || Computer Networking MCQ Questions and Answers || Computer Networking GK Questions and Answers || GK on Computer Networking