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. Syntax for declaring a string called 'userName'
'Interface Builder'
NSString *userName;
Integrated Development Environment
wrap
2. The bar across the top of the Editor area that shows you the item you are editing
Jump Bar
NSURLRequest
IBOutlet
view controller
3. If a method name includes a colon (:) this indicates a required _________
pound
#import <UIKIT/UIKIT.h>
parameter
YES
4. Extension for implementation file
subclass
hasShrunk==YES && hasMoved == YES
m
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
5. 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
6. Syntax for sending an object a message with one parameter (p1)
nonatomic
NSArray
[<object variable> <method name>: p1];
nonatomic
7. Dimensions of iPad (in points)
Size Inspector
Snapshot feature
1024 x 768
immersive
8. Return type indicating a method returns nothing
@end
512MB
void
variable
9. Formatting placeholder for a floating point value with one digit on the left of the decimal and two digits on the right
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
First Responder
%1.2f
320 x 480
10. Write a statement to declare and initialize a label object called 'myLabel'
below
NSDate
UILabel *myLabel = [[UILabel alloc] init];
Control-click on the View Controller's icon to bring up a Connections dialog
11. Syntax for sending an object a message with no parameters
Utility apps
[<object variable> <method name>];
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
%1.2f
12. A fully transparent image has an _____ property value of _____
alpha ... 0
//blah blah blah
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
image view
13. Scaling factor to make an image suitable for retina display
2
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
proxy
1024 x 768
14. Every iOS application implements a subclass of _________
nonatomic
[<object variable> <method name>: p1];
UIApplication
Classes
15. Consider: int x = 6;int y = 7;float quotient = (float) x/y;The statement that creates the variable 'quotient' is an example of ...
casting
Single View Application
float
contentSize
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
[[<class name> alloc] init];
retain
114 x 114
Collections
17. 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
18. Extension for MainStoryboard
Jump Bar
storyboard
convenience
NSURLRequest
19. Name of the '|' symbol
productivity
pipe
NSObject
modal
20. Any 'directive' statement begins with this symbol
token
@
instantiate
YES
21. A class that implements a protocol is said to ____ to that protocol
nil
NSLog(@'%s' - __FUNCTION__);
conform
[<object variable> <method name>];
22. 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
23. Opens the Xcode Quick Help Assistant
Option-click a symbol
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
segue
UIWindow
24. To unroll or roll up a hierarchy of files - objects or classes - you click the ______ _______ at the root element
||
!
disclosure triangle
To provide a convenient way of setting the button's title in the code
25. In the US - the '#' symbol is often called the ____ symbol
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
-
pound
#import 'myFile.h'
26. The Inspector you would use to tweak the way interface objects appear
Attributes Inspector
nonatomic
==
Command+R
27. This type of app is typically one screen - and gives you the basics with minimal interaction
Hold down the Option key and point to the other label. The distance will be shown
mutators
utility
while(<boolean expression>){/*stuff to do here*/}
28. 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
model
Home button
y *= 5;
@end
29. Shortcut for writing: x = x - 1;
png
114 x 114
x--;
import
30. The ________ class provided a container for the management and display of views
Commmand-R
Command+1
y *= 5;
UIWindow
31. ______ are variables that can store a ____ to an object.
Outlets ... pointer
ommand+Return
modal
implicitly declare a matching instance variable
32. Attribute that informs Xcode not to worry about different parts of the application using a property at the same time
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
IBOutlet
detail disclosure
nonatomic
33. UI
Isolate the functional components of an app
NeXSTEP
#import 'myFile.h'
User Interface
34. What's the difference between Cocoa and Cocoa Touch?
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
instance variable
First Responder
1024 x 768
35. Boolean for 'false' in Objective-C
NO
Option-click a symbol
Option+Command+ 0
IBOutlet
36. In the UK - the '#' symbol is often called the ____ symbol
Touch Up Inside
hash
Object-oriented programming
Size Inspector
37. The '@' symbol is shorthand for creating one of these
debugger
Isolate the functional components of an app
do{/*stuff to do here*/}while(<boolean expression>);
NSString
38. Alternative selection mechanism when many conditions exist
//blah blah blah
switch
C
nonatomic
39. Something the simulator cannot reliably test
XML
User Interface
performance
double
40. iPhone and iPad ____ support .png transparency
do not
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
retain - release - dealloc - autorelease
instantiate
41. A ______ is where you edit a view and assign a controller to it.
do{/*stuff to do here*/}while(<boolean expression>);
scene
segmented control
:
42. ______ and ______ define the connections between scenes.
instantiation
rand( )%21
XML
Seques .... relationships
43. Framework used to write iPhone apps
ption+Command+Return
import
Cocoa Touch
superclass
44. Two-way selection logic block
UITextField
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
UILabel *myLabel = [[UILabel alloc] init];
@synthesize directive
45. Modulus (remainder) operator
sending an object a message
parameter
Model-View-Controller
%
46. A common button type that indicates additional information is available
Integrated Development Environment
detail disclosure
protocols
variable
47. IDE for iPhone Development
sending an object a message
Xcode
Collections
above
48. A class that manages the user's interaction with the iDevice
nil
NSObject
view controller
label
49. Purpose of the 'Auto-enable Return Key' attribute for text fields
interface file
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
detail disclosure
ption+Command+Return
50. Precondition repetition structure syntax
@end
nonatomic
below
while(<boolean expression>){/*stuff to do here*/}