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 - view consists of the various...
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
2. The ________ class provided a container for the management and display of views
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
hash
UIWindow
Identity Inspector
3. If a method name includes a colon (:) this indicates a required _________
parameter
productivity
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.
header
4. Apps written to assist users with special disabilities
@end
accessible apps
web view
Option+Command+ 0
5. What computer language is the storyboard written in?
XML
rand( )%21
model
myImage@2x.png
6. UI
Command + Tab
Single View Application
User Interface
controller
7. Denotes an instance method
@synthesize directive
sending an object a message
Model-View-Controller
-
8. Implements a logical AND condition
Model-View-Controller
&&
do not
y *= 5;
9. Name of the '|' symbol
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
modal views
pipe
Command+0
10. A transition between scenes - frequently with a visual transition effect applied
Option-click a symbol
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
IBAction
segue
11. This keyword in the property directive is related to memory management and refers to the idea that we want to maintain control of memory issues
retain
attributes
Snapshot feature
viewDidLoad
12. Write a line of code creating a pointer to a wall paper image called 'wp1' that refers to a resource in an app with the file name 'wallPaper_01.png'
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
13. Define a collection of methods to perform a task
Isolate the functional components of an app
protocols
#import 'myFile.h'
accessors
14. Combining two messages into a single line of code
The Console area of the Debug area
IBAction)moveMe:(id)sender;
nested message send
main()
15. An app has boolean variables 'hasShrunk' and 'hasMoved'. Write a boolean condition that checks if each are true
Control-click on the View Controller's icon to bring up a Connections dialog
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
pipe
hasShrunk==YES && hasMoved == YES
16. Formatting placeholder for integers
%d
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
header
sending an object a message
17. Always used to end the list of objects when initializing an array
#import 'myFile.h'
nil
[myLabel setText:@'Howdy'];
parameter
18. Defines what an object can do
NSURL
/*blah blah blah */
Object library
class
19. A class that implements a protocol is said to ____ to that protocol
conform
Control-click on the View Controller's icon to bring up a Connections dialog
[[<class name> alloc] init];
do{/*stuff to do here*/}while(<boolean expression>);
20. Collection of interface elements and data storage elements etc you can access from your applications
Cocoa Touch
!=
Jump Bar
implicitly declare a matching instance variable
21. Symbol often denoting a 'pointer'
Hold down the Option key and point to the other label. The distance will be shown
*
NSURL
!
22. In the UK - the '#' symbol is often called the ____ symbol
convenience
hash
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
Determine how controls resize/reposition themselves when a device changes orientation
23. The object currently in control and interacting with the user
IBOutlet
sending an object a message
First Responder
Identity Inspector
24. Shortcut for writing: x = x - 1;
x--;
com.basicversity
57 x 57
variable
25. 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
26. Development approach (design pattern) to structure iOS applications
Model-View-Controller
prototyping
model
class
27. Extension for implementation file
&&
Instruments
@
m
28. Synonym for interface file
NeXSTEP
UITextView
stub
header
29. 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).
UIPicker
'Interface Builder'
wrap
instantiation
30. What are data detectors?
NSLog(@'%s' - __FUNCTION__);
Cocoa Touch
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
31. Size of iPhone 'lo-res' icon image in pixels
boiler-plate
57 x 57
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
variable
32. Syntax for sending an object a message with one parameter (p1)
1024 x 768
pound
property list
[<object variable> <method name>: p1];
33. The first method called when a user taps an application icon
main()
%
nil
NSLog(@'%s' - __FUNCTION__);
34. Delimiter for a list of protocols
:
nested message send
UILabel *myLabel = [[UILabel alloc] init];
<>
35. NS stands for...
NeXSTEP
Double-click
IBAction
NSMutableArray
36. Way to refer to an object within its own methods
modal views
int
To provide a convenient way of setting the button's title in the code
self
37. Method used to print information in an output panel
UIViewController
NSLog
Cocoa Touch
above
38. Extension for interface file
NSURL
h
IBOutlet
!=
39. Shortcut for writing: y = y * 5;
<>
viewDidLoad
affine
y *= 5;
40. A fully transparent image has an _____ property value of _____
prototyping
IBAction
alpha ... 0
Determine how controls resize/reposition themselves when a device changes orientation
41. Tests to see whether two values are equal
User Interface
==
CGAffineTransform
superclass
42. Syntax to include UIKIT in a class
#import <UIKIT/UIKIT.h>
Program received signal: EXC_BAD_ACCESS
detail disclosure
protocols
43. The '@' symbol is shorthand for creating one of these
Size Inspector
NSString
variable
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
44. These define to which messages the datasource and delegate respond
scene
com.basicversity
ption+Command+Return
protocols
45. Language used to write iOS apps
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
view
Cocoa Touch - Media - Core Services - Core OS
Objective-C
46. Companion to the @property directive
nonatomic
@synthesize
myImage@2x.png
view
47. Used to set up an outgoing connection from the implementation code to the view
web view
IBOutlet
contentSize
To provide a convenient way of setting the button's title in the code
48. Syntax for single-line comment
Identity Inspector
//blah blah blah
scene
[[<class name> alloc] init];
49. Storage place for a piece of information specific to a class
!
modal views
1024 x 768
instance variable
50. 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?
model
void
Hold down the Option key and point to the other label. The distance will be shown
accessible apps