Mobile Computing
Mobile Computing
Mobile Computing
1. To implement a basic function of Code Division Multiple Access (CDMA) to test the
orthogonally and autocorrelation of a code to be used for CDMA operation. Write an application
based on the above concept.
2. Implementation of GSM security algorithms (A3/A5/A8)
3. Write an application that draws basic graphical primitives on the screen.
4. Develop a native application that uses GPS location information.
5. Design an android Application for Frame Animation
6. Create a simulation to show working of 3G Mobile network
7. Create a simulation to show working of 4G Mobile network
Here’s a brief overview of how to approach each of these projects, along with some guidance for
implementation:
Objective: Create an application to draw basic shapes like lines, circles, rectangles, etc.
Approach:
Use a graphics library suitable for your programming environment (e.g., Pygame for
Python, Java Swing).
Printed using Save ChatGPT as PDF, powered by PDFCrowd HTML to PDF API. 1/16
Create a window and implement event handling for mouse clicks to draw shapes.
Allow the user to choose colors and shapes through a simple menu.
Implement a clear function to reset the canvas.
Objective: Develop a native application that uses GPS for location tracking.
Approach:
Use a mobile development framework (e.g., Android Studio for Android).
Request location permissions and access the device's GPS.
Display the user's current location on a map (use Google Maps API).
Implement features like tracking movement, saving locations, and displaying coordinates.
Objective: Design an application that uses frame animation to display sequences of images.
Approach:
Use Android Studio with the built-in animation classes.
Create a series of drawable images for the animation.
Use `AnimationDrawable` to create frame animation by adding the images.
Implement controls to start, stop, and loop the animation.
Additional Tips
Tools and Frameworks: Depending on your skillset, choose appropriate tools (e.g., Java for
Android, Python for simulations).
Research: Look into academic papers, articles, or existing projects for insights and
methodologies.
Testing: Ensure to test each component thoroughly to ensure functionality.
Documentation: Maintain clear documentation of your code and processes for future reference.
Printed using Save ChatGPT as PDF, powered by PDFCrowd HTML to PDF API. 2/16
If you need more detailed guidance or code snippets for any specific project, feel free to ask!
Here are some potential viva questions and their answers related to the projects you've mentioned.
These can help you prepare for discussions during practical assessments.
1. CDMA Functionality
Printed using Save ChatGPT as PDF, powered by PDFCrowd HTML to PDF API. 3/16
Q: How do you obtain GPS location data in your application?
A: GPS location data is obtained by using the device's location services. The application requests the
necessary permissions, and once granted, it accesses the GPS hardware to receive updates on the
user's current location.
Printed using Save ChatGPT as PDF, powered by PDFCrowd HTML to PDF API. 4/16
Q: What challenges did you face during the development of your projects?
A: Challenges included understanding complex algorithms, managing resource constraints, ensuring
compatibility across devices, and debugging issues that arose during development.
Feel free to adapt these questions and answers based on your specific implementation and
understanding of the topics!
Here's a brief summary for each of these topics in mobile computing and wireless communication:
Mobile computing refers to the ability to use computing devices (like smartphones and tablets)
while moving, without being tethered to a network. It enables users to access data and
applications over wireless networks, providing real-time information and communication.
Printed using Save ChatGPT as PDF, powered by PDFCrowd HTML to PDF API. 5/16
4. Generations of Mobile Wireless (1G to 5G)
Future advancements may include 6G with even lower latency and higher speeds, more AI-
powered applications, and widespread adoption of IoT in smart cities and industries.
Radio frequencies are used for wireless communication by transmitting electromagnetic signals
over different frequencies. Devices use different frequency bands depending on the application
(e.g., 900 MHz for GSM, 2.4 GHz for Wi-Fi).
PSTN is the traditional circuit-switched network for telephone calls. It is based on physical
switches and circuits that establish a dedicated path between caller and receiver.
PCS is a type of wireless mobile communication service offering enhanced voice and data
services. The architecture includes base stations, mobile switching centers, and back-end
services.
9. Bluetooth
Bluetooth is a wireless technology standard for exchanging data over short distances. It operates
at 2.4 GHz, supporting devices like smartphones, headsets, and IoT devices within a limited
range.
Ad-hoc networks are decentralized wireless networks where devices communicate directly
without a fixed infrastructure. These networks are suitable for emergency communication,
military applications, and disaster recovery.
WAP is a protocol suite for accessing internet services on mobile devices. It enables wireless data
communication over low-speed networks by optimizing the content for mobile displays.
WAP is used in mobile banking, news updates, email, and weather services, allowing simplified
access to web-based applications on mobile devices.
Printed using Save ChatGPT as PDF, powered by PDFCrowd HTML to PDF API. 6/16
13. WAP Architecture and Protocol Stack
MAC (Media Access Control): Controls how devices access the communication medium.
SDMA (Space Division Multiple Access): Divides space into separate channels to increase
network capacity.
FDMA (Frequency Division Multiple Access): Divides frequency bands into channels.
TDMA (Time Division Multiple Access): Divides each frequency into time slots for multiple
users.
CDMA (Code Division Multiple Access): Allows multiple users to share the same frequency by
assigning unique codes.
Cellular networks divide geographical areas into cells, each served by a base station. Calls are
transferred between cells as users move, providing seamless connectivity.
Cellular Systems: Divide areas into cells to manage frequency reuse and minimize interference.
Frequency Management: Allocates specific frequency bands to minimize interference.
Channel Assignment: Assigns channels to calls to prevent cross-cell interference.
Hard Handoff: Drops the current connection before establishing a new one, typically used in
GSM.
Soft Handoff: Maintains both connections during the transition, common in CDMA.
Horizontal Handoff: Between cells of the same network.
Vertical Handoff: Between different types of networks (e.g., Wi-Fi to cellular).
Printed using Save ChatGPT as PDF, powered by PDFCrowd HTML to PDF API. 7/16
### 1\. **Introduction to Mobile Computing** * Mobile computing refers to the ability to use
computing devices (like smartphones and tablets) while moving, without being tethered to a
network. It enables users to access data and applications over wireless networks, providing real-
time information and communication. ### 2\. **Constraints in Mobile Computing** * **Battery
Life**: Limited power capacity of mobile devices. * **Network Reliability**: Connection stability
varies due to coverage issues and interference. * **Bandwidth**: Limited data transmission rates
over wireless networks. * **Security**: Higher vulnerability due to open wireless networks. ### 3\.
**Applications of Mobile Computing** * **Healthcare**: Remote patient monitoring and
telemedicine. * **Transportation**: GPS navigation, ride-sharing services. * **Banking**: Mobile
banking and e-wallets. * **Retail**: E-commerce, mobile payments, and inventory tracking. *
**Social Media**: Platforms like Facebook, Instagram, and WhatsApp. ### 4\. **Generations of
Mobile Wireless (1G to 5G)** * **1G**: Analog voice transmission, limited to voice calls only. *
**2G**: Digital voice, SMS, and basic data. * **3G**: Higher speeds, mobile internet, video calls. *
**4G**: Enhanced speed, streaming HD video, VoIP, gaming. * **5G**: Extremely high speed, low
latency, supports IoT and massive device connectivity. ### 5\. **Future of Mobile Computing** *
Future advancements may include 6G with even lower latency and higher speeds, more AI-
powered applications, and widespread adoption of IoT in smart cities and industries. ### 6\.
**Radio Frequency Technology** * Radio frequencies are used for wireless communication by
transmitting electromagnetic signals over different frequencies. Devices use different frequency
bands depending on the application (e.g., 900 MHz for GSM, 2.4 GHz for Wi-Fi). ### 7\. **Public
Switched Telephone Network (PSTN)** * PSTN is the traditional circuit-switched network for
telephone calls. It is based on physical switches and circuits that establish a dedicated path
between caller and receiver. ### 8\. **Public Communication Service (PCS) and PCS Architecture**
* PCS is a type of wireless mobile communication service offering enhanced voice and data
services. The architecture includes base stations, mobile switching centers, and back-end services.
### 9\. **Bluetooth** * Bluetooth is a wireless technology standard for exchanging data over
short distances. It operates at 2.4 GHz, supporting devices like smartphones, headsets, and IoT
devices within a limited range. ### 10\. **Ad-hoc Networks** * Ad-hoc networks are decentralized
wireless networks where devices communicate directly without a fixed infrastructure. These
networks are suitable for emergency communication, military applications, and disaster recovery.
### 11\. **Introduction to WAP (Wireless Application Protocol)** * WAP is a protocol suite for
accessing internet services on mobile devices. It enables wireless data communication over low-
speed networks by optimizing the content for mobile displays. ### 12\. **WAP Applications** *
WAP is used in mobile banking, news updates, email, and weather services, allowing simplified
access to web-based applications on mobile devices. ### 13\. **WAP Architecture and Protocol
Stack** * WAP architecture consists of layers similar to the OSI model, including: * **Application
Layer**: Provides user interaction with content. * **Session Layer**: Manages user sessions. *
**Transaction Layer**: Handles transactions. * **Security Layer**: Ensures secure data transfer. *
**Transport Layer**: Manages end-to-end data transfer. ### 14\. **Challenges in WAP** *
**Limited bandwidth**: Low-speed data transmission. * **Device constraints**: Limited display
size and processing power. * **Security**: Protection of data transmitted over open networks. ###
15\. **Ad-hoc Wireless Network Routing Protocols: DSDV and AODV** * **DSDV (Destination-
Sequenced Distance-Vector)**: A proactive protocol that maintains routing tables to keep track of
network topology. * **AODV (Ad hoc On-Demand Distance Vector)**: A reactive protocol that
establishes routes only when needed, reducing overhead in dynamic networks. ### 16\.
Printed using Save ChatGPT as PDF, powered by PDFCrowd HTML to PDF API. 8/16
**Wireless Application Protocols: MAC, SDMA, FDMA, TDMA, CDMA** * **MAC (Media Access
Control)**: Controls how devices access the communication medium. * **SDMA (Space Division
Multiple Access)**: Divides space into separate channels to increase network capacity. * **FDMA
(Frequency Division Multiple Access)**: Divides frequency bands into channels. * **TDMA (Time
Division Multiple Access)**: Divides each frequency into time slots for multiple users. * **CDMA
(Code Division Multiple Access)**: Allows multiple users to share the same frequency by assigning
unique codes. ### 17\. **Cellular Wireless Networks** * Cellular networks divide geographical
areas into cells, each served by a base station. Calls are transferred between cells as users move,
providing seamless connectivity. ### 18\. **Wireless Communication: Cellular Systems, Frequency
Management, and Channel Assignment** * **Cellular Systems**: Divide areas into cells to
manage frequency reuse and minimize interference. * **Frequency Management**: Allocates
specific frequency bands to minimize interference. * **Channel Assignment**: Assigns channels to
calls to prevent cross-cell interference. ### 19\. **Types of Handoff and Their Characteristics** *
**Hard Handoff**: Drops the current connection before establishing a new one, typically used in
GSM. * **Soft Handoff**: Maintains both connections during the transition, common in CDMA. *
**Horizontal Handoff**: Between cells of the same network. * **Vertical Handoff**: Between
different types of networks (e.g., Wi-Fi to cellular).
provide the viva questions and answers
Here's a list of viva questions and answers for these mobile computing and wireless communication
topics:
Printed using Save ChatGPT as PDF, powered by PDFCrowd HTML to PDF API. 9/16
It is a technology for wireless communication where signals are transmitted over radio
waves at specific frequencies based on applications like Wi-Fi, Bluetooth, and mobile
networks.
10. What are ad-hoc networks, and where are they used?
Ad-hoc networks are decentralized networks where devices communicate without fixed
infrastructure. They're used in emergency communication, military, and disaster recovery.
14. What are DSDV and AODV in ad-hoc network routing protocols?
DSDV is proactive, maintaining routing tables for topology, while AODV is reactive, creating
routes only when needed, which is efficient for dynamic networks.
15. Explain MAC, SDMA, FDMA, TDMA, and CDMA in wireless protocols.
MAC controls media access, SDMA separates channels spatially, FDMA splits frequencies,
TDMA allocates time slots, and CDMA assigns unique codes for each user on the same
frequency.
17. How does frequency management and channel assignment work in cellular systems?
Printed using Save ChatGPT as PDF, powered by PDFCrowd HTML to PDF API. 10/16
Frequency management assigns frequency bands to minimize interference, while channel
assignment allocates specific channels to calls, preventing cross-cell interference.
Global System for Mobile Communications (GSM) architecture , Mobile Station, Base Station
System, Switching subsystem, Security, Data Services, HSCSD, GPRS - GPRS system and
protocol architecture 2.3 UTRAN, UMTS core network; Improvements on Core Network, 802.11
Architecture 802.11a, 802.11b standard GSM MAP Service framework, MAP protocol
machine, GSM location management, Transaction
management, Mobile database, Introduction to location management HLR andLR
VLR and HLR Failure restoration, VLR identification algorithm, O-I, O-II algorithm etc.
Overview of handoff process; Factors affecting handoffs and performance evaluation metrics;
Handoff strategies; Different types of handoffs (soft, hard, horizontal, vertical). Mobile IP ,
IP packet delivery, Tunnelling and encapsulation, IPv6, DHCP, Vehicular Ad Hoc
networks ( VANET), MANET , Traditional TCP, Snooping TCP, Mobile TCP, 3G wireless
network, Wireless Application Protocol, WDP WTP, WML, WTA architecture, Cellular IP
3G and 4G Technologies for GSM and CDMA:, W-CDMA, UMTS, HSPA (High Speed Packet
Access), HSDPA, HSUPA, HSPA+, TD-SCDMA, LTE (E-UTRA) 3GPP2 family CDMA2000 1x,
1xRTT, EV-DO (Evolution-Data Optimized), Long Term Evolution (LTE) in 4G. Architecture of
5G. Role of 5G in IoT.
Here's a summary for each of these topics in mobile communication and wireless network
technologies:
Printed using Save ChatGPT as PDF, powered by PDFCrowd HTML to PDF API. 11/16
Network and Switching Subsystem (NSS): Responsible for call management, switching,
and subscriber data; includes components like the MSC (Mobile Switching Center), HLR
(Home Location Register), and VLR (Visitor Location Register).
Security and Data Services: Ensures secure communication, data encryption, and user
authentication.
HSCSD: An improvement over GSM, allowing higher data speeds by combining multiple GSM
channels.
GPRS: Adds packet-switched data services to GSM, enabling mobile internet and email services
with the GPRS system and protocol architecture.
MAP (Mobile Application Part): A protocol that supports GSM services like location
management and transaction management. It uses databases such as HLR and VLR for
managing user location.
HLR (Home Location Register): Stores user information and location when they are within their
home network.
VLR (Visitor Location Register): Temporarily stores subscriber information when users roam
outside their home network.
Failure Restoration: Procedures for restoring VLR and HLR in case of system failure.
Identification Algorithms (O-I, O-II): Used for efficient tracking and management of mobile
subscribers.
Handoff: Transferring a call or data session from one cell or channel to another.
Hard Handoff: Breaks the old connection before establishing a new one.
Soft Handoff: Connects to the new channel before disconnecting the old one.
Horizontal Handoff: Between cells in the same network.
Vertical Handoff: Between different network types, like Wi-Fi and cellular.
Performance Metrics: Metrics like call drop rate and handoff delay are used to evaluate handoff
performance.
Printed using Save ChatGPT as PDF, powered by PDFCrowd HTML to PDF API. 12/16
8. Mobile IP and IP Packet Delivery
Mobile IP: A protocol enabling mobile devices to maintain IP connectivity while moving between
networks.
Tunneling and Encapsulation: Techniques that allow IP packets to be sent over a network by
encapsulating them within another protocol.
IPv6: The next generation of IP with a larger address space.
DHCP (Dynamic Host Configuration Protocol): Assigns IP addresses to devices on a network.
VANET: Ad hoc networks specifically for vehicles, enabling communication between vehicles and
roadside units.
MANET: A decentralized network where mobile devices communicate directly with each other.
Traditional TCP: Optimized for stable, wired connections, but can be inefficient for mobile
networks.
Snooping TCP: Reduces packet loss over wireless links by snooping packets at the base station.
Mobile TCP: Addresses issues in mobile environments, such as disconnection.
WDP (Wireless Datagram Protocol): Transport layer for WAP, similar to UDP.
WTP (Wireless Transaction Protocol): Provides transaction-oriented services.
WML (Wireless Markup Language): Language for displaying content on mobile devices.
WTA (Wireless Telephony Application): Architecture for integrating voice and data services.
CDMA2000 1x: A 3G standard for CDMA with improved voice and data capabilities.
1xRTT: A version of CDMA2000 offering moderate data speeds.
EV-DO (Evolution-Data Optimized): A CDMA2000 protocol for high-speed data.
14. Architecture of 5G
5G Architecture: Includes a flexible, cloud-based core network, and a radio access network with
low latency and high capacity to support applications like IoT, augmented reality, and
autonomous vehicles.
Printed using Save ChatGPT as PDF, powered by PDFCrowd HTML to PDF API. 13/16
5G for IoT: Provides the speed and connectivity needed for massive IoT deployments, enabling
applications like smart cities, connected cars, and remote industrial monitoring.
Here is a set of possible viva questions along with answers, covering key concepts from practical
topics related to mobile communication, network architecture, and wireless protocols:
Answer: The HLR (Home Location Register) stores permanent subscriber information and their
current location within the home network. The VLR (Visitor Location Register) stores temporary
subscriber information when they roam into another network area.
Answer: Handoff transfers an ongoing call from one cell or channel to another as the user
moves. There are different types: hard handoff (disconnects before reconnecting), soft handoff
(connects to a new channel before disconnecting the old one), horizontal handoff (within the
same network), and vertical handoff (between different networks, like cellular and Wi-Fi).
Answer: The MAP protocol supports various services like location tracking and call setup. It
enables GSM functions like roaming and call forwarding by managing data between network
elements like the HLR, VLR, and MSC.
Answer: 3G provides moderate-speed mobile internet, supports video calls, and internet
browsing. 4G, however, offers higher data rates, low latency, and supports HD streaming,
gaming, and enhanced mobile broadband experiences, enabling services like video conferencing
and online gaming.
Printed using Save ChatGPT as PDF, powered by PDFCrowd HTML to PDF API. 14/16
Answer: CDMA (Code Division Multiple Access) assigns a unique code to each user in the same
frequency band, enabling multiple users to communicate simultaneously. FDMA (Frequency
Division Multiple Access) divides the frequency band into separate channels, assigning each
user a different frequency.
Answer: Mobile IP is a protocol that allows devices to maintain their IP address while moving
across different networks, crucial for maintaining continuous connectivity in mobile
environments.
Answer: Tunneling encapsulates the data packets in a new IP header, allowing them to be
routed to a mobile device's current location, even if it changes network. It maintains session
continuity by hiding the mobility of the device from the rest of the network.
Answer: VANET (Vehicular Ad-Hoc Network) is a network of vehicles and roadside units that
communicate with each other. It’s primarily used for traffic management, accident alerts, and
enhancing road safety.
Answer: WAP (Wireless Application Protocol) is a set of protocols that allows mobile devices to
access internet services, especially designed for low-bandwidth and small display devices. It
supports applications like mobile banking, email, and internet browsing.
13. Describe the main differences between traditional TCP and Mobile TCP.
Answer: Traditional TCP assumes stable, wired connections and is less effective in mobile
environments. Mobile TCP addresses challenges like packet loss and disconnection in mobile
networks by incorporating techniques for better handling mobile connectivity issues.
Printed using Save ChatGPT as PDF, powered by PDFCrowd HTML to PDF API. 15/16
Answer: 5G provides high-speed, low-latency connectivity that is essential for IoT applications,
enabling real-time data transmission, support for a large number of connected devices, and high
reliability, which is crucial for smart cities, autonomous vehicles, and remote healthcare.
Answer: LTE (Long Term Evolution) is a 4G technology that provides high-speed data, low
latency, and a scalable network structure. It allows for faster internet and better quality for
services like HD streaming and online gaming.
Answer: Soft handoff allows a mobile device to connect to a new cell before disconnecting from
the current one, providing a smoother transition. Hard handoff disconnects the current
connection before establishing a new one, which may cause brief interruptions.
Answer: HSPA enhances UMTS by providing higher data rates for faster internet and improved
network capacity, making mobile internet and applications like video calls more feasible in 3G
networks.
Answer: IPv4 uses a 32-bit address space, which is nearly exhausted. IPv6 uses a 128-bit address
space, allowing for a significantly larger number of IP addresses, improved routing, and
enhanced security features.
Answer: MANETs (Mobile Ad-Hoc Networks) are self-configuring networks of mobile devices
connected without a fixed infrastructure. They’re useful in environments like disaster recovery
and military operations, where quick and flexible network deployment is essential.
These questions aim to cover the critical concepts of mobile computing, GSM architecture, network
protocols, IP mobility, and advancements in wireless technology up to 5G. Each answer provides a
concise explanation suitable for a practical viva examination.
ChatGPT can make mistakes. Check important info.
Printed using Save ChatGPT as PDF, powered by PDFCrowd HTML to PDF API. 16/16