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. 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?
retain
Hold down the Option key and point to the other label. The distance will be shown
id
Command + Tab
2. What type of object does a web view expect as a parameter when loading a remote URL?
NSURLRequest
productivity
'Interface Builder'
property list
3. XML
Outlets ... pointer
eXtensible Markup Language
affine
@synthesize
4. Way to refer to an object within its own methods
instance variable
Classes
*
self
5. Templates fill in a bunch of ______-_______ code that serves as a framework in which to write future implementations
Human Interface Guide
[<object variable> <method name>];
boiler-plate
1024 x 768
6. 'plist' stands for...
UIApplication
protocols
property list
token
7. In the UK - the '#' symbol is often called the ____ symbol
double
Document Outline Area or Outline View
hash
ommand+Return
8. Key sequence on a Mac to select between open application
1024 x 768
!
NSObject
Command + Tab
9. Framework used to write iPhone apps
double
bool
Cocoa Touch
subclass
10. Scaling factor to make an image suitable for retina display
NSDate
2
IBOutlet
productivity
11. Files used to create a class
interface and implementation files
Object library
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
IBAction
12. Creates 'getters' and 'setters'
eXtensible Markup Language
conform
@synthesize directive
NSMutableArray
13. Apps written to assist users with special disabilities
NSString *phrase = @'Hello World';
2
accessible apps
pipe
14. Key sequence to hide/show Navigator View
Command+0
:
modal views
||
15. Syntax for sending an object a message with one parameter (p1)
@
eXtensible Markup Language
[<object variable> <method name>: p1];
NSURLRequest
16. Attribute that informs the system that the object referred to needs to be kept around and not discarded from memory
/*blah blah blah */
NSLog
x--;
strong
17. An _______ is used to 'advertise' a method in your code that should be called when a certain event takes place
UIWindow
view controller
IBAction
NSDictionary
18. Data type for true/false type variables
bool
Touch Up Inside
sending an object a message
interface and implementation files
19. Defines the functional building blocks (classes) that make iOS devices perform certain actions
eXtensible Markup Language
NeXSTEP
alpha ... 1
Cocoa Touch
20. Class used for creating image views
UIImageView
[<object variable> <method name>: p1];
IBAction
UIViewController
21. If a method name includes a colon (:) this indicates a required _________
parameter
casting
NSDictionary
Object library
22. How do you get rid of an onscreen keyboard?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
23. File name suffix indicating an image is suitable for retina display
@2x
UITextView
import
'Software Development Kit'
24. Closes an interface file
//blah blah blah
@end
hash
accessors
25. Multiline text entry block
UITextView
Option+Command+ 0
com.basicversity
Cocoa Touch
26. Syntax for declaring a variable
<type> <variableName>;
Utility apps
sending an object a message
below
27. This type of app typically involves hierarchical data
[myLabel setText:@'Howdy'];
productivity
alpha ... 0
view
28. Class used for image manipulations such as scaling - rotation and translation. Its data structure represents a matrix used for affine transformations.
@2x
CGAffineTransform
+
Option-click a symbol
29. @property directives should be placed ____ (above or below) any IBActions in the header file
'Software Development Kit'
UIWindow
above
instance variable
30. Declare and initialize a string that says: 'Hello World' whose identifier if 'phrase' . Use the shortest command possible.
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
31. The Inspector you would access to gain access to various accessibility attributes
!=
storyboards
Object-oriented programming
Identity Inspector
32. 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
1024 x 768
retain
iOS Simulator
nibfile
33. A file folder in the navigator panel is called a ________
Group
IBAction
pound
pipe
34. Every iOS application implements a subclass of _________
UIApplication
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
@end
storyboards
35. iOS functional building blocks
Object library
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
Classes
performance
36. Used to indicate any type of object
id
Human Interface Guide
NO
Double-click
37. Denotes an instance method
-
retain
storyboard
variable
38. An app has boolean variables 'hasShrunk' and 'hasMoved'. Write a boolean condition that checks if each are true
modal views
implicitly declare a matching instance variable
hasShrunk==YES && hasMoved == YES
%d
39. Extension for an iPhone/iPad app
xcodeproj
m
Identity Inspector
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
40. A fully transparent image has an _____ property value of _____
variable
property list
alpha ... 0
token
41. Document Apple uses to evaluate apps for the App Store
double
+
Human Interface Guide
NSObject
42. strong and nonatomic are examples of ...
IBOutlet
attributes
*
Xcode
43. Development approach (design pattern) to structure iOS applications
Application Programming Interface
Model-View-Controller
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
NSMutableString
44. The object currently in control and interacting with the user
First Responder
%
The Console area of the Debug area
ommand+Return
45. Shortcut for writing: x = x - 1;
UIImageView
x--;
property list
com.basicversity
46. A transition between scenes - frequently with a visual transition effect applied
segue
label.text=@'Hello World!';
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
mutators
47. Key sequence to open the Attributes Inspector
productivity
Command+0
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
Option+Command+4
48. Storage location for a piece of information
interface and implementation files
variable
NSMutableString
Human Interface Guide
49. Property affecting an element's transparency
alpha
debugger
pipe
Model-View-Controller
50. The ________ class provided a container for the management and display of views
NSLog(@'%s' - __FUNCTION__);
UIWindow
affine
convenience