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. Single line text field
UITextField
NSString *phrase = @'Hello World';
<>
controller
2. Delimiter for a list of protocols
do{/*stuff to do here*/}while(<boolean expression>);
Double-click
<>
||
3. Two-way selection logic block
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
@synthesize directive
subclass
alpha ... 1
4. This type of app typically involves hierarchical data
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
Instruments
productivity
<type> <variableName>;
5. In the UK - the '#' symbol is often called the ____ symbol
&&
Jump Bar
hash
UIImageView
6. Resembles a slot machine display
UIPicker
modal views
detail disclosure
nil
7. 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.
superclass
iOS Simulator
NSLog
modal
8. The Inspector you would use to tweak the way interface objects appear
proxy
main()
myImage@2x.png
Attributes Inspector
9. Formatting placeholder for integers
Object library
Option-click a symbol
%d
YES
10. An example of a common collection data type
hasShrunk==YES && hasMoved == YES
NSMutableString
NSArray
1024 x 768
11. Crash statement likely when an NSString is assigned a value with an incorrect format
Program received signal: EXC_BAD_ACCESS
class
Utility apps
@
12. The files that contain all the scenes you will use in a project.
Application Programming Interface
Command+S
graduationParty ... addAttendee:withDish
storyboards
13. Key sequence to open the Attributes Inspector
Isolate the functional components of an app
Option+Command+4
parameter
accessible apps
14. Combining two messages into a single line of code
IBAction
nested message send
control-dragging
Cocoa Touch - Media - Core Services - Core OS
15. What are data detectors?
To provide a convenient way of setting the button's title in the code
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
Snapshot feature
Touch Up Inside
16. What computer language is the storyboard written in?
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
Command+1
C
XML
17. Method used to print information in an output panel
Instruments
NSLog
UILabel *myLabel = [[UILabel alloc] init];
1024 x 768
18. ______ enable applications to store multiple pieces of information in a single object
Treats the field as a password - hiding each character as it is typed
Collections
Nib (but a few call it 'zib' but that's not preferred)
'Interface Builder'
19. _____ are methods that we can connect to events.
Cocoa Touch
Actions
iOS Simulator
switch
20. A transition between scenes - frequently with a visual transition effect applied
alpha
segue
retain - release - dealloc - autorelease
modal views
21. Prior to ARC - you used these terms alot
retain - release - dealloc - autorelease
xcodeproj
2
contentSize
22. A tool in Xcode to help fix broken code
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
debugger
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
Isolate the functional components of an app
23. getters
512MB
accessors
id
instantiate
24. Denotes a class method
iOS Simulator
proxy
Objective-C
+
25. Implements a logical OR condition
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
bool
protocols
||
26. Typical header syntax for a button that will be applying the 'moveMe' action in an app
NSDictionary
pipe
IBAction)moveMe:(id)sender;
switch
27. Data type for highly precise numbers with huge numbers of decimal places
Collections
id
int
double
28. Defines the functional building blocks (classes) that make iOS devices perform certain actions
variable
[myLabel setText:@'Howdy'];
Cocoa Touch
main()
29. Calling a method is the same as...
do{/*stuff to do here*/}while(<boolean expression>);
Single View Application
sending an object a message
com.basicversity
30. Syntax for block-comment
modal views
x--;
/*blah blah blah */
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
31. 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.
inspector and library
modal views
parameter
controller
32. The goal of the MVC design pattern
above
Isolate the functional components of an app
header
||
33. 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
34. Purpose of the 'Auto-enable Return Key' attribute for text fields
Nib (but a few call it 'zib' but that's not preferred)
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
Command + Tab
main()
35. Data type for numbers with 'tame' numbers of decimal points
label.text=@'Hello World!';
IBOutlet
while(<boolean expression>){/*stuff to do here*/}
float
36. Storage place for a piece of information specific to a class
parameter
Cocoa Touch - Media - Core Services - Core OS
instance variable
CGAffineTransform
37. Syntax for declaring a string called 'userName'
eXtensible Markup Language
Option-click a symbol
NSString *userName;
Program received signal: EXC_BAD_ACCESS
38. 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?
Hold down the Option key and point to the other label. The distance will be shown
storyboards
Option+Command+4
Instruments
39. Class used for creating image views
Model-View-Controller
h
[myLabel setText:@'Howdy'];
UIImageView
40. Shortcut for writing: x = x - 1;
UIWindow
variable
x--;
accessors
41. Class used for image manipulations such as scaling - rotation and translation. Its data structure represents a matrix used for affine transformations.
png
<>
Collections
CGAffineTransform
42. 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
retain
nibfile
Cocoa Touch
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
43. To unroll or roll up a hierarchy of files - objects or classes - you click the ______ _______ at the root element
implementation file
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
disclosure triangle
Application Programming Interface
44. Key sequence to run an app in Xcode
nested message send
Command+R
while(<boolean expression>){/*stuff to do here*/}
Cocoa Touch
45. NS stands for...
@synthesize
subclass
NeXSTEP
Scheme
46. Which Apple project template creates a simple view/view controller application
Single View Application
image view
||
while(<boolean expression>){/*stuff to do here*/}
47. In the MVC design pattern for iOS apps - view consists of the various...
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
48. 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
49. Character used to show an element as a literal string
view controller
%
@
web view
50. A view that is displayed on top of an original view when user interactions are required
The Console area of the Debug area
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
:
modal views