click below
click below
Normal Size Small Size show me how
mobile prog m1-m4
| Question | Answer |
|---|---|
| --- MODULE 1: Introduction to Android --- | |
| What is Android? | A mobile operating system based on Linux, originally developed by Android Inc. and purchased by Google in 2005. |
| Is Android open or closed source? | Android is open and free. |
| When was the first commercial version of Android released? | In 2008 on the HTC Dream device. |
| What features did Android 1.0 include? | Google Maps, Camera, Gmail, Contacts, Web Browser, WiFi and Bluetooth support. |
| What was added in Android 1.1? | Save attachment in messages and business review details in Google Maps. |
| What was the first Android version with a codename? | Android 1.5 Cupcake. |
| What did Android 1.5 Cupcake introduce? | Uploading videos/photos, MPEG-4 support, video recording, improved web browser copy/paste. |
| What was added in Android 1.6 Donut? | Support for large screens, Gallery and Camera improvements, faster system apps. |
| What features came with Android 2.0/2.1 (Eclair)? | Updated UI, Live Wallpaper, Bluetooth 2.1 support, improved Google Maps. |
| What was introduced in Android 2.2 (Froyo)? | WiFi hotspot, animated GIFs, faster performance, upload support in browser, numeric/alphanumeric passwords. |
| What was Android 2.3 Gingerbread known for? | Improved copy-paste, new UI, social networking support, improved keyboard. |
| What was unique about Android 3.x Honeycomb? | Designed for tablets with 3D UI, Google eBooks, Google Talk Video Chat, improved WiFi and Flash support. |
| What new features came with Android 4.0 Ice Cream Sandwich? | Face Lock, WiFi direct, photo editing, better keyboard, video recording improvements, multiple browser tabs. |
| What was the main feature of Android 4.1–4.3 Jelly Bean? | Google Now, smoother UI, security enhancements, voice typing, multi-user tablet accounts. |
| What innovation did Android 4.4 KitKat add? | “OK Google” voice activation, screen recording, GPS support, offline music. |
| What was significant about Android 5.x Lollipop? | New Material Design, ART runtime, better battery saving, multiple SIM card support. |
| What new security was added in Android 6.0 Marshmallow? | Fingerprint authentication and App Permission model. |
| What multitasking feature came with Android 7.0 Nougat? | Split-screen mode. |
| What did Android 8.0 Oreo add? | Picture-in-Picture mode, adaptive icons, improved notifications. |
| What improvements came in Android 9.0 Pie? | Screenshot button, Lockdown mode, display cutout support, Adaptive Battery and Adaptive Brightness. |
| What was Android 10’s codename? | Queen Cake (Quince Tart). |
| What was introduced in Android 10? | Background location permissions, system-wide dark mode, sharing shortcuts. |
| What were some features of Android 11? | Native screen recording, notification history, auto-revoke app permissions. |
| What was Android 12’s dessert name? | Snow Cone. |
| What did Android 12 introduce? | Scrolling screenshots, one-handed mode, Game Mode APIs. |
| What was Android 13’s dessert name? | Tiramisu. |
| What did Android 13 add? | New reading mode, QR scanner, digital car keys, better security. |
| What was Android 14’s dessert name? | Upside Down Cake. |
| What did Android 14 add? | Smarter scaling, predictive back gestures, protected PIN, health connect. |
| What is Android 15’s dessert name? | Vanilla Ice Cream. |
| What are the 5 layers of Android Architecture? | Applications, Android Framework, Android Runtime, Platform Libraries, Linux Kernel. |
| Which Android component provides core OS services? | Linux Kernel. |
| --- MODULE 2: Android Studio --- | |
| What are the prerequisites for installing Android Studio? | JDK and Android Studio. |
| Where can you download Android Studio? | From developer.android.com/studio. |
| What is the minimum first step to create a new Android project? | Select "Start a new Android Studio project" or File > New > New Project. |
| In project configuration, what default name is suggested? | "My First App". |
| What is the default package name in the first project example? | com.example.myfirstapp. |
| Which programming languages can you choose in Android Studio? | Java or Kotlin. |
| Which part of Android Studio lets you run your app? | The toolbar. |
| Which window in Android Studio is used to write and edit code? | The editor window. |
| Which bar displays the status of your project and IDE? | The status bar. |
| How can you run your application on a real device? | Connect the device, enable Developer options, and enable USB Debugging. |
| How do you run your application on an emulator? | Use the Device Manager, create a device, select screen size, and select Android SDK version. |
| --- MODULE 3: Introduction to Kotlin --- | |
| What is Kotlin? | A modern programming language released in 2016 by JetBrains, compatible with Java, concise and safe. |
| Is Kotlin free? | Yes, Kotlin is free and open-source. |
| What are common uses of Kotlin? | Mobile apps, web development, server-side applications, and data science. |
| What keyword is used to declare a function in Kotlin? | fun. |
| What is the main() function used for? | It serves as the entry point of a Kotlin program. |
| Does Kotlin require semicolons at the end of statements? | No, semicolons are optional. |
| How do you write comments in Kotlin? | // for single-line and /* */ for multi-line. |
| What is the difference between val and var in Kotlin? | val creates immutable variables, var creates mutable variables. |
| What are Kotlin’s basic control structures? | if, if-else, if-else-if, when, while, do-while, for loop. |
| What is an init block in Kotlin? | A block inside a class that executes initialization code. |
| What are Kotlin’s constructors? | Primary constructor and secondary constructors. |
| What is inheritance in Kotlin? | Ability of a class to inherit properties and methods from another class. |
| Name one feature Kotlin has that Java does not. | Null safety, extension functions, smart casts. |
| How do you convert Java code to Kotlin in Android Studio? | Right-click on a Java file and choose “Convert Java File to Kotlin File” or press Ctrl+Alt+Shift+K. |
| What are the two methods of converting Java to Kotlin? | Converting an entire file or adding a new Kotlin file and pasting Java code. |
| --- MODULE 4: Application Components and Resources --- | |
| What are application components in Android? | The essential building blocks of an Android app, defined in AndroidManifest.xml. |
| Name the four main Android components. | Activities, Services, Broadcast Receivers, Content Providers. |
| What is an Activity? | A single screen with a UI where user interaction happens. |
| What is a Service? | A background component that performs long-running operations (e.g., music playback). |
| What is a Broadcast Receiver? | A component that responds to broadcast messages from the system or apps. |
| What is a Content Provider? | A component that manages access to structured data such as databases or files. |
| Name some additional Android components. | Fragments, Views, Layouts, Intents, Resources, Manifest. |
| What are Android Resources? | External files such as images, layouts, strings, colors, animations used in apps. |
| Where are Android resources stored? | In the res/ directory under subfolders (drawable, layout, values, etc.). |
| What are drawable resources? | Images or XML shapes stored in res/drawable/. |
| What are layout resources? | XML files defining the UI layout, stored in res/layout/. |
| What are values resources? | XML files that contain strings, colors, dimensions, and styles, stored in res/values/. |
| What are menu resources? | XML files defining app menus, stored in res/menu/. |
| What are raw resources? | Arbitrary files stored in res/raw/, accessed via Resources.openRawResource(). |
| What are font resources? | Fonts like TTF/OTF files stored in res/font/. |
| How are resources accessed in code? | Using the R class (e.g., R.drawable.image, R.string.value). |
| How are resources accessed in XML? | By referencing @resourceType/resourceName (e.g., @string/app_name). |