2 Mobile Networks And Connectivity

Mobile Application Development · Unit 2

Mobile Networks and Connectivity

Exam-focused notes for Mobile Networks and Connectivity (Mobile Application Development, BIT406): what the TU syllabus asks and how it has actually been tested, with 6 solved past questions from this unit.

Mobile Networks and Connectivity in short

Mobile networks carry voice and data between phones and the rest of the world. The topic includes the generations of cellular systems and how radio spectrum is shared. It also covers GSM and CDMA, WAP, and how TCP is adapted for wireless links.

Mobile Networks and Connectivity: notes

2G, 3G, and 4G comparison

Each generation of cellular network brought a new radio technology and higher speed.

Feature2G3G4G
Main technologyGSM, CDMA (IS-95)UMTS/WCDMA, CDMA2000LTE, LTE-Advanced
SwitchingCircuit for voice, packet added by GPRSCircuit for voice, packet for dataAll-IP packet switching
Typical peak data rateGSM 9.6 kbps, GPRS up to about 171 kbps, EDGE about 384 kbpsAbout 2 Mbps for UMTS, HSDPA up to 14.4 MbpsLTE-Advanced aims at 1 Gbps
ServicesVoice, SMS, basic dataVideo calls, mobile internetHD video, streaming, VoIP, online games
SignalDigitalDigital, wider channelsDigital, wide channels with OFDMA

Key points:

  • 2G made calls digital and added SMS and encryption.
  • 3G made mobile internet practical.
  • 4G removed circuit switching, so voice also travels as IP packets (VoLTE).
  • The speeds above are theoretical peaks. Real speeds are much lower.

Frequency spectrum and allocation

The frequency spectrum is the range of radio frequencies, measured in hertz (Hz), that can be used for wireless communication. It is a limited resource, so governments and international bodies control how it is shared.

Allocation ideas:

  • Licensed bands are sold or given to an operator, who alone may use them. Cellular networks use these.
  • Unlicensed bands (ISM bands such as 2.4 GHz) can be used by anyone within power limits. Wi-Fi and Bluetooth use these.
  • A regulator in each country (in Nepal, the telecom authority) assigns bands to operators.
  • The ITU coordinates use between countries.

A wider band can carry more data. Lower frequencies travel farther and enter buildings better. Higher frequencies carry more data but cover shorter distances.

Frequency reuse lets an operator use the same frequencies in different cells that are far enough apart. This is the main idea of a cellular network and it increases capacity.

What this unit covers

  • 2G, 3G, and 4G comparison
  • Frequency spectrum and allocation
  • GSM and CDMA technologies
  • WAP proxies and gateways
  • Mobile TCP protocol

Mobile TCP protocol

2081 · 10 marks

What is mobile TCP? Explain the methods for testing mobile applications.[10]

Show solved answer

Mobile TCP and Testing Methods for Mobile Applications

Mobile TCP (5 marks)

Definition

Mobile TCP refers to the adaptation and optimization of the standard TCP (Transmission Control Protocol) to work effectively in mobile and wireless network environments where traditional TCP performs poorly.

Why Mobile TCP is Needed

Standard TCP was designed for wired networks with:

  • Low latency
  • Low error rates
  • Stable connections

Mobile networks have:

  • High latency and variable delays
  • Higher packet loss rates
  • Frequent disconnections
  • Bandwidth fluctuations
  • User mobility

Key Characteristics of Mobile TCP

1. Congestion Control Adaptation

  • Standard TCP interprets all packet losses as congestion
  • Mobile networks lose packets due to wireless errors, not congestion
  • Mobile TCP distinguishes between congestion loss and wireless loss

2. Handling Disconnections

  • Maintains connection state during temporary disconnections
  • Allows seamless reconnection without resetting TCP state
  • Implements local retransmission at base stations

3. Bandwidth Management

  • Adapts to varying bandwidth availability
  • Implements selective acknowledgments (SACK)
  • Uses adaptive timeout mechanisms

Methods for Testing Mobile Applications (5 marks)

1. Functional Testing

  • Verify core features work correctly on target devices
  • Test user interface responsiveness
  • Validate business logic and workflows

2. Performance Testing

  • Measure application response time
  • Monitor CPU and memory usage
  • Test battery consumption
  • Evaluate network bandwidth utilization

3. Compatibility Testing

  • Test across different devices (phones, tablets)
  • Verify functionality on various OS versions (Android, iOS)
  • Test on different screen sizes and resolutions

