CCN/DCN, Past Papers, UOS Main Campus

Data Communication & Network Past Paper 2013 – MSc IT 1st Term UOS (IT-530)

ProgramMSc IT
Term1st
Year2013
Course codeIT-530
AnswersSolved ✓

University of Sargodha M.Sc. IT 1st term Data Communication & Network (IT-530) paper, 2013 exam (80 marks, 2:30 hours). The paper is retyped below without the handwritten notes on the original, followed by solved answers for all 16 short questions and all six subjective questions: network architectures, the OSI model, bus/ring/star topologies, switching methods, IEEE 802.11 and 3G systems.

Solved answers

Q1 – Short answers (16 × 2)

1. Point to point connection. A dedicated link between exactly two devices; the whole capacity of the link is reserved for them, e.g. a TV and its remote, two routers joined by a leased line, PPP.

2. Service point, logical and physical address. Service-point (port) address identifies a process/application on a host (e.g. port 80 for HTTP) – transport layer. Logical address is the network-wide IP address of a host (e.g. 192.168.1.5) – network layer. Physical address is the MAC address of the network card (e.g. 00:1A:2B:3C:4D:5E) – data link layer.

3. Multicast vs unicast. Multicast sends one packet to a group of selected receivers (one-to-many), e.g. video conferencing. Unicast is one-to-one communication between a single sender and a single receiver, e.g. a web page download.

4. Types of errors. Single-bit error (only one bit of a data unit changes) and burst error (two or more bits change, often consecutive).

5. Ad hoc networks. Wireless networks without any fixed infrastructure or access point; devices communicate directly and act as routers for each other, e.g. MANETs, Bluetooth piconets, emergency/military networks.

6. Redundancy. Extra bits added to the data (parity, CRC, checksum, Hamming code) so the receiver can detect or correct errors.

7. Benefits of P2P networks. No dedicated server needed (cheap), easy to set up, each computer shares its own resources, no single point of failure, good for small offices and file sharing.

8. Multiplexing. Sending several signals simultaneously over a single link by dividing its capacity: FDM (frequency), WDM (wavelength, optical) and TDM (time slots).

9. Advantages of networking. Sharing of files, printers and internet; communication (email, chat); centralized data and backup; lower cost; collaboration; remote access.

10. How data is transmitted over a medium. Data is converted to signals – electrical signals on copper (twisted pair, coaxial), light pulses in optical fibre, or electromagnetic waves (radio, microwave, infrared) in wireless media – using encoding/modulation, and sent serially or in parallel.

11. CSMA. Carrier Sense Multiple Access: a station listens to the medium before transmitting and sends only if it is idle, which reduces collisions. Variants: CSMA/CD (Ethernet, detects collisions) and CSMA/CA (Wi-Fi, avoids collisions).

12. Wireless communication. Transfer of information without wires using electromagnetic waves – radio, microwave, infrared or satellite – e.g. Wi-Fi, mobile phones, Bluetooth.

13. Switching. The method of connecting a sender to a receiver through intermediate nodes in a large network: circuit switching, packet switching (datagram/virtual circuit) and message switching.

14. Parity check. An error-detection method that adds one bit so the total number of 1s is even (even parity) or odd (odd parity); it detects all single-bit errors. Two-dimensional parity also detects many burst errors.

15. Selective Repeat ARQ. A sliding-window error-control protocol in which only the frames that are damaged or lost are resent; the receiver buffers out-of-order frames. Window size ≤ 2m−1.

16. HDLC. High-level Data Link Control – a bit-oriented data link protocol (ISO) for point-to-point and multipoint links. It has three frame types: I-frames (information), S-frames (supervisory) and U-frames (unnumbered), with flag 01111110 and bit stuffing.

Q2 – Types of network structure/architecture

  • By connection type: point-to-point (dedicated link between two devices) and multipoint/broadcast (several devices share one link).
  • By size: LAN (building/campus, high speed, e.g. Ethernet), MAN (city, e.g. cable TV network), WAN (countries, e.g. the internet, leased lines); also PAN (Bluetooth).
  • By relationship of computers: client–server – a powerful server provides files, printing, databases or web pages to clients; central control, security and backup, but costly and the server is a single point of failure. Peer-to-peer – every computer is equal and shares its own resources; cheap and simple but hard to manage and less secure.
  • By topology: bus, ring, star, mesh, tree and hybrid (see Q4).
  • Layered architecture: network functions are organised in layers – OSI (7 layers) and TCP/IP (application, transport, internet, network access).

Q3 – OSI reference model

The Open Systems Interconnection model (ISO, 1984) divides network communication into seven layers; each layer offers services to the layer above and talks to the same layer on the other machine.

