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. Apps that provide easy access to a single screen of information with a backside view for modifying preferences
nil
Utility apps
Object Library
UIViewController
2. 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
3. UI
%d
User Interface
stub
modal
4. In most graphical user interfaces - a _____ view is a view that must be dismissed ('OK' button - 'Cancel' button for example) before the user can perform any other actions in the application.
IBAction
rand( )%21
modal
Command+1
5. The ________ class provided a container for the management and display of views
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
viewDidLoad
disclosure
UIWindow
6. Class used to work with dates as objects
NSDate
label
IBAction
affine
7. This element should 'always' accompany a slider to indicate its purpose
label
ption+Command+Return
Cocoa Touch
above
8. 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
9. Class used for creating image views
@
UIImageView
nil
'Software Development Kit'
10. Another name for a 'button bar'
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
attributes
segmented control
Group
11. To unroll or roll up a hierarchy of files - objects or classes - you click the ______ _______ at the root element
m
disclosure triangle
label.text=@'Hello World!';
sending an object a message
12. This type of app is typically one screen - and gives you the basics with minimal interaction
self
property list
utility
!
13. Fixed iteration repetition control structure syntax
parameter
x--;
myImage@2x.png
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
14. Name of the drop-down menu in Xcode that lets you select the device used with the iOS Simulator
implicitly declare a matching instance variable
Size Inspector
To provide a convenient way of setting the button's title in the code
Scheme
15. Templates fill in a bunch of ______-_______ code that serves as a framework in which to write future implementations
boiler-plate
strong
//blah blah blah
switch
16. Class that builds upon another class
subclass
@end
114 x 114
accessible apps
17. Code fragment for echo printing the name of a function as it loads (for tracing the sequence of code in a project...leaving breadcrumbs)
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
18. Declare and initialize a string that says: 'Hello World' whose identifier if 'phrase' . Use the shortest command possible.
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
19. Denotes an instance method
-
57 x 57
Instruments
y *= 5;
20. A class that implements a protocol is said to ____ to that protocol
Outlets ... pointer
image view
conform
parameter
21. Purpose of the 'Auto-enable Return Key' attribute for text fields
model
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
'Interface Builder'
wrap
22. Something the simulator cannot reliably test
storyboard
performance
parameter
IBOutlet
23. Negation symbol
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.
h
!
UIImageView
24. Used to test an app without needing an actual physical device
iOS Simulator
[[<class name> alloc] init];
YES
||
25. Class of strings that can be changed
NSMutableString
NSString
NSURL
Objective-C
26. Shortcut for writing: y = y * 5;
while(<boolean expression>){/*stuff to do here*/}
Determine how controls resize/reposition themselves when a device changes orientation
y *= 5;
Single View Application
27. Key sequence to run an app in Xcode
The Console area of the Debug area
<type> <variableName>;
Command+R
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
28. Term used to describe each screen of an iPhone app
instantiation
2
view
%@
29. Way to refer to an object within its own methods
accessible apps
implementation file
self
Command+R
30. Data type for highly precise numbers with huge numbers of decimal places
below
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
Command+R
double
31. The HIG requires some kind of _____ element in a cell if there is more information available
NSDate
disclosure
switch
CGAffineTransform
32. Class that allows URL management
@synthesize directive
instantiate
NSURL
NSDictionary
33. iPhone and iPad ____ support .png transparency
Double-click
conform
First Responder
do not
34. 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.
x--;
@
<type> <variableName>;
viewDidLoad
35. @property directives should be placed ____ (above or below) any IBActions in the header file
NSURLRequest
implementation file
above
#import <UIKIT/UIKIT.h>
36. Apple's classes often provide a special initialization method called a _____ method
modal
main()
'Software Development Kit'
convenience
37. To zoom between an overview of the entire storyboard and the actual size view - ______ the storyboard background.
IBOutlet
XML
control-dragging
Double-click
38. Key sequence to open the Attributes Inspector
productivity
instance variable
Option+Command+4
workspace
39. This keyword in the property directive is related to the concept of mutability and basically asks Apple to handle the details. This is the more 'relaxed' - less 'powerful' setting of two possibilities
variable
modal
nonatomic
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.
40. A ______ is where you edit a view and assign a controller to it.
Isolate the functional components of an app
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
scene
CGAffineTransform
41. What type of object does a web view expect as a parameter when loading a remote URL?
Touch Up Inside
+
NSURLRequest
affine
42. Document Apple uses to evaluate apps for the App Store
subclass
do not
NSURL
Human Interface Guide
43. Allows you to easily track multiple versions of your project
interface and implementation files
&&
Snapshot feature
count++;
44. A virtual 'box' for organizing related projects
nested message send
workspace
@end
y *= 5;
45. Another name for format specification
instantiate
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
token
Classes
46. Data type for true/false type variables
Object-oriented programming
||
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
bool
47. A transition between scenes - frequently with a visual transition effect applied
segue
do{/*stuff to do here*/}while(<boolean expression>);
@end
Gray circle with a white 'X' in it - positioned to the right of the text field box
48. Shortcut for writing: count = count + 1;
Option+Command+4
count++;
Classes
<>
49. Beginning with iOS4 - applications no longer terminate when the user presses the...
modal views
Actions
Home button
UIPicker
50. Name of the '|' symbol
Snapshot feature
Size Inspector
bool
pipe