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
11. Through _________ users can dispatch queues, prioritize queues, POSIX threads, and thread objects.
A. POS
B. DOS
C. IOS
D. QOS
View Answer
Ans : D
Explanation: Using QOS in iOS, users can dispatch queues, prioritize queues, POSIX threads, and thread objects. When the user assigns the task priority wise, iOS apps give a quick response.
12. Which of the following is not a property types?
A. atomic
B. non-atomic
C. delete
D. retain
View Answer
Ans : C
Explanation: The various property types are atomic & non-atomic, assign, strong, weak, retain and copy.
13. __________ is used to detect modifications to a value or property.
A. KVA
B. KVO
C. KVR
D. KVZ
View Answer
Ans : B
Explanation: Key Value Observing (KVO) is used to detect modifications to a value or property.
14. Key Value Coding (KVC) is used to access a value or property with the help of string.
A. TRUE
B. FALSE
C. Can be true or false
D. Can not say
View Answer
Ans : A
Explanation: True, Key Value Coding (KVC) is used to access a value or property with the help of string.
15. Which of the following framework is not used in iOS?
A. CoreMotion Framework
B. AppKit framework
C. Foundation framework
D. UIKit framework
View Answer
Ans : D
Explanation: UIKit framework framework is not used in iOS
16. Which is a default UI Property?
A. Non-atomic
B. Atomic
C. Assigne
D. Decline
View Answer
Ans : B
Explanation: Atomic is a default UI Property.
17. which of the following commands displays the syntax for the clock command?
A. c
B. cl
C. clock?
D. clock ?
View Answer
Ans : C
Explanation: clock? commands displays the syntax for the clock command.
18. Delegate in iOS is used to generate the relationship between the objects.
A. Yes
B. No
C. Can be yes or no
D. Can not say
View Answer
Ans : A
Explanation: True, Delegate in iOS is used to generate the relationship between the objects and it serves with one-to-one communication.
19. iOS remote push notifications are introduced by apple in?
A. iOS 2.0
B. iOS 3.0
C. iOS 4.0
D. iOS 5.0
View Answer
Ans : B
Explanation: iOS remote push notifications are introduced by apple in iOS 3.0
20. A unique string which is helpful in identifying the application to the system is called Admin ID.
A. TRUE
B. FALSE
C. Can be true or false
D. Can not say
View Answer
Ans : B
Explanation: True, A unique string which is helpful in identifying the application to the system is called Bundle ID.
Discussion