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. 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
2. Used to receive an event in code and trigger something
@synthesize directive
storyboard
IBAction
int
3. Key sequence on a Mac to select between open application
segue
%@
Command + Tab
utility
4. To zoom between an overview of the entire storyboard and the actual size view - ______ the storyboard background.
[<object variable> <method name>: p1];
Double-click
main()
superclass
5. Data type for numbers with 'tame' numbers of decimal points
interface file
Snapshot feature
float
%
6. ______ and ______ define the connections between scenes.
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.
workspace
UIWindow
Seques .... relationships
7. NS stands for...
alpha
Scheme
superclass
NeXSTEP
8. Shortcut for writing: count = count + 1;
@synthesize directive
scene
count++;
320 x 480
9. Extension for implementation file
m
NSString
nil
accessible apps
10. Class that creates an array capable of being changed after it is create
CGAffineTransform
NSMutableArray
NO
NSDictionary
11. 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
12. Property affecting an element's transparency
alpha
image view
/*blah blah blah */
UILabel *myLabel = [[UILabel alloc] init];
13. A fully transparent image has an _____ property value of _____
do{/*stuff to do here*/}while(<boolean expression>);
alpha ... 0
nibfile
nonatomic
14. Class that builds upon another class
subclass
implicitly declare a matching instance variable
iOS Simulator
accessors
15. Defines what an object can do
class
Cocoa Touch
UIViewController
inspector and library
16. What computer language is the storyboard written in?
XML
Hold down the Option key and point to the other label. The distance will be shown
%d
Identity Inspector
17. Two-way selection logic block
main()
Group
iOS Simulator
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
18. Storage place for a piece of information specific to a class
above
Utility apps
scene
instance variable
19. Key sequence to hide/show the Assistant Editor
png
ption+Command+Return
Command+R
conform
20. Companion to the @property directive
interface file
NO
@synthesize
nonatomic
21. Class that another class inherits from
NSObject
320 x 480
superclass
Model-View-Controller
22. Denotes a class method
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
+
protocols
main()
23. Fixed iteration repetition control structure syntax
Cocoa Touch - Media - Core Services - Core OS
Determine how controls resize/reposition themselves when a device changes orientation
subclass
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
24. Postcondition repetition structure syntax
||
Hold down the Option key and point to the other label. The distance will be shown
do{/*stuff to do here*/}while(<boolean expression>);
alpha
25. 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.
1024 x 768
Cocoa Touch
y *= 5;
viewDidLoad
26. The '@' symbol is shorthand for creating one of these
'Software Development Kit'
Xcode
NSString
alpha ... 0
27. The library that contains the objects you can add to a view or XIB file
%1.2f
!
Object library
Commmand-R
28. Data type for whole numbers
y *= 5;
int
detail disclosure
nonatomic
29. Beginning with iOS4 - applications no longer terminate when the user presses the...
Home button
&&
scene
UITextView
30. Resembles a slot machine display
Utility apps
UIPicker
do{/*stuff to do here*/}while(<boolean expression>);
proxy
31. This file contains the code that makes everything 'work'
IBOutlet
implementation file
Objective-C
id
32. Key sequence to run an app in Xcode
%d
conform
model
Command+R
33. What do the Autosizing settings of the Size Inspector do?
nonatomic
<>
@
Determine how controls resize/reposition themselves when a device changes orientation
34. Used to test an app without needing an actual physical device
modal
@synthesize directive
iOS Simulator
Model-View-Controller
35. Class used for creating image views
nil
wrap
nibfile
UIImageView
36. File name suffix indicating an image is suitable for retina display
@end
pound
XML
@2x
37. A ______ is where you edit a view and assign a controller to it.
pound
'Software Development Kit'
scene
NSMutableString
38. API
&&
@synthesize
Application Programming Interface
114 x 114
39. Directive to include other interface files that an application might need to access
bool
x--;
import
float
40. Used to define a list of all methods and properties a class uses
interface file
pound
h
sending an object a message
41. @synthesize directives should be placed _____ (above or below) the @implementation directive in the implementation file
below
NSLog(@'%s' - __FUNCTION__);
web view
Cocoa Touch
42. An _______ is used to 'advertise' a method in your code that should be called when a certain event takes place
'Software Development Kit'
IBAction
png
NO
43. This type of app typically involves hierarchical data
modal views
productivity
UIApplication
label.text=@'Hello World!';
44. Class of collection data type which stores information as object/key pairs
nested message send
label.text=@'Hello World!';
NSDictionary
static
45. MVC
Command+S
XML
Model-View-Controller
token
46. Symbol used for inheritance
nibfile
:
immersive
mutators
47. Syntax for declaring a variable
<type> <variableName>;
Scheme
@end
void
48. Single line text field
Option+Command+4
UITextField
onscreen 'widgets' a user can interact with
boiler-plate
49. An integrated web browser component
Identity Inspector
alpha
web view
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
50. 4 Top down technology layers making up iOS
view
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.
'Interface Builder'
Cocoa Touch - Media - Core Services - Core OS