




















































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





















































































Question 1. Which mobile network generation introduced the concept of LTE‑Advanced and higher data rates up to 1 Gbps? A) 2G B) 3G C) 4G D) 5G Answer: C Explanation: LTE‑Advanced is an evolution of 4G (Long Term Evolution) that delivers peak download speeds approaching 1 Gbps. Question 2. In the CIW Mobile exam, which type of app is built using Swift for iOS and Kotlin for Android, compiled to native binaries, and has direct access to platform APIs? A) Hybrid app B) Progressive Web App C) Native app D) Mobile web app Answer: C Explanation: Native apps are written in platform‑specific languages (Swift, Kotlin/Java) and compiled to run directly on the device, granting full API access. Question 3. Which of the following best describes a Progressive Web App (PWA)? A) An app packaged with Apache Cordova B) A web page that can be installed, works offline, and uses service workers C) A native app that runs on iOS only D) A responsive website without offline support Answer: B
Explanation: PWAs use service workers and a manifest file to provide installability, offline capability, and native‑like experiences. Question 4. Which design principle emphasizes that touch targets should be at least 48 dp in size on Android devices? A) Visual hierarchy B) Consistency C) Tap target size D) Minimalism Answer: C Explanation: Android’s Material Design recommends a minimum touch target of 48 dp to ensure comfortable tapping. Question 5. The Apple Human Interface Guidelines (HIG) recommend using which navigation pattern for hierarchical content on iPhone? A) Bottom navigation bar B) Hamburger menu C) Tab bar D) Navigation controller (stack) Answer: D Explanation: HIG suggests a navigation controller that pushes and pops view controllers, forming a stack for hierarchical navigation. Question 6. Which CSS layout module is most suitable for creating a two‑column mobile layout where the sidebar collapses under the main content on narrow screens? A) Float layout B) Flexbox
Question 9. Which API provides the device’s current latitude and longitude in a web browser? A) MediaDevices API B) Geolocation API C) Battery Status API D) DeviceOrientation API Answer: B Explanation: The Geolocation API accesses GPS, Wi‑Fi, or cellular data to return geographic coordinates. Question 10. Which Cordova plugin is used to access the device’s camera for capturing photos? A) cordova-plugin-geolocation B) cordova-plugin-device C) cordova-plugin-camera D) cordova-plugin-file Answer: C Explanation: cordova-plugin-camera exposes native camera functionality to JavaScript code. Question 11. In React Native, which component is used to create a scrollable view that works on both iOS and Android? A) B) C) D) Answer: B
Explanation: provides a generic scrolling container across platforms. Question 12. Which Flutter widget is analogous to Android’s RecyclerView for efficiently displaying large data sets? A) ListView.builder B) Column C) Container D) Stack Answer: A Explanation: ListView.builder lazily builds its children, similar to RecyclerView’s view recycling. Question 13. Which of the following is a primary benefit of using a hybrid framework like Ionic? A) Direct access to native APIs without plugins B** C) Ability to write once in HTML/CSS/JS and deploy to multiple platforms D) Higher performance than fully native code Answer: C Explanation: Ionic lets developers use web technologies to build apps that run inside a native wrapper on iOS and Android. Question 14. Which Android file contains the app’s metadata such as version code, permissions, and activities? A) AndroidManifest.xml B) build.gradle C) strings.xml
B) Implicit Grant C) Client Credentials Grant D) Resource Owner Password Credentials Grant Answer: A Explanation: PKCE (Proof Key for Code Exchange) enhances the Authorization Code flow for public clients like native apps. Question 18. When testing a mobile app’s battery consumption, which tool is recommended for Android developers? A) Xcode Instruments B) Android Profiler (Battery section) C) Chrome DevTools D) Safari Web Inspector Answer: B Explanation: Android Studio’s Profiler includes a Battery section that measures power usage during app execution. Question 19. Which of the following is NOT a recommended practice for App Store Optimization (ASO)? A) Including relevant keywords in the app title B) Using high‑resolution screenshots that accurately depict the app C) Filling the description with unrelated popular keywords to increase visibility D) Localizing app metadata for target markets Answer: C Explanation: Keyword stuffing with unrelated terms can lead to rejection and harms discoverability.
Question 20. In responsive design, which CSS media query would target devices with a maximum width of 480 px? A) @media (min-width: 480px) { … } B) @media (width: 480px) { … } C) @media (max-width: 480px) { … } D) @media (device-width: 480px) { … } Answer: C Explanation: (max-width: 480px) applies styles when the viewport is 480 px or narrower. Question 21. Which HTML5 element is best suited for drawing graphics that respond to touch input on mobile devices? A) B) C) D) Answer: B Explanation: provides a raster drawing surface that can be manipulated via JavaScript, ideal for touch‑driven graphics. Question 22. Which CSS property enables smooth transitions when a user taps a button, changing its background color over 0.3 seconds? A) animation-duration B) transition-timing-function C) transition-property D) transition Answer: D
C) Support for named grid areas D) Automatic fallback for older browsers Answer: B Explanation: Flexbox excels at one‑dimensional layouts (row or column) and dynamic wrapping, which is common in mobile UI. Question 26. Which iOS class provides access to the device’s gyroscope and accelerometer data? A) CLLocationManager B) CMMotionManager C) AVAudioRecorder D) UIDevice Answer: B Explanation: CMMotionManager (Core Motion) supplies motion sensor data including gyroscope, accelerometer, and device motion. Question 27. In a hybrid app built with Apache Cordova, which file defines the list of plugins and platforms used? A) config.xml B) package.json C) cordova.plist D) AndroidManifest.xml Answer: A Explanation: config.xml contains the app’s metadata, plugin declarations, and platform specifications.
Question 28. Which testing method is best for verifying that a mobile app correctly handles low‑memory conditions on a device? A) Unit testing with Jest B) Automated UI testing with Appium C) Real‑device testing while monitoring memory usage D) Static code analysis with SonarQube Answer: C Explanation: Real‑device testing allows observation of memory consumption and behavior under low‑memory scenarios. Question 29. Which of the following is a key difference between a native app and a Progressive Web App regarding distribution? A) Native apps are installed via app stores; PWAs are added to the home screen via the browser. B) Native apps can be installed from any website; PWAs require a store. C) PWAs can access all device hardware; native apps cannot. D) Native apps cannot be updated; PWAs require manual updates. Answer: A Explanation: Native apps are distributed through app stores (App Store, Google Play), while PWAs are installed directly from the browser. Question 30. Which Android component is responsible for handling background push notifications delivered via Firebase Cloud Messaging? A) Service B) BroadcastReceiver C) ContentProvider D) Activity Answer: B
C) D3.js D) Three.js Answer: B Explanation: Onsen UI offers components that automatically apply iOS or Android styling based on the platform. Question 34. Which of the following best describes “adaptive design”? A) Using a single fluid layout that scales to any screen size B) Detecting device characteristics and serving distinct layouts for each breakpoint C) Relying solely on JavaScript to reposition elements at runtime D) Ignoring screen size and using a fixed-width layout Answer: B Explanation: Adaptive design serves different fixed layouts tailored to specific device widths or characteristics. Question 35. Which Android build variant is typically used for internal testing before releasing to the Play Store? A) release B) debug C) beta D) staging Answer: B Explanation: The debug variant includes debugging symbols and is signed with a debug keystore, suitable for internal testing. Question 36. Which iOS API is used to securely store small pieces of data such as passwords or tokens?
A) NSUserDefaults B) Core Data C) Keychain Services D) FileManager Answer: C Explanation: Keychain Services provides encrypted storage for sensitive data, accessible only to the app that created it. Question 37. Which of the following is a recommended practice for handling device orientation changes in a native Android app? A) Lock the orientation to portrait only. B) Recreate the activity on rotation and preserve UI state via ViewModel. C) Use a single layout file for all orientations. D) Disable rotation in the manifest. Answer: B Explanation: Allowing rotation and using ViewModel (or savedInstanceState) preserves UI state across configuration changes. Question 38. In Flutter, which widget should be used to detect tap gestures on a custom- painted area? A) GestureDetector B) InkWell C) Listener D) RawGestureDetector Answer: A Explanation: GestureDetector provides callbacks for tap, double‑tap, long‑press, and other gestures on any widget.
Answer: B Explanation: Code injection involves inserting malicious code that runs within the app’s context, potentially compromising data. Question 42. Which iOS UI component provides a scrollable list that lazily loads cells as they appear on screen? A) UITableView B) UIScrollView C) UIStackView D) UICollectionView Answer: A Explanation: UITableView reuses cells and loads content on demand, optimizing memory usage for long lists. Question 43. In Android, which manifest attribute controls whether an activity appears in the recent apps list? A) android:launchMode B) android:excludeFromRecents C) android:taskAffinity D) android:allowTaskReparenting Answer: B Explanation: Setting android:excludeFromRecents="true" removes the activity from the recent tasks overview. Question 44. Which of the following is a key characteristic of a “service worker” in a Progressive Web App? A) Runs on the main UI thread
B) Provides UI components for offline mode C) Operates in a background thread, intercepting network requests D) Stores data only in cookies Answer: C Explanation: Service workers run separately from the page, allowing caching, background sync, and push notifications. Question 45. Which Android library simplifies handling of touch gestures such as swipe, pinch, and rotate? A) RecyclerView B) GestureDetectorCompat C) LiveData D) Room Answer: B Explanation: GestureDetectorCompat provides callbacks for common gestures, making implementation easier. Question 46. Which of the following is NOT a recommended accessibility practice for mobile apps? A) Providing alternative text for images B) Ensuring sufficient color contrast C) Using only icons without labels for navigation D) Supporting dynamic type/font scaling Answer: C Explanation: Icons without textual labels impede screen‑reader users; labels or content descriptions are required.
Explanation: Lazy loading defers image loading until they are needed, improving performance and conserving bandwidth. Question 50. Which Android API level introduced the scoped storage model, limiting direct file system access for apps? A) API 21 (Lollipop) B) API 23 (Marshmallow) C) API 29 (Android 10) D) API 31 (Android 12) Answer: C Explanation: Android 10 (API 29) introduced scoped storage to enhance privacy by restricting app file access. Question 51. Which of the following best describes a “manifest file” in a Progressive Web App? A) A JSON file that defines service worker behavior B) A JavaScript file that registers push notifications C) A JSON file that provides metadata like name, icons, and start URL D) An XML file that lists required device permissions Answer: C Explanation: The web app manifest (manifest.json) supplies essential metadata for installing the PWA. Question 52. In iOS, which lifecycle method is called when the app moves from background to foreground? A) applicationDidFinishLaunching: B) applicationWillResignActive:
C) applicationDidEnterBackground: D) applicationWillEnterForeground: Answer: D Explanation: applicationWillEnterForeground: is invoked as the app transitions back to the active state. Question 53. Which of the following is a core advantage of using Flutter’s “hot reload” feature? A) Automatic generation of native UI code for iOS and Android B) Immediate reflection of code changes without restarting the app C) Compilation to native ARM binaries before each change D) Built‑in support for Progressive Web Apps Answer: B Explanation: Hot reload injects updated source code into the running Dart VM, allowing developers to see UI changes instantly. Question 54. Which Android permission is required to send SMS messages programmatically? A) android.permission.SEND_SMS B) android.permission.READ_SMS C) android.permission.RECEIVE_SMS D) android.permission.WRITE_SMS Answer: A Explanation: SEND_SMS grants the app the ability to send text messages without user interaction.