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. What type of object does a web view expect as a parameter when loading a remote URL?
114 x 114
wrap
NSURLRequest
model
2. Allows you to easily track multiple versions of your project
protocols
Snapshot feature
Touch Up Inside
alpha ... 1
3. Key sequence to run an app in Xcode
Collections
Option+Command+4
IBOutlet
Command+R
4. Way to refer to an object within its own methods
self
myImage@2x.png
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
performance
5. _____ are methods that we can connect to events.
Actions
XML
Model-View-Controller
Instruments
6. The library that contains the objects you can add to a view or XIB file
NSString *userName;
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
Outlets ... pointer
Object library
7. A virtual 'box' for organizing related projects
accessors
workspace
%1.2f
Snapshot feature
8. Syntax for sending an object a message with one parameter (p1)
UIWindow
320 x 480
[<object variable> <method name>: p1];
'Software Development Kit'
9. Symbol used for inheritance
%@
:
switch
inspector and library
10. Property affecting an element's transparency
+
utility
alpha
Scheme
11. Every iOS application implements a subclass of _________
disclosure
Single View Application
Identity Inspector
UIApplication
12. Development approach (design pattern) to structure iOS applications
Model-View-Controller
superclass
view controller
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
13. Word used to indicate that a user can't interact with a given element
Hold down the Option key and point to the other label. The distance will be shown
nibfile
int
static
14. If you wish to 'echo print' breadcrumb info as you develop your app - this panel must be visible
Treats the field as a password - hiding each character as it is typed
implementation file
The Console area of the Debug area
[<object variable> <method name>];
15. Attribute that informs Xcode not to worry about different parts of the application using a property at the same time
//blah blah blah
Determine how controls resize/reposition themselves when a device changes orientation
alpha
nonatomic
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
nonatomic
*
y *= 5;
implicitly declare a matching instance variable
17. Companion to the @property directive
parameter
@synthesize
Option-click a symbol
controller
18. Apple's classes often provide a special initialization method called a _____ method
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
NSString *userName;
convenience
UITextView
19. 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
20. NS stands for...
NSString
1024 x 768
hasShrunk==YES && hasMoved == YES
NeXSTEP
21. This file contains the scene - segue and relationship definitions for your project
int
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
[myLabel setText:@'Howdy'];
storyboard
22. Used to test an app without needing an actual physical device
iOS Simulator
UIWindow
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
/*blah blah blah */
23. Scaling factor to make an image suitable for retina display
Hold down the Option key and point to the other label. The distance will be shown
do{/*stuff to do here*/}while(<boolean expression>);
2
Collections
24. Data type for true/false type variables
Cocoa Touch - Media - Core Services - Core OS
bool
NSURL
stub
25. Class used to work with dates as objects
NSDate
UIImageView
Instruments
pound
26. What computer language is the storyboard written in?
NSDate
Outlets ... pointer
XML
57 x 57
27. Syntax for declaring a string called 'userName'
affine
First Responder
view controller
NSString *userName;
28. Another name for format specification
token
Utility apps
pound
Size Inspector
29. This Xcode utility allows you to check CPU usage - memory allocation and network/file access (among other things)
@2x
workspace
XML
Instruments
30. XML
stub
eXtensible Markup Language
<type> <variableName>;
nil
31. The Utilities area has two sections: ______ and ______
<>
inspector and library
Model-View-Controller
#import <UIKIT/UIKIT.h>
32. 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
33. The Inspector you would use to tweak the way interface objects appear
NSString *phrase = @'Hello World';
Attributes Inspector
[myLabel setText:@'Howdy'];
Gray circle with a white 'X' in it - positioned to the right of the text field box
34. Data type for highly precise numbers with huge numbers of decimal places
User Interface
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
nil
double
35. Precondition repetition structure syntax
2
nil
int
while(<boolean expression>){/*stuff to do here*/}
36. Opens the Xcode Quick Help Assistant
casting
Option-click a symbol
bool
png
37. An example of a common collection data type
NSArray
implicitly declare a matching instance variable
graduationParty ... addAttendee:withDish
NSURLRequest
38. An array of background images called 'bgImages' has been declared as an instance variable in your header file. You have created a set of 5 background images stored in UIImage variables wp1 through wp5. Write a line of code that initializes the array.
UITextField
Control-click on the View Controller's icon to bring up a Connections dialog
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
detail disclosure
39. Implements a logical AND condition
Command + Tab
strong
&&
proxy
40. Storage location for a piece of information
nonatomic
variable
protocols
Hold down the Option key and point to the other label. The distance will be shown
41. Denotes a class method
Classes
Command+S
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
+
42. Crash statement likely when an NSString is assigned a value with an incorrect format
Instruments
Program received signal: EXC_BAD_ACCESS
protocols
viewDidLoad
43. Purpose of the 'Auto-enable Return Key' attribute for text fields
stub
hasShrunk==YES && hasMoved == YES
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
modal views
44. Syntax for reserving memory and initializing an object
YES
Option+Command+ 0
[[<class name> alloc] init];
switch
45. Combining two messages into a single line of code
1024 x 768
implementation file
nested message send
The Console area of the Debug area
46. Data type for numbers with 'tame' numbers of decimal points
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
float
subclass
main()
47. Extension for MainStoryboard
UIApplication
Application Programming Interface
Option+Command+4
storyboard
48. To use a new class you need to _____ it
Instruments
instantiate
Command + Tab
Identity Inspector
49. Key sequence to hide/show the Assistant Editor
Utility apps
ption+Command+Return
IBAction)moveMe:(id)sender;
Jump Bar
50. In the MVC design pattern for iOS apps - view consists of the various...
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183