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. Formatting placeholder for strings
bool
affine
%@
NSDictionary
2. getters
Command+0
productivity
view
accessors
3. 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
4. A fully opaque image has an _______ property value of ______
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
alpha ... 1
Human Interface Guide
convenience
5. You have two labels in Interface Builder. One is selected (You clicked on it). How can you tell the distance between it and the other label?
UIWindow
Snapshot feature
Hold down the Option key and point to the other label. The distance will be shown
double
6. Modulus (remainder) operator
Option+Command+ 0
Double-click
affine
%
7. API
Option-click a symbol
Application Programming Interface
Identity Inspector
!
8. 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.
nested message send
Home button
viewDidLoad
web view
9. An _______ is used to enable your code to talk to objects within views
IBOutlet
Command+S
Cocoa Touch
protocols
10. The first method called when a user taps an application icon
main()
Hold down the Option key and point to the other label. The distance will be shown
'Interface Builder'
eXtensible Markup Language
11. Synonym for interface file
IBAction
header
interface and implementation files
protocols
12. Class that allows URL management
variable
NSURL
nibfile
Document Outline Area or Outline View
13. Size of iPhone retina icon image in pixels
NSURLRequest
instance variable
NSMutableArray
114 x 114
14. The Utilities area has two sections: ______ and ______
ption+Command+Return
NSLog
boiler-plate
inspector and library
15. Code fragment for echo printing the name of a function as it loads (for tracing the sequence of code in a project...leaving breadcrumbs)
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
16. Class that builds upon another class
h
sending an object a message
IBAction
subclass
17. This file contains the scene - segue and relationship definitions for your project
model
storyboard
Xcode
graduationParty ... addAttendee:withDish
18. Extension for MainStoryboard
[[<class name> alloc] init];
storyboard
conform
NSArray
19. Although it is possible to declare an instance variable and then define a corresponding property - you may also use @property alone to...
implicitly declare a matching instance variable
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
interface and implementation files
Actions
20. The ________ class provided a container for the management and display of views
<type> <variableName>;
UIWindow
UITextField
ommand+Return
21. Key sequence to hide/show Navigator View
Command+0
Hold down the Option key and point to the other label. The distance will be shown
-
float
22. Boolean for 'true' in Objective-C
512MB
%
storyboard
YES
23. In the MVC design pattern for iOS apps - this aspect is responsible for receiving user input and acting accordingly - and serves as a 'bridge' between the other two components. It is the backbone of the app.
The Console area of the Debug area
controller
Object library
Home button
24. The library that contains the objects you can add to a view or XIB file
Object library
strong
C
NSMutableString
25. To use a new class you need to _____ it
token
while(<boolean expression>){/*stuff to do here*/}
instance variable
instantiate
26. Class used for image manipulations such as scaling - rotation and translation. Its data structure represents a matrix used for affine transformations.
UIPicker
storyboard
Seques .... relationships
CGAffineTransform
27. Storage place for a piece of information specific to a class
Snapshot feature
id
instance variable
nonatomic
28. What type of object does a web view expect as a parameter when loading a remote URL?
nibfile
Hold down the Option key and point to the other label. The distance will be shown
NSURLRequest
Attributes Inspector
29. Alternative selection mechanism when many conditions exist
parameter
switch
hash
Option+Command+ 0
30. ______ and ______ define the connections between scenes.
Seques .... relationships
modal views
Utility apps
Size Inspector
31. Key sequence to open the Attributes Inspector
'Interface Builder'
Option+Command+4
NSArray
proxy
32. Collection of interface elements and data storage elements etc you can access from your applications
convenience
Cocoa Touch
IBAction)moveMe:(id)sender;
CGAffineTransform
33. Master class in iOS
Seques .... relationships
nil
NSObject
ommand+Return
34. Companion to the @property directive
@synthesize
The Console area of the Debug area
detail disclosure
@
35. This file contains the code that makes everything 'work'
modal views
png
implementation file
XML
36. This type of app is mostly custom controllers and graphics
NSArray
static
productivity
immersive
37. ______ are variables that can store a ____ to an object.
ommand+Return
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
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.
Outlets ... pointer
38. Development approach (design pattern) to structure iOS applications
Model-View-Controller
alpha ... 1
NSURLRequest
rand( )%21
39. 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
114 x 114
Collections
h
40. To unroll or roll up a hierarchy of files - objects or classes - you click the ______ _______ at the root element
iOS Simulator
disclosure triangle
UIViewController
alpha ... 0
41. Shortcut for writing: count = count + 1;
nibfile
subclass
count++;
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
42. @synthesize directives should be placed _____ (above or below) the @implementation directive in the implementation file
NSDictionary
main()
below
Utility apps
43. 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
44. Postcondition repetition structure syntax
affine
do{/*stuff to do here*/}while(<boolean expression>);
Document Outline Area or Outline View
Home button
45. Used to set up an outgoing connection from the implementation code to the view
@
y *= 5;
above
IBOutlet
46. The name of the panel to the left of the Interface Builder Editor panel
NSURLRequest
%1.2f
int
Document Outline Area or Outline View
47. Class used for creating image views
UIImageView
'Software Development Kit'
Home button
x--;
48. Prior to ARC - you used these terms alot
storyboards
retain - release - dealloc - autorelease
UILabel *myLabel = [[UILabel alloc] init];
Command+S
49. Calling a method is the same as...
sending an object a message
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
NSURLRequest
Double-click
50. iPhone and iPad ____ support .png transparency
Command+R
do not
Identity Inspector
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];