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. The ________ class provided a container for the management and display of views
Cocoa Touch
view controller
UIWindow
Model-View-Controller
2. Class used for image manipulations such as scaling - rotation and translation. Its data structure represents a matrix used for affine transformations.
Cocoa Touch
CGAffineTransform
Command+S
variable
3. Document Apple uses to evaluate apps for the App Store
Human Interface Guide
while(<boolean expression>){/*stuff to do here*/}
alpha ... 0
@
4. A skeleton (holding place) or framework of code that will be completed in the future; provided initially so code will compile (but it may not function)
-
stub
label
NSURLRequest
5. Master class in iOS
NSObject
Identity Inspector
<>
accessors
6. Scaling - rotation - and translation are the most commonly used manipulations supported by _____ transforms - but skewing is also possible.
x--;
affine
float
class
7. The Inspector you would use to tweak the way interface objects appear
Size Inspector
Attributes Inspector
viewDidLoad
xcodeproj
8. Recommended image type for button graphics
<type> <variableName>;
png
NSDictionary
Single View Application
9. Character used to show an element as a literal string
Objective-C
protocols
114 x 114
@
10. What are data detectors?
IBAction
!
hash
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. In the US - the '#' symbol is often called the ____ symbol
@
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
pound
@synthesize
12. Defines the functional building blocks (classes) that make iOS devices perform certain actions
Cocoa Touch
view controller
NSMutableArray
Model-View-Controller
13. Multiline text entry block
UITextView
%1.2f
IBAction)moveMe:(id)sender;
Jump Bar
14. Property affecting an element's transparency
'Software Development Kit'
switch
nil
alpha
15. Templates fill in a bunch of ______-_______ code that serves as a framework in which to write future implementations
nonatomic
boiler-plate
segue
alpha ... 1
16. Combining two messages into a single line of code
Command+S
nested message send
subclass
Attributes Inspector
17. The object currently in control and interacting with the user
Identity Inspector
sending an object a message
Integrated Development Environment
First Responder
18. Used to test an app without needing an actual physical device
main()
iOS Simulator
Cocoa Touch
eXtensible Markup Language
19. Closes an interface file
XML
@end
above
control-dragging
20. An integrated web browser component
2
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.
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
web view
21. The '@' symbol is shorthand for creating one of these
NSString
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
Option-click a symbol
Attributes Inspector
22. Formatting placeholder for strings
%@
Object-oriented programming
header
Object library
23. Companion to the @property directive
@synthesize
strong
view controller
protocols
24. ______ are variables that can store a ____ to an object.
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
Outlets ... pointer
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
@synthesize
25. This Xcode utility allows you to check CPU usage - memory allocation and network/file access (among other things)
while(<boolean expression>){/*stuff to do here*/}
Instruments
conform
performance
26. Boolean for 'false' in Objective-C
UITextField
NO
NSDate
Control-click on the View Controller's icon to bring up a Connections dialog
27. Dimensions of iPhone (in points)
320 x 480
UIImageView
NSDate
above
28. To zoom between an overview of the entire storyboard and the actual size view - ______ the storyboard background.
NO
Double-click
NSMutableString
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
29. Storage place for a piece of information specific to a class
instance variable
pound
property list
self
30. Crash statement likely when an NSString is assigned a value with an incorrect format
header
Program received signal: EXC_BAD_ACCESS
#import <UIKIT/UIKIT.h>
UIPicker
31. Extension for implementation file
1024 x 768
320 x 480
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.
m
32. Write a statement to declare and initialize a label object called 'myLabel'
The Console area of the Debug area
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
@end
UILabel *myLabel = [[UILabel alloc] init];
33. A virtual 'box' for organizing related projects
#import 'myFile.h'
UITextView
workspace
Xcode
34. Typical header syntax for a button that will be applying the 'moveMe' action in an app
ommand+Return
IBAction)moveMe:(id)sender;
import
immersive
35. IB
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
36. Purpose of the 'Auto-enable Return Key' attribute for text fields
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
scene
switch
UITextField
37. A tool in Xcode to help fix broken code
performance
superclass
rand( )%21
debugger
38. The files that contain all the scenes you will use in a project.
storyboards
hash
<>
Xcode
39. File name suffix indicating an image is suitable for retina display
Seques .... relationships
@2x
scene
Model-View-Controller
40. Resembles a slot machine display
NSURLRequest
UIImageView
C
UIPicker
41. Delimiter for a list of protocols
<>
instance variable
view
IBAction
42. Denotes an instance method
-
User Interface
NSString *phrase = @'Hello World';
pipe
43. Extension for an iPhone/iPad app
xcodeproj
[<object variable> <method name>: p1];
inspector and library
control-dragging
44. The library that contains the objects you can add to a view or XIB file
Object library
Collections
modal views
512MB
45. Class used for creating image views
protocols
UIImageView
NSMutableString
Isolate the functional components of an app
46. Class of strings that can be changed
2
NSMutableString
eXtensible Markup Language
Attributes Inspector
47. Other name for an *.xib file
nibfile
id
instance variable
/*blah blah blah */
48. What computer language is the storyboard written in?
Instruments
Scheme
XML
hash
49. Consider: int x = 6;int y = 7;float quotient = (float) x/y;The statement that creates the variable 'quotient' is an example of ...
NSDate
retain - release - dealloc - autorelease
Command+R
casting
50. What do the Autosizing settings of the Size Inspector do?
segmented control
bool
interface file
Determine how controls resize/reposition themselves when a device changes orientation