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. Alternative selection mechanism when many conditions exist
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
switch
Command+0
Control-click on the View Controller's icon to bring up a Connections dialog
2. Key sequence to run an app in Xcode
Command+R
nested message send
#import 'myFile.h'
Identity Inspector
3. The goal of the MVC design pattern
nil
Option+Command+ 0
Isolate the functional components of an app
static
4. Although it is possible to declare an instance variable and then define a corresponding property - you may also use @property alone to...
conform
segue
float
implicitly declare a matching instance variable
5. NS stands for...
NeXSTEP
implicitly declare a matching instance variable
Isolate the functional components of an app
casting
6. Syntax for sending an object a message with no parameters
Command+R
[<object variable> <method name>: p1];
Isolate the functional components of an app
[<object variable> <method name>];
7. An app has boolean variables 'hasShrunk' and 'hasMoved'. Write a boolean condition that checks if each are true
Cocoa Touch - Media - Core Services - Core OS
hasShrunk==YES && hasMoved == YES
com.basicversity
@synthesize directive
8. The HIG requires some kind of _____ element in a cell if there is more information available
proxy
%d
disclosure
implementation file
9. Defines what an object can do
sending an object a message
alpha
class
IBOutlet
10. Something the simulator cannot reliably test
performance
Human Interface Guide
Commmand-R
accessors
11. @property directives should be placed ____ (above or below) any IBActions in the header file
Scheme
above
&&
eXtensible Markup Language
12. Combining two messages into a single line of code
nested message send
alpha ... 0
productivity
NSLog
13. A virtual 'box' for organizing related projects
Object library
superclass
@synthesize directive
workspace
14. Used to define a list of all methods and properties a class uses
interface file
To provide a convenient way of setting the button's title in the code
NSURLRequest
Classes
15. iPhone and iPad ____ support .png transparency
storyboard
token
do not
nested message send
16. RAM for iPhone
@
instance variable
Control-click on the View Controller's icon to bring up a Connections dialog
512MB
17. IDE
Integrated Development Environment
Model-View-Controller
scene
label
18. Used to receive an event in code and trigger something
do{/*stuff to do here*/}while(<boolean expression>);
NSDictionary
rand( )%21
IBAction
19. Typical header syntax for a button that will be applying the 'moveMe' action in an app
Attributes Inspector
IBAction)moveMe:(id)sender;
<type> <variableName>;
Gray circle with a white 'X' in it - positioned to the right of the text field box
20. Delimiter for a list of protocols
Command+0
UITextView
mutators
<>
21. Key sequence to save an Xcode file
Command+S
subclass
:
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
22. Extension for MainStoryboard
Single View Application
x--;
storyboard
Object Library
23. Data type for numbers with 'tame' numbers of decimal points
float
NSString
Size Inspector
NSObject
24. Key sequence to open the Project Navigator (left panel)
Hold down the Option key and point to the other label. The distance will be shown
Command+1
First Responder
alpha ... 0
25. Document Apple uses to evaluate apps for the App Store
NSObject
controller
UIViewController
Human Interface Guide
26. Postcondition repetition structure syntax
%
do{/*stuff to do here*/}while(<boolean expression>);
modal views
114 x 114
27. These define to which messages the datasource and delegate respond
viewDidLoad
protocols
below
above
28. Files used to create a class
@synthesize
convenience
Application Programming Interface
interface and implementation files
29. Allows you to easily track multiple versions of your project
Nib (but a few call it 'zib' but that's not preferred)
iOS Simulator
retain - release - dealloc - autorelease
Snapshot feature
30. Symbol often denoting a 'pointer'
Objective-C
id
*
segmented control
31. Formatting placeholder for integers
%d
Outlets ... pointer
!=
while(<boolean expression>){/*stuff to do here*/}
32. What are data detectors?
Isolate the functional components of an app
#import <UIKIT/UIKIT.h>
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
retain - release - dealloc - autorelease
33. An _______ is used to 'advertise' a method in your code that should be called when a certain event takes place
Control-click on the View Controller's icon to bring up a Connections dialog
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
sending an object a message
IBAction
34. Purpose of the 'Auto-enable Return Key' attribute for text fields
xcodeproj
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
//blah blah blah
instance variable
35. Directive to include other interface files that an application might need to access
Hold down the Option key and point to the other label. The distance will be shown
import
nonatomic
IBAction
36. Syntax for sending an object a message with one parameter (p1)
[<object variable> <method name>: p1];
model
alpha ... 0
productivity
37. Two-way selection logic block
workspace
storyboards
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
38. Word used to indicate that a user can't interact with a given element
static
@end
Identity Inspector
NSMutableString
39. The bar across the top of the Editor area that shows you the item you are editing
[myLabel setText:@'Howdy'];
Cocoa Touch
Single View Application
Jump Bar
40. The first method called when a user taps an application icon
main()
count++;
Application Programming Interface
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
41. A common button type that indicates additional information is available
detail disclosure
alpha ... 0
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
subclass
42. Class that builds upon another class
subclass
Determine how controls resize/reposition themselves when a device changes orientation
Objective-C
-
43. To use a new class you need to _____ it
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
Single View Application
Treats the field as a password - hiding each character as it is typed
instantiate
44. Extension for an iPhone/iPad app
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
implicitly declare a matching instance variable
xcodeproj
header
45. Master class in iOS
NSObject
Group
segmented control
token
46. An example of a common collection data type
Isolate the functional components of an app
Application Programming Interface
Instruments
NSArray
47. Method used to print information in an output panel
eXtensible Markup Language
UIViewController
property list
NSLog
48. Key sequence to hide/show Utilities View
segue
1024 x 768
Option+Command+ 0
do not
49. A fully transparent image has an _____ property value of _____
alpha ... 0
Commmand-R
Control-click on the View Controller's icon to bring up a Connections dialog
nonatomic
50. The files that contain all the scenes you will use in a project.
label.text=@'Hello World!';
Control-click on the View Controller's icon to bring up a Connections dialog
Outlets ... pointer
storyboards