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. Consider: int x = 6;int y = 7;float quotient = (float) x/y;The statement that creates the variable 'quotient' is an example of ...
casting
nonatomic
Integrated Development Environment
proxy
2. Postcondition repetition structure syntax
controller
do{/*stuff to do here*/}while(<boolean expression>);
segmented control
ommand+Return
3. Purpose of the 'Auto-enable Return Key' attribute for text fields
IBOutlet
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
Identity Inspector
Commmand-R
4. The Utilities area has two sections: ______ and ______
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
Outlets ... pointer
inspector and library
UITextView
5. Size of iPhone retina icon image in pixels
Command+1
pound
114 x 114
Home button
6. Boolean for 'false' in Objective-C
NSMutableArray
NO
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
7. Class that another class inherits from
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
superclass
convenience
Object-oriented programming
8. The library that contains the objects you can add to a view or XIB file
m
[myLabel setText:@'Howdy'];
Object library
Double-click
9. Scaling factor to make an image suitable for retina display
Attributes Inspector
Option+Command+ 0
2
pipe
10. The Inspector you would use to control your layout in Interface Builder
Home button
Program received signal: EXC_BAD_ACCESS
casting
Size Inspector
11. Tests to see whether two values are not equal
view
Outlets ... pointer
utility
!=
12. The goal of the MVC design pattern
Isolate the functional components of an app
bool
retain
||
13. Name of the drop-down menu in Xcode that lets you select the device used with the iOS Simulator
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
instantiation
Scheme
The Console area of the Debug area
14. Other name for an *.xib file
convenience
nibfile
NeXSTEP
protocols
15. Name of the '|' symbol
pipe
<>
token
view controller
16. Syntax for sending an object a message with one parameter (p1)
viewDidLoad
interface and implementation files
retain
[<object variable> <method name>: p1];
17. An app has boolean variables 'hasShrunk' and 'hasMoved'. Write a boolean condition that checks if each are true
nibfile
#import 'myFile.h'
hasShrunk==YES && hasMoved == YES
NSObject
18. What computer language is the storyboard written in?
float
&&
interface file
XML
19. 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
NSMutableString
id
y *= 5;
nonatomic
20. Tests to see whether two values are equal
productivity
subclass
parameter
==
21. A class that manages the user's interaction with the iDevice
Gray circle with a white 'X' in it - positioned to the right of the text field box
hasShrunk==YES && hasMoved == YES
scene
view controller
22. If you have an image file called 'myImage.png' and you make a hi-res version for the retina display - what should be the name of the new file?
Program received signal: EXC_BAD_ACCESS
myImage@2x.png
iOS Simulator
NSDictionary
23. Templates fill in a bunch of ______-_______ code that serves as a framework in which to write future implementations
rand( )%21
boiler-plate
Objective-C
superclass
24. Declaring a method in an interface file - before it is actually implemented is called _______ the method
prototyping
casting
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
alpha ... 0
25. @property directives should be placed ____ (above or below) any IBActions in the header file
Size Inspector
Jump Bar
interface and implementation files
above
26. 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.
NSLog(@'%s' - __FUNCTION__);
'Software Development Kit'
modal
Option+Command+4
27. Extension for interface file
NSString *userName;
NSArray
h
stub
28. Resembles a slot machine display
workspace
UIImageView
UIPicker
Object library
29. Alternative selection mechanism when many conditions exist
switch
disclosure triangle
Determine how controls resize/reposition themselves when a device changes orientation
114 x 114
30. To unroll or roll up a hierarchy of files - objects or classes - you click the ______ _______ at the root element
%1.2f
boiler-plate
disclosure triangle
rand( )%21
31. Defines the functional building blocks (classes) that make iOS devices perform certain actions
image view
Cocoa Touch
NSMutableString
[<object variable> <method name>: p1];
32. What do the Autosizing settings of the Size Inspector do?
Determine how controls resize/reposition themselves when a device changes orientation
Touch Up Inside
label
UIViewController
33. Syntax for declaring a string called 'userName'
double
Scheme
114 x 114
NSString *userName;
34. In the US - the '#' symbol is often called the ____ symbol
parameter
pound
wrap
-
35. Collection of interface elements and data storage elements etc you can access from your applications
[<object variable> <method name>];
%@
Cocoa Touch
property list
36. A unique combination of view controller and view
Cocoa Touch
scene
attributes
myImage@2x.png
37. Connections between Objects in the Interface Builder and the header file are formed by _____-_______ from the object to the proper place in the header file
switch
Cocoa Touch
NSString *phrase = @'Hello World';
control-dragging
38. Development approach (design pattern) to structure iOS applications
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
NO
Xcode
Model-View-Controller
39. Purpose of 'Secure' attribute for text fields
Treats the field as a password - hiding each character as it is typed
Jump Bar
parameter
instantiation
40. Attribute that informs Xcode not to worry about different parts of the application using a property at the same time
Program received signal: EXC_BAD_ACCESS
web view
nonatomic
Identity Inspector
41. Syntax for declaring a variable
nil
<type> <variableName>;
IBAction
casting
42. Something the simulator cannot reliably test
Actions
Cocoa Touch - Media - Core Services - Core OS
performance
@
43. Key sequence to open the Attributes Inspector
Determine how controls resize/reposition themselves when a device changes orientation
Option+Command+4
eXtensible Markup Language
Option-click a symbol
44. In the MVC design pattern for iOS apps - this aspect is responsible for receiving user input and acting accordingly - and serves as a 'bridge' between the other two components. It is the backbone of the app.
controller
Home button
Application Programming Interface
pipe
45. A view that is displayed on top of an original view when user interactions are required
#import <UIKIT/UIKIT.h>
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
above
modal views
46. Syntax for single-line comment
workspace
Single View Application
//blah blah blah
NSDictionary
47. Data type for true/false type variables
@
alpha
bool
while(<boolean expression>){/*stuff to do here*/}
48. Term used to describe each screen of an iPhone app
label
import
view
Actions
49. Process of creating an active object from a class
attributes
instantiation
implementation file
Object Library
50. Creates 'getters' and 'setters'
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
%d
@synthesize directive
retain - release - dealloc - autorelease