Courses / Mobile Application Development (CDE-315) – BS CS 5th Semester
Final Exam Revision and Exam Guide (Weeks 1–17) + Lab Final
Week 18 – End-Semester (Final) Examination · 180 min read · 40 MCQs to check yourself
Final (End-Semester) Examination – revision guide
This paper covers weeks 1–17 (theory and lab).
Paper pattern
| Part | Questions | Marks |
|---|---|---|
| A – MCQs | 40 × 0.5 | 20 |
| B – Short questions | 10 × 2 | 20 |
| C – Long questions | 2 × 5 | 10 |
| Total | 50 |
Attempt the online MCQ part: MAD Final (End-Semester) Examination – 40 MCQs, 45 minutes.
Topics to revise
| Week | Theory | Lab |
|---|---|---|
| 1 | Introduction to Mobile Applications and Platforms – Mobile applications and their importance, Mobile devices and their characteristics, Types of mobile apps, Mobile application development platforms, App development lifecycle and tools | Android Studio Setup and First App |
| 2 | HTML5 for Mobiles – HTML5 and the mobile web, Viewport and responsive design, HTML5 semantic elements and mobile forms, HTML5 APIs for mobile devices, Progressive web apps and WebView | Mobile-Friendly Web Page |
| 3 | Android OS: Architecture, Framework and Application Development – Android history and versions, Android architecture (software stack), Android application components, Activity lifecycle, Android build process and app development | Student Information App Using Resources |
| 4 | iOS: Architecture and Framework – iOS history and ecosystem, iOS architecture layers, iOS frameworks: UIKit and SwiftUI, iOS app structure and lifecycle, iOS development tools and distribution | Multiple Activities and Navigation |
| 5 | Windows Mobile, Eclipse and Fragments – Windows Mobile and Windows Phone development, Eclipse IDE and Android Studio, Fragments and their lifecycle, Adding and managing fragments, Fragment communication and navigation | Bottom Navigation with Fragments |
| 6 | Intents and Notifications – Intents and their types, Calling built-in applications, Intent filters and intent resolution, Displaying notifications, Notification channels, permission and PendingIntent | Implicit Intents – Browser and Dialer |
| 7 | Screen Components and Orientation – Views and ViewGroups, Layouts, Screen sizes, densities and units, Adapting to display orientation, Managing orientation changes and saving state | Registration Form UI |
| 8 | Action Bar and User Interface Design – The action bar and Toolbar, Options menu and action items, Context menus, popup menus and dialogs, Creating the UI in XML and programmatically, Material Design and UI guidelines | Menus and Messages |
| 10 | UI Events, Views, Preferences and Data Storage – Listening for UI notifications (events), Views and lists, User preferences, Persisting data: files, SQLite and Room, Sharing data between apps | SharedPreferences |
| 11 | Messaging: SMS and Email – SMS basics and the SMS intent, Sending SMS programmatically with SmsManager, Getting feedback after sending, Sending email, Permissions and policies for messaging | Opening SMS and Email Apps |
| 12 | Maps and Consuming Web Services over HTTP – Displaying maps in Android, Working with the Google Maps SDK, HTTP and web service basics, Consuming web services with HttpURLConnection and Retrofit, JSON parsing and networking best practices | Displaying Data from an API |
| 13 | Web Services: Accessing and Creating – Types of web services: SOAP and REST, REST API design principles, Accessing web services securely, Creating a REST web service, Testing, documenting and hosting APIs | Countdown Timer |
| 14 | Threading and Publishing Android Applications – Processes, the main thread and ANR, Threads, Handlers and Executors, ViewModel, LiveData and executors, Background work: services and WorkManager, Preparing and publishing Android applications | Showing a Location on Google Maps |
| 15 | App Store Deployment and Mobile Programming Languages – Publishing on Google Play, Store listing, policies and testing tracks, Apple App Store and other app stores, Native mobile programming languages, Cross-platform languages and frameworks | Current Location Coordinates |
| 16 | Mobility, Wireless Communication and Location-Aware Applications – Challenges with mobility, Wireless communication technologies, Designing for unreliable networks, Positioning technologies, Location-aware applications and privacy | Generating and Installing an APK |
| 17 | Performance, Power, Platform Constraints and Emerging Technologies – Performance and power trade-offs, Android power management, Mobile platform constraints, Measuring and improving performance, Emerging mobile technologies | Campus Feedback App (Mini Project) |
Most important long questions
- (Week 1) Explain native, web, hybrid and cross-platform mobile apps with their advantages and disadvantages. Which approach would you recommend for a small startup and why?
- (Week 1) What is a mobile application development platform? Describe the Android and iOS platforms in detail and compare them in a table.
- (Week 1) Explain the mobile application development lifecycle and the tools used at each stage.
- (Week 2) Explain responsive web design for mobile devices. Discuss the viewport meta tag, fluid grids, flexible images, media queries and the mobile-first approach with suitable code.
- (Week 2) Compare HTML5 mobile web apps, Progressive Web Apps and native apps. Explain how a PWA is made installable and offline-capable.
- (Week 2) Describe any five HTML5 APIs that are useful for mobile web applications, with examples.
- (Week 3) Draw and explain the Android architecture (software stack) in detail.
- (Week 3) Explain the activity lifecycle with a neat diagram. Which methods are called when (a) the app is launched, (b) the user presses Home, (c) the user returns, (d) the user presses Back, and (e) the device is rotated?
- (Week 3) Explain how an Android application is built, from source code to an installable APK, and describe the steps of developing an Android app in Android Studio.
- (Week 4) Explain the architecture of iOS with a diagram. Describe each layer and its important frameworks.
- (Week 4) Describe the structure and lifecycle of an iOS app. Explain UIKit (MVC) and SwiftUI with small code examples, and compare them with Android's View system and Jetpack Compose.
- (Week 5) Discuss application development for Windows Mobile/Windows Phone. Describe its history, development tools, languages and the reasons for its decline. What is Microsoft's mobile strategy today?
- (Week 5) What is a fragment? Explain the fragment lifecycle with a diagram and describe how fragments are added, replaced and communicated with. Give code.
- (Week 5) Describe Android application development using Eclipse with the ADT plug-in, and explain why Google replaced it with Android Studio.
- (Week 6) What are intents? Explain explicit and implicit intents and describe how an app can call built-in applications (browser, dialer, maps, SMS, email, camera) using implicit intents with code. How does Android resolve implicit intents?
- (Week 6) Explain notifications in Android. Describe notification channels, the POST_NOTIFICATIONS permission, NotificationCompat.Builder, PendingIntent and notification styles, with complete code to show a notification that opens the app when tapped.
- (Week 7) What are the components of an Android screen? Explain Views, ViewGroups and the main layouts (LinearLayout, ConstraintLayout, FrameLayout, TableLayout, ScrollView) with XML examples and common attributes.
- (Week 7) How does Android handle screen orientation changes? Explain the problem of losing data on rotation and describe the techniques to adapt to and manage orientation changes, with code.
- (Week 8) Explain how to utilise the action bar in an Android app. Describe the Toolbar, options menu, action items, overflow menu and Up navigation with complete XML and Java code.
- (Week 8) Describe the different ways of creating the user interface in Android (XML layouts, programmatic views and Jetpack Compose). Explain event handling and Material Design guidelines.
- (Week 10) Explain user preferences in Android. Describe SharedPreferences with code for saving, reading, updating and deleting data, compare apply and commit, and mention DataStore and preference screens.
- (Week 10) Describe the different ways of persisting data in Android – files, SQLite and Room – and explain how apps share data with each other using content providers and FileProvider.
- (Week 11) Explain the two ways of sending SMS from an Android app. Write complete code to send an SMS using SmsManager with runtime permission and get feedback when the message is sent and delivered.
- (Week 11) How are emails sent from an Android application? Explain the intent extras, compare ACTION_SENDTO and ACTION_SEND, show how to add an attachment, and discuss why apps should not send email directly with SMTP.
- (Week 12) Explain the different ways of displaying maps in an Android application. Describe in detail how to embed a Google Map with markers using the Maps SDK, including setup, code and common map features.
- (Week 12) What are web services? Explain how an Android app consumes a RESTful web service over HTTP. Describe HTTP methods, status codes, JSON, threading requirements, and give code using both HttpURLConnection and Retrofit.
- (Week 13) What are web services? Compare SOAP and RESTful web services in detail and explain the principles of REST API design with examples of endpoints and status codes.
- (Week 13) Explain how to create a simple RESTful web service and access it from an Android app. Include server code (Node.js/Express or PHP), testing with Postman, security considerations and the Android client code with Retrofit.
- (Week 14) Explain threading in Android. Why must long tasks run in the background? Describe Threads, Handlers, AsyncTask, Executors and the ViewModel + LiveData pattern, with Java code, and explain how results are returned to the UI thread.
- (Week 14) Describe the complete process of preparing, signing and publishing an Android application. Explain versioning, R8, keystores, Play App Signing, and the difference between APK and AAB.
- (Week 15) Describe the complete process of deploying an Android application on Google Play Store, including account setup, app preparation, store listing, policies, testing tracks, review and post-release monitoring. Compare it briefly with publishing on the Apple App Store.
- (Week 15) Discuss the programming languages used for mobile application development. Compare Kotlin, Java, Swift and Objective-C, and explain cross-platform options (Flutter/Dart, React Native/JavaScript, .NET MAUI/C#, Kotlin Multiplatform). How would you choose a language for a new project?
- (Week 16) Discuss the challenges of mobility and wireless communication in mobile application development, and explain how developers can design apps to overcome them.
- (Week 16) What are location-aware applications? Explain the positioning technologies used by smartphones, the Fused Location Provider, geofencing, and the privacy considerations, with examples.
- (Week 17) Discuss performance and power trade-offs in mobile application development. Explain the main sources of energy consumption, Android's power management features (Doze, App Standby, background limits) and techniques developers use to build battery-efficient apps.
- (Week 17) Describe the constraints of mobile platforms and discuss emerging technologies that are shaping the future of mobile application development.
Most important short questions
- (Week 1) Define a mobile application and give four examples from different categories.
- (Week 1) Give four reasons why mobile applications are important today.
- (Week 1) What is mobile computing?
- (Week 1) List four constraints of mobile devices that affect app design.
- (Week 2) Write the basic skeleton of an HTML5 page suitable for mobile devices.
- (Week 2) Give four features of HTML5 that make it suitable for mobile development.
- (Week 2) What is the purpose of the viewport meta tag?
- (Week 2) What is responsive web design? Name its three ingredients.
- (Week 3) What is an API level? Give the API levels of Android 6.0, 8.0 and 16.
- (Week 3) Write any four milestones in the history of Android.
- (Week 3) List the layers of the Android architecture from bottom to top.
- (Week 3) Differentiate between Dalvik and ART.
- (Week 4) Give four characteristics of iOS.
- (Week 4) Name the four layers of iOS architecture and give two frameworks in each.
- (Week 4) What is Cocoa Touch?
- (Week 4) Compare the architectures of Android and iOS briefly.
- (Week 5) How were Windows Phone applications developed?
- (Week 5) Give three reasons why Windows Phone failed.
- (Week 5) Compare Eclipse ADT and Android Studio.
- (Week 5) What is a fragment? Why are fragments used?
- (Week 6) What is an intent? Name its three fundamental uses.
- (Week 6) Differentiate between explicit and implicit intents with one example each.
- (Week 6) List the main parts of an Intent object.
- (Week 6) Write Java code to open the dialer with a phone number and to open a web page.
- (Week 7) Differentiate between View and ViewGroup with examples.
- (Week 7) Differentiate between margin and padding, and between gravity and layout_gravity.
- (Week 7) Name five Android layouts and their use.
- (Week 7) Differentiate between dp, sp and px. Convert 24 dp to px on an xhdpi device.
- (Week 8) What is the action bar? Name its main parts.
- (Week 8) Differentiate between ActionBar and Toolbar.
- (Week 8) Write the steps to create an options menu.
- (Week 8) Explain the values of showAsAction.
- (Week 10) What is an event listener? Name five listeners with their callbacks.
- (Week 10) Differentiate between event listeners and event handlers.
- (Week 10) What is RecyclerView? Name its main components.
- (Week 10) What are SharedPreferences? Write code to save and read a username.
- (Week 11) Write Java code to open the Messages app with a number and text filled in.
- (Week 11) Compare sending SMS by intent and by SmsManager.
- (Week 11) Explain the parameters of SmsManager.sendTextMessage().
- (Week 11) How can an app know whether an SMS was sent and delivered?
- (Week 12) Write code to show a location on Google Maps using coordinates without an API key.
- (Week 12) Compare showing maps with an intent and with the Google Maps SDK.
- (Week 12) List the steps to display a Google Map with a marker using the Maps SDK.
- (Week 12) Name the HTTP methods used for CRUD operations.
- (Week 13) Define web service. Why do mobile apps use web services?
- (Week 13) Differentiate between SOAP and REST.
- (Week 13) List the constraints of REST.
- (Week 13) Design REST endpoints for a feedback resource.
- (Week 14) What is the main thread? State the two threading rules of Android.
- (Week 14) What is an ANR? When does it occur?
- (Week 14) Write code to perform work in a background thread and update the UI.
- (Week 14) Why was AsyncTask deprecated?
- (Week 15) List the steps to publish an Android app on Google Play.
- (Week 15) What is a staged rollout?
- (Week 15) Name the testing tracks available in Google Play Console.
- (Week 15) Compare Google Play and the Apple App Store.
- (Week 16) List the challenges of mobile computing under device, network and mobility/security headings.
- (Week 16) What is handoff?
- (Week 16) Compare 2G, 3G, 4G and 5G.
- (Week 16) Give the range and one use each of Wi-Fi, Bluetooth, BLE and NFC.
- (Week 17) What is meant by the performance/power trade-off in mobile apps? Give three examples.
- (Week 17) List five components that consume battery in a smartphone.
- (Week 17) What is Doze mode?
- (Week 17) List six constraints of mobile platforms.
Exam tips
- Read every question twice; attempt MCQs first.
- Draw diagrams where possible: Android stack, iOS layers, activity/fragment lifecycle, intent resolution, client–server/REST.
- When asked for code, write the key lines correctly (method names, intent actions, manifest permissions) – syntax of the important calls matters more than imports.
- Use comparison tables for "differentiate" questions (explicit vs implicit, APK vs AAB, SOAP vs REST, native vs cross-platform).
- Keep 10 minutes at the end to review.
Lab final practical exam (sample tasks – one is given, 90–120 minutes)
- Save and load a username with SharedPreferences; show "Welcome back" on restart; logout clears it.
- Open the SMS and email apps with prefilled fields from a form.
- Fetch a list from a public API (Retrofit or HttpURLConnection) and show it in a RecyclerView with loading and error states.
- Countdown timer with start, pause, resume and reset that survives rotation.
- Show the device's current coordinates (runtime permission) and open them in Google Maps.
- Generate a signed APK and install it on the emulator/phone.
- Campus Feedback mini project: form + 10-second countdown + current location + email + success message. Viva: permissions, threads/coroutines, storage options, HTTP/REST, APK vs AAB, signing, location priorities and battery.
This lesson ends with a quiz of 40 MCQs. Open the lesson on PrepOasis to take it and save your progress.
Previous: Assignment 4 (Weeks 14–17) – Release-Ready Location App with Performance and Power Study · Next: Course Project – Start Here: Choose Your App, Feature Map, Milestones and Rubric
All lessons in Mobile Application Development (CDE-315) – BS CS 5th Semester