While opening Nib files, which of the following should not be ignored?
a. Objects in a Nib file typically have connections between them that should not be broken.
b. If Objects in a Nib file have broken connections, they should not be restored.
c. The size of the files.
d. None of the above
What type of value is assigned to the loc-args child property of alert property in an Apple Push Notification?
b. array of strings
Which of the following properties of the GKSession class is read-only?
Locking all connections before editing the Nib files can be achieved by using:
a. An option in the Start Menu.
b. An option in the Preferences panel of Interface Builder.
c. An option in the Preferences panel of Language Directory.
d. Any of the above.
When you send an object a retain message in Memory Management using Objective-C, what will happen?
a. Its retain count is incremented by 1.
b. Its retain count is decremented by 1.
c. Its retain count remains same.
d. Its retain count is set to 0.
Which of the following properties of the UIImage class affects the way the image data is displayed when drawn?
What is the function of the Code Sense feature in Xcode?
a. Code Sense helps in switching between different circumstances such as development or release.
b. Code Sense maintains an index that contains important information for your project.
c. Code Sense creates a cache for the files which are being used frequently.
d. Code Sense maintains an index of files used in a project.
When using a Cocoa framework, what will all ControlEvents method of UIControl class return in case it fails to create the object?
a. failure to create
b. no object to return
c. status code 420
Which of the following reasons will return a value of NO for the instance method startVideoCapture of class UIImagePickerController?
a. Movie capture is already in progress.
b. The device does not support movie capture.
c. The device is out of disk space.
d. All of the above
Which of the following animation class provides simple interpolation between values for a layer property?
If you want to rotate an object using Core Animation, in radians, in the z axis, which of the following key paths of a layer's CATransform3D matrix will you use?
How much time in seconds will it take to display an animation if you have 60 images using UIImageView class for the property animationDuration?
You want to animate a layer's opacity to 0 while moving it further away in the layer. Which of the following code snippets will you use?
Which of the following types of audio files has NO size restriction?
d. All of the above have file size restrictions.
Which of the following properties of ADBannerView class are read-only?
Which of the following is NOT a parameter of function SecKeyDecrypt of the class SecCertificate in iPhone OS 4.0?
What happens if Xcode is not able to find a file or folder at the path defined for it in the project?
a. Xcode skips the file or the folder and continues execution.
b. Xcode gives an alert with a description of the missing file.
c. Xcode displays the item in red in the project window.
What is the default value of the borderColor property of the CALayer class?
c. opaque black
d. dark black
Before editing the Nibs, one should:
a. Unlock all connections.
b. Lock all connections.
c. Break all connections.
d. None of the above
What is the default setting to refer to file locations in your Xcode project?
a. Relative to Build Product
b. Relative to Project
c. Relative to Enclosing Group
d. Relative to <source path>
e. Absolute Path
Which of the following are new features to have been introduced in iPhone OS 4.0?
b. Apple Push Notification Service
c. Local Notification
d. Gesture Recognizers
Which of the following directives are used to declare and define classes, categories, and protocols?
By default, is the search interface visible in the UISearchDisplayController class?
Which of the following statements is correct regarding functions fopen and open in generic C?
a. fopen returns an error if the file does exist.
b. fopen does not automatically create the file if it does not exist.
c. open returns an error if the file does exist.
d. open returns a file descriptor.
When your session becomes active, which of the following iPhone OS 4.0 audio session categories allows other audio to continue playing?
Which of the following terms are related to Memory Management in Objective-C?
Which part of the HTTP Live Streaming is responsible for taking input streams of media and encoding them digitally?
a. Server component
b. Distribution component
c. Client software
d. None of the above
What is the functionality of the beta parameter of function catlas_caxpby in class cblas?
a. Input vector X
b. Input vector Y
c. Scaling factor for X
d. Scaling factor for Y
What is the datatype of the parameter inValidBitsPerChannel for the function CalculateLPCMFlags in CoreAudioTypes class in iPhone OS 4.0?
Which of the following properties of the CAKeyframeAnimation class represents an optional array of NSNumber objects that define the duration of each keyframe segment?
If the code is written using the Core Foundation and Foundation macros, the simplest way to create strings files is:
a. Using an option in the Preferences panel of Interface Builder.
b. By merging the comments from the individual entries into one comment string.
c. By unlocking all connections.
d. By using the genstrings command-line tool.
Which Core Audio Service framework is used to record, play back, pause, loop, and synchronize audio in iPhone OS 4.0?
a. Audio Queue
b. Music Sequencing Services
c. Core Audio Clock
d. System Sound Services
What is the data type of extendStart parameter of function CGShadingCreateAxial of class CGShading?
Which of the following languages can be used to write the code for Xcode projects?
Which of the following debugging tasks are provided by Xcode to find and squash bugs in your code?
a. Add and set breakpoints.
b. View your call stack per thread.
c. View the value of variables by hovering the mouse pointer over them.
d. Execute a single line of code.
e. All of the above
What is the default value of allowsEditing property of UIImagePickerController class in iPhone OS 4.0?
Which of the following are the Derivative types defined in Objective-C?
c. long long
When the genstrings tool discovers a key string used more than once in a single strings file, it:
a. deletes the comments from the individual entries and leaves one comment string without generating a warning.
b. merges the comments from the individual entries into one comment string and generates a warning.
c. differentiates the comments from the individual entries into various strings and generates a warning.
d. None of the above
Which of the following statements regarding Objective-C are correct?
a. In Objective-C, the keyword for NULL is nil.
b. In Objective-C, #import and #include compiler directives carry out the same operations.
c. In Objective-C, for the object-oriented constructs (such as method return values), id is the default data type.
d. The keyword nil has an id with a value of 0.
Which symbol is used as a syntactic marker for blocks of code in iPhone OS 4.0?
Don't Miss A Single Updates
✓Remember to check your email account to confirm your subscription.