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. Development approach (design pattern) to structure iOS applications
Model-View-Controller
graduationParty ... addAttendee:withDish
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
Outlets ... pointer
2. Typical header syntax for a button that will be applying the 'moveMe' action in an app
Attributes Inspector
IBAction)moveMe:(id)sender;
onscreen 'widgets' a user can interact with
ption+Command+Return
3. Used to receive an event in code and trigger something
UIViewController
IBAction
rand( )%21
'Interface Builder'
4. Extension for interface file
nibfile
h
1024 x 768
Touch Up Inside
5. Modulus (remainder) operator
hasShrunk==YES && hasMoved == YES
%
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
XML
6. Other name for an *.xib file
The Console area of the Debug area
nibfile
Double-click
proxy
7. You are creating an app for a company whose URL is http://www.basicversity.com . What should be the company identifier for the app when you begin the project?
CGAffineTransform
Isolate the functional components of an app
com.basicversity
NeXSTEP
8. Key sequence to hide/show the Assistant Editor
:
Command+0
ption+Command+Return
protocols
9. A view that is displayed on top of an original view when user interactions are required
subclass
image view
Object library
modal views
10. iPhone and iPad ____ support .png transparency
control-dragging
Commmand-R
do not
switch
11. IDE
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
2
accessible apps
Integrated Development Environment
12. Precondition repetition structure syntax
512MB
while(<boolean expression>){/*stuff to do here*/}
NSURL
sending an object a message
13. IDE for iPhone Development
model
Xcode
UIWindow
114 x 114
14. The first method called when a user taps an application icon
Option-click a symbol
nibfile
main()
NSDictionary
15. Implements a logical AND condition
&&
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
NeXSTEP
@
16. Recommended image type for button graphics
Isolate the functional components of an app
UITextView
png
segmented control
17. Single line text field
UITextField
NSLog(@'%s' - __FUNCTION__);
'Software Development Kit'
Cocoa Touch
18. IB
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
19. Document Apple uses to evaluate apps for the App Store
Human Interface Guide
First Responder
nibfile
attributes
20. 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
storyboard
y *= 5;
%d
control-dragging
21. What type of object does a web view expect as a parameter when loading a remote URL?
NSURLRequest
NSDate
alpha ... 0
subclass
22. Declaring a method in an interface file - before it is actually implemented is called _______ the method
prototyping
variable
rand( )%21
NSURLRequest
23. Process of creating an active object from a class
instantiation
viewDidLoad
The Console area of the Debug area
affine
24. Denotes an instance method
Option+Command+ 0
UIWindow
retain - release - dealloc - autorelease
-
25. Given: [graduationParty addAttendee: @'Aunt Jane' withDish: @'deviled eggs']; The 'receiver' is _______; the 'selector' is _________
graduationParty ... addAttendee:withDish
NSURLRequest
Touch Up Inside
pound
26. Syntax for block-comment
/*blah blah blah */
CGAffineTransform
inspector and library
[[<class name> alloc] init];
27. Shortcut for writing: x = x - 1;
x--;
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
@end
%1.2f
28. Used to define a list of all methods and properties a class uses
UITextView
label
interface file
com.basicversity
29. Write a statement to declare and initialize a label object called 'myLabel'
IBOutlet
NSObject
UILabel *myLabel = [[UILabel alloc] init];
storyboard
30. Synonym for interface file
header
||
Model-View-Controller
while(<boolean expression>){/*stuff to do here*/}
31. Class of strings that can be changed
NSMutableString
==
alpha ... 1
Commmand-R
32. File name suffix indicating an image is suitable for retina display
Command+1
@2x
do{/*stuff to do here*/}while(<boolean expression>);
First Responder
33. A ______ is where you edit a view and assign a controller to it.
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
scene
NSDictionary
NO
34. 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?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
35. Data type for whole numbers
nested message send
114 x 114
Snapshot feature
int
36. Syntax for sending an object a message with no parameters
Touch Up Inside
[<object variable> <method name>];
YES
sending an object a message
37. Master class in iOS
IBAction
NSObject
NSString
Look at the three icons at the upper left portion of the Debug console. The far left one - 'Show only the Variables View' will not show the NSLog-ed information. Click the center icon ('Show the Variables View and the Console') or the right icon ('Sh
38. getters
accessors
Cocoa Touch
UIPicker
Home button
39. Key sequence to run an app in Xcode
convenience
Command+R
Utility apps
switch
40. strong and nonatomic are examples of ...
attributes
variable
conform
com.basicversity
41. Used to indicate any type of object
id
ommand+Return
Single View Application
Identity Inspector
42. Key sequence to open the Project Navigator (left panel)
interface and implementation files
Command+1
&&
view controller
43. Size of iPhone retina icon image in pixels
Xcode
114 x 114
int
above
44. Way to refer to an object within its own methods
NO
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
self
NeXSTEP
45. The 'First Responder' in a scene is not an object it is considered a ________
proxy
controller
detail disclosure
The Console area of the Debug area
46. Companion to the @property directive
modal
mutators
@synthesize
png
47. For a text field - what does the 'Clear Button' look like?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
48. To zoom between an overview of the entire storyboard and the actual size view - ______ the storyboard background.
*
y *= 5;
User Interface
Double-click
49. A fully opaque image has an _______ property value of ______
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
alpha ... 1
User Interface
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
50. Boolean for 'true' in Objective-C
Model-View-Controller
YES
Cocoa Touch - Media - Core Services - Core OS
rand( )%21