Week 9 for Test 3

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

Which of the following statements about socket programming is not correct?

A socket descriptor can be used with every function that accepts a file descriptor argument.

The single most important motive for the new IPv6 protocol is:

Address space expansion

ARPA stands for

Advanced Research Projects Agency

In a layered protocol architecture (e.g., TCP/IP), a benefit and rationale for a module at one layer relying on another module at the layer below for some service is:

All of the Above

The ssh command

All of the Above

Which of the following is an application layer program designed to run on top of TCP:

All of the Above

Which of the following terms is used to denote units of data being transmitted:

All of the Above

You can display the domain names and IP addresses of the hosts on your computer network with the following command

All of the Above

Which of the following statements about socket programming is not correct? (2.0)

Applications with their own customized protocol headers cannot bypass the transport protocols (TCP and UDP, for example).

IPv4 addresses

Are 4-byte long Are 32-bit long Have classes A, B, C, D, and E

Which of the following statements about socket programming with datagram is not correct?

Datagram provides a connection-oriented service.

DNS is the acronym for

Domain Name Server

A service provided by TCP is:

Flow control

Which of the following statements about socket programming (address byte ordering) is not correct?

For a 32-bit integer with the value 0x04030201, the most significant byte is 0x01, and the least significant byte is 0x04 for little-endian byte order.

Which of the following statements about socket programming (socket descriptor) is not correct?

If the socket descriptor is in blocking mode, the application can use either poll or select to determine when the file descriptor is readable.

Which of the following is part of the syntax of a protocol (e.g., TCP/IP):

Its packet format

LAN stands for

Local Area Network

Which of the following statements about socket is not correct?

Many of the functions with file descriptors (e.g., read or write) will not work with a socket descriptor.

IP and ICMP are

Network layer protocols in the TCP/IP protocol suite

Which of the following is common to both TCP and UDP:

Port-to-port communication

As a data unit moves up from one protocol layer to another (e.g., for TCP/IP), control headers are:

Removed

RFC is an acronym for

Request for Comments

The main function of the IP protocol is

Routing

A protocol architecture (e.g., TCP/IP) performs a task by implementing it as:

Separate program modules, responsible for subtasks, that cooperate with each other

Which of the following statements about socket programming (out-of-band) is not correct?

TCP and UPD support out-of-band data.

Which of the following is an application layer protocol (e.g., in TCP/IP model).

Telnet

Which of the following statements about socket programming (socket address) is not correct?

The address associated with a client's socket must be known to the server with datagram.

Which of the following statements about socket programming (close and shutdown) is not correct?

The close function deallocates the network endpoint only when all the active references are closed.

To write code for port-to-port communication (e.g., TCP/IP), a programmer uses:

The socket application programming interface

TCP stands for

Transmission Control Protocol

UDP and TCP are protocols at the following layers in the TCP/IP protocol suite

Transport

Which of the following is a transport layer protocol (TCP):

UDP

URL stands for

Uniform Resource Locator

UDP stands for

User Datagram Protocol

Which of the following statements about socket programming (nonblocking & asynchronous IO) is not correct?

When the socket is in blocking mode, the poll or select functions should be used to send or receive data.

Which of the following statements about socket programming (accept function) is not correct?

accept provides non-blocking socket.

Which of the following statements about socket programming with SOCK_STREAM (TCP) is not correct?

after the connection in place, one can communicate to the other in one direction

The following command can be used to display information about the user Michael on the mit.edu host

finger [email protected]

You can determine the IP address of your computer on a UNIX machine by using the following command

ifconfig

IPv4 address 127.0.0.1 is for

localhost

This command ___ will tell you whether a host in Internet is up and responding, or not.

ping

You can test the status of network or a particular host with the following command

ping

___ allows processes running on different computers (connected to a common network) to communicate with one another.

socket

Which is not a classical method of IPC provided by various UNIX systems.

thread

TTL in ping command is

time to live

You can find the routing information of the hosts from the current host to the target host

traceroute


Kaugnay na mga set ng pag-aaral

NU142- Chapter 54: Management of Patients With Kidney Disorders

View Set

BAM410 - ORGANIZATIONAL THEORY AND BEHAVIOR - Unit Exam 4

View Set

Stats Test 3 (Ch. 12-14) Class Notes

View Set

Medical Terminology Chapter 9 Nervous System LO 9.8 Epilepsy

View Set