
Swine Flu Is Not A Computer Virus
0) (Yes I have/No, don't pass me) Have you obeyed the email instructions about moving programs to
folders?
1) How many bytes in a MAC address? _______________
2) Do wireless ethernet's have MAC addresses? _____________
3) To whom should the following ethernet packet be sent? (Hint: It might help if you break it into host
and network portions.)
198.110.193.255
4) I want to send a file between an infected and an uninfected pig1 2. The pigs are 1 years old. The one
way latency is 2 ms. The bandwidth is 3 megabits per second. Each computer has 4 gigabytes of
RAM. The file is 5 megabytes. The CPU's are 6 megahertz. It's 7 pm.
5) Which layers will sometimes retransmit? (Circle all that apply, or none)
Ethernet
IP
TCP
6) I want to send a packet to a computer in Swinelandia. Which would be better
Know it's IP address
Know it's MAC address
7) Suppose the sender sends me an array of chars. I want to null terminate that array. Write the line of
code needed to do so.
int len = read(fd, buf, max_buf_size);
____________________________________________________
8) Suppose I want to connect to a server, but the server is not running. Which function call (i.e. not
MakeSocket, but gethostbyname or socket or accept or connect or bind, or read or write etc) will fail?
1 Pigs actually carry swine flu. But cooked pork is safe. Raw pork is not.
2 Yes, it's a footnote on a test.