1. The genstrings tool can parse _____.
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
– (void)discardContentIfPossible
Answers:
highp float f0, f1;
highp vec4 v0, v1;
Alternative 1: v0 = (v1 * f0) * f1;
Alternative 2: v0 = v1 * (f0 * f1);
Which alternative demonstrates proper use of vector operations?
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
[UIImage imageNamed:@”ExampleImage.PNG”]
Answers:
Answers:
– (void)discardContentIfPossible
Answers:
Answers:
Answers:
Answers:
- C files with .c filename extension.
- Objective-C files with .m filename extension.
- Java code files with .java filename extension.
- Nib files with any file name extension.
Answers:
- Nib files (windows, views, menus).
- Static text.
- Icons and graphics.
- Dynamic text generated by your program.
Answers:
- alloc
- mutableCopy
- delete
- release
Answers:
- imageOrientation
- size
- leftCapWidth
- topCapHeight
Answers:
- 0
- 1
- -1
- true
Answers:
- theLayer.opacity=0.0; theLayer.zPosition=0;
- theLayer.opacity=0.0; theLayer.zPosition= -100;
- theLayer.opacity=0.0; theLayer.zPosition=100;
- theLayer.opacity=1.0; theLayer.zPosition=0;
Answers:
- array of dictionaries
- array of strings
- string
- dictionary
- integer
Answers:
- fopen returns an error if the file does exist.
- fopen does not automatically create the file if it does not exist.
- open returns an error if the file does exist.
- open returns a file descriptor.
Answers:
- @interface ClassName : ItsSuperclass { instance variable declarations } method declarations @end
- @implementation ClassName : ItsSuperclass { instance variable declarations } method declarations @end
- @class ClassName : ItsSuperclass { instance variable declarations } method declarations @end
- All are correct
Answers:
- available
- delegate
- displayName
- peerID
- sessionID
Answers:
- Debugging from the text editor
- Mini Debugger
- Debugger window
- GDB debugger console
- All of the above
Answers:
- AVAudioSessionCategoryAmbient
- AVAudioSessionCategorySoloAmbient
- AVAudioSessionCategoryPlayback
- AVAudioSessionCategoryRecord
Answers:
- AudioConverter.h
- AudioFile.h
- AudioFileStream.h
- AudioServices.h
Answers:
- Playback is disabled and recording is enabled.
- When you move the Ring/Silent switch to the “silent” position, your audio is silenced.
- When you press the Sleep/Wake button to lock the screen, or when the Auto-Lock period expires, your audio is silenced.
- When your audio starts, other audio on the device—such as iPod audio that was already playing—is silenced.
Answers:
- Add and set breakpoints.
- View your call stack per thread.
- View the value of variables by hovering the mouse pointer over them.
- Execute a single line of code.
- All of the above
Answers:
- True
- False
Answers:
- Audio Toolbox
- Audio Unit
- AV Foundation
- Core Audio
- OpenAL
Answers:
- These are executable files that can contain code and data for more than one architecture.
- These are file references which are generated by the target, such as an application.
- These are indexes that contain symbolic information for your project.
- These are used to specify build location settings.
Answers:
- Code Sense helps in switching between different circumstances such as development or release.
- Code Sense maintains an index that contains important information for your project.
- Code Sense creates a cache for the files which are being used frequently.
- Code Sense maintains an index of files used in a project.
- Code sense is the code completion feature helpful in avoiding typing and syntax errors.
Answers:
- CABasicAnimation
- CAKeyframeAnimation
- CATransition
- CAAnimationGroup
Answers:
- nil
- true
- false
- 0
Answers:
- deletes the comments from the individual entries and leaves one comment string without generating a warning.
- merges the comments from the individual entries into one comment string and generates a warning.
- differentiates the comments from the individual entries into various strings and generates a warning.
- None of the above
Answers:
- bool
- int
- CGFloat
- CGContextRef
Answers:
- C
- C++
- Objective-C
- Objective-C++
- Java
Answers:
- An alpha intensity value in the range [-1,1]
- An alpha intensity value in the range [-0.5,0.5]
- An alpha intensity value in the range [0,1]
- An alpha intensity value in the range [1,5]
Answers:
- 1
- 2
- 10
- 15
– (void)discardContentIfPossible
Answers:
- It will discard the contents of the object because the counter is 0.
- It will not discard the contents of the object because the counter is required to be above 0.
- It will not discard the content of the object as a negative counter value is required.
- None of the above
highp float f0, f1;
highp vec4 v0, v1;
Alternative 1: v0 = (v1 * f0) * f1;
Alternative 2: v0 = v1 * (f0 * f1);
Which alternative demonstrates proper use of vector operations?
Answers:
- Alternative 1
- Alternative 2
- Both alternatives demonstrate proper use of vector operations.
Answers:
- short
- long
- long long
- int
Answers:
- path
- keyTimes
- rotationmode
- continuityValues
Answers:
- Audio Queue
- Music Sequencing Services
- Core Audio Clock
- System Sound Services
Answers:
- rotation
- rotation.xy
- rotation.x
- rotation.y
- rotation.z
Answers:
- Relative to Build Product
- Relative to Project
- Relative to Enclosing Group
- Relative to <source path>
- Absolute Path
Answers:
- Unlock all connections.
- Lock all connections.
- Break all connections.
- None of the above
Answers:
- 0
- nil
- opaque black
- dark black
Answers:
- kCFCompareLessThan
- kCFCompareEqualTo
- kCFCompareGreaterThan
- None of the above
Answers:
- Xcode skips the file or the folder and continues execution.
- Xcode gives an alert with a description of the missing file.
- Xcode displays the item in red in the project window.
Answers:
- Using an option in the Preferences panel of Interface Builder.
- By merging the comments from the individual entries into one comment string.
- By unlocking all connections.
- By using the genstrings command-line tool.
Answers:
- Shallow Copy
- Deep Copy
- Both a and b
Answers:
- CGFloat
- CGPoint
- bool
- CGFunctionRef
- int
Answers:
- UInt32
- bool
- Float32
- UInt64
Answers:
- TRUE
- FALSE
- nil
- 0
- 1
Answers:
- In Objective-C, the keyword for NULL is nil.
- In Objective-C, #import and #include compiler directives carry out the same operations.
- In Objective-C, for the object-oriented constructs (such as method return values), id is the default data type.
- The keyword nil has an id with a value of 0.
Answers:
- 0.0
- 0.5
- 1.0
- 5.0
Answers:
- 8.0
- 12.0
- 18.0
- 36.0
Answers:
- Server component
- Distribution component
- Client software
- None of the above
Answers:
- An option in the Start Menu.
- An option in the Preferences panel of Interface Builder.
- An option in the Preferences panel of Language Directory.
- Any of the above.
Answers:
- Its retain count is incremented by 1.
- Its retain count is decremented by 1.
- Its retain count remains same.
- Its retain count is set to 0.
Answers:
- failure to create
- no object to return
- status code 420
- nil
Answers:
- Yes
- No
Answers:
- Movie capture is already in progress.
- The device does not support movie capture.
- The device is out of disk space.
- All of the above
Answers:
- 0
- 1
- True
- False
Answers:
- AIFF
- WAVE
- CAF
- All of the above have file size restrictions.
Answers:
- key
- padding
- cipherText
- certificate
Answers:
- id
- Class
- SEL
- BOOL
Answers:
- NO
- YES
- enable
- disable
Answers:
- texture
- buffer
- shaders
- renderbuffer
- framebuffers
Answers:
- ~
- $
- ^
- *
Answers:
- Initialization methods
- loadView
- viewDidLoad
- dealloc
Answers:
- The application will be terminated.
- The application will be shifted to background execution context.
- The application will continue to run until its execution ends.
- The application will be paused.
Answers:
- Input vector X
- Input vector Y
- Scaling factor for X
- Scaling factor for Y
Answers:
- cameraCaptureMode
- mediaTypes
- startVideoCapture
- takePicture
- videoQuality
Answers:
- Objects in a Nib file typically have connections between them that should not be broken.
- If Objects in a Nib file have broken connections, they should not be restored.
- The size of the files.
- None of the above
Answers:
- @interface
- @implementation
- @protocol
- @class
- @end
[UIImage imageNamed:@”ExampleImage.PNG”]
Answers:
- The image file will load in the simulator but not in iPhone OS 4.0 because it is case sensitive.
- The image file will load in iPhone OS 4.0 but not in the simulator because it is case sensitive.
- The file will load in both the simulator and iPhone OS 4.0 because they are both case insensitive.
- The file will load neither in the simulator nor in iPhone OS 4.0 because they are both case sensitive.
Answers:
- string
- array of strings
- number
- dictionary
– (void)discardContentIfPossible
Answers:
- It will discard the contents of the object because the counter is 0.
- It will not discard the contents of the object because the counter is required to be above 0.
- It will not discard the content of the object as a negative counter value is required.
- None of the above
Answers:
- bannerLoaded
- currentContentSizeIdentifier
- bannerViewActionInProgress
- delegate
- requiredContentSizeIdentifiers
Answers:
- Multitasking
- Apple Push Notification Service
- Local Notification
- Gesture Recognizers
No comments:
Post a Comment