




























































































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: What is the primary difference between a native mobile application and a web application? A. Native apps run in a browser, web apps install on the device B. Native apps are built for a specific OS, web apps run across platforms in a browser C. Native apps require internet, web apps do not D. Native apps use HTML only, web apps use native SDKs Correct: B Explanation: Native apps are developed specifically for one operating system (e.g., iOS or Android) using its SDK, while web apps run in browsers across multiple platforms using web technologies. Question 2: Which framework is commonly used for cross-platform mobile development with JavaScript and React? A. Xamarin B. Flutter C. React Native D. Ionic Correct: C
Explanation: React Native uses JavaScript and React to build mobile apps that run on both iOS and Android. Question 3: According to the mobile application development lifecycle, what is the first phase? A. Deployment B. Design C. Requirement gathering D. Testing Correct: C Explanation: Requirement gathering is the initial phase where project goals and feature requirements are defined. Question 4: Which principle is central to Material Design on Android? A. Flat design B. Skeuomorphic design C. Depth with shadows and bold graphics D. Monochrome palette Correct: C
Question 7: In iOS development, which language succeeded Objective-C as Apple’s preferred language? A. Swift B. Java C. Kotlin D. C# Correct: A Explanation: Swift, introduced in 2014, has become Apple’s main language for iOS/macOS development. Question 8: What does SDK stand for in mobile development? A. Software Distribution Kit B. Software Development Kit C. System Design Kit D. Standard Development Key Correct: B Explanation: SDK stands for Software Development Kit, a set of tools, libraries, and documentation provided by OS vendors.
Question 9: Which design philosophy focuses on building for mobile screens before desktop? A. Desktop-first B. Mobile-first C. Web-first D. Feature-first Correct: B Explanation: Mobile-first prioritizes designing and optimizing for smaller screens, then scaling up. Question 10: What is the main purpose of Human Interface Guidelines on iOS? A. To enforce Material Design rules B. To provide design and interaction patterns for consistency C. To list approved third-party libraries D. To restrict gesture usage Correct: B Explanation: Apple’s HIG outlines best practices for UI/UX to ensure a consistent user experience.
Question 13: In version control, which system is distributed? A. SVN B. CVS C. Git D. TFS Correct: C Explanation: Git is a distributed version control system where each developer has a full repository copy. Question 14: What does the ‘Activity’ component represent in Android? A. A background service B. A single focused screen UI C. An XML layout D. A database helper Correct: B Explanation: An Activity corresponds to one screen with which the user can interact. Question 15: In iOS, what is a ViewController? A. Data storage class
B. The main storyboard file C. Controller object managing a view hierarchy D. An app extension Correct: C Explanation: A UIViewController manages a screen’s views and user interaction in iOS MVC architecture. Question 16: What is Gradle used for in Android development? A. UI design B. Code linting C. Build automation and dependency management D. Database migration Correct: C Explanation: Gradle automates builds, integrates dependencies, and handles compile tasks. Question 17: Which file defines app permissions in Android? A. AndroidManifest.xml B. Info.plist C. build.gradle
Explanation: Flutter uses Dart to compile native ARM code for iOS and Android. Question 20: What is the default package manager for Node.js-based mobile frameworks? A. Yarn B. npm C. pip D. CocoaPods Correct: B Explanation: npm is Node’s default package manager, used by frameworks like Ionic and React Native. Question 21: Which storage option is best for simple key-value pairs on Android? A. SQLite B. SharedPreferences C. External storage D. ContentProvider Correct: B
Explanation: SharedPreferences stores primitive data in XML files for quick key-value access. Question 22: Where are Core Data entities defined in iOS? A. Info.plist B. Xcode Data Model file C. Storyboard D. AppDelegate Correct: B Explanation: Core Data models are defined in .xcdatamodeld files in Xcode. Question 23: What is RESTful API communication commonly based on? A. SOAP B. HTTP methods (GET, POST, PUT, DELETE) C. FTP D. SMTP Correct: B Explanation: REST uses standard HTTP methods for CRUD operations over the web.
C. Observer D. Factory Correct: B Explanation: MVC (Model-View-Controller) divides responsibilities into models, views, and controllers. Question 27: In RxJava or RxSwift, what does “reactive” imply? A. Blocking API calls B. Unidirectional data flow C. Asynchronous data streams and observers D. Synchronous UI updates Correct: C Explanation: Reactive programming uses observable streams for asynchronous event handling. Question 28: What tool is used to test a mobile app’s UI on real devices remotely? A. Android Emulator B. Xcode Simulator
C. Firebase Test Lab D. Charles Proxy Correct: C Explanation: Firebase Test Lab lets you run tests on a variety of real devices hosted in the cloud. Question 29: Which method is called when an Android Activity is first created? A. onStart() B. onCreate() C. onResume() D. onInit() Correct: B Explanation: onCreate() initializes components and sets the layout for the Activity. Question 30: In iOS ViewController lifecycle, which method is called after the view is loaded into memory? A. viewDidAppear() B. viewWillDisappear()
C. Data encryption D. Obfuscation Correct: C Explanation: Encrypting data stored on the device prevents unauthorized access if the device is compromised. Question 33: What is SSL pinning used for in mobile apps? A. Store user credentials B. Bind the app to a specific server certificate to prevent MITM attacks C. Improve UI performance D. Debug network traffic Correct: B Explanation: SSL pinning ensures the app trusts only a specific certificate, mitigating man-in-the-middle attacks. Question 34: Which Android component allows inter-app data sharing? A. Activity B. Service C. BroadcastReceiver D. ContentProvider
Correct: D Explanation: ContentProviders define interfaces to query and modify data, enabling sharing between apps. Question 35: In iOS, which mechanism allows background tasks to fetch new data? A. Background Fetch B. PushKit C. Local notifications D. URLSession only Correct: A Explanation: Background Fetch lets the system wake the app periodically to fetch data in the background. Question 36: What is ANR in Android? A. Android Native Resource B. Application Not Responding C. Android Network Request D. App Notification Received Correct: B
Explanation: Silent pushes deliver content updates without notifying the user, waking the app briefly. Question 39: What is a primary advantage of using a hybrid framework like Ionic? A. Native performance equal to compiled code B. Single codebase for multiple platforms using web technologies C. No need for testing D. Works offline only Correct: B Explanation: Ionic allows developers to use HTML, CSS, and JavaScript to target iOS and Android from one codebase. Question 40: Which gesture recognizer in iOS detects a pinch gesture? A. UITapGestureRecognizer B. UIPanGestureRecognizer C. UIPinchGestureRecognizer D. UIRotationGestureRecognizer Correct: C
Explanation: UIPinchGestureRecognizer handles pinch in and out gestures for zooming interactions. Question 41: What is the role of an Application class in Android? A. Defines the Activity layout B. Manages global application state before any Activity or Service is created C. Acts as a broadcast receiver D. Serves as a database helper Correct: B Explanation: The Application subclass initializes shared resources and global state. Question 42: Which iOS file contains launch screen UI definitions? A. LaunchScreen.storyboard B. Main.storyboard C. Info.plist D. AppDelegate.swift Correct: A Explanation: LaunchScreen.storyboard defines the UI shown while the app launches.