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. Denotes an instance method
Gray circle with a white 'X' in it - positioned to the right of the text field box
[[<class name> alloc] init];
-
graduationParty ... addAttendee:withDish
2. The Inspector you would use to control your layout in Interface Builder
Size Inspector
class
float
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
3. The ________ class provided a container for the management and display of views
UIWindow
IBOutlet
UITextView
prototyping
4. _____ are methods that we can connect to events.
Command+1
view controller
@end
Actions
5. A tool in Xcode to help fix broken code
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
debugger
XML
UIImageView
6. Character used to show an element as a literal string
Attributes Inspector
accessors
accessible apps
@
7. Document Apple uses to evaluate apps for the App Store
Human Interface Guide
Double-click
affine
protocols
8. ______ enable applications to store multiple pieces of information in a single object
Model-View-Controller
model
Xcode
Collections
9. Files used to create a class
boiler-plate
XML
interface and implementation files
viewDidLoad
10. What do the Autosizing settings of the Size Inspector do?
hash
Classes
Determine how controls resize/reposition themselves when a device changes orientation
Touch Up Inside
11. Extension for interface file
h
First Responder
Nib (but a few call it 'zib' but that's not preferred)
utility
12. Denotes a class method
#import 'myFile.h'
Cocoa Touch
+
NSDictionary
13. Syntax for sending an object a message with no parameters
protocols
[<object variable> <method name>];
-
UILabel *myLabel = [[UILabel alloc] init];
14. Something the simulator cannot reliably test
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
Option-click a symbol
Size Inspector
performance
15. Postcondition repetition structure syntax
prototyping
Hold down the Option key and point to the other label. The distance will be shown
Object-oriented programming
do{/*stuff to do here*/}while(<boolean expression>);
16. Every iOS application implements a subclass of _________
UIApplication
view
+
Snapshot feature
17. Key sequence to hide/show the Assistant Editor
id
controller
ption+Command+Return
contentSize
18. The Inspector you will need if you want to connect a custom class to an object in Interface Builder
%
Command+S
boiler-plate
Identity Inspector
19. 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'
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
20. Purpose of the 'Auto-enable Return Key' attribute for text fields
Cocoa Touch
png
id
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
21. 'plist' stands for...
'Software Development Kit'
storyboards
alpha ... 1
property list
22. Class used to work with dates as objects
NSDate
implementation file
contentSize
Instruments
23. An _______ is used to enable your code to talk to objects within views
Model-View-Controller
Command + Tab
myImage@2x.png
IBOutlet
24. 'Build and run' keyboard shortcut
Commmand-R
Cocoa Touch
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
NeXSTEP
25. Delimiter for a list of protocols
IBOutlet
Command+0
NSLog
<>
26. Recommended image type for button graphics
png
512MB
1024 x 768
above
27. This element should 'always' accompany a slider to indicate its purpose
label
retain
User Interface
nonatomic
28. Syntax to include UIKIT in a class
Size Inspector
Single View Application
#import <UIKIT/UIKIT.h>
320 x 480
29. Closes an interface file
@end
accessible apps
alpha ... 1
IBOutlet
30. Used to indicate any type of object
Command+S
NSURLRequest
<>
id
31. A class that manages the user's interaction with the iDevice
Seques .... relationships
main()
view controller
segmented control
32. Beginning with iOS4 - applications no longer terminate when the user presses the...
instantiate
Home button
*
Model-View-Controller
33. Proper way to pronounce a *.xib file
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
34. The Round Rect Button is found in this library
interface file
Object Library
Collections
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.
35. Storage location for a piece of information
while(<boolean expression>){/*stuff to do here*/}
Cocoa Touch
nil
variable
36. Property affecting an element's transparency
114 x 114
alpha
Size Inspector
below
37. Other name for an *.xib file
Option-click a symbol
nibfile
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
Command + Tab
38. strong and nonatomic are examples of ...
IBAction
stub
attributes
Option+Command+ 0
39. NS stands for...
[[<class name> alloc] init];
variable
alpha ... 0
NeXSTEP
40. Combining two messages into a single line of code
Attributes Inspector
IBOutlet
nested message send
wrap
41. The bar across the top of the Editor area that shows you the item you are editing
Option+Command+ 0
Jump Bar
nonatomic
Object-oriented programming
42. 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)
stub
UIApplication
Utility apps
main()
43. Syntax for single-line comment
Object-oriented programming
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
ommand+Return
//blah blah blah
44. setters
Object library
performance
mutators
alpha ... 1
45. Extension for implementation file
Cocoa Touch
Outlets ... pointer
ommand+Return
m
46. In the UK - the '#' symbol is often called the ____ symbol
hash
subclass
Treats the field as a password - hiding each character as it is typed
disclosure
47. Used to define a list of all methods and properties a class uses
pipe
nibfile
interface file
Option+Command+4
48. Class that another class inherits from
superclass
protocols
pound
y *= 5;
49. A class that implements a protocol is said to ____ to that protocol
debugger
nil
@end
conform
50. 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.
NSString *phrase = @'Hello World';
modal
Cocoa Touch
%1.2f