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. Typical header syntax for a button that will be applying the 'moveMe' action in an app
property list
scene
NSLog
IBAction)moveMe:(id)sender;
2. Crash statement likely when an NSString is assigned a value with an incorrect format
instantiation
Program received signal: EXC_BAD_ACCESS
Human Interface Guide
interface file
3. Another name for a 'button bar'
segmented control
controller
Hold down the Option key and point to the other label. The distance will be shown
Object-oriented programming
4. Key sequence to hide/show the Assistant Editor
ption+Command+Return
y *= 5;
pound
Object library
5. Dimensions of iPad (in points)
[[<class name> alloc] init];
1024 x 768
Group
UIApplication
6. iPhone and iPad ____ support .png transparency
Collections
YES
do not
do{/*stuff to do here*/}while(<boolean expression>);
7. Calling a method is the same as...
sending an object a message
NSLog(@'%s' - __FUNCTION__);
NSURL
png
8. Used to display image file resources and show simple animations
Double-click
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
image view
IBOutlet
9. Syntax for single-line comment
workspace
//blah blah blah
Determine how controls resize/reposition themselves when a device changes orientation
stub
10. Denotes a class method
+
workspace
alpha ... 1
image view
11. Syntax for reserving memory and initializing an object
!
Control-click on the View Controller's icon to bring up a Connections dialog
pound
[[<class name> alloc] init];
12. This type of app is typically one screen - and gives you the basics with minimal interaction
#import <UIKIT/UIKIT.h>
57 x 57
utility
nested message send
13. The Inspector you would use to control your layout in Interface Builder
IBAction
57 x 57
Size Inspector
int
14. Collection of interface elements and data storage elements etc you can access from your applications
Utility apps
segmented control
Cocoa Touch
57 x 57
15. Master class in iOS
Treats the field as a password - hiding each character as it is typed
First Responder
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
NSObject
16. IB
17. The object currently in control and interacting with the user
First Responder
accessible apps
The Console area of the Debug area
XML
18. The first method called when a user taps an application icon
nonatomic
main()
scene
Double-click
19. In the MVC design pattern for iOS apps - this aspect provides the underlying data and methods that offer information to the rest of the application
||
boiler-plate
model
view
20. The Inspector you would use to tweak the way interface objects appear
NSString *userName;
IBOutlet
Attributes Inspector
320 x 480
21. Language used to write iOS apps
Actions
Objective-C
<type> <variableName>;
nonatomic
22. setters
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
main()
instantiate
mutators
23. Piece of information provided to a method when it is messaged
parameter
sending an object a message
IBAction
controller
24. Declaring a method in an interface file - before it is actually implemented is called _______ the method
/*blah blah blah */
'Software Development Kit'
prototyping
immersive
25. Size of iPhone 'lo-res' icon image in pixels
/*blah blah blah */
57 x 57
1024 x 768
control-dragging
26. Declare and initialize a string that says: 'Hello World' whose identifier if 'phrase' . Use the shortest command possible.
27. This element should 'always' accompany a slider to indicate its purpose
label
png
Treats the field as a password - hiding each character as it is typed
@
28. How do you show a storyboard file as source code?
29. A tool in Xcode to help fix broken code
ommand+Return
debugger
First Responder
Model-View-Controller
30. Resembles a slot machine display
UIPicker
retain
UITextField
UIImageView
31. Other name for an *.xib file
retain - release - dealloc - autorelease
nibfile
Seques .... relationships
y *= 5;
32. Syntax to include UIKIT in a class
rand( )%21
storyboard
#import <UIKIT/UIKIT.h>
@
33. 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.
viewDidLoad
Identity Inspector
accessible apps
com.basicversity
34. Key sequence to hide/show Utilities View
Model-View-Controller
Seques .... relationships
Option+Command+ 0
png
35. The Inspector you would access to gain access to various accessibility attributes
Identity Inspector
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
Control-click on the View Controller's icon to bring up a Connections dialog
Outlets ... pointer
36. Process of creating an active object from a class
instantiation
subclass
Command+R
NO
37. Expression to create a random number in [0 -20];
Isolate the functional components of an app
disclosure triangle
token
rand( )%21
38. Consider: int x = 6;int y = 7;float quotient = (float) x/y;The statement that creates the variable 'quotient' is an example of ...
hasShrunk==YES && hasMoved == YES
float
hash
casting
39. This Xcode utility allows you to check CPU usage - memory allocation and network/file access (among other things)
proxy
Instruments
Single View Application
&&
40. 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.
modal
interface and implementation files
Utility apps
114 x 114
41. The Round Rect Button is found in this library
Object Library
accessible apps
Jump Bar
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
42. Property affecting an element's transparency
alpha
segue
Command+S
scene
43. A skeleton (holding place) or framework of code that will be completed in the future; provided initially so code will compile (but it may not function)
interface and implementation files
below
Integrated Development Environment
stub
44. Apps written to assist users with special disabilities
accessible apps
UIApplication
NO
while(<boolean expression>){/*stuff to do here*/}
45. Write a statement to declare and initialize a label object called 'myLabel'
accessible apps
UILabel *myLabel = [[UILabel alloc] init];
wrap
512MB
46. To unroll or roll up a hierarchy of files - objects or classes - you click the ______ _______ at the root element
parameter
[<object variable> <method name>: p1];
conform
disclosure triangle
47. 4 Top down technology layers making up iOS
inspector and library
static
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
Cocoa Touch - Media - Core Services - Core OS
48. What type of object does a web view expect as a parameter when loading a remote URL?
%d
NSURLRequest
graduationParty ... addAttendee:withDish
workspace
49. Which Apple project template creates a simple view/view controller application
mutators
&&
parameter
Single View Application
50. Implements a logical OR condition
convenience
Commmand-R
||
rand( )%21