Presentation is loading. Please wait.

Presentation is loading. Please wait.

Networking A few questions on the course A few questions about the course.

Similar presentations


Presentation on theme: "Networking A few questions on the course A few questions about the course."— Presentation transcript:

1 Networking A few questions on the course A few questions about the course

2 The Chancellor of the University is A.Alistair Darling B.Lord Patten C.Glynis Breakwell D.Prince Philip E.Lord Tugendhat F.Lord Hinton of Bankside

3 That was the warmup: E A.Darling is Chancellor of the Exchequer B.Lord Patten is Chancellor of Oxford C.Glynis Breakwell is the Vice-Chancellor D.Prince Philip is Chancellor of Cambridge E.Lord Tugendhat is the Chancellor F.Lord Hinton was the first Chancellor: the mullets (stars) on the unicorn and wyvern supporting the coat of arms are a heraldic pun on his own arms

4 Questions on the course (mostly factual, but there is more to the course than facts)

5 How long is an Ethernet address? A.Variable length B.16 bytes C.4 bytes D.6 bytes

6 The answer is D (6 bytes) If you didnt get that, youre still pretty confused: After last time, and the previous one, all I can suggest is that you really re- read sections 2.2 and 3.2 of the book.

7 Which of the following will DHCP not tell you 1.Your IP address 2.A routers IP address 3.A nameservers IP address 4.A nameservers name 5.The subnet mask

8 D the nameservers name Its actually not useful And anyway you can find it out: how?

9 The reset (RST) bit is set in the last packet of a 4-way close 1.True 2.False

10 False RST is not a normal part of TCP operation: it is there to indicate some kind of error/ abnormal circumstance

11 After the 3-way open, MSS is A.Negotiated B.The minimum of what the two said C.The average of what the two said D.Possibly different in the two directions

12 D possibly different There is no negotiation, and it is perfectly possible for MSS to be different in both directions (e.g. one end is on a dial-up link)

13 Consider the following TCP Open scenario: PQ: SYN (with MSS) QP: SYN (with MSS, and ACK) Plost: ACK What happens next?

14 Ps ACKof Qs SYN is lost, and A.The connection hangs B.P eventually times out C.P starts sending data D.P resends its SYN E.Q resends its SYN F.P sends a RST

15 C (or possibly E) A.Hanging would be a failure of TCP B.P thinks the connections open, so why time out? C.Therefore can send data (which will acknowledge the SYN as well) D.Why should P send SYN: its been acked E.Q hasnt has SYN acked, so will resend if C doesnt happen (e.g. SMTP, where the server first sends a 220) F.Why should it send RST?

16 Which of these is not in the TCP header A.Sequence Number B.Options C.Receiver Window D.Congestion Window E.Urgent Pointer

17 D Congestion Window A.Sequence number is always there B.Options, if present are in the header C.Receiver Window is always there D.Congestion Window is purely maintained by the sender, and is not passed to the other end (its effects may be felt, but thats another matter) E.Urgent pointer is always there

18 A receiver drops packets to indicate that its window is full 1.True 2.False

19 False It may drop, and not acknowledge, the data (as in the persist timer examples), but it does always respond to the packet, even if the acknowledgement field is not incremented.

20 Network congestion can be indicated by A.Time out B.Window =0 C.2 duplicate ACKs D.4 ACKs of the same number E.A and D F.A,B and C G.B and C

21 E (A and D) is right A.Timeout is a good indicator of congestion (but the other end might have crashed …) B.Not network congestion C.Not 2 Duplicate ACKs D.4, with the same number, means 3 are duplicates, so this is congestion

22 The persist timer deals with which problem? A.Hosts that go down B.Hosts that have no space for more data C.Lost SYN packets D.Lost window adverts E.Lost FIN packets

23 D: lost window adverts A.Hosts that go down: TCP times out sending B.Hosts with no space theres no cure for this! C.Lost SYN packets, retransmission deals with this D.The response to the persist timer will give us a new window size (which may still be same, if there is still no space) E.Lost FIN packets, retransmission deals with this

24 slow start is somewhat of a misnomer 1.True 2.False

25 Possibly It does indicate that we start slow (so far, so good), but we get exponentially faster, so most people probably wouldnt call it slow

