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. This Xcode utility allows you to check CPU usage - memory allocation and network/file access (among other things)
Object library
segue
scene
Instruments
2. Syntax for single-line comment
//blah blah blah
instantiation
!
alpha ... 0
3. Process of creating an active object from a class
instantiation
Double-click
y *= 5;
Instruments
4. Write a statement to declare and initialize a label object called 'myLabel' to 'GO!'
5. These define to which messages the datasource and delegate respond
protocols
IBAction
UIImageView
Nib (but a few call it 'zib' but that's not preferred)
6. You have created some 'breadcrumbs' using NSLog to trace the path of your code - and the debug area is open - yet you see no information in the panel. What's the problem and what is the solution?
7. strong and nonatomic are examples of ...
Human Interface Guide
attributes
label.text=@'Hello World!';
Nib (but a few call it 'zib' but that's not preferred)
8. Symbol often denoting a 'pointer'
*
<type> <variableName>;
float
int
9. iPhone and iPad ____ support .png transparency
class
do not
segmented control
myImage@2x.png
10. @property directives should be placed ____ (above or below) any IBActions in the header file
modal views
above
variable
retain - release - dealloc - autorelease
11. Syntax for block-comment
1024 x 768
!=
/*blah blah blah */
IBAction
12. Another name for a 'button bar'
NSURL
segmented control
NSLog
NSURLRequest
13. Directive to include other interface files that an application might need to access
header
debugger
viewDidLoad
import
14. MVC
Identity Inspector
Model-View-Controller
import
alpha ... 0
15. This element should 'always' accompany a slider to indicate its purpose
label
attributes
Nib (but a few call it 'zib' but that's not preferred)
scene
16. Shortcut for writing: x = x - 1;
x--;
C
eXtensible Markup Language
static
17. NS stands for...
NeXSTEP
alpha ... 0
&&
Snapshot feature
18. Property affecting an element's transparency
First Responder
alpha
above
||
19. This type of app is typically one screen - and gives you the basics with minimal interaction
utility
XML
@
UIApplication
20. 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.
Control-click on the View Controller's icon to bring up a Connections dialog
control-dragging
controller
xcodeproj
21. Boolean for 'true' in Objective-C
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
YES
CGAffineTransform
The Console area of the Debug area
22. Key sequence to open the Project Navigator (left panel)
#import 'myFile.h'
instantiate
Command+1
Touch Up Inside
23. Consider: int x = 6;int y = 7;float quotient = (float) x/y;The statement that creates the variable 'quotient' is an example of ...
Option-click a symbol
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
Human Interface Guide
casting
24. Fixed iteration repetition control structure syntax
Command+S
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
IBOutlet
UITextView
25. Companion to the @property directive
/*blah blah blah */
2
@synthesize
sending an object a message
26. Under what circumstances would you need an outlet for a button if it's just needed to trigger an action?
27. Opens the Xcode Quick Help Assistant
attributes
superclass
Option-click a symbol
@2x
28. Every iOS application implements a subclass of _________
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.
:
UIApplication
controller
29. 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.
UIPicker
modal
#import 'myFile.h'
int
30. What event do you use to detect a button tap?
Touch Up Inside
scene
-
import
31. Recommended image type for button graphics
Nib (but a few call it 'zib' but that's not preferred)
Scheme
png
Control-click on the View Controller's icon to bring up a Connections dialog
32. What do the Autosizing settings of the Size Inspector do?
sending an object a message
Determine how controls resize/reposition themselves when a device changes orientation
boiler-plate
'Software Development Kit'
33. An app has boolean variables 'hasShrunk' and 'hasMoved'. Write a boolean condition that checks if each are true
IBAction
hasShrunk==YES && hasMoved == YES
int
Isolate the functional components of an app
34. The 'First Responder' in a scene is not an object it is considered a ________
proxy
Command+R
accessible apps
NSArray
35. Objective-C is an extension (super set) of...
[[<class name> alloc] init];
Hold down the Option key and point to the other label. The distance will be shown
C
inspector and library
36. API
stub
*
Application Programming Interface
NSURL
37. Name of the '|' symbol
pipe
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
modal views
1024 x 768
38. Extension for implementation file
m
nested message send
Command+0
Integrated Development Environment
39. Extension for interface file
iOS Simulator
h
id
320 x 480
40. Crash statement likely when an NSString is assigned a value with an incorrect format
Program received signal: EXC_BAD_ACCESS
%
control-dragging
property list
41. Formatting placeholder for integers
/*blah blah blah */
Objective-C
UIApplication
%d
42. Syntax for declaring a variable
Scheme
modal
<type> <variableName>;
NO
43. Piece of information provided to a method when it is messaged
parameter
self
alpha ... 1
do{/*stuff to do here*/}while(<boolean expression>);
44. 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?
protocols
Hold down the Option key and point to the other label. The distance will be shown
static
productivity
45. Dimensions of iPhone (in points)
main()
320 x 480
IBAction
Control-click on the View Controller's icon to bring up a Connections dialog
46. Syntax for declaring a string called 'userName'
NSString *userName;
IBAction)moveMe:(id)sender;
int
IBOutlet
47. Two-way selection logic block
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
Object Library
Control-click on the View Controller's icon to bring up a Connections dialog
graduationParty ... addAttendee:withDish
48. The files that contain all the scenes you will use in a project.
pound
storyboards
attributes
y *= 5;
49. A transition between scenes - frequently with a visual transition effect applied
segue
IBAction
'Software Development Kit'
NSMutableString
50. What's the difference between Cocoa and Cocoa Touch?
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
%d
320 x 480
sending an object a message