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. The Utilities area has two sections: ______ and ______
inspector and library
Scheme
Object library
512MB
2. Name of the drop-down menu in Xcode that lets you select the device used with the iOS Simulator
Scheme
<type> <variableName>;
Identity Inspector
controller
3. Defines the functional building blocks (classes) that make iOS devices perform certain actions
==
Cocoa Touch
#import 'myFile.h'
viewDidLoad
4. Write a statement to declare and initialize a label object called 'myLabel'
property list
UILabel *myLabel = [[UILabel alloc] init];
workspace
y *= 5;
5. Extension for an iPhone/iPad app
@2x
conform
:
xcodeproj
6. 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.
Control-click on the View Controller's icon to bring up a Connections dialog
workspace
storyboard
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
7. The Round Rect Button is found in this library
Command+0
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.
Object Library
Gray circle with a white 'X' in it - positioned to the right of the text field box
8. Used to set up an outgoing connection from the implementation code to the view
Integrated Development Environment
IBOutlet
iOS Simulator
'Software Development Kit'
9. A view that is displayed on top of an original view when user interactions are required
modal views
[<object variable> <method name>: p1];
/*blah blah blah */
@end
10. 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
float
web view
Option-click a symbol
11. Class that creates an array capable of being changed after it is create
instantiation
NSMutableArray
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
*
12. A common button type that indicates additional information is available
%d
detail disclosure
Jump Bar
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
13. To zoom between an overview of the entire storyboard and the actual size view - ______ the storyboard background.
convenience
import
Double-click
protocols
14. iOS functional building blocks
Application Programming Interface
Classes
Identity Inspector
Collections
15. What are data detectors?
Option+Command+ 0
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
[<object variable> <method name>: p1];
hash
16. A virtual 'box' for organizing related projects
attributes
Nib (but a few call it 'zib' but that's not preferred)
label
workspace
17. 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.
Classes
||
'Interface Builder'
controller
18. Beginning with iOS4 - applications no longer terminate when the user presses the...
parameter
UIPicker
Home button
Identity Inspector
19. Recommended image type for button graphics
png
segmented control
NSLog
main()
20. Purpose of 'Secure' attribute for text fields
nibfile
NO
UIImageView
Treats the field as a password - hiding each character as it is typed
21. Every iOS application implements a subclass of _________
Object library
UIApplication
NSDate
IBAction
22. Document Apple uses to evaluate apps for the App Store
NSLog
Xcode
Human Interface Guide
Single View Application
23. Key sequence to open the Project Navigator (left panel)
Command+R
control-dragging
Document Outline Area or Outline View
Command+1
24. Any 'directive' statement begins with this symbol
Command+0
alpha
productivity
@
25. Proper way to pronounce a *.xib file
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. Extension for interface file
retain
h
view controller
Outlets ... pointer
28. Precondition repetition structure syntax
Integrated Development Environment
segue
while(<boolean expression>){/*stuff to do here*/}
Home button
29. XML
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.
!
detail disclosure
eXtensible Markup Language
30. A fully opaque image has an _______ property value of ______
accessible apps
!=
protocols
alpha ... 1
31. iPhone and iPad ____ support .png transparency
C
do not
detail disclosure
Cocoa Touch - Media - Core Services - Core OS
32. Always used to end the list of objects when initializing an array
nil
Hold down the Option key and point to the other label. The distance will be shown
Command+R
Identity Inspector
33. Syntax for sending an object a message with one parameter (p1)
Model-View-Controller
@end
[<object variable> <method name>: p1];
id
34. Negation symbol
NO
!
NeXSTEP
controller
35. Class that builds upon another class
Cocoa Touch - Media - Core Services - Core OS
attributes
subclass
IBAction
36. Templates fill in a bunch of ______-_______ code that serves as a framework in which to write future implementations
Touch Up Inside
boiler-plate
com.basicversity
y *= 5;
37. Data type for highly precise numbers with huge numbers of decimal places
NSArray
convenience
double
scene
38. Property affecting an element's transparency
alpha
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
Application Programming Interface
Model-View-Controller
39. An _______ is used to 'advertise' a method in your code that should be called when a certain event takes place
implementation file
114 x 114
UIViewController
IBAction
40. The goal of the MVC design pattern
Isolate the functional components of an app
Snapshot feature
main()
alpha
41. Used to define a list of all methods and properties a class uses
UIPicker
'Interface Builder'
convenience
interface file
42. Two-way selection logic block
void
[myLabel setText:@'Howdy'];
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
main()
43. Expression to create a random number in [0 -20];
view controller
rand( )%21
controller
NSLog
44. Shortcut for writing: count = count + 1;
double
count++;
Option+Command+ 0
NSObject
45. Synonym for interface file
superclass
implicitly declare a matching instance variable
Nib (but a few call it 'zib' but that's not preferred)
header
46. Prior to ARC - you used these terms alot
First Responder
retain - release - dealloc - autorelease
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
superclass
47. How do you show a storyboard file as source code?
48. Data type for true/false type variables
header
bool
Gray circle with a white 'X' in it - positioned to the right of the text field box
Classes
49. A fully transparent image has an _____ property value of _____
#import <UIKIT/UIKIT.h>
UIViewController
-
alpha ... 0
50. Boolean for 'false' in Objective-C
Collections
NO
IBAction
Control-click on the View Controller's icon to bring up a Connections dialog