CS228 Midterm I
-
How long does it take to transmit a packet (assume no failures).
You may use the variables 'latency', 'bandwidth', and 'packet_size'. _______________________________________________________________________
-
Suppose I send a box holding 100 data tapes at 2 gigaBYTES each.
How many DAYS would a T1 line (1.54 megaBITS/second) to transmit the same
data. Show work for partial credit. ____________________________________
-
What can dreams tell us
-
That our brain gets bored when we sleep.
-
Important insights into the subconsious
-
Messages from the spirit world
-
Sigmond Freud like stuff.
-
Which OSI network layer manipulates the most bytes?
1.Physical
2.Data Link
3.Network
4.Application
-
(2 points) I just measured the time to send data between here and www.slumber.com.
It takes 215 ms to send 1000 bytes, and 265ms to send 2000 bytes.
What is the current latency and bandwidth between here and www.bike.com?
Don't forget to put units of measure. (i.e. don't say that
the latency is 28, say its 28 bytes or seconds or gallons).
Latency: ________________________________________________________________________
Bandwidth: ______________________________________________________________________
-
(Two points) I notice that as more and more clients on my ethernet become
busy, total network traffic successfully passed from all senders to all
receivers drops, even though my clients have lots of data to transmit.
Why?________________________________________________________________________________
_____________________________________________________________________________________
How can I fix it? _______________________________________________________________________
____________________________________________________________________________________
-
What is the maximum latency before a node can successfully transmit across
the ethernet?
1.Twice the propogation delay across the cable.
2.Twice the propgation delay accross the cable plus the length of time
needed to transmit a maximum size packet.
3.Infinite
4.28 ms.
-
I often dream about
-
Money
-
Power
-
Small yellow birds eating ice cream
-
I never dream. Freddy Kreuger won't let me.
-
What does the bind() system call do?
1.Gives an otherwise anonymous socket an address.
2.Tells the operating system how large the backlog of requests can be.
3.Changes the socket to send datagrams instead of streams.
4.Creates a file descriptor and connects that descriptor to a socket.
5.All or none of the above.
-
What does the accept() system call do?
1.Gives an otherwise anonymous socket an address.
2.Tells the operating system how large the backlog of requests can be.
3.Changes the socket to send datagrams instead of streams.
4.Creates a file descriptor and connects that descriptor to a socket.
5.All or none of the above.
-
What's the most important feature for a dream to have
-
Safety belt
-
Friends and family
-
Air bag
-
Throttle
-
Suppose a TCP connection is in the "slow start" phase. The current congestion
window goes from (10,000-12,000). The window advertised by the receiver
goes
from (10,000 - 20,000). The maximum
segment size is 500 octets. Which bytes can be sent in the next segment?
___________________________________________
-
As a sender you keep sending packets, but a high percentage of them are
not acknowledged on the first sending. What should you do? (pick all that
apply)
a) Reduce your congestion-window-size.
b) Increase your time out value.
c) Send larger packets.
-
Calculus!! What does this expression evaluate to? ___________
lim x->2 17
-
Suppose you are using an IP number provided by DHCP and the lease
begins to expire. What should you do to stay on the network?
________________________________________________________________________________________
________________________________________________________________________________________
-
Right now every IP packet carries a fragment field in the header, yet most
packets don't get fragemented. This seems wasteful. Without
placeing unreasonable limits on packet size, how could this be avoided?
________________________________________________________________________________________
________________________________________________________________________________________
-
TCP over ethernet does not explicitly handle collisions. Why?
What happens if there is a collision?
________________________________________________________________________________________
________________________________________________________________________________________
-
(Yes/No) Does it make sense to use both ARP and DHCP on the same
Ethernet?
-
Suppose I'm an evil hacker. I start transmitting TCP data to
www.dreamland.com with a forged source address. Assuming they follow
all the TCP/IP protocols, what will they do with this data. WHY?
________________________________________________________________________________________
________________________________________________________________________________________
-
My worst nightmare describes
-
People watching me sleep
-
Meeting my 'special someone's parents
-
Falling Falling Falling, but never reaching the ground
-
Taking a test