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 Utilities area has two sections: ______ and ______
NSDate
inspector and library
Treats the field as a password - hiding each character as it is typed
NSObject
2. Used to receive an event in code and trigger something
IBAction
Identity Inspector
Command+0
disclosure
3. Another name for a 'button bar'
implementation file
segmented control
!=
Command + Tab
4. Multiline text entry block
Objective-C
UITextView
Classes
hash
5. The Inspector you will need if you want to connect a custom class to an object in Interface Builder
hash
Identity Inspector
%d
UILabel *myLabel = [[UILabel alloc] init];
6. Attribute that informs Xcode not to worry about different parts of the application using a property at the same time
Command+0
implicitly declare a matching instance variable
nonatomic
IBAction)moveMe:(id)sender;
7. Document Apple uses to evaluate apps for the App Store
Object library
Human Interface Guide
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
header
8. Correct the error: label.text = 'Hello World !';
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
9. A ______ is where you edit a view and assign a controller to it.
'Software Development Kit'
attributes
Object-oriented programming
scene
10. Size of iPhone retina icon image in pixels
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
variable
114 x 114
hasShrunk==YES && hasMoved == YES
11. A common button type that indicates additional information is available
detail disclosure
Attributes Inspector
prototyping
%d
12. Allows you to easily track multiple versions of your project
%@
Single View Application
Snapshot feature
wrap
13. 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
Command+R
h
nonatomic
512MB
14. Postcondition repetition structure syntax
alpha ... 0
[myLabel setText:@'Howdy'];
The Console area of the Debug area
do{/*stuff to do here*/}while(<boolean expression>);
15. In the UK - the '#' symbol is often called the ____ symbol
@end
hash
mutators
sending an object a message
16. 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.
y *= 5;
count++;
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
%d
17. In most graphical user interfaces - a _____ view is a view that must be dismissed ('OK' button - 'Cancel' button for example) before the user can perform any other actions in the application.
accessors
%
%@
modal
18. 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
19. The Inspector you would use to control your layout in Interface Builder
workspace
Command + Tab
Outlets ... pointer
Size Inspector
20. @property directives should be placed ____ (above or below) any IBActions in the header file
retain - release - dealloc - autorelease
above
UIImageView
Object Library
21. An _______ is used to 'advertise' a method in your code that should be called when a certain event takes place
rand( )%21
controller
UIApplication
IBAction
22. Syntax for block-comment
/*blah blah blah */
view controller
:
Snapshot feature
23. Denotes a class method
Command+R
UITextField
||
+
24. Syntax for declaring a variable
IBAction)moveMe:(id)sender;
image view
<type> <variableName>;
nonatomic
25. Size of iPhone 'lo-res' icon image in pixels
57 x 57
inspector and library
Isolate the functional components of an app
:
26. Defines the functional building blocks (classes) that make iOS devices perform certain actions
==
IBAction)moveMe:(id)sender;
Cocoa Touch
Utility apps
27. Master class in iOS
nibfile
Instruments
NSLog(@'%s' - __FUNCTION__);
NSObject
28. Boolean for 'true' in Objective-C
bool
pound
YES
Cocoa Touch
29. Key sequence to open the Attributes Inspector
NSString *userName;
Identity Inspector
Option+Command+4
parameter
30. Key sequence to open the Standard Editor
ommand+Return
To provide a convenient way of setting the button's title in the code
conform
Control-click on the View Controller's icon to bring up a Connections dialog
31. SDK
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
32. Return type indicating a method returns nothing
header
void
utility
double
33. Class of collection data type which stores information as object/key pairs
eXtensible Markup Language
NSDictionary
//blah blah blah
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
34. This type of app is typically one screen - and gives you the basics with minimal interaction
@
alpha ... 0
count++;
utility
35. Prior to ARC - you used these terms alot
retain - release - dealloc - autorelease
x--;
XML
%@
36. Syntax for sending an object a message with one parameter (p1)
==
image view
Cocoa Touch - Media - Core Services - Core OS
[<object variable> <method name>: p1];
37. Directive to include other interface files that an application might need to access
debugger
==
import
512MB
38. Given: [graduationParty addAttendee: @'Aunt Jane' withDish: @'deviled eggs']; The 'receiver' is _______; the 'selector' is _________
instance variable
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
graduationParty ... addAttendee:withDish
+
39. MVC
utility
Snapshot feature
Model-View-Controller
Single View Application
40. An example of a common collection data type
immersive
NSArray
proxy
Utility apps
41. Connections between Objects in the Interface Builder and the header file are formed by _____-_______ from the object to the proper place in the header file
Object Library
Cocoa Touch
control-dragging
nil
42. This element should 'always' accompany a slider to indicate its purpose
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.
@2x
label
do not
43. A transition between scenes - frequently with a visual transition effect applied
workspace
:
segue
superclass
44. A fully transparent image has an _____ property value of _____
@2x
alpha ... 0
affine
Home button
45. iPhone and iPad ____ support .png transparency
affine
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
do not
segmented control
46. Data type for true/false type variables
bool
Single View Application
NSURL
To provide a convenient way of setting the button's title in the code
47. Closes an interface file
&&
%@
@end
/*blah blah blah */
48. Defines what an object can do
class
mutators
xcodeproj
controller
49. Class that builds upon another class
retain
Xcode
NSURLRequest
subclass
50. Crash statement likely when an NSString is assigned a value with an incorrect format
Utility apps
Program received signal: EXC_BAD_ACCESS
Model-View-Controller
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'