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. In the MVC design pattern for iOS apps - this aspect provides the underlying data and methods that offer information to the rest of the application
!
model
switch
IBAction
2. 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)
IBAction)moveMe:(id)sender;
UIImageView
performance
stub
3. Key sequence to open the Attributes Inspector
Option+Command+4
png
Snapshot feature
com.basicversity
4. Dimensions of iPad (in points)
1024 x 768
ption+Command+Return
while(<boolean expression>){/*stuff to do here*/}
#import 'myFile.h'
5. ______ are variables that can store a ____ to an object.
UIImageView
NSMutableArray
ommand+Return
Outlets ... pointer
6. MVC
Model-View-Controller
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
protocols
@synthesize directive
7. In your implementation file - the _____ method (provided in stub form by Apple) runs after machine language code reserves some space in memory for your View. This method is often used to create a 'clean slate' as an app opens.
viewDidLoad
%
IBAction
interface file
8. Correct the error: label.text = 'Hello World !';
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
9. Apps that provide easy access to a single screen of information with a backside view for modifying preferences
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
+
Utility apps
NSLog
10. A class that manages the user's interaction with the iDevice
view controller
while(<boolean expression>){/*stuff to do here*/}
productivity
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
11. Single line text field
NSMutableArray
UITextField
UIViewController
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
12. Key sequence to hide/show Utilities View
Option+Command+ 0
property list
IBAction
control-dragging
13. NS stands for...
instantiate
NeXSTEP
storyboard
[[<class name> alloc] init];
14. The 'First Responder' in a scene is not an object it is considered a ________
pipe
To provide a convenient way of setting the button's title in the code
%d
proxy
15. strong and nonatomic are examples of ...
attributes
wrap
ption+Command+Return
utility
16. What are data detectors?
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
Xcode
Jump Bar
NSObject
17. You have created some 'breadcrumbs' using NSLog to trace the path of your code - and the debug area is open - yet you see no information in the panel. What's the problem and what is the solution?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
18. Development approach (design pattern) to structure iOS applications
Command + Tab
Gray circle with a white 'X' in it - positioned to the right of the text field box
Model-View-Controller
NSLog
19. The first method called when a user taps an application icon
main()
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
disclosure
IBAction)moveMe:(id)sender;
20. Formatting placeholder for strings
==
Command+1
%@
&&
21. The goal of the MVC design pattern
boiler-plate
accessible apps
Isolate the functional components of an app
double
22. Syntax for declaring a string called 'userName'
do not
NSString *userName;
segmented control
NSString
23. Two-way selection logic block
utility
nonatomic
do{/*stuff to do here*/}while(<boolean expression>);
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
24. This file contains the scene - segue and relationship definitions for your project
protocols
storyboard
Home button
float
25. iPhone and iPad ____ support .png transparency
NSString
instantiate
do not
accessible apps
26. Symbol often denoting a 'pointer'
float
Seques .... relationships
*
Identity Inspector
27. IB
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
28. This type of app is typically one screen - and gives you the basics with minimal interaction
Object Library
utility
NSMutableArray
Option+Command+4
29. Synonym for interface file
@
IBOutlet
header
IBAction)moveMe:(id)sender;
30. This type of app typically involves hierarchical data
Actions
productivity
Cocoa Touch
320 x 480
31. In the MVC design pattern for iOS apps - view consists of the various...
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
32. UI
pipe
//blah blah blah
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
User Interface
33. Crash statement likely when an NSString is assigned a value with an incorrect format
Program received signal: EXC_BAD_ACCESS
:
retain - release - dealloc - autorelease
Snapshot feature
34. Used to receive an event in code and trigger something
IBAction
UITextField
Touch Up Inside
NSString *userName;
35. Declaring a method in an interface file - before it is actually implemented is called _______ the method
prototyping
Option+Command+ 0
debugger
Identity Inspector
36. Key sequence on a Mac to select between open application
Command + Tab
//blah blah blah
Command+S
@synthesize directive
37. A view that is displayed on top of an original view when user interactions are required
NSArray
modal views
Hold down the Option key and point to the other label. The distance will be shown
instantiation
38. Key sequence to save an Xcode file
%@
Determine how controls resize/reposition themselves when a device changes orientation
!=
Command+S
39. RAM for iPhone
2
productivity
switch
512MB
40. Master class in iOS
retain - release - dealloc - autorelease
'Interface Builder'
segue
NSObject
41. Word used to indicate that a user can't interact with a given element
wrap
stub
Cocoa Touch
static
42. This type of app is mostly custom controllers and graphics
iOS Simulator
@
parameter
immersive
43. Used to define a list of all methods and properties a class uses
114 x 114
segue
detail disclosure
interface file
44. Scaling factor to make an image suitable for retina display
2
Nib (but a few call it 'zib' but that's not preferred)
implementation file
IBAction)moveMe:(id)sender;
45. Piece of information provided to a method when it is messaged
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
Application Programming Interface
Objective-C
parameter
46. The bar across the top of the Editor area that shows you the item you are editing
Jump Bar
Option-click a symbol
Control-click on the View Controller's icon to bring up a Connections dialog
stub
47. ______ enable applications to store multiple pieces of information in a single object
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
Command+R
IBAction)moveMe:(id)sender;
Collections
48. Shortcut for writing: count = count + 1;
self
Hold down the Option key and point to the other label. The distance will be shown
'Software Development Kit'
count++;
49. To use a new class you need to _____ it
segue
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
instantiate
NSMutableArray
50. Size of iPhone 'lo-res' icon image in pixels
57 x 57
%d
Treats the field as a password - hiding each character as it is typed
#import <UIKIT/UIKIT.h>