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. Recommended image type for button graphics
performance
Cocoa Touch
segue
png
2. The library that contains the objects you can add to a view or XIB file
Object library
<type> <variableName>;
IBOutlet
class
3. Declaring a method in an interface file - before it is actually implemented is called _______ the method
prototyping
XML
NSDate
==
4. Size of iPhone retina icon image in pixels
%d
114 x 114
m
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
5. API
Identity Inspector
Application Programming Interface
ommand+Return
@
6. Syntax for single-line comment
nibfile
==
//blah blah blah
iOS Simulator
7. Alternative selection mechanism when many conditions exist
switch
Command+0
Attributes Inspector
Home button
8. The Inspector you would use to control your layout in Interface Builder
disclosure
NSObject
Size Inspector
detail disclosure
9. Tests to see whether two values are equal
==
utility
alpha ... 0
NSLog(@'%s' - __FUNCTION__);
10. Used to indicate any type of object
Classes
id
Identity Inspector
UILabel *myLabel = [[UILabel alloc] init];
11. Attribute that informs Xcode not to worry about different parts of the application using a property at the same time
nonatomic
NSURLRequest
x--;
Double-click
12. Allows you to easily track multiple versions of your project
implementation file
Snapshot feature
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
controller
13. Syntax for block-comment
/*blah blah blah */
Cocoa Touch
Document Outline Area or Outline View
inspector and library
14. Every iOS application implements a subclass of _________
Cocoa Touch
UIApplication
Collections
com.basicversity
15. The Utilities area has two sections: ______ and ______
//blah blah blah
inspector and library
accessible apps
rand( )%21
16. Which Apple project template creates a simple view/view controller application
IBOutlet
Single View Application
Snapshot feature
//blah blah blah
17. Symbol used for inheritance
Single View Application
:
utility
rand( )%21
18. Files used to create a class
==
interface and implementation files
Control-click on the View Controller's icon to bring up a Connections dialog
<>
19. A file folder in the navigator panel is called a ________
UIPicker
Cocoa Touch
scene
Group
20. Under what circumstances would you need an outlet for a button if it's just needed to trigger an action?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
21. Used to define a list of all methods and properties a class uses
interface and implementation files
interface file
[[<class name> alloc] init];
Nib (but a few call it 'zib' but that's not preferred)
22. Collection of interface elements and data storage elements etc you can access from your applications
//blah blah blah
hasShrunk==YES && hasMoved == YES
Cocoa Touch
Human Interface Guide
23. These define to which messages the datasource and delegate respond
@end
below
protocols
NSString *userName;
24. Scaling factor to make an image suitable for retina display
Double-click
instance variable
2
114 x 114
25. Calling a method is the same as...
contentSize
switch
Xcode
sending an object a message
26. The bar across the top of the Editor area that shows you the item you are editing
ption+Command+Return
convenience
self
Jump Bar
27. @synthesize directives should be placed _____ (above or below) the @implementation directive in the implementation file
below
inspector and library
utility
Classes
28. Formatting placeholder for a floating point value with one digit on the left of the decimal and two digits on the right
320 x 480
void
Outlets ... pointer
%1.2f
29. Key sequence to save an Xcode file
Command+S
UIViewController
instantiation
NSArray
30. Data type for whole numbers
Command+0
NSURL
NSString *phrase = @'Hello World';
int
31. Combining two messages into a single line of code
while(<boolean expression>){/*stuff to do here*/}
nested message send
*
Touch Up Inside
32. A fully transparent image has an _____ property value of _____
immersive
eXtensible Markup Language
accessors
alpha ... 0
33. An alternative way to see the connections between an object in the Interface Builder and it's code in Xcode without using the Connections inspector
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
34. Companion to the @property directive
NSMutableString
@synthesize
[[<class name> alloc] init];
Cocoa Touch
35. Tests to see whether two values are not equal
-
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
!=
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
36. If a method name includes a colon (:) this indicates a required _________
disclosure
2
Determine how controls resize/reposition themselves when a device changes orientation
parameter
37. ______ are variables that can store a ____ to an object.
Outlets ... pointer
import
<>
proxy
38. Beginning with iOS4 - applications no longer terminate when the user presses the...
float
Identity Inspector
Home button
Double-click
39. Formatting placeholder for strings
%@
accessors
NSString *phrase = @'Hello World';
boiler-plate
40. To zoom between an overview of the entire storyboard and the actual size view - ______ the storyboard background.
utility
Object Library
Double-click
workspace
41. 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).
wrap
Command + Tab
Home button
Nib (but a few call it 'zib' but that's not preferred)
42. Process of creating an active object from a class
label
nil
instantiation
modal
43. 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
Object-oriented programming
nonatomic
Touch Up Inside
x--;
44. Denotes a class method
NSLog
+
UITextView
/*blah blah blah */
45. A view that is displayed on top of an original view when user interactions are required
Snapshot feature
superclass
Cocoa Touch
modal views
46. Class of strings that can be changed
NSMutableString
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
||
Control-click on the View Controller's icon to bring up a Connections dialog
47. Used to set up an outgoing connection from the implementation code to the view
IBOutlet
'Interface Builder'
NSDate
<type> <variableName>;
48. 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
49. ______ enable applications to store multiple pieces of information in a single object
UIWindow
320 x 480
Collections
<type> <variableName>;
50. A transition between scenes - frequently with a visual transition effect applied
NSURL
Utility apps
Size Inspector
segue