MCQs / Computer Science / iOS: Architecture and Framework

iOS: Architecture and Framework MCQs — Computer Science

47 multiple-choice questions on iOS: Architecture and Framework from Computer Science, each with the correct answer and, where available, a teacher's explanation. Read through them to revise the chapter, then practise the same questions one by one to test yourself.

1. A unique iOS app identifier such as com.university.campusapp is the:

  1. Provisioning profile
  2. Team ID
  3. Device UDID
  4. Bundle identifier

Answer: D) Bundle identifier

Explanation: The bundle ID uniquely identifies an app, like applicationId on Android.

Discuss this question

2. iOS was first introduced with the original iPhone in:

  1. 2007
  2. 2011
  3. 2009
  4. 2005

Answer: A) 2007

Explanation: Steve Jobs introduced the iPhone and iPhone OS in January 2007.

Discuss this question

3. The iOS file that is similar to Android's AndroidManifest.xml is:

  1. Info.plist
  2. AppDelegate.swift
  3. Assets.xcassets
  4. Main.storyboard

Answer: A) Info.plist

Explanation: Info.plist holds app configuration and permission descriptions.

Discuss this question

4. Beta testing iOS apps with external testers is done through:

  1. Google Play Console
  2. Xcode Playgrounds
  3. Firebase Hosting
  4. TestFlight

Answer: D) TestFlight

Explanation: TestFlight distributes beta builds to testers.

Discuss this question

5. The design pattern traditionally used by UIKit apps is:

  1. MVC
  2. Client–server
  3. Singleton only
  4. MVP only

Answer: A) MVC

Explanation: Apple's UIKit apps are built around Model–View–Controller.

Discuss this question

6. UINavigationController manages screens as a:

  1. Stack (push and pop)
  2. Queue
  3. Tree only
  4. Grid

Answer: A) Stack (push and pop)

Explanation: It pushes and pops view controllers on a navigation stack.

Discuss this question

7. Code signing for iOS uses certificates and:

  1. AndroidManifest files
  2. Provisioning profiles
  3. Gradle keys
  4. APK signatures

Answer: B) Provisioning profiles

Explanation: Provisioning profiles tie the certificate, app ID and allowed devices together.

Discuss this question

8. Which iOS framework gives access to GPS location?

  1. AVFoundation
  2. Core Graphics
  3. StoreKit
  4. Core Location

Answer: D) Core Location

Explanation: Core Location provides location and heading information.

Discuss this question

9. Core Animation, Metal and AVFoundation belong to the:

  1. Core Services layer
  2. Core OS layer
  3. Media layer
  4. Cocoa Touch layer

Answer: C) Media layer

Explanation: The Media layer handles graphics, audio and video.

Discuss this question

10. Which is TRUE about iOS compared with Android?

  1. iOS has low fragmentation because only Apple makes iPhones
  2. iOS is open source
  3. iOS runs on many manufacturers' phones
  4. iOS apps are written in Kotlin

Answer: A) iOS has low fragmentation because only Apple makes iPhones

Explanation: Apple controls both hardware and software, so there are few device variations.

Discuss this question

11. UIKit belongs to which iOS layer?

  1. Cocoa Touch
  2. Core Services
  3. Media
  4. Core OS

Answer: A) Cocoa Touch

Explanation: UIKit is the main Cocoa Touch framework for UI and events.

Discuss this question

12. The operating system for iPad, separated from iOS in 2019, is:

  1. padOS
  2. iOS Tablet
  3. iPadOS
  4. macOS Lite

Answer: C) iPadOS

Explanation: iPadOS was introduced in 2019.

Discuss this question

13. An app that is in memory but not executing any code is in which state?

  1. Background
  2. Active
  3. Inactive
  4. Suspended

Answer: D) Suspended

Explanation: Suspended apps stay in memory without running and may be purged.

Discuss this question

14. To ask for camera permission, an iOS app must include in Info.plist:

  1. android.permission.CAMERA
  2. NSCameraUsageDescription
  3. UIRequiresCamera
  4. CameraEnabled = YES

Answer: B) NSCameraUsageDescription

Explanation: Privacy usage keys provide the message shown to the user.

Discuss this question

15. Core Data, Foundation and Core Location are part of the:

  1. Media layer
  2. Core Services layer
  3. Core OS layer
  4. Cocoa Touch layer

Answer: B) Core Services layer

Explanation: These are fundamental system services.

Discuss this question

16. Which framework provides high-performance 3-D graphics and GPU computing on iOS?

  1. Core Text
  2. MapKit
  3. UIKit
  4. Metal

Answer: D) Metal

Explanation: Metal is Apple's low-level graphics and compute API.

Discuss this question

17. Which is the LOWEST layer of the iOS architecture?

  1. Core OS
  2. Core Services
  3. Media
  4. Cocoa Touch

Answer: A) Core OS

Explanation: Core OS sits closest to the hardware.

Discuss this question

18. Swift Optionals (e.g. String?) are used to:

  1. Import frameworks
  2. Safely represent a value that may be missing (nil)
  3. Declare constants
  4. Make code run faster

Answer: B) Safely represent a value that may be missing (nil)

Explanation: Optionals force developers to handle nil values safely.

Discuss this question

19. Which object handles app-level events such as launch in UIKit apps?

  1. Info.plist
  2. Storyboard
  3. ViewController
  4. AppDelegate

Answer: D) AppDelegate

Explanation: AppDelegate receives application lifecycle events.

Discuss this question

20. In-app purchases on iOS are implemented with:

  1. HealthKit
  2. StoreKit
  3. CloudKit
  4. GameKit

Answer: B) StoreKit

Explanation: StoreKit handles in-app purchases and subscriptions.

Discuss this question

21. Starting in 2025, Apple's OS version numbers follow the:

  1. Chip name
  2. Year (e.g. iOS 26 released in 2025)
  3. Swift version
  4. Device model number

Answer: B) Year (e.g. iOS 26 released in 2025)

Explanation: Apple moved to year-based numbering with iOS 26.

Discuss this question

22. Swift was introduced by Apple in:

  1. 2008
  2. 2017
  3. 2020
  4. 2014

Answer: D) 2014

Explanation: Swift was announced at WWDC 2014.

Discuss this question

23. The App Store and official SDK for third-party iOS apps arrived in:

  1. 2008
  2. 2014
  3. 2010
  4. 2007

Answer: A) 2008

Explanation: iPhone OS 2 in 2008 introduced the App Store and the SDK.

Discuss this question

24. SwiftUI was introduced in:

  1. 2014
  2. 2022
  3. 2019
  4. 2008

Answer: C) 2019

Explanation: SwiftUI was announced at WWDC 2019.

Discuss this question

25. App metadata, builds and pricing are managed on:

  1. Xcode Cloud only
  2. GitHub
  3. App Store Connect
  4. Google Play Console

Answer: C) App Store Connect

Explanation: App Store Connect is Apple's portal for managing apps.

Discuss this question

Page 1 of 2 Next

Practise iOS: Architecture and Framework MCQs

More Computer Science chapters