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. Master class in iOS
scene
detail disclosure
NSObject
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
2. Size of iPhone retina icon image in pixels
114 x 114
!
%d
Option+Command+ 0
3. Shortcut for writing: count = count + 1;
nibfile
320 x 480
count++;
conform
4. Extension for implementation file
m
Nib (but a few call it 'zib' but that's not preferred)
IBAction)moveMe:(id)sender;
Command+0
5. Purpose of 'Secure' attribute for text fields
Treats the field as a password - hiding each character as it is typed
NSString
Program received signal: EXC_BAD_ACCESS
rand( )%21
6. Formatting placeholder for strings
ption+Command+Return
protocols
double
%@
7. 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'
8. Key sequence to hide/show Navigator View
Cocoa Touch
Identity Inspector
Command+0
static
9. Formatting placeholder for integers
%d
NSString
productivity
storyboard
10. A class that manages the user's interaction with the iDevice
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
iOS Simulator
view controller
11. Class used for image manipulations such as scaling - rotation and translation. Its data structure represents a matrix used for affine transformations.
CGAffineTransform
wrap
%d
ption+Command+Return
12. IDE for iPhone Development
Model-View-Controller
parameter
Xcode
productivity
13. Proper way to pronounce a *.xib file
14. This type of app is mostly custom controllers and graphics
NO
model
IBOutlet
immersive
15. Way to refer to an object within its own methods
self
Object Library
NeXSTEP
Commmand-R
16. Any 'directive' statement begins with this symbol
NO
@
[<object variable> <method name>: p1];
performance
17. NS stands for...
NeXSTEP
xcodeproj
&&
disclosure triangle
18. Key sequence to hide/show the Assistant Editor
retain
Command+R
ption+Command+Return
@
19. 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
20. In the UK - the '#' symbol is often called the ____ symbol
implementation file
UIApplication
hash
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
21. Negation symbol
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
!
myImage@2x.png
do{/*stuff to do here*/}while(<boolean expression>);
22. Framework used to write iPhone apps
Cocoa Touch
#import 'myFile.h'
instantiate
modal views
23. Given: #import <UIKit/UIKit.h> @interface WelcomeViewController : UIViewController @end The superclass for WelcomeViewController
[<object variable> <method name>: p1];
UIViewController
double
png
24. Formatting placeholder for a floating point value with one digit on the left of the decimal and two digits on the right
NSObject
%@
%1.2f
do{/*stuff to do here*/}while(<boolean expression>);
25. Method used to print information in an output panel
NSLog
%1.2f
view controller
Group
26. Code fragment for echo printing the name of a function as it loads (for tracing the sequence of code in a project...leaving breadcrumbs)
27. The bar across the top of the Editor area that shows you the item you are editing
'Software Development Kit'
NSMutableString
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
Jump Bar
28. Crash statement likely when an NSString is assigned a value with an incorrect format
Program received signal: EXC_BAD_ACCESS
pound
hash
implicitly declare a matching instance variable
29. Something the simulator cannot reliably test
casting
UILabel *myLabel = [[UILabel alloc] init];
performance
@synthesize
30. Data type for highly precise numbers with huge numbers of decimal places
Xcode
double
float
nil
31. 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.
view
y *= 5;
modal
count++;
32. Data type for true/false type variables
320 x 480
immersive
bool
NSLog
33. The goal of the MVC design pattern
IBAction
Model-View-Controller
Isolate the functional components of an app
scene
34. An array of background images called 'bgImages' has been declared as an instance variable in your header file. You have created a set of 5 background images stored in UIImage variables wp1 through wp5. Write a line of code that initializes the array.
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
57 x 57
superclass
35. iPhone and iPad ____ support .png transparency
Cocoa Touch
do not
float
web view
36. 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
nonatomic
NSLog
Model-View-Controller
UIPicker
37. Storage location for a piece of information
sending an object a message
+
do not
variable
38. Class that creates an array capable of being changed after it is create
viewDidLoad
detail disclosure
affine
NSMutableArray
39. Collection of interface elements and data storage elements etc you can access from your applications
-
C
Cocoa Touch
IBOutlet
40. Fixed iteration repetition control structure syntax
Group
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
modal
Object Library
41. What type of object does a web view expect as a parameter when loading a remote URL?
pipe
nibfile
NSURLRequest
wrap
42. How do you get rid of an onscreen keyboard?
43. Calling a method is the same as...
%@
sending an object a message
accessors
First Responder
44. Used to set up an outgoing connection from the implementation code to the view
Cocoa Touch
mutators
protocols
IBOutlet
45. 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
do{/*stuff to do here*/}while(<boolean expression>);
boiler-plate
Option-click a symbol
46. Recommended image type for button graphics
view
hasShrunk==YES && hasMoved == YES
png
UIViewController
47. This Xcode utility allows you to check CPU usage - memory allocation and network/file access (among other things)
Instruments
<>
x--;
mutators
48. API
114 x 114
Application Programming Interface
immersive
casting
49. The '@' symbol is shorthand for creating one of these
#import <UIKIT/UIKIT.h>
%@
NSString
To provide a convenient way of setting the button's title in the code
50. Under what circumstances would you need an outlet for a button if it's just needed to trigger an action?