Courses / Mobile Application Development (CDE-315) – BS CS 5th Semester
Mid-Term Revision and Exam Guide (Weeks 1–8) + Lab Mid-Term
Week 9 – Mid-Term Examination · 120 min read · 30 MCQs to check yourself
Mid-Term Examination – revision guide
This paper covers weeks 1–8 (theory and lab).
Paper pattern
| Part | Questions | Marks |
|---|---|---|
| A – MCQs | 20 × 0.5 | 10 |
| B – Short questions | 5 × 2 | 10 |
| C – Long questions | 2 × 5 | 10 |
| Total | 30 |
Attempt the online MCQ part: MAD Mid-Term Examination (Weeks 1–8) – 20 MCQs, 25 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 |
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.
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.
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 mid-term practical exam (sample tasks – one is given, 60–90 minutes)
- Create an app with two activities: the first takes a name and roll number, the second displays them (explicit intent + extras) and returns a reply.
- Build a registration form (TextView, EditText, RadioButton, CheckBox, Button) with validation and a summary that survives rotation.
- Bottom navigation with three fragments, each showing different content.
- Buttons that open the browser, dialer and a map location with implicit intents.
- An options menu with three items that show Toasts/dialogs, plus a context menu. Viva: activity and fragment lifecycles, intents, resources (dp/sp, strings.xml), manifest, menus.
This lesson ends with a quiz of 30 MCQs. Open the lesson on PrepOasis to take it and save your progress.
Previous: Assignment 2 (Weeks 5–8) – "Campus Hub": Fragments, Intents, Notifications and Menus · Next: Week 10 Theory – Listening for UI Notifications; Views; User Preferences; Persisting Data; Sharing Data
All lessons in Mobile Application Development (CDE-315) – BS CS 5th Semester