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. Another name for format specification
debugger
token
modal views
'Software Development Kit'
2. Class that allows URL management
NSMutableString
myImage@2x.png
+
NSURL
3. Two-way selection logic block
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
Nib (but a few call it 'zib' but that's not preferred)
bool
storyboard
4. Defines what an object can do
x--;
Cocoa Touch
pound
class
5. 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
%@
Integrated Development Environment
hash
6. Storage location for a piece of information
viewDidLoad
NSDate
variable
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
7. The HIG requires some kind of _____ element in a cell if there is more information available
disclosure triangle
'Software Development Kit'
do{/*stuff to do here*/}while(<boolean expression>);
disclosure
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. What are the guidelines for the class prefix for a project?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
10. What type of object does a web view expect as a parameter when loading a remote URL?
NSURLRequest
disclosure triangle
immersive
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
11. A file folder in the navigator panel is called a ________
NSURLRequest
IBAction
Control-click on the View Controller's icon to bring up a Connections dialog
Group
12. An _______ is used to enable your code to talk to objects within views
UITextField
int
IBOutlet
segue
13. Language used to write iOS apps
Objective-C
hasShrunk==YES && hasMoved == YES
ommand+Return
<type> <variableName>;
14. Precondition repetition structure syntax
NSMutableArray
while(<boolean expression>){/*stuff to do here*/}
bool
alpha ... 0
15. Scaling - rotation - and translation are the most commonly used manipulations supported by _____ transforms - but skewing is also possible.
affine
NO
2
retain - release - dealloc - autorelease
16. An alternative way to see the connections between an object in the Interface Builder and it's code in Xcode without using the Connections inspector
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
17. An example of a common collection data type
NSArray
Object library
affine
Option+Command+ 0
18. The files that contain all the scenes you will use in a project.
storyboards
Seques .... relationships
UIImageView
Command+R
19. This element should 'always' accompany a slider to indicate its purpose
'Software Development Kit'
void
label
UIImageView
20. Name of the '|' symbol
Classes
Command+S
storyboards
pipe
21. This Xcode utility allows you to check CPU usage - memory allocation and network/file access (among other things)
ption+Command+Return
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 library
Instruments
22. Syntax for block-comment
property list
/*blah blah blah */
Application Programming Interface
IBOutlet
23. This file contains the code that makes everything 'work'
implementation file
switch
[[<class name> alloc] init];
stub
24. Expression to create a random number in [0 -20];
Classes
NeXSTEP
%d
rand( )%21
25. Class of strings that can be changed
instance variable
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
NSMutableString
nil
26. Another name for a 'button bar'
segmented control
<type> <variableName>;
disclosure
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
27. Key sequence to save an Xcode file
The Console area of the Debug area
Application Programming Interface
Command+S
proxy
28. Declaring a method in an interface file - before it is actually implemented is called _______ the method
prototyping
h
protocols
model
29. The '@' symbol is shorthand for creating one of these
self
bool
NSString
retain - release - dealloc - autorelease
30. The library that contains the objects you can add to a view or XIB file
alpha
while(<boolean expression>){/*stuff to do here*/}
Object library
modal
31. What's the difference between Cocoa and Cocoa Touch?
alpha ... 0
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
'Interface Builder'
viewDidLoad
32. Given: [graduationParty addAttendee: @'Aunt Jane' withDish: @'deviled eggs']; The 'receiver' is _______; the 'selector' is _________
graduationParty ... addAttendee:withDish
import
//blah blah blah
UIPicker
33. Typical header syntax for a button that will be applying the 'moveMe' action in an app
*
IBAction)moveMe:(id)sender;
@
The Console area of the Debug area
34. What do the Autosizing settings of the Size Inspector do?
graduationParty ... addAttendee:withDish
Determine how controls resize/reposition themselves when a device changes orientation
2
disclosure triangle
35. Class that builds upon another class
Classes
NSURLRequest
subclass
%@
36. Key sequence to open the Attributes Inspector
320 x 480
Integrated Development Environment
x--;
Option+Command+4
37. In the MVC design pattern for iOS apps - this aspect provides the underlying data and methods that offer information to the rest of the application
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.
Classes
model
38. To unroll or roll up a hierarchy of files - objects or classes - you click the ______ _______ at the root element
disclosure triangle
@synthesize
do not
static
39. Allows you to easily track multiple versions of your project
-
Single View Application
class
Snapshot feature
40. Postcondition repetition structure syntax
IBOutlet
#import 'myFile.h'
Object-oriented programming
do{/*stuff to do here*/}while(<boolean expression>);
41. Symbol used for inheritance
superclass
:
affine
implicitly declare a matching instance variable
42. Opens the Xcode Quick Help Assistant
NSDate
Option-click a symbol
storyboard
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
43. Beginning with iOS4 - applications no longer terminate when the user presses the...
strong
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
Home button
Touch Up Inside
44. The object currently in control and interacting with the user
iOS Simulator
NSString
Objective-C
First Responder
45. Any 'directive' statement begins with this symbol
First Responder
Cocoa Touch - Media - Core Services - Core OS
viewDidLoad
@
46. Return type indicating a method returns nothing
'Software Development Kit'
immersive
void
Identity Inspector
47. Under what circumstances would you need an outlet for a button if it's just needed to trigger an action?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
48. Syntax for reserving memory and initializing an object
Cocoa Touch
retain
[[<class name> alloc] init];
Gray circle with a white 'X' in it - positioned to the right of the text field box
49. Property affecting an element's transparency
Option+Command+ 0
||
nil
alpha
50. Correct the error: label.text = 'Hello World !';
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183