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. MVC
IBOutlet
nested message send
class
Model-View-Controller
2. What's the difference between Cocoa and Cocoa Touch?
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
debugger
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
Utility apps
3. The bar across the top of the Editor area that shows you the item you are editing
onscreen 'widgets' a user can interact with
Jump Bar
bool
%1.2f
4. getters
&&
accessors
First Responder
hash
5. The goal of the MVC design pattern
//blah blah blah
%d
Hold down the Option key and point to the other label. The distance will be shown
Isolate the functional components of an app
6. Closes an interface file
Determine how controls resize/reposition themselves when a device changes orientation
@end
productivity
graduationParty ... addAttendee:withDish
7. Syntax for sending an object a message with no parameters
[<object variable> <method name>];
ption+Command+Return
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
UITextView
8. Purpose of the 'Auto-enable Return Key' attribute for text fields
Cocoa Touch
nil
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
below
9. Indicates a lack of any value at all
Seques .... relationships
&&
nil
wrap
10. A view that is displayed on top of an original view when user interactions are required
@synthesize directive
instantiate
pipe
modal views
11. Development approach (design pattern) to structure iOS applications
Identity Inspector
proxy
NSURLRequest
Model-View-Controller
12. Another name for a 'button bar'
segmented control
h
detail disclosure
retain
13. Define a collection of methods to perform a task
x--;
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
protocols
IBAction)moveMe:(id)sender;
14. strong and nonatomic are examples of ...
attributes
import
[<object variable> <method name>];
int
15. Declaring a method in an interface file - before it is actually implemented is called _______ the method
NSMutableArray
disclosure triangle
nil
prototyping
16. Calling a method is the same as...
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
sending an object a message
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
Integrated Development Environment
17. Tests to see whether two values are not equal
!=
while(<boolean expression>){/*stuff to do here*/}
57 x 57
detail disclosure
18. The Inspector you would access to gain access to various accessibility attributes
Jump Bar
'Interface Builder'
Identity Inspector
scene
19. @synthesize directives should be placed _____ (above or below) the @implementation directive in the implementation file
+
below
NSLog(@'%s' - __FUNCTION__);
stub
20. In a stepper control - when this attribute option is checked - the stepper's value is automatically set to the minimum value when the maximum value is exceeded (or vice versa).
affine
model
wrap
m
21. Given: #import <UIKit/UIKit.h> @interface WelcomeViewController : UIViewController @end The superclass for WelcomeViewController
UIViewController
2
view
prototyping
22. Syntax for single-line comment
instance variable
#import 'myFile.h'
//blah blah blah
NSURLRequest
23. Crash statement likely when an NSString is assigned a value with an incorrect format
Program received signal: EXC_BAD_ACCESS
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
XML
debugger
24. Formatting placeholder for a floating point value with one digit on the left of the decimal and two digits on the right
%1.2f
above
Command+S
nonatomic
25. Objective-C is an extension (super set) of...
Control-click on the View Controller's icon to bring up a Connections dialog
nested message send
alpha ... 1
C
26. Framework used to write iPhone apps
To provide a convenient way of setting the button's title in the code
Instruments
Cocoa Touch
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
27. Any 'directive' statement begins with this symbol
@
Attribute settings for some onscreen controls (like text areas) that analyze content and provide helpful links based on what they find. For example - phone numbers can be touched to dial the phone; web addresses can launch Safari if tapped - etc
NSLog(@'%s' - __FUNCTION__);
320 x 480
28. A unique combination of view controller and view
implementation file
scene
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
viewDidLoad
29. 4 Top down technology layers making up iOS
Size Inspector
h
Cocoa Touch - Media - Core Services - Core OS
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
30. Apps written to assist users with special disabilities
strong
accessible apps
Command+S
#import <UIKIT/UIKIT.h>
31. For a text field - what does the 'Clear Button' look like?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
32. What are the guidelines for the class prefix for a project?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
33. You are creating an app for a company whose URL is http://www.basicversity.com . What should be the company identifier for the app when you begin the project?
Option+Command+4
com.basicversity
@synthesize directive
Command + Tab
34. Fixed iteration repetition control structure syntax
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
Control-click on the View Controller's icon to bring up a Connections dialog
eXtensible Markup Language
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
35. Other name for an *.xib file
superclass
nonatomic
nibfile
Group
36. iPhone and iPad ____ support .png transparency
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
do{/*stuff to do here*/}while(<boolean expression>);
do not
Attribute settings for some onscreen controls (like text areas) that analyze content and provide helpful links based on what they find. For example - phone numbers can be touched to dial the phone; web addresses can launch Safari if tapped - etc
37. Negation symbol
!
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
#import <UIKIT/UIKIT.h>
Nib (but a few call it 'zib' but that's not preferred)
38. Syntax to include UIKIT in a class
Program received signal: EXC_BAD_ACCESS
NSString
NSLog
#import <UIKIT/UIKIT.h>
39. Shortcut for writing: x = x - 1;
pipe
x--;
proxy
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
40. In the MVC design pattern for iOS apps - this aspect is responsible for receiving user input and acting accordingly - and serves as a 'bridge' between the other two components. It is the backbone of the app.
Size Inspector
segue
workspace
controller
41. Syntax to include the fictitious user-created file 'myFile.h'
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
42. Language used to write iOS apps
//blah blah blah
Cocoa Touch
Objective-C
instance variable
43. A skeleton (holding place) or framework of code that will be completed in the future; provided initially so code will compile (but it may not function)
%@
Command+0
stub
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
44. Attribute that informs the system that the object referred to needs to be kept around and not discarded from memory
model
Option+Command+ 0
ption+Command+Return
strong
45. What are data detectors?
Snapshot feature
Attribute settings for some onscreen controls (like text areas) that analyze content and provide helpful links based on what they find. For example - phone numbers can be touched to dial the phone; web addresses can launch Safari if tapped - etc
NSURL
ption+Command+Return
46. Class that creates an array capable of being changed after it is create
storyboards
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
detail disclosure
NSMutableArray
47. A virtual 'box' for organizing related projects
workspace
label.text=@'Hello World!';
NSDictionary
'Interface Builder'
48. Class used for creating image views
class
IBOutlet
UIImageView
Attributes Inspector
49. Syntax for reserving memory and initializing an object
<type> <variableName>;
Utility apps
nonatomic
[[<class name> alloc] init];
50. This type of app typically involves hierarchical data
UILabel *myLabel = [[UILabel alloc] init];
superclass
Object-oriented programming
productivity