26 Sending `window scale means A.I will send scaled windows B.I will understand scaled windows C.I will send scaled windows if you will D.You can send scaled windows if you want E.B and C F.B and D

27 E is the best answer A.You cant scale unless the other end says it understands scaling B.If you can send them, you must be able to understand them C.Certainly correct D.Some TCPs send window scale automatically even if the other end didnt (of course, they cant use it)

28 In FTP, the control channel A.Starts in ASCII or binary depending on the options B.Starts in ASCII, but can be switched to binary C.Is always in ASCII D.Uses XDR

29 C – always ASCII A.The other end doesnt know what the options are, so this cant be right (a general point about protocols!) B.The IMAGE command changes the data channel only C.Right D.XDR is connected with NFS, not FTP

30 One of these statements is true A.SMTP constructs the header from the envelope B.The envelope determines who gets the mail C.The header determines who gets the mail D.The header MUST agree with the envelope on this E.The header should agree with the envelope on this

31 B: envelopesender A.If anything, the sending agent (not SMTP) constructs the envelope from the header B.Correct C.False D.Not an RFC requirement: The header might well not agree E.It is impossible for Cs machine to check whether C occurs on a mailing list administered by B, or even whether it is a mailing list

32 MIME is 1.A feature of e-mail only 2.A feature of the Web only 3.What Marcel Marceau did 4.A general-purpose encoding, first invented for mail

33 D general purpose It did start out in the mail community, but there is nothing really mail-specific about it (Marcel Marceau did Mime: different capitalisation!)

34 NFS can be told to handle both binary and ASCII files 1.True 2.False

35 False NFS files are fundamentally binary, and the application has to deal with any differences (e.g. extra CR/LF in ASCII from Windows)

36 Now that we have NFS and the Web, FTP is obsolete 1.True 2.False

37 False Its less common to type the ftp command, but we see (or at least use) ftp:// URLs. FTP is fundamentally different from NFS FTP creates copies, whereas NFS allows multiple computers to access the same file.

38 UDP is used in many circumstances when TCP could be used instead 1.True 2.False

39 True NFS often uses UDP, where TCP would be as good, possibly better DNS uses UDP (which is simpler), and TCP could be used, though probably less efficient.

40 Therefore the internet could be run without UDP 1.True 2.False

41 False RIP and BOOTP/DHCP both rely on broadcast (or multicast for some RIP v2 installations) and therefore cant use TCP Many uses of multicasting (internet radio etc.) would be impossible, which would cause bandwidth/load problems as well

42 It is impossible to build reliability on top of UDP 1.True 2.False

43 False TFTP manages to do it. TCP builds it on top of IP, and UDP is (by definition) no worse than IP, so clearly its possible (which doesnt mean its desirable)

44 Web hosting firms need HTTP 1.0 (or later) because A.It allows binary B.It allows MIME C.It allows the complete URL in GET D.It can send the length of the data file

45 C complete URL A.All HTTP allow binary (in the data) B.MIME was in 0.9, and anyway isnt very relevant C.Without the complete URL, we wouldnt know what page we were called on D.Size is useful, but not necessary

46 Which of these is not part of the NFS complete suite 1.XDR 2.Portmapper 3.TLS 4.Remote procedure call

47 C TLS A.eXternal Data Representation is vital: times, lengths etc. B.Portmapper to find RPC programs C.TLS Transport Layer Security. Not an intrinsic part. D.Remote Procedure Call the underlying paradigm

48 Recall the ISO 7-layer model 1.Physical 2.Link 3.Network 4.Transport 5.Session 6.Presentation 7.Application

49 Which layer is MIME? 1.Physical 2.Link 3.Network 4.Transport 5.Session 6.Presentation 7.Application

50 6 Presentation Describes how the data is meant ot be interpreted at the other end.

51 Networking A few questions on the course A few questions about the course and the subject

52 Theres too much on the basics and not enough on the applications 1.Strongly Agree 2.Agree 3.Neutral 4.Disagree 5.Strongly Disagree

53 I have bought/been given a copy of the book 1.Yes 2.No


Download ppt "Networking A few questions on the course A few questions about the course."

Similar presentations


Ads by Google