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. Class of collection data type which stores information as object/key pairs
NSDictionary
y *= 5;
disclosure triangle
Classes
2. Used to receive an event in code and trigger something
[[<class name> alloc] init];
strong
IBAction
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
3. Syntax for single-line comment
//blah blah blah
UIViewController
Option+Command+4
iOS Simulator
4. Single line text field
Objective-C
UITextField
token
Object library
5. Storage place for a piece of information specific to a class
iOS Simulator
instance variable
Program received signal: EXC_BAD_ACCESS
while(<boolean expression>){/*stuff to do here*/}
6. @property directives should be placed ____ (above or below) any IBActions in the header file
Option+Command+4
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
above
%
7. Defines the functional building blocks (classes) that make iOS devices perform certain actions
hasShrunk==YES && hasMoved == YES
Cocoa Touch
wrap
:
8. Write a statement to declare and initialize a label object called 'myLabel' to 'GO!'
9. setters
Outlets ... pointer
mutators
label.text=@'Hello World!';
header
10. The files that contain all the scenes you will use in a project.
Isolate the functional components of an app
#import 'myFile.h'
nibfile
storyboards
11. To unroll or roll up a hierarchy of files - objects or classes - you click the ______ _______ at the root element
disclosure triangle
NSDate
Cocoa Touch - Media - Core Services - Core OS
%1.2f
12. Process of creating an active object from a class
NSDate
immersive
instantiation
Model-View-Controller
13. Purpose of the 'Auto-enable Return Key' attribute for text fields
m
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
segmented control
interface and implementation files
14. Connections between Objects in the Interface Builder and the header file are formed by _____-_______ from the object to the proper place in the header file
nil
Hold down the Option key and point to the other label. The distance will be shown
<type> <variableName>;
control-dragging
15. These define to which messages the datasource and delegate respond
graduationParty ... addAttendee:withDish
Control-click on the View Controller's icon to bring up a Connections dialog
protocols
%1.2f
16. Defines what an object can do
NSString *phrase = @'Hello World';
Cocoa Touch
class
int
17. IDE for iPhone Development
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
inspector and library
Object library
Xcode
18. Which Apple project template creates a simple view/view controller application
segmented control
Single View Application
instantiation
id
19. A fully transparent image has an _____ property value of _____
do not
wrap
protocols
alpha ... 0
20. Used to indicate any type of object
@synthesize
2
id
Something unique - based on the app's name (perhaps abbreviated). Avoid 'NS' or 'UI' since they are used in Apple's frameworks. A framework or library should always be prefixed. For a simple app - they are not necessary.
21. Property affecting an element's transparency
IBOutlet
alpha
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
:
22. Any 'directive' statement begins with this symbol
@
NSMutableString
Single View Application
switch
23. Although it is possible to declare an instance variable and then define a corresponding property - you may also use @property alone to...
implicitly declare a matching instance variable
segmented control
57 x 57
Human Interface Guide
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
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
:
IBOutlet
25. getters
accessors
label
parameter
NSString *phrase = @'Hello World';
26. You have two labels in Interface Builder. One is selected (You clicked on it). How can you tell the distance between it and the other label?
convenience
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
[[<class name> alloc] init];
Hold down the Option key and point to the other label. The distance will be shown
27. Data type for highly precise numbers with huge numbers of decimal places
NSLog
double
com.basicversity
[<object variable> <method name>];
28. Class that creates an array capable of being changed after it is create
UIImageView
||
NSMutableArray
Jump Bar
29. Tests to see whether two values are not equal
Double-click
Scheme
!=
x--;
30. Piece of information provided to a method when it is messaged
UIViewController
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
Human Interface Guide
parameter
31. Formatting placeholder for strings
Collections
IBOutlet
%@
nonatomic
32. This file contains the scene - segue and relationship definitions for your project
Object-oriented programming
image view
iOS Simulator
storyboard
33. Boolean for 'true' in Objective-C
Identity Inspector
Cocoa Touch - Media - Core Services - Core OS
NSArray
YES
34. This element should 'always' accompany a slider to indicate its purpose
viewDidLoad
nonatomic
retain - release - dealloc - autorelease
label
35. Apple's classes often provide a special initialization method called a _____ method
NSDate
'Interface Builder'
instantiate
convenience
36. This type of app is typically one screen - and gives you the basics with minimal interaction
float
UIPicker
utility
Utility apps
37. Directive to include other interface files that an application might need to access
import
@2x
int
#import 'myFile.h'
38. Two-way selection logic block
hash
parameter
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
39. Data type for whole numbers
switch
int
@synthesize
y *= 5;
40. Syntax for declaring a variable
IBAction
<type> <variableName>;
UIPicker
Integrated Development Environment
41. Apps that provide easy access to a single screen of information with a backside view for modifying preferences
Utility apps
NSArray
Scheme
==
42. 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.
controller
class
UIPicker
512MB
43. Syntax to include UIKIT in a class
disclosure
Integrated Development Environment
#import <UIKIT/UIKIT.h>
debugger
44. Proper way to pronounce a *.xib file
45. What are the guidelines for the class prefix for a project?
46. Class that allows URL management
while(<boolean expression>){/*stuff to do here*/}
NSURL
512MB
retain
47. Shortcut for writing: count = count + 1;
Cocoa Touch - Media - Core Services - Core OS
conform
subclass
count++;
48. Shortcut for writing: y = y * 5;
Command+1
Scheme
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
y *= 5;
49. Key sequence to hide/show Navigator View
alpha
Command+0
Control-click on the View Controller's icon to bring up a Connections dialog
/*blah blah blah */
50. You have an instance variable called 'myLabel' that is a member of UILabel. In an app - you set it's text property to 'Howdy' with the correctly-written command: myLabel.text = @'Howdy'; Re-write this command using [ ] message-sending syntax