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. 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
void
!
control-dragging
NSObject
2. Recommended image type for button graphics
png
@
graduationParty ... addAttendee:withDish
Model-View-Controller
3. @property directives should be placed ____ (above or below) any IBActions in the header file
Integrated Development Environment
above
property list
instance variable
4. Multiline text entry block
NSURLRequest
UITextView
'Interface Builder'
y *= 5;
5. Attribute that informs the system that the object referred to needs to be kept around and not discarded from memory
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
strong
%
IBAction
6. Property affecting an element's transparency
==
alpha
void
interface and implementation files
7. Shortcut for writing: count = count + 1;
h
*
myImage@2x.png
count++;
8. 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
9. An app has boolean variables 'hasShrunk' and 'hasMoved'. Write a boolean condition that checks if each are true
<>
hasShrunk==YES && hasMoved == YES
*
Attributes Inspector
10. Something the simulator cannot reliably test
performance
retain
scene
UIApplication
11. MVC
utility
Scheme
'Interface Builder'
Model-View-Controller
12. Given: [graduationParty addAttendee: @'Aunt Jane' withDish: @'deviled eggs']; The 'receiver' is _______; the 'selector' is _________
m
above
[<object variable> <method name>: p1];
graduationParty ... addAttendee:withDish
13. Class that creates an array capable of being changed after it is create
performance
boiler-plate
#import <UIKIT/UIKIT.h>
NSMutableArray
14. Used to define a list of all methods and properties a class uses
y *= 5;
interface file
UIImageView
m
15. Piece of information provided to a method when it is messaged
#import <UIKIT/UIKIT.h>
||
parameter
model
16. Allows you to easily track multiple versions of your project
Option-click a symbol
Cocoa Touch
storyboard
Snapshot feature
17. Denotes an instance method
NSLog
-
label
detail disclosure
18. Return type indicating a method returns nothing
void
//blah blah blah
web view
Command+S
19. Syntax for sending an object a message with one parameter (p1)
%1.2f
[<object variable> <method name>: p1];
Utility apps
convenience
20. Single line text field
attributes
UITextField
ption+Command+Return
NSDictionary
21. What do the Autosizing settings of the Size Inspector do?
Object Library
accessible apps
Determine how controls resize/reposition themselves when a device changes orientation
modal
22. 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?
+
/*blah blah blah */
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
Hold down the Option key and point to the other label. The distance will be shown
23. Extension for interface file
h
viewDidLoad
UILabel *myLabel = [[UILabel alloc] init];
nonatomic
24. Size of iPhone retina icon image in pixels
Gray circle with a white 'X' in it - positioned to the right of the text field box
scene
57 x 57
114 x 114
25. You have created some 'breadcrumbs' using NSLog to trace the path of your code - and the debug area is open - yet you see no information in the panel. What's the problem and what is the solution?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
26. 'plist' stands for...
Determine how controls resize/reposition themselves when a device changes orientation
property list
First Responder
@end
27. This file contains the scene - segue and relationship definitions for your project
Size Inspector
storyboard
Document Outline Area or Outline View
control-dragging
28. Way to refer to an object within its own methods
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
do{/*stuff to do here*/}while(<boolean expression>);
self
count++;
29. Delimiter for a list of protocols
NSObject
UIViewController
<>
graduationParty ... addAttendee:withDish
30. Class that allows URL management
[[<class name> alloc] init];
storyboards
NSURL
Hold down the Option key and point to the other label. The distance will be shown
31. ______ are variables that can store a ____ to an object.
label
IBAction
Outlets ... pointer
NSString
32. Size of iPhone 'lo-res' icon image in pixels
57 x 57
Object library
Objective-C
interface file
33. Calling a method is the same as...
sending an object a message
do{/*stuff to do here*/}while(<boolean expression>);
mutators
protocols
34. Synonym for interface file
disclosure triangle
header
detail disclosure
accessors
35. The library that contains the objects you can add to a view or XIB file
Touch Up Inside
Object library
+
NSDictionary
36. strong and nonatomic are examples of ...
com.basicversity
@synthesize directive
attributes
token
37. SDK
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
38. If you wish to 'echo print' breadcrumb info as you develop your app - this panel must be visible
The Console area of the Debug area
rand( )%21
x--;
Gray circle with a white 'X' in it - positioned to the right of the text field box
39. An integrated web browser component
%d
web view
@synthesize
bool
40. Name of the '|' symbol
m
Command+R
pipe
320 x 480
41. If a method name includes a colon (:) this indicates a required _________
%d
Model-View-Controller
parameter
variable
42. Used to indicate any type of object
protocols
id
UIImageView
NSString *phrase = @'Hello World';
43. 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.
viewDidLoad
NSObject
instance variable
Seques .... relationships
44. The Inspector you would use to tweak the way interface objects appear
Attributes Inspector
controller
%1.2f
XML
45. Class used to work with dates as objects
while(<boolean expression>){/*stuff to do here*/}
Xcode
NSDate
@2x
46. Write a line of code creating a pointer to a wall paper image called 'wp1' that refers to a resource in an app with the file name 'wallPaper_01.png'
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
47. A fully transparent image has an _____ property value of _____
Model-View-Controller
alpha ... 0
com.basicversity
Commmand-R
48. _____ are methods that we can connect to events.
[myLabel setText:@'Howdy'];
Application Programming Interface
view
Actions
49. In the UK - the '#' symbol is often called the ____ symbol
ption+Command+Return
hash
void
controller
50. Data type for numbers with 'tame' numbers of decimal points
#import 'myFile.h'
Collections
[[<class name> alloc] init];
float