LayerFunctionExamples
7 ApplicationUser services: email, file transfer, webHTTP, FTP, SMTP, DNS
6 PresentationTranslation, encryption, compressionJPEG, SSL/TLS, ASCII
5 SessionDialogue control, synchronization (checkpoints)RPC, NetBIOS
4 TransportProcess-to-process delivery, segmentation, flow and error control (port addresses)TCP, UDP
3 NetworkSource-to-destination delivery, logical (IP) addressing, routingIP, ICMP, routers
2 Data linkFraming, physical (MAC) addressing, error and flow control, access controlEthernet, HDLC, switches
1 PhysicalTransmission of raw bits; cables, connectors, signals, data ratecables, hubs, RJ-45

Data moving down the layers is encapsulated (each layer adds a header; the data link layer also adds a trailer) and is decapsulated on the receiving side. Advantages: standardization, interoperability between vendors, and easier design and troubleshooting.

Q4 – Topology; Bus, Ring and Star

Topology is the physical or logical arrangement of the devices (nodes) and links of a network.

BusRingStar
LayoutAll devices attached to one backbone cable with terminators at both endsEach device connected to two neighbours forming a closed loop; signal travels in one direction (token passing)Each device connected to a central hub/switch by its own cable
AdvantagesEasy to install, least cable, cheapOrderly access (no collisions with token), easy to add repeaters, good performance under heavy loadEasy to install and manage; one cable failure affects only one device; easy fault isolation; robust
DisadvantagesA break in the backbone stops the network; difficult fault isolation; performance drops with more devices; collisionsA break in the ring (or one device failure) can disable the network (unless dual ring); adding devices disturbs the ringMore cable than bus; if the hub fails the whole network fails
ExampleEarly Ethernet (10Base2)IBM Token Ring, FDDIModern Ethernet LANs

Q5 – Switching methods

  • Circuit switching: a dedicated physical path is set up before communication (setup, data transfer, teardown) and held for the whole call. Guaranteed bandwidth and no delay once set up, but wasteful when idle. Example: traditional telephone network.
  • Packet switching – datagram: the message is split into packets; each packet is routed independently and may take a different path and arrive out of order. No setup; efficient; used by IP on the internet.
  • Packet switching – virtual circuit: a logical path is set up first; all packets follow it in order with a VC identifier. Used by X.25, Frame Relay, ATM.
  • Message switching: the whole message is stored at each node and forwarded when the next link is free (store-and-forward); no dedicated path, but large delays and storage; used in old telegraph/email systems.

Circuit switching is best for continuous real-time traffic (voice); packet switching uses bandwidth better for bursty data traffic.

Q6 – IEEE 802.11 architecture and services

IEEE 802.11 is the standard for wireless LANs (Wi-Fi), covering the physical and MAC layers.

  • BSS (Basic Service Set): the building block – stations with or without an access point (AP). Without an AP it is an ad hoc network (IBSS); with an AP it is an infrastructure network.
  • ESS (Extended Service Set): two or more BSSs with APs connected by a distribution system (usually wired Ethernet), so stations can roam between cells.
  • Station types by mobility: no-transition (stays in one BSS), BSS-transition (moves between BSSs in one ESS), ESS-transition (moves between ESSs).
  • MAC sublayer: DCF (Distributed Coordination Function) uses CSMA/CA with DIFS/SIFS, RTS/CTS and ACK frames and the NAV; PCF (Point Coordination Function) is optional polling by the AP for time-sensitive traffic.
  • Physical layer: FHSS, DSSS, infrared, OFDM; versions 802.11a/b/g/n/ac at 2.4 and 5 GHz.

Services: distribution services – association, re-association, disassociation, distribution, integration (with wired networks); station services – authentication, de-authentication, privacy (encryption, WEP/WPA) and MSDU data delivery.

Q7 – Third-generation (3G) systems

3G cellular systems (ITU IMT-2000) provide digital voice plus high-speed data and multimedia: at least 144 kbps for moving users, 384 kbps for pedestrians and 2 Mbps indoors, global roaming and packet-switched data. They use CDMA-based radio access with wider channels than 2G.

  • UMTS / W-CDMA (Europe, Asia – evolved from GSM), with HSPA/HSPA+ upgrades up to 14–42 Mbps.
  • CDMA2000 (1xEV-DO; North America – evolved from IS-95).
  • TD-SCDMA (China).
  • Services: video calls, mobile internet and email, video streaming, mobile TV, location-based services, GPS.

Examples: Ufone, Mobilink (Jazz), Telenor and Zong launched 3G in Pakistan in 2014; smartphones of that time used 3G for internet and video calling. 3G was followed by 4G LTE.

Save this paper for offline studyDownload the question paper, or save the paper together with all solved answers as a PDF.
↓ Download Paper (JPG)

About Saif R

An educator and technology enthusiast passionate about empowering students through quality education and digital learning. Dedicated to making academic resources and opportunities accessible to everyone.