ExamVeda
Login
Home
11
Which of the following is the decimal and hexadecimal equivalents of the binary number 10011101?
Discuss
Answer & Solution
Answer: Option B
Solution:

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.

12
Which statements are true regarding ICMP packets?
1. They acknowledge receipt of a TCP segment.
2. They guarantee datagram delivery.
3. They can provide hosts with information about network problems.
4. They are encapsulated within IP datagrams.
Discuss
Answer & Solution
Answer: Option C
Solution:
Internet Control Message Protocol (ICMP) is used to send error messages through the network, but they do not work alone. Every segment or ICMP payload must be encapsulated within an IP datagram (or packet).
13
Which of the following are layers in the TCP/IP model?
1. Application
2. Session
3. Transport
4. Internet
5. Data Link
6. Physical
Discuss
Answer & Solution
Answer: Option B
Solution:
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).
14
Which layer 4 protocol is used for a Telnet connection?
Discuss
Answer & Solution
Answer: Option B
Solution:
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.
15
Which statements are true regarding ICMP packets?
1. ICMP guarantees datagram delivery.
2. ICMP can provide hosts with information about network problems.
3. ICMP is encapsulated within IP datagrams.
4. ICMP is encapsulated within UDP datagrams.
Discuss
Answer & Solution
Answer: Option B
Solution:
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.
16
Which of the following are TCP/IP protocols used at the Application layer of the OSI model?
1. IP
2. TCP
3. Telnet
4. FTP
5. TFTP
Discuss
Answer & Solution
Answer: Option C
Solution:
Telnet, File Transfer Protocol (FTP), and Trivial FTP (TFTP) are all Application layer protocols. IP is a Network layer protocol. Transmission Control Protocol (TCP) is a Transport layer protocol.
17
What protocol is used to find the hardware address of a local device?
Discuss
Answer & Solution
Answer: Option B
Solution:
Address Resolution Protocol (ARP) is used to find the hardware address from a known IP address.
18
Which of the following protocols uses both TCP and UDP?
Discuss
Answer & Solution
Answer: Option D
Solution:
DNS uses TCP for zone exchanges between servers and UDP when a client is trying to resolve a hostname to an IP address.
19
What is the address range of a Class B network address in binary?
Discuss
Answer & Solution
Answer: Option C
Solution:
The range of a Class B network address is 128-191. This makes our binary range 10xxxxxx.