What is an activity in Android? A. Activity performs actions on the screen B. Manages application content C. Controls screen UI D. None of the above Answer: A
What is the lifecycle of a service in Android? A. onCreate() → onStartCommand() → onDestroy() B. onReceive() C. Same as activity lifecycle D. None of the above Answer: A
What is the purpose of AsyncTask in Android? A. Runs in the foreground B. Handles background tasks and updates the UI thread C. Controls the AndroidManifest.xml D. None of the above Answer: B
Which Android permission is required to access the location? A. GPRS B. ACCESS_FINE_LOCATION and ACCESS_COARSE_LOCATION C. Internet D. WiFi Answer: B
What is the purpose of a sandbox in Android? A. A feature to debug apps B. Ensures apps run securely without interfering with others C. Handles memory management D. None of the above Answer: B
Which UI framework is used in Android? A. UIKit B. AppKit C. Android SDK D. None of the above Answer: C
iOS Development
What is the JSON framework supported by iOS? A. UIKit B. SBJson C. JSONKit D. CoreJSON Answer: B
What does ARC stand for in iOS development? A. Auto Reference Check B. Automatic Reference Counting C. Adaptive Reference Code D. App Reference Compiler Answer: B
Which is the default property type in iOS? A. Atomic B. Non-atomic C. Strong D. Weak Answer: A
What is the purpose of a bundle ID in iOS? A. Identifies the app uniquely within a development team B. Helps in debugging C. Specifies app configuration D. None of the above Answer: A
Which framework is not part of iOS? A. UIKit B. Core Motion C. AppKit D. Foundation Answer: C
General Mobile Development
Which of the following is the primary language used for Android development? A. Swift B. Java C. Kotlin D. Both B and C Answer: D
What is a hybrid app? A. App developed with a single codebase for multiple platforms B. App designed only for Android C. An iOS-exclusive application D. None of the above Answer: A
Which mobile app framework uses Dart programming? A. React Native B. Flutter C. Xamarin D. Angular Answer: B
Which tool is used to debug Android applications? A. Logcat B. Crashlytics C. Firebase D. All of the above Answer: D
What is the advantage of native apps over web apps? A. Faster performance B. Access to device features like camera and GPS C. Better offline capabilities D. All of the above Answer: D