4. Network Testing

  • Test behavior under different network conditions (WiFi, 3G, 4G, 5G)
  • Simulate network latency and packet loss
  • Test application behavior during network transitions
  • Verify offline functionality

5. Usability Testing

  • Evaluate user interface intuitiveness
  • Test touch gestures and interactions
  • Verify accessibility features
  • Assess user experience on small screens

6. Security Testing

  • Test data encryption and transmission security
  • Verify authentication mechanisms
  • Test authorization controls
  • Check for vulnerabilities in data storage

7. Installation and Update Testing

  • Test application installation process
  • Verify update mechanisms
  • Test uninstallation and cleanup

8. Interruption Testing

  • Test behavior when calls interrupt the app
  • Verify recovery from app suspension
  • Test handling of notifications

Note: Reference notes were not provided for this topic. The answer is based on standard computer science knowledge of mobile networking and software testing practices aligned with typical BSc CSIT curriculum.

Open this answer on its own page →

Frequency spectrum and allocation

2081 · 5 marks

Define frequency spectrum. Compare 2G, 3G and 4G. [5]

Show solved answer

Model Answer: Frequency Spectrum and Mobile Generations (5 marks)

Definition of Frequency Spectrum

The frequency spectrum is the range of frequencies available for wireless communication, typically measured in Hertz (Hz). It represents the electromagnetic frequencies allocated by regulatory authorities for different communication services such as mobile networks, broadcasting, and satellite communications. The spectrum is a finite resource that must be efficiently allocated and managed.


Comparison of 2G, 3G, and 4G

Aspect2G3G4G (LTE)
TechnologyGSM (Global System for Mobile)WCDMA/UMTS (Wideband CDMA)LTE (Long Term Evolution)
Data Rate9.6-14.4 kbps384 kbps - 2 Mbps100 Mbps - 1 Gbps
Frequency Band900 MHz, 1800 MHz800 MHz, 900 MHz, 1800 MHz, 2100 MHz700 MHz - 2600 MHz
ModulationTDMA/FDMACDMAOFDMA (Orthogonal Frequency Division Multiple Access)
Core NetworkCircuit-switchedPacket-switched (mixed)Fully packet-switched (IP-based)
LatencyHigh (~100-500 ms)Medium (~100-200 ms)Low (~50 ms)
ApplicationsVoice, SMSVoice, Video calls, Mobile dataHigh-speed internet, HD video, IoT
Spectrum EfficiencyLowMediumHigh

Key Differences Summary

  • 2G was primarily voice-oriented with limited data capability
  • 3G introduced mobile broadband with improved data speeds
  • 4G provides ultra-high-speed data with lower latency, enabling multimedia streaming and real-time applications
Open this answer on its own page →

0 · 5 marks

Define frequency spectrum. How do you acquire location data? [5]

Frequency spectrum is the representation of a signal in the frequency domain, showing the amplitude (or power) of each frequency component present in a signal. Key characteristics: - It displays how the energy or power of a signal is distributed across different frequencies - Obtained by applying...

Open this answer on its own page →

WAP proxies and gateways

2081 · 5 marks

Explain about WAP proxies and gateways. [5]

WAP (Wireless Application Protocol) proxies and gateways are intermediary servers that act as bridges between mobile devices and internet content servers. They translate, compress, and optimize data for transmission over wireless networks with limited bandwidth and connectivity. - Convert between...

Open this answer on its own page →

GSM and CDMA technologies

2081 · 5 marks

What is mobile IP network? Differentiate between GSM and CDMA. [5]

Mobile IP is a protocol that allows mobile devices (mobile nodes) to maintain continuous network connectivity and seamless communication while moving between different networks or subnets. Key characteristics: - Enables a mobile device to keep the same IP address even when changing physical locat...

Open this answer on its own page →

2G, 3G, and 4G comparison

0 · 5 marks

Compare between 2G, 3G and 4G. [5]

Feature 2G 3G 4G ------------------------ Technology GSM, CDMA WCDMA, CDMA2000 LTE, WiMAX Data Speed 9.6-14.4 kbps 384 kbps - 2 Mbps 100 Mbps - 1 Gbps Bandwidth 25 MHz 5-20 MHz 20 MHz (or more) Frequency 800-1900 MHz 800-2100 MHz 700-2600 MHz Core Network Circuit-switched Packet-switched All IP (...

Open this answer on its own page →