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. Used to indicate any type of object
id
Determine how controls resize/reposition themselves when a device changes orientation
Double-click
protocols
2. The bar across the top of the Editor area that shows you the item you are editing
Jump Bar
implicitly declare a matching instance variable
UITextField
Cocoa Touch - Media - Core Services - Core OS
3. The files that contain all the scenes you will use in a project.
storyboards
NeXSTEP
Object Library
proxy
4. If you have an image file called 'myImage.png' and you make a hi-res version for the retina display - what should be the name of the new file?
protocols
@synthesize
h
myImage@2x.png
5. The HIG requires some kind of _____ element in a cell if there is more information available
disclosure
nonatomic
import
debugger
6. A fully opaque image has an _______ property value of ______
Identity Inspector
Control-click on the View Controller's icon to bring up a Connections dialog
#import 'myFile.h'
alpha ... 1
7. What type of object does a web view expect as a parameter when loading a remote URL?
parameter
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
h
NSURLRequest
8. Closes an interface file
strong
contentSize
class
@end
9. Apps written to assist users with special disabilities
alpha ... 1
performance
accessible apps
Model-View-Controller
10. Class of strings that can be changed
nested message send
NSMutableString
%
YES
11. getters
Touch Up Inside
accessors
Commmand-R
m
12. 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
UITextView
retain
m
utility
13. Key sequence to hide/show the Assistant Editor
@
alpha ... 0
ption+Command+Return
nil
14. Beginning with iOS4 - applications no longer terminate when the user presses the...
Home button
detail disclosure
modal views
[myLabel setText:@'Howdy'];
15. Any 'directive' statement begins with this symbol
@
Cocoa Touch - Media - Core Services - Core OS
bool
Identity Inspector
16. Purpose of the 'Auto-enable Return Key' attribute for text fields
[[<class name> alloc] init];
immersive
Actions
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
17. ______ are variables that can store a ____ to an object.
immersive
Classes
png
Outlets ... pointer
18. Syntax for block-comment
/*blah blah blah */
alpha ... 0
conform
IBOutlet
19. If a method name includes a colon (:) this indicates a required _________
NSMutableString
-
parameter
eXtensible Markup Language
20. Calling a method is the same as...
NSLog
sending an object a message
Group
xcodeproj
21. Multiline text entry block
class
UITextView
UITextField
UIViewController
22. 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
23. 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
24. This Xcode utility allows you to check CPU usage - memory allocation and network/file access (among other things)
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
protocols
model
Instruments
25. Size of iPhone 'lo-res' icon image in pixels
XML
productivity
57 x 57
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.
26. Given: #import <UIKit/UIKit.h> @interface WelcomeViewController : UIViewController @end The superclass for WelcomeViewController
conform
xcodeproj
@synthesize
UIViewController
27. Two-way selection logic block
*
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
Command+1
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
28. This type of app is typically one screen - and gives you the basics with minimal interaction
Command+R
sending an object a message
storyboard
utility
29. Syntax for declaring a variable
Gray circle with a white 'X' in it - positioned to the right of the text field box
<type> <variableName>;
strong
[myLabel setText:@'Howdy'];
30. File name suffix indicating an image is suitable for retina display
main()
stub
view controller
@2x
31. Syntax for reserving memory and initializing an object
debugger
implicitly declare a matching instance variable
[[<class name> alloc] init];
Hold down the Option key and point to the other label. The distance will be shown
32. Scaling - rotation - and translation are the most commonly used manipulations supported by _____ transforms - but skewing is also possible.
header
affine
UITextField
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
33. Tests to see whether two values are not equal
Identity Inspector
static
!=
myImage@2x.png
34. Apple's classes often provide a special initialization method called a _____ method
inspector and library
switch
utility
convenience
35. A class that manages the user's interaction with the iDevice
switch
[myLabel setText:@'Howdy'];
@2x
view controller
36. In a stepper control - when this attribute option is checked - the stepper's value is automatically set to the minimum value when the maximum value is exceeded (or vice versa).
image view
Treats the field as a password - hiding each character as it is typed
wrap
57 x 57
37. A view that is displayed on top of an original view when user interactions are required
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
modal views
h
Hold down the Option key and point to the other label. The distance will be shown
38. SDK
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
39. RAM for iPhone
512MB
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
subclass
Commmand-R
40. What's the difference between Cocoa and Cocoa Touch?
Document Outline Area or Outline View
%@
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
segue
41. NS stands for...
static
NSString *phrase = @'Hello World';
instantiation
NeXSTEP
42. Used to test an app without needing an actual physical device
bool
UIImageView
iOS Simulator
NSMutableArray
43. Recommended image type for button graphics
'Interface Builder'
Model-View-Controller
png
x--;
44. setters
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
mutators
xcodeproj
instance variable
45. Allows you to easily track multiple versions of your project
import
Snapshot feature
proxy
Nib (but a few call it 'zib' but that's not preferred)
46. Purpose of 'Secure' attribute for text fields
Treats the field as a password - hiding each character as it is typed
instantiation
UIViewController
IBAction)moveMe:(id)sender;
47. To zoom between an overview of the entire storyboard and the actual size view - ______ the storyboard background.
static
Program received signal: EXC_BAD_ACCESS
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
Double-click
48. Data type for numbers with 'tame' numbers of decimal points
float
instance variable
retain - release - dealloc - autorelease
com.basicversity
49. Denotes a class method
+
double
!
Attributes Inspector
50. A fully transparent image has an _____ property value of _____
Command+1
Jump Bar
alpha ... 0
import