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. An _______ is used to enable your code to talk to objects within views
float
IBOutlet
segue
Identity Inspector
2. Class of collection data type which stores information as object/key pairs
Utility apps
png
NSURLRequest
NSDictionary
3. Property affecting an element's transparency
bool
alpha
NSObject
[myLabel setText:@'Howdy'];
4. Used to display image file resources and show simple animations
image view
affine
||
scene
5. Typical header syntax for a button that will be applying the 'moveMe' action in an app
CGAffineTransform
IBAction)moveMe:(id)sender;
Document Outline Area or Outline View
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
6. Storage place for a piece of information specific to a class
instance variable
retain - release - dealloc - autorelease
Command+S
NSDictionary
7. Collection of interface elements and data storage elements etc you can access from your applications
nested message send
Cocoa Touch
First Responder
Double-click
8. Syntax for sending an object a message with one parameter (p1)
[<object variable> <method name>: p1];
mutators
Integrated Development Environment
id
9. Document Apple uses to evaluate apps for the App Store
Home button
Scheme
Human Interface Guide
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
10. Although it is possible to declare an instance variable and then define a corresponding property - you may also use @property alone to...
workspace
implicitly declare a matching instance variable
'Interface Builder'
ption+Command+Return
11. Data type for highly precise numbers with huge numbers of decimal places
inspector and library
double
UITextView
%1.2f
12. 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.
Instruments
viewDidLoad
Classes
segue
13. 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
14. 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
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
Identity Inspector
mutators
nonatomic
15. Combining two messages into a single line of code
2
instantiate
nested message send
NSURL
16. Alternative selection mechanism when many conditions exist
disclosure
modal
static
switch
17. Any 'directive' statement begins with this symbol
alpha ... 1
Attributes Inspector
@
model
18. Syntax for block-comment
instantiation
/*blah blah blah */
UITextField
Touch Up Inside
19. NS stands for...
NeXSTEP
NSLog(@'%s' - __FUNCTION__);
57 x 57
UIImageView
20. Tests to see whether two values are not equal
variable
NSString *userName;
mutators
!=
21. The first method called when a user taps an application icon
main()
NSLog
protocols
UITextField
22. These define to which messages the datasource and delegate respond
UILabel *myLabel = [[UILabel alloc] init];
protocols
conform
detail disclosure
23. Master class in iOS
NSObject
implementation file
Scheme
token
24. Extension for implementation file
m
boiler-plate
Isolate the functional components of an app
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
25. 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?
To provide a convenient way of setting the button's title in the code
label
token
Hold down the Option key and point to the other label. The distance will be shown
26. Given: #import <UIKit/UIKit.h> @interface WelcomeViewController : UIViewController @end The superclass for WelcomeViewController
nonatomic
Option-click a symbol
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
UIViewController
27. 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
28. Key sequence to open the Standard Editor
float
ommand+Return
instantiation
subclass
29. Key sequence to hide/show the Assistant Editor
/*blah blah blah */
ption+Command+Return
conform
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
30. This file contains the scene - segue and relationship definitions for your project
Home button
nonatomic
conform
storyboard
31. Apps written to assist users with special disabilities
accessible apps
The Console area of the Debug area
variable
Object-oriented programming
32. You are creating an app for a company whose URL is http://www.basicversity.com . What should be the company identifier for the app when you begin the project?
iOS Simulator
#import 'myFile.h'
com.basicversity
below
33. Syntax for reserving memory and initializing an object
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
[[<class name> alloc] init];
2
%d
34. Beginning with iOS4 - applications no longer terminate when the user presses the...
Home button
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
Command+S
nested message send
35. Postcondition repetition structure syntax
UILabel *myLabel = [[UILabel alloc] init];
do{/*stuff to do here*/}while(<boolean expression>);
instantiation
viewDidLoad
36. The bar across the top of the Editor area that shows you the item you are editing
Jump Bar
Cocoa Touch
workspace
pipe
37. Formatting placeholder for strings
void
m
%@
web view
38. Used to define a list of all methods and properties a class uses
interface file
NSMutableArray
count++;
pipe
39. Development approach (design pattern) to structure iOS applications
Command+R
accessible apps
Model-View-Controller
double
40. Scaling factor to make an image suitable for retina display
above
%1.2f
Command+R
2
41. @synthesize directives should be placed _____ (above or below) the @implementation directive in the implementation file
disclosure triangle
image view
NSURLRequest
below
42. Apps that provide easy access to a single screen of information with a backside view for modifying preferences
png
Snapshot feature
Utility apps
scene
43. Syntax to include UIKIT in a class
superclass
property list
The Console area of the Debug area
#import <UIKIT/UIKIT.h>
44. Boolean for 'true' in Objective-C
below
YES
immersive
token
45. Size of iPhone retina icon image in pixels
view
Nib (but a few call it 'zib' but that's not preferred)
57 x 57
114 x 114
46. Tests to see whether two values are equal
NSLog
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.
Option+Command+4
==
47. This type of app is typically one screen - and gives you the basics with minimal interaction
implementation file
Object Library
utility
Model-View-Controller
48. Character used to show an element as a literal string
Integrated Development Environment
@
Command+R
casting
49. Objective-C is an extension (super set) of...
C
rand( )%21
performance
Integrated Development Environment
50. Always used to end the list of objects when initializing an array
Model-View-Controller
Cocoa Touch - Media - Core Services - Core OS
nil
Command+0