iOS MCQ Questions & Answers - Mobile Development
iOS MCQs : This section focuses on "iOS" in Mobile Development. These Multiple Choice Questions (MCQ) should be practiced to improve the iOS skills required for various interviews (campus interviews, walk-in interviews, company interviews), placements, entrance exams and other competitive examinations.
1. Which of the following is Application development environments for iOS?
A. Cocoa
B. Cocoa touch
C. Cocoa iOS
D. Cocoa begin
View Answer
Ans : B
Explanation: Cocoa touch is an application development environments for iOS.
2. Cocoa touch used to refer the application development using any programmatic interface?
A. TRUE
B. FALSE
C. Can be true or false
D. Can not say
View Answer
Ans : A
Explanation: True, Cocoa touch used to refer the application development using any programmatic interface
3. Which JSON framework is supported by iOS?
A. UIKit
B. Django
C. SBJson
D. UCJson
View Answer
Ans : C
Explanation: iOS supports SBJson framework. SBJson is a JSON parser and generator for Objective-C. It provides flexible APIs and additional control, making JSON handling easier.
4. ___________ is a two-part string used to identify one or more apps from a single development team.
A. bundle ID
B. app ID
C. team ID
D. All of the above
View Answer
Ans : B
Explanation: An App ID is a two-part string used to identify one or more apps from a single development team. The string consists of a Team ID and a bundle ID search string, with a period (.) separating the two parts.
5. How many ways to achieve concurrency in iOS?
A. 1
B. 2
C. 3
D. 4
View Answer
Ans : C
Explanation: The three ways to achieve concurrency in iOS are : Threads, Dispatch queues and Operation queues
6. When an app is said to be in not running state?
A. When it is launched
B. When it is not launched
C. When it gets terminated by the system during running
D. Both B and C
View Answer
Ans : D
Explanation: An app is said to be in ‘not running’ state in the following cases: When it is not launched and When it gets terminated by the system during running
7. In Which state the app is running in the foreground and is receiving events?
A. Not running
B. Inactive
C. Background
D. Active
View Answer
Ans : D
Explanation: Active state: when the app is running in the foreground and is receiving events. This is the normal mode for foreground apps.
8. UIKit classes should be used only from an application’s main thread.
A. TRUE
B. FALSE
C. Can be true or false
D. Can not say
View Answer
Ans : A
Explanation: True, UIKit classes should be used only from an application’s main thread.
9. How many parts of NSError object?
A. 1
B. 2
C. 3
D. 4
View Answer
Ans : C
Explanation: There are three parts of NSError object a domain, an error code, and a user info dictionary.
10. ARC stands for?
A. Auto Reference Counting
B. Automatic Reference Counting
C. Automatic Reference Cloud
D. Automatic Reference Cocoa
View Answer
Ans : B
Explanation: Abbreviation of ARC is Automatic Reference Counting
Discussion