Week 4: TCP/IP Address Flashcards

1
Q

Which of the following best describes an IP address?

A) A random number assigned to a device.
B) A unique identifying number assigned to every device connected to the internet.
C) A number that changes every time a device connects to the internet.
D) A number used only for local network communication.

A

B) A unique identifying number assigned to every device connected to the internet.

Explanation: An IP address is a unique identifying number assigned to every device connected to the internet, allowing devices to communicate with each other.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which of the following statements about public and private IP addresses is true?

A) Public IP addresses are used within a local network.
B) Private IP addresses are used to connect to the internet.
C) Public IP addresses are assigned by ISPs and used to connect to the internet.
D) Private IP addresses are unique across the entire internet.

A

C) Public IP addresses are assigned by ISPs and used to connect to the internet.

Explanation: Public IP addresses are assigned by Internet Service Providers (ISPs) and are used to connect devices to the internet. Private IP addresses are used within local networks and are not unique across the entire internet.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which of the following statements about static and dynamic IP addresses is true?

A) Static IP addresses change every time a device connects to the network.
B) Dynamic IP addresses are manually configured and fixed to a device.
C) Static IP addresses are manually configured and do not change automatically.
D) Dynamic IP addresses are assigned by the user.

A

C) Static IP addresses are manually configured and do not change automatically.

Explanation: Static IP addresses are manually configured and fixed to a device, meaning they do not change automatically. Dynamic IP addresses are automatically assigned by a router or DHCP server.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which of the following best describes IPv4?

A) The first version of the IP protocol.
B) The fourth version of the IP protocol, used to interconnect the internet and other networks.
C) A protocol used only for local network communication.
D) A protocol that supports an unlimited number of IP addresses.

A

B) The fourth version of the IP protocol, used to interconnect the internet and other networks.

Explanation: IPv4 is the fourth version of the IP protocol and is one of the core protocols used to interconnect the internet and other networks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which of the following best describes a subnet mask?

A) A unique identifier for a device on a network.
B) A set of 32-bit decimal numbers that determines how many bits of the IP address are used for the network and how many bits are used for the host.
C) A protocol used to assign IP addresses dynamically.
D) A method for encrypting network communication.

A

B) A set of 32-bit decimal numbers that determines how many bits of the IP address are used for the network and how many bits are used for the host.

Explanation: A subnet mask is a set of 32-bit decimal numbers that determines how many bits of the IP address are used for the network portion and how many bits are used for the host portion.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which of the following best describes Transmission Control Protocol (TCP)?

A) A protocol used to assign IP addresses dynamically.
B) A protocol used by the internet to establish a connection between two remotely hosted applications and deliver a reliable data stream.
C) A protocol used for encrypting network communication.
D) A protocol used only for local network communication.

A

B) A protocol used by the internet to establish a connection between two remotely hosted applications and deliver a reliable data stream.

Explanation: Transmission Control Protocol (TCP) is used by the internet to establish a connection between two remotely hosted applications and deliver a reliable data stream from one to the other.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which of the following best describes the initial step in establishing a TCP connection?

A) The client sends a termination message to the server.
B) The server sends a synchronization message to the client.
C) The client sends a synchronization message to the server.
D) The server sends an acknowledgment message to the client.

A

C) The client sends a synchronization message to the server.

Explanation: The initial step in establishing a TCP connection is when the client sends a synchronization (SYN) message to the server.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which of the following correctly describes the three-way handshake process in TCP?

A) SYN, SYN-ACK, ACK
B) SYN, ACK, SYN-ACK
C) ACK, SYN, SYN-ACK
D) SYN-ACK, SYN, ACK

A

A) SYN, SYN-ACK, ACK

Explanation: The three-way handshake process in TCP involves three steps: the client sends a SYN message, the server responds with a SYN-ACK message, and the client replies with an ACK message.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What does it mean when a server is in a “passive open” state?

A) The server is actively trying to establish a connection with a client.
B) The server is waiting to establish a connection with a client.
C) The server is terminating an existing connection.
D) The server is sending data to the client.

A

B) The server is waiting to establish a connection with a client.

Explanation: When a server is in a “passive open” state, it is waiting to establish a connection with a client and is “listening” for a connection request.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which of the following best describes the role of DHCP in IP addressing?

A) DHCP assigns static IP addresses to devices.
B) DHCP assigns dynamic IP addresses to devices.
C) DHCP encrypts network communication.
D) DHCP manages the routing of data packets.

A

B) DHCP assigns dynamic IP addresses to devices.

Explanation: The Dynamic Host Configuration Protocol (DHCP) assigns dynamic IP addresses to devices, allowing them to receive a new IP address each time they connect to the network.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does it mean when a server is in a “active open” state?

A) The server is actively trying to establish a connection with a client.
B) The server is waiting to establish a connection with a client.
C) The server is terminating an existing connection.
D) The server is sending data to the client.

A

A) The server is actively trying to establish a connection with a client.

Explanation: The client must initiate an “active open:” Once the server is in a “passive open” state, the client must establish a connection by sending a TCP synchronization or TCP SYN message. The server then expends resources to accept the connection.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly