The CS522 F2002 midterm
grade distribution is as follows:
98 |
98 |
94 |
94 |
94 |
92 |
91 |
90 |
89 |
87 |
87 |
84 |
84 |
84 |
83 |
82 |
81 |
80 |
80 |
76 |
75 |
74 |
72 |
71 |
71 |
71 |
70 |
70 |
68 |
66 |
64 |
62 |
60 |
60 |
58 |
58 |
57 |
55 |
53 |
53 |
Problem 1. Reachability
Analysis.
Given the following network of two CFSMs,
Figure 1. RG of modified CFSMs.
Figure 2. Partial RG of the incorrect CFSMs.
Problem. 2. Trellis
Modulation.
Given the same example
in Page 29 of the Chapter 3 transmission handout
|
Input Data |
Output Signal |
|
0 |
01 |
2 |
2 |
2 |
11 |
7 |
3 |
3 |
00 |
3 |
2 |
2 |
10 |
6 |
0 |
Problem 3.
Routing and Internet message format.
Assume
blanca.uccs.edu sends a DNS query request to the UCCS DNS server
klingon.uccs.edu. Here is the routing table on blanca:
Kernel IP
routing table
Destination Gateway Genmask Flags
MSS Window irtt Iface
128.198.160.0 0.0.0.0 255.255.248.0 U
40 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U
40 0 0 lo
0.0.0.0 128.198.167.254 0.0.0.0 UG
40 0 0 eth0
The IP
address of blanca.uccs.edu is 128.198.162.60.
The Ethernet Mac address of blanca’s network interface card (NIC) is
00:B0:D0:D1:13:5C.
The IP
address of klingon.uccs.edu is 128.198.1.250. The Ethernet Mac address of
klingon’s network interface card is 00-02-b3-90-d9-3e.
Problem 4. Socket Programming.
1. Is it correct that the ABWPlot
program uses datagram and therefore it can accept packets from multiple senders
simultaneously?
Ans: Yes. A datagram server accepts packets from multiple senders.
2. For the sender that sends
measurement data to the ABWPlot program, what information uniquely identifies
the socket listen by the ABWPlot program?
Ans: IP address and port number.
3. For the select system call, do we
have to reset the timeout value and the readfdset before each call? Why?
Ans: Yes. Otherwise the residual timeout and readfdset values will be used in
the next select() call.