CS 228 Test #2
General Hospital Version
-
(Yes/No) General Hospital Chief Surgeon Blake Steele says that the Aloha
protocol is as efficient as slotted Aloha at using bandwidth and avoiding
collisions. Is he right?
-
(Yes/No) General Hospital has a heart monitor that must occasionally send
small, self contained messages to a central computer across a network.
These messages must get there or people will die. Would sending a
datagram per message be appropriate?
-
General Hospital is a small yet scandal filled hospital, with only 150
or so computers. General Hospital wants an address type that offers
reasonable tradeoffs between bandwidth and latency. General Hospital
uses mostly IBM mainframes, but they do have a few UNIX workstations
and a couple of Macs. Doctors at General Hospital drive both Porches
and BMWs. What type of network address should they use?
-
Class A
-
Class B
-
Class C
-
Class D
-
None or all of the above.
-
Why doesn't everyone use a class A address?
-
Class A addresses only allow 255 hosts per network; many institiutions
have more hosts than that.
-
Class A addresses are multicast addresses and not used for normal hosts.
-
Class A addresses offer better bandwidth but increased latency. This
is a bad tradeoff for many institutions.
-
All or none of the above.
-
(Yes/No) Can Slotted Aloha offer guaranteed delivery?
-
Suppose General Hospital chief computer gal Bubbles Blonde sets up a domain
name system (DNS) server . Why would she do this?
-
To translate internet addresses to ethernet addresses.
-
To translate ethernet addresses to internet addresses.
-
To cache WWW web pages for faster access.
-
None or all of the above.
-
Next, General Hospital assistant computer guy Buck Naked sets
up an ARP server. Why would he do this?
-
To translate internet addresses to ethernet addresses.
-
To translate ethernet addresses to internet addresses.
-
To cache WWW web pages for faster access.
-
None or all of the above.
-
Suppose a web browser at General Hospital trys to access the server www.hostpital.supply.corp.com.
How many name servers might that computer need to contact to translate
this address into an internet address (IP number). Suppose
that there is no useful information in any of the relevant caches.
-
0
-
1
-
2
-
More than two
-
All or none of the above.
-
Suppose that www.general.hospital.com does exist, but that ftp.general.hospital.com
does not. Which would take more effort (more packets) to look up?
-
WWW takes more effort
-
FTP takes more effort
-
The same
-
Depends on the phase of the moon.
-
General Hospital has a very heavily loaded local area network. Which
network technology would work best?
-
Ethernet
-
Token Ring
-
Aloha
-
None or all of the above.
-
(Source/Not Source) General Hospital is going to be attached to the Internet.
Do computers attached to the internet generally choose the whole route
when the packet is sent (source routing) or just choose the link to send
the packet out on, trusting that the next computer in line can send it
closer still to the destination.
-
(Yes/No) In Ethernet, are all delays due to collisions of the same length?
-
Suppose Stan Slimy gains access to the insides of his computer. This
computer is connected to an Ethernet, and he disables the exponential back
off feature. Now his computer retransmits as soon as it can after
every collision. Stan Slimy does this only to one computer (the one
on his desk). What effect will this have?
-
Stan will crash the whole network.
-
Stan will prevent his computer from talking to others.
-
Stan will get better network throughput for his computer.
-
Stan will get worse network throughput for his computer.
-
None or all of the above.
-
What is the main purpose of the token in Token Ring?
-
Tells hosts when to listen.
-
Tells hosts when the Token Master is down.
-
Tells hosts when they can transmit.
-
None or all of the above.
-
General Hospital is going to attach devices to the hospital network.
For cost reasons these devices must use the minimum possible RAM, and use
only simple algorithms (reduces programming costs). What transmission
protocol should they use.
-
Alternating Bit
-
Selective Repeat
-
Go Back N
-
(Yes/No) Will selective repeat receive data from the network yet delay
handing that same data to an application? (Be careful here, this
question requires thought).
-
In an environment with very low error rates, will the data throughput of
Go Back N approximate that of selective repeat.
-
In an enviornment with very high latency, what is the best criticism of
the Alternating Bit protocol?
-
Alternating bit is a complex algorithm with high overhead.
-
Alternating bit will not keep the line busy transmitting useful data.
There will be too many idle periods.
-
Alternating bit actually works well in an enviornment with high latency.
-
All or none of the above.
-
What layer in the OSI model handles retransmission of lost packets? _________________________________________
-
Dr. Dijkstra works at General Hospital. What does the unweighted
version of his algorithm compute?
-
The path with the shortest number of hops.
-
The path with the smallest latency.
-
The path with the highest bandwidth.
-
None or all of the above.
-
What does the bind() system call do?
-
Gives an otherwise anonymous socket an address.
-
Tells the operating system how large the backlog of requests can be.
-
Changes the socket to send datagrams instead of streams.
-
Creates a file descriptor and connects that descriptor to a socket.
-
All or none of the above.
-
What does the accept() system call do?
-
Gives an otherwise anonymous socket an address.
-
Tells the operating system how large the backlog of requests can be.
-
Changes the socket to send datagrams instead of streams.
-
Creates a file descriptor and connects that descriptor to a socket.
-
All or none of the above.
-
Suppose General Hospital wants to network with its suppliers, which are
scattered the city of Chicago and its suburbs. Which network technology
would make the best sense?
-
Ethernet
-
Token Ring
-
Aloha
-
(Client/Server) Which typically forks off multiple processes, clients or
servers?
-
(Throughput/Latency) Suppose you have a routing algorithm that can either
optimize for throughput or for latency. Which would be best for a
typcial telnet/rlogin session?
-
(Yes/No) Debbie Diamond, General Hospital's network guru, says that
the performance of a heavily loaded ethernet can be improved by requiring
every station to begin its transmission at specific intervals, just like
Slotted Aloha. Would "Slotted Ethernet" see the same sort of performance
increase over normal ethernet that Slotted Aloha sees over normal Aloha
(This is a tricky question. Be careful here.)
-
Speaking Question: In ethernet, what is the relationship between minimum
packet size and the maximum length of the network cable.
-
Speaking Question: I've said in class that there can be either guaranteed
reliability or guaranteed throughput and latency. Why can there be
no guarantee for both at the same time?