SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
iOS 5 App Development Basics
Start Test
Study First
Subjects
:
it-skills
,
apple
Instructions:
Answer 50 questions in 15 minutes.
If you are not ready to take this test, you can
study here
.
Match each statement with the correct term.
Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.
This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. Defines what an object can do
Objective-C
User Interface
class
Snapshot feature
2. The ________ class provided a container for the management and display of views
UIWindow
int
*
NSString *phrase = @'Hello World';
3. A unique combination of view controller and view
do{/*stuff to do here*/}while(<boolean expression>);
pound
Isolate the functional components of an app
scene
4. Fixed iteration repetition control structure syntax
||
accessors
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
graduationParty ... addAttendee:withDish
5. Given: [graduationParty addAttendee: @'Aunt Jane' withDish: @'deviled eggs']; The 'receiver' is _______; the 'selector' is _________
pound
class
graduationParty ... addAttendee:withDish
wrap
6. What property needs to be set before a scroll view (UIScrollView) will scroll?
Utility apps
contentSize
Object Library
@2x
7. What do the Autosizing settings of the Size Inspector do?
Determine how controls resize/reposition themselves when a device changes orientation
Cocoa Touch - Media - Core Services - Core OS
convenience
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
8. Which Apple project template creates a simple view/view controller application
label
protocols
Single View Application
Xcode
9. Key sequence on a Mac to select between open application
#import <UIKIT/UIKIT.h>
viewDidLoad
%1.2f
Command + Tab
10. These define to which messages the datasource and delegate respond
#import 'myFile.h'
Determine how controls resize/reposition themselves when a device changes orientation
protocols
'Interface Builder'
11. Alternative selection mechanism when many conditions exist
switch
Objective-C
@
/*blah blah blah */
12. If you wish to 'echo print' breadcrumb info as you develop your app - this panel must be visible
The Console area of the Debug area
m
Nib (but a few call it 'zib' but that's not preferred)
segmented control
13. What computer language is the storyboard written in?
%@
NSArray
pound
XML
14. Syntax for sending an object a message with no parameters
static
switch
[<object variable> <method name>];
header
15. A common button type that indicates additional information is available
NSMutableString
retain - release - dealloc - autorelease
detail disclosure
parameter
16. Key sequence to hide/show Navigator View
[[<class name> alloc] init];
Hold down the Option key and point to the other label. The distance will be shown
Cocoa Touch
Command+0
17. This element should 'always' accompany a slider to indicate its purpose
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
label
UITextView
XML
18. This file contains the scene - segue and relationship definitions for your project
storyboard
IBAction)moveMe:(id)sender;
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
implicitly declare a matching instance variable
19. Apps written to assist users with special disabilities
nested message send
Command+0
UIApplication
accessible apps
20. Formatting placeholder for a floating point value with one digit on the left of the decimal and two digits on the right
alpha ... 0
%1.2f
eXtensible Markup Language
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
21. Return type indicating a method returns nothing
2
#import 'myFile.h'
interface and implementation files
void
22. The Utilities area has two sections: ______ and ______
implicitly declare a matching instance variable
IBAction
Identity Inspector
inspector and library
23. IDE
stub
nested message send
Integrated Development Environment
UIPicker
24. Beginning with iOS4 - applications no longer terminate when the user presses the...
UILabel *myLabel = [[UILabel alloc] init];
UIPicker
Home button
static
25. _____ are methods that we can connect to events.
Collections
@synthesize
casting
Actions
26. Proper way to pronounce a *.xib file
27. Under what circumstances would you need an outlet for a button if it's just needed to trigger an action?
28. Formatting placeholder for integers
%d
114 x 114
@
implicitly declare a matching instance variable
29. @synthesize directives should be placed _____ (above or below) the @implementation directive in the implementation file
below
com.basicversity
segue
import
30. 'plist' stands for...
UIImageView
NSDate
property list
onscreen 'widgets' a user can interact with
31. Class used for image manipulations such as scaling - rotation and translation. Its data structure represents a matrix used for affine transformations.
IBOutlet
conform
myImage@2x.png
CGAffineTransform
32. Piece of information provided to a method when it is messaged
[<object variable> <method name>];
parameter
CGAffineTransform
Object library
33. Used to test an app without needing an actual physical device
iOS Simulator
Group
==
label.text=@'Hello World!';
34. Any 'directive' statement begins with this symbol
Collections
nonatomic
@
parameter
35. Write a statement to declare and initialize a label object called 'myLabel'
disclosure
Cocoa Touch
UILabel *myLabel = [[UILabel alloc] init];
'Software Development Kit'
36. Syntax for block-comment
/*blah blah blah */
Control-click on the View Controller's icon to bring up a Connections dialog
attributes
Look at the three icons at the upper left portion of the Debug console. The far left one - 'Show only the Variables View' will not show the NSLog-ed information. Click the center icon ('Show the Variables View and the Console') or the right icon ('Sh
37. Boolean for 'true' in Objective-C
YES
IBAction
To provide a convenient way of setting the button's title in the code
First Responder
38. A class that implements a protocol is said to ____ to that protocol
conform
void
sending an object a message
static
39. Allows you to easily track multiple versions of your project
Snapshot feature
y *= 5;
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
Option+Command+ 0
40. Files used to create a class
To provide a convenient way of setting the button's title in the code
static
interface and implementation files
alpha
41. To unroll or roll up a hierarchy of files - objects or classes - you click the ______ _______ at the root element
NSString *userName;
disclosure triangle
token
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
42. Class that creates an array capable of being changed after it is create
NSMutableArray
sending an object a message
Collections
@
43. SDK
44. Apps that provide easy access to a single screen of information with a backside view for modifying preferences
Utility apps
Collections
UITextField
storyboard
45. Implements a logical AND condition
&&
Control-click on the View Controller's icon to bring up a Connections dialog
320 x 480
NSString *userName;
46. An alternative way to see the connections between an object in the Interface Builder and it's code in Xcode without using the Connections inspector
47. NS stands for...
Nib (but a few call it 'zib' but that's not preferred)
disclosure triangle
retain - release - dealloc - autorelease
NeXSTEP
48. Character used to show an element as a literal string
Isolate the functional components of an app
storyboards
@
NSDictionary
49. A view has a 'Shrink' button whose label needs to change once it is clicked to 'Grow'. Write a 'message' type command to change it's label to 'Grow'
50. Although it is possible to declare an instance variable and then define a corresponding property - you may also use @property alone to...
alpha
Collections
implicitly declare a matching instance variable
import