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. Declaring a method in an interface file - before it is actually implemented is called _______ the method
'Interface Builder'
%d
Command+1
prototyping
2. 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
id
YES
control-dragging
Object library
3. Syntax for sending an object a message with one parameter (p1)
Utility apps
conform
class
[<object variable> <method name>: p1];
4. Fixed iteration repetition control structure syntax
disclosure triangle
UIApplication
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
Cocoa Touch
5. Key sequence to run an app in Xcode
Command+R
Identity Inspector
rand( )%21
NSString *userName;
6. Attribute that informs Xcode not to worry about different parts of the application using a property at the same time
Treats the field as a password - hiding each character as it is typed
To provide a convenient way of setting the button's title in the code
nonatomic
label
7. 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?
alpha ... 1
CGAffineTransform
myImage@2x.png
float
8. Size of iPhone retina icon image in pixels
114 x 114
First Responder
attributes
static
9. Language used to write iOS apps
Objective-C
Size Inspector
retain
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
10. How do you show a storyboard file as source code?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
11. OOP
detail disclosure
header
Object-oriented programming
NO
12. The first method called when a user taps an application icon
%d
main()
subclass
NSString *phrase = @'Hello World';
13. Indicates a lack of any value at all
nil
320 x 480
NSDictionary
Cocoa Touch
14. Extension for MainStoryboard
#import <UIKIT/UIKIT.h>
C
storyboard
Determine how controls resize/reposition themselves when a device changes orientation
15. Synonym for interface file
UIApplication
header
token
UIImageView
16. 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
Utility apps
nonatomic
alpha ... 1
Objective-C
17. Syntax to include the fictitious user-created file 'myFile.h'
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
18. Syntax for block-comment
graduationParty ... addAttendee:withDish
/*blah blah blah */
320 x 480
Command+1
19. Calling a method is the same as...
ption+Command+Return
boiler-plate
sending an object a message
/*blah blah blah */
20. IDE
UITextField
Integrated Development Environment
Instruments
pipe
21. Framework used to write iPhone apps
bool
convenience
Cocoa Touch
prototyping
22. A view has a 'Shrink' button whose label needs to change once it is clicked to 'Grow'. Write a 'message' type command to change it's label to 'Grow'
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
23. Class of strings that can be changed
114 x 114
NSMutableString
Identity Inspector
do not
24. How do you get rid of an onscreen keyboard?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
25. Name of the '|' symbol
pipe
disclosure
Command+0
nested message send
26. Closes an interface file
ommand+Return
mutators
@end
Object library
27. The '@' symbol is shorthand for creating one of these
proxy
label
y *= 5;
NSString
28. The Utilities area has two sections: ______ and ______
import
bool
inspector and library
Cocoa Touch
29. The 'First Responder' in a scene is not an object it is considered a ________
Identity Inspector
*
proxy
NSString
30. IDE for iPhone Development
Xcode
C
Seques .... relationships
UILabel *myLabel = [[UILabel alloc] init];
31. The goal of the MVC design pattern
[[<class name> alloc] init];
Isolate the functional components of an app
convenience
[<object variable> <method name>: p1];
32. Used to test an app without needing an actual physical device
storyboard
iOS Simulator
Object Library
Touch Up Inside
33. Delimiter for a list of protocols
Control-click on the View Controller's icon to bring up a Connections dialog
token
<>
NSLog
34. A common button type that indicates additional information is available
detail disclosure
ommand+Return
Utility apps
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
35. A tool in Xcode to help fix broken code
debugger
instantiate
scene
NSDictionary
36. You have an instance variable called 'myLabel' that is a member of UILabel. In an app - you set it's text property to 'Howdy' with the correctly-written command: myLabel.text = @'Howdy'; Re-write this command using [ ] message-sending syntax
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
37. Used to receive an event in code and trigger something
float
nonatomic
NSDictionary
IBAction
38. Master class in iOS
protocols
Command+0
controller
NSObject
39. Apps written to assist users with special disabilities
+
switch
accessible apps
@
40. 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
41. An example of a common collection data type
NSArray
segue
/*blah blah blah */
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
42. The Round Rect Button is found in this library
sending an object a message
pipe
Object Library
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.
43. Given: [graduationParty addAttendee: @'Aunt Jane' withDish: @'deviled eggs']; The 'receiver' is _______; the 'selector' is _________
graduationParty ... addAttendee:withDish
accessors
sending an object a message
debugger
44. Formatting placeholder for a floating point value with one digit on the left of the decimal and two digits on the right
NeXSTEP
%1.2f
alpha ... 0
productivity
45. 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.
Collections
protocols
UIPicker
modal
46. Boolean for 'true' in Objective-C
YES
@synthesize
convenience
utility
47. Key sequence to hide/show the Assistant Editor
class
ption+Command+Return
@
@synthesize
48. NS stands for...
'Software Development Kit'
NeXSTEP
Cocoa Touch
Nib (but a few call it 'zib' but that's not preferred)
49. Always used to end the list of objects when initializing an array
Actions
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
nil
while(<boolean expression>){/*stuff to do here*/}
50. To unroll or roll up a hierarchy of files - objects or classes - you click the ______ _______ at the root element
rand( )%21
||
eXtensible Markup Language
disclosure triangle