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. @property directives should be placed ____ (above or below) any IBActions in the header file
conform
:
above
*
2. _____ are methods that we can connect to events.
class
Actions
protocols
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
3. 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
4. Development approach (design pattern) to structure iOS applications
Model-View-Controller
while(<boolean expression>){/*stuff to do here*/}
Program received signal: EXC_BAD_ACCESS
IBOutlet
5. Document Apple uses to evaluate apps for the App Store
Human Interface Guide
nibfile
1024 x 768
%
6. Companion to the @property directive
IBAction)moveMe:(id)sender;
@synthesize
Isolate the functional components of an app
model
7. Class that creates an array capable of being changed after it is create
Identity Inspector
NSDate
NSMutableArray
implicitly declare a matching instance variable
8. 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
9. IB
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
10. 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
11. Alternative selection mechanism when many conditions exist
accessors
main()
iOS Simulator
switch
12. This type of app typically involves hierarchical data
h
productivity
Classes
NSDictionary
13. The name of the panel to the left of the Interface Builder Editor panel
nested message send
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
stub
Document Outline Area or Outline View
14. This element should 'always' accompany a slider to indicate its purpose
protocols
affine
label
[[<class name> alloc] init];
15. What's the difference between Cocoa and Cocoa Touch?
boiler-plate
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
y *= 5;
scene
16. This keyword in the property directive is related to memory management and refers to the idea that we want to maintain control of memory issues
@synthesize
Cocoa Touch
'Interface Builder'
retain
17. Always used to end the list of objects when initializing an array
Gray circle with a white 'X' in it - positioned to the right of the text field box
nil
IBOutlet
:
18. In your implementation file - the _____ method (provided in stub form by Apple) runs after machine language code reserves some space in memory for your View. This method is often used to create a 'clean slate' as an app opens.
viewDidLoad
nibfile
iOS Simulator
eXtensible Markup Language
19. Key sequence to save an Xcode file
Command+S
boiler-plate
iOS Simulator
variable
20. Symbol used for inheritance
convenience
superclass
:
y *= 5;
21. A unique combination of view controller and view
scene
1024 x 768
||
Identity Inspector
22. Syntax to include UIKIT in a class
#import <UIKIT/UIKIT.h>
Cocoa Touch
alpha
Classes
23. 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
24. Recommended image type for button graphics
instance variable
class
png
storyboards
25. Boolean for 'true' in Objective-C
YES
Seques .... relationships
performance
Isolate the functional components of an app
26. Precondition repetition structure syntax
int
<>
while(<boolean expression>){/*stuff to do here*/}
implicitly declare a matching instance variable
27. The HIG requires some kind of _____ element in a cell if there is more information available
disclosure
boiler-plate
alpha
Command+1
28. A tool in Xcode to help fix broken code
debugger
hash
UIWindow
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
29. If a method name includes a colon (:) this indicates a required _________
Nib (but a few call it 'zib' but that's not preferred)
controller
NSString *phrase = @'Hello World';
parameter
30. Allows you to easily track multiple versions of your project
Snapshot feature
IBAction)moveMe:(id)sender;
boiler-plate
NSDate
31. Calling a method is the same as...
label
Instruments
sending an object a message
segmented control
32. A fully opaque image has an _______ property value of ______
alpha ... 1
@synthesize directive
@synthesize
Document Outline Area or Outline View
33. Prior to ARC - you used these terms alot
[<object variable> <method name>: p1];
retain - release - dealloc - autorelease
@
@
34. This type of app is mostly custom controllers and graphics
double
//blah blah blah
immersive
NSDate
35. setters
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
<>
mutators
interface and implementation files
36. Key sequence to hide/show Navigator View
%1.2f
viewDidLoad
Command+0
y *= 5;
37. This type of app is typically one screen - and gives you the basics with minimal interaction
YES
utility
To provide a convenient way of setting the button's title in the code
parameter
38. Syntax for declaring a string called 'userName'
Object Library
NSString *userName;
[myLabel setText:@'Howdy'];
accessors
39. Boolean for 'false' in Objective-C
Control-click on the View Controller's icon to bring up a Connections dialog
UIApplication
Classes
NO
40. Every iOS application implements a subclass of _________
modal views
Attributes Inspector
UIApplication
@
41. Symbol often denoting a 'pointer'
Command+1
*
[<object variable> <method name>];
NSMutableString
42. ______ are variables that can store a ____ to an object.
[[<class name> alloc] init];
Home button
:
Outlets ... pointer
43. Property affecting an element's transparency
!=
Program received signal: EXC_BAD_ACCESS
do{/*stuff to do here*/}while(<boolean expression>);
alpha
44. A file folder in the navigator panel is called a ________
attributes
Program received signal: EXC_BAD_ACCESS
Group
UITextField
45. Write a statement to declare and initialize a label object called 'myLabel' to 'GO!'
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
46. A fully transparent image has an _____ property value of _____
Option+Command+4
alpha ... 0
performance
nonatomic
47. What property needs to be set before a scroll view (UIScrollView) will scroll?
wrap
NSURL
subclass
contentSize
48. Formatting placeholder for a floating point value with one digit on the left of the decimal and two digits on the right
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
Determine how controls resize/reposition themselves when a device changes orientation
%1.2f
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
49. Define a collection of methods to perform a task
IBAction)moveMe:(id)sender;
nonatomic
protocols
token
50. The goal of the MVC design pattern
NSArray
accessible apps
Isolate the functional components of an app
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.