iPhone Programming OS 2.1 Test
Are instances of ABAddressBookRef thread safe?
Are multiple touches enabled by default?
Before editing the Nibs, one should:
By which of the following methods can an NSAutoreleasePool object be created?
Can CGGradientRef be used on the iPhone to draw gradients?
Can non-main threads poll for events?
Can the iPhone use Bonjour messaging?
Can you place calls using the iPhone SDK?
Can you use POSIX sockets on the iPhone?
Can you use POSIX threads on the iPhone?
Can your application change the global sound volume?
Choose the correct statement: To "flip" your user interface:
Does ABPersonCreate function add the newly created record into the address book?
From which of the following classes does a UITextView class object inherit its features?
Given the string "192.168.1.1", how can you get an integer address (to fill a sockaddr_in structure)?
How can you create an OpenGL ES texture with a .png image?
How can you play video on the iPhone from your application?
How can you prevent a view from receiving touch events?
How can you restrict the delivery of multi-touch events to their subviews
How do you play a short sound on the iPhone?
How many windows does an iPhone application typically have?
If the code is written using the Core Foundation and Foundation macros, the simplest way to create strings files is:
If you try to run an application in the iPhone Simulator without having created the ControllerView Nib file, what will happen?
If you want to know if a host is reachable via the network, what would you use in your application?
In the CALayer class, the property contentsGravity allows you to position and scale the layer's contents image within the layer bounds. What is the role of the kCAGravityLeft positioning constant i...
In which file is the following function called in your application? int retVal = UIApplicationMain(argc, argv, nil, nil);
In which language is the address book framework written?
In which of the following classes are the addChild, insertChild, and removeChildAtIndex methods defined?
In your iPhone application, you want that the user should be able to select the date in Month, Day and Year mode. You have a UIDatePicker class object named dateModePicker. Which of the following c...
In your iPhone application, you want to apply an action sheet style that will display white text with transparent black background whenever a confirmation is required from the user. You have a UIAc...
Is NSMutableArray thread safe?
Is NSRunLoop thread safe?
Is OpenAL available on the iPhone?
Locking all connections before editing the Nib files can be achieved by using:
On the iPhone, what are the types of Person entries and Group entries?
Refer to the given image: Which of the above window panes will display Build system output when Xcode builds your target and shows the corresponding warnings and errors?
State whether the following statement is true or false: Interface Builder doesn't generate source code
The genstrings tool can parse _____.
The most effective way to ensure that users have a positive application-switching experience is to _______.
The UIView class provides a function called setAlpha which adjusts the transparency of a view. Which of the following are valid code snippets with regard to setting transparency of a view? It is pr...
Using the following function, what will you get from the default database? NSUserDefaults* defs = [NSUserDefaults standardUserDefaults]; NSArray* languages = [defs objectForKey:@"AppleLanguages"];...
What are universal binaries in Xcode?
What can trigger a call to touchesCancelled:withEvent: ?
What does CFSocketGetNative return?
What happens if Xcode is not able to find a file or folder at the path defined for it in the project?
What is the CompressResources build step in an iPhone Xcode project?
What is the default setting to refer to file locations in your Xcode project?
What is the default value for the anchorPoint property in Layer Geometry?
What is the endianness of the network for IP communications?
What is the function of the Code Sense feature in Xcode?
What is the purpose of active executable in an Xcode project?
What is the screen resolution of the iPhone 3G?
When the genstrings tool discovers a key string used more than once in a single strings file, it:
Whenever the iPhone users switch to another application like answering the phone, or checking their email, the application they were previously using _____.
Which design pattern for your application periodically sends messages to another object to ask for input or to notify that an event is occurring?
Which of the following are the Derivative types defined in Objective-C?
Which of the following are valid touch attributes in a UITouch class object?
Which of the following best describes View Controllers?
Which of the following can be used to draw a tiled image?
Which of the following classes automatically manages transition animation between Views?
Which of the following classes is used to internalize an XML into a logical tree structure?
Which of the following classes will be used to embbed web content in an iPhone application?
Which of the following debugging environments are provided by Xcode to find and squash bugs in your code?
Which of the following debugging tasks are provided by Xcode to find and squash bugs in your code?
Which of the following directives are used to declare and define classes, categories, and protocols?
Which of the following events occur when the retain count of the object drops to 0?
Which of the following is a feature of CAPropertyAnimation class in Core Animation?
Which of the following is not a touch event method?
Which of the following is the base class for all iPhone applications?
Which of the following is the correct syntax for declaring a class in Objective-C?
Which of the following is true?
Which of the following languages can be used to write the code for Xcode projects?
Which of the following methods does the UIKit provide in order to draw a string at a specific point.
Which of the following need to be modified while localizing an application?
Which of the following options regarding UIWindow and UIView classes are correct?
Which of the following samples returns the first name of a person listed under p in the address book?
Which of the following SDK classes can be used to get the location of the movement of a finger on the iPhone screen?
Which of the following shapes is generated by Views in an iPhone?
Which of the following should be used to draw 3D content?
Which of the following statement is incorrect with regard to Object Ownership in Memory Management?
Which of the following statements comply with the fundamental rules of Memory Management in Objective-C?
Which of the following statements regarding Memory Management are correct?
Which of the following statements regarding Objective-C are correct?
Which of the following terms are related to Memory Management in Objective-C?
Which type of data is returned by the following function? CFDataRef CreateDataFromImage(UIImage *image) { return CGDataProviderCopyData(CGImageGetDataProvider(image.CGImage)); }
While opening Nib files, which of the following should not be ignored?
While recording a sound, how can you know if the source of the sound is from the built-in microphone or headphone microphone?
While using an iPhone, a user switches from one application to another application or service on the device. What is the most important factor to be kept in mind to ensure that your application ref...
You have added the following code lines in your @implementation block in your ControllerView file: @synthesize textField; @synthesize label; @synthesize string; And in you...