Blog
DCN MSc IT 2nd Final Past Paper 2014 – UOS Main Campus
University of Sargodha main campus (Department of Computer Science & IT) MSc IT 2nd semester Data Communication & Networks (DCN) final term exam, June 2014. Retyped from the original paper, with solved answers below.
Typed from the department’s original Word file. The paper skips Q3 and Q5 in its numbering.
Solved answers
Q1
i. Baseband vs broadband: baseband sends the digital signal directly over a low-pass channel using its whole bandwidth (e.g. Ethernet LAN); broadband modulates the signal onto a carrier and uses a band-pass channel, so many signals can share the medium at different frequencies (cable TV, DSL).
ii. Data element vs signal element: a data element is the smallest unit of information (a bit); a signal element is the shortest unit (in time) of a digital signal that carries data elements. r = number of data elements per signal element; bit rate = r × baud rate.
iii. In class A, network 0 (0.x.x.x) is reserved for “this network”/default route, and network 127 (127.x.x.x) is reserved for loopback testing (127.0.0.1), so they cannot be assigned to networks.
iv. NRZ vs RZ: in NRZ (non-return-to-zero) the signal stays at its level for the whole bit; in RZ the signal returns to zero in the middle of each bit. RZ gives self-synchronisation but needs twice the bandwidth and three levels.
v. FDM for 4 × 1 Mbps in 1 MHz: the channel gives 1 MHz / 4 = 250 kHz per channel. Each 1-Mbps digital stream must carry 4 bits per Hz, so modulate each with 16-QAM (4 bits per baud ⇒ 250 kbaud ⇒ 250 kHz) and place the four carriers in adjacent 250-kHz bands, then combine with FDM.
vi. ipconfig /all (Windows) shows full TCP/IP configuration of all adapters: host name, MAC (physical) address, IP address, subnet mask, default gateway, DHCP server and lease, DNS servers, IPv6 addresses.
Q2
i. Bandwidth = 900 − 100 = 800 Hz. Spectrum: five vertical lines at 100, 300, 500, 700 and 900 Hz, each 10 V high.
ii. Shannon: C = 10⁶ × log₂(1 + 63) = 6 Mbps (upper limit). For better performance choose a lower rate, e.g. 4 Mbps; Nyquist: 4×10⁶ = 2 × 10⁶ × log₂L ⇒ L = 4 signal levels.
iii. PCM: sampling (at ≥ Nyquist rate, PAM), quantization (round to L levels) and encoding (n = log₂L bits per sample); then a line coding scheme sends the bits.
iv. Packet vs circuit switching: packet switching does not reserve resources, so bandwidth is shared and used efficiently; no set-up delay; handles bursty data well; packets can take alternate routes if a link fails; cheaper. Circuit switching wastes the dedicated path when idle.
v. Asynchronous, synchronous and isochronous serial transmission.
vi. Multiplexing: FDM (radio/TV), WDM (fibre backbone), synchronous TDM (telephone E1/T1), statistical TDM (packet networks).
Q4 – Splitting Mr. Khalid’s network
192.200.200.200 is a class C address, network 192.200.200.0/24 (default mask 255.255.255.0). Borrow 1 bit to create two subnets: mask 255.255.255.128 (/25).
| Branch | NET ID | Host range | Broadcast address | Max devices |
|---|---|---|---|---|
| Branch 1 | 192.200.200.0/25 | 192.200.200.1 – .126 | 192.200.200.127 | 126 |
| Branch 2 | 192.200.200.128/25 | 192.200.200.129 – .254 | 192.200.200.255 | 126 |
Each branch can link up to 2⁷ − 2 = 126 devices, enough for 50 computers (the router’s 192.200.200.200 falls in the second subnet).
Q6 – Wired vs wireless media
| Factor | Wired (guided) | Wireless (unguided) |
|---|---|---|
| Examples | Twisted pair, coaxial, optical fibre | Radio waves, microwaves, infrared, satellite |
| Speed | Higher and stable | Lower, varies with distance/obstacles |
| Reliability | Less interference | Affected by noise, weather, walls |
| Security | More secure | Easier to intercept; needs encryption |
| Mobility | Fixed | Supports mobile users |
| Cost/installation | Cabling cost, hard in remote areas | Easy and quick to deploy |
Q7 – Network infrastructure of UOS
A typical university campus network (such as the University of Sargodha’s) follows a hierarchical design: internet links from ISPs/HEC PERN connect to a core router and firewall in the data centre; a fibre-optic backbone connects the core switch to distribution switches in each department/building; access switches connect labs and offices with twisted-pair (Cat-6) cabling; wireless access points provide Wi-Fi across the campus; servers (web, e-mail, LMS, student portal, DNS/DHCP) sit in the data centre; VLANs separate faculty, students and administration; and the IT department manages security, monitoring and backup. Describe the parts you have observed in your own department as examples.
