These iOS Technical Test multiple-choice questions and their answers will help you strengthen your grip on the subject of iOS Technical Test. You can prepare for an upcoming exam or job interview with these iOS Technical Test MCQs.
So scroll down and start answering.
A. FALSE
B. True
A. Must be a string literal
B. Must conform to the NSCopying protocol
C. Must be wither an NSString or an NSNumber
D. Can be any object
A. (none of these)
B. view.frame.size.x = 0; view.frame.size.y = 100;
C. view.frame.x = 0; view.frame.y = 100;
D. CGPoint center = view.center; center.x = 0; center.y = 100; view.center = center;
A. NSMutableArray
B. NSMutableDictionary
C. NSArray
D. NSDictionary
A. NSString
B. NSNumber
C. NSDate
D. NSArray
A. Bounds origin is always (0, 0), a frame origin is relative to his container view
B. It's the same
C. Frame is for UIKit objects, bounds are for CoreGraphics.
A. Main.m
B. config.m
C. Info.plist
D. AppDelegate.h
A. app.io
B. self.bundle
C. self.app.fileSystem
D. [NSBundle mainBundle]
A. viewWillLoad
B. cellDidAppear
C. cellForRowAtIndexPath
D. viewDidLoad
A. Command-A
B. Command-P
C. Command-R
D. Command-G
A. NSMutableArrayʼs contents can not be modified once itʼs been created whereas a NSArray can be modified as needed
B. NSArray is an abstractClass class and NSMutableArray is a protocol
C. NSArrayʼs contents can not be modified once itʼs been created whereas a NSMutableArray can be modified as needed
D. NSArray has a limited capacity of 256 items where as NSMutableArray is unlimited
A. Retina Assets
B. NSStrings
C. All Images
D. Normal Assets
A. @
B. *
C. #
D. &
A. Allocated Reference Cycles
B. Automatic Reference Counting
C. Autoreleased Reference Counters
D. Automatic Retained Collections
A. XML
B. XID
C. XBI
D. XIB
A. NSString
B. NSMutableString
C. NSChangeableString
D. NSCore
A. False
B. True
A. True
B. False
A. ~iPhone
B. ~iPad
C. !iPhone
D. !iPad
A. Grid
B. Row or item
C. Column
D. Coordinate
A. cellForRowAtIndexPath
B. cellForTableView
C. tableViewCellContents
D. tableView.cell.content
A. [obj release];
B. free(obj)
C. [obj dealloc]
D. [obj free]
A. View objects
B. Model objects
C. None of these
D. Controller objects
A. False
B. True
A. Set the variable that points at it to 1
B. All of these
C. Set the variable that points at it to nil
D. Set the variable that points at it to 0
A. Yes, but only for iPad
B. Yes, on any platform
C. No, you always have to use Interface Builder to meet Apple's app standards
A. The main thread
B. The background thread
C. Concurrent threads
D. Any thread
A. CGSize
B. CGPoint
C. CGRect
D. NSFrame
A. Cocoa Touch is another name for a Cocoa framework
B. Cocoa Touch is the application framework for developing applications in Mac OS X. Cocoa is the application framework for iPhone,iPad and iPod Touch .
C. Cocoa is the application framework for developing applications in Mac OS X. Cocoa Touch is the application framework for iPhone,iPad and iPod Touch .
A. popToRootViewController
B. closeCurrentView
C. popToMainViewController
D. pushRootViewController
A. A namespace
B. A category is a way to add methods to a class which already exists
C. A group of classes
D. A way to add instance variables to a class which already exists
A. Compile error
B. Nothing will do
C. Crash on run time
D. Some time crash some time run well
A. Is a instance method
B. Both true
C. Is a class method
D. both false
A. Java jar files
B. scripts
C. C++ libraries
D. executables
A. NSInteger is long int and int is just int
B. They are the same
A. Controller objects
B. View objects
C. Model objects
D. All of these
A. Never. It should always be either: atomic, nonatomic, strong or weak
B. For primitive values such as BOOLs or NSIntegers
C. On strings
D. On arrays and dictionaries
A. settings.m
B. Settings.bundle
C. NSSetting
D. Variables.bundle
A. MinUnit, IOSUnit
B. (all of these)
C. Tes.ting
D. NUnit, JUnit
E. OCMock, OCUnit, XCTest
A. NSString
B. NSRange
C. NSSet
D. CGPoint
A. NSUbiquitousKeyValueStore
B. NSUrlConnection
C. NSOperation
A. rectView.roundedCornersVisible = YES;
B. [rectView drawRect:rectView.bounds];
C. rectView.layer.masksToBounds = YES;
D. [rectView setNeedsDisplay];
A. A category can only be declared for abstract classes.
B. You can also use categories to split the implementation of a complex class across multiple source code files.
C. The syntax to declare a category uses the @protocol keyword.
D. The compiler synthesises any instance variable or property accessor methods for the category.
A. iOS 7 supports Autolayout.
B. iOS 7 user interface has been completely redesigned.
C. iOS 7 user interface has been completely redesigned and has 64-Bit Support.
D. iOS 6 is not supported on iPhone 5s and iPhone 5c
A. SAX Parser
B. DOM Parser
A. True
B. False
A. line 3
B. line 1
C. line 5
D. line 4
A. Suspended
B. InActive
C. Terminated
D. None of above
E. Background
A. A class cannot implement more than one protocol
B. A class cannot be declared as abstract
C. Instance variables must begin with underscore
D. Instance variables have to be declared in the header file containing the class definition
A. The responder object is retained and the pointer is set to nil when the object is destroyed
B. The responder object is not retained and the pointer is set to nil when the object is destroyed
C. The responder object is retained and the pointer will point to free memory when the object is destroyed
D. The responder object is not retained and the pointer will point to free memory when the object is destroyed