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. An _______ is used to enable your code to talk to objects within views
C
IBOutlet
NSLog
XML
2. To unroll or roll up a hierarchy of files - objects or classes - you click the ______ _______ at the root element
wrap
!
disclosure triangle
view
3. A tool in Xcode to help fix broken code
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
UIImageView
accessible apps
debugger
4. A view has a 'Shrink' button whose label needs to change once it is clicked to 'Grow'. Write a 'message' type command to change it's label to 'Grow'
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
5. Character used to show an element as a literal string
interface and implementation files
@
Isolate the functional components of an app
Hold down the Option key and point to the other label. The distance will be shown
6. Dimensions of iPad (in points)
1024 x 768
Objective-C
nil
NO
7. Key sequence to hide/show Utilities View
Option+Command+ 0
NSObject
instantiate
NO
8. Syntax for declaring a variable
pipe
NSObject
<type> <variableName>;
wrap
9. Alternative selection mechanism when many conditions exist
bool
m
alpha ... 1
switch
10. Data type for true/false type variables
import
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
bool
11. Attribute that informs the system that the object referred to needs to be kept around and not discarded from memory
count++;
strong
sending an object a message
NO
12. Apple's classes often provide a special initialization method called a _____ method
[myLabel setText:@'Howdy'];
Command+0
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
convenience
13. Formatting placeholder for a floating point value with one digit on the left of the decimal and two digits on the right
ption+Command+Return
protocols
%1.2f
Option-click a symbol
14. Formatting placeholder for integers
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
debugger
graduationParty ... addAttendee:withDish
%d
15. Extension for an iPhone/iPad app
view
Seques .... relationships
storyboards
xcodeproj
16. The library that contains the objects you can add to a view or XIB file
protocols
do{/*stuff to do here*/}while(<boolean expression>);
[<object variable> <method name>];
Object library
17. Data type for highly precise numbers with huge numbers of decimal places
@
double
'Interface Builder'
Command+R
18. Way to refer to an object within its own methods
@end
controller
self
count++;
19. These define to which messages the datasource and delegate respond
nil
UIApplication
protocols
workspace
20. The HIG requires some kind of _____ element in a cell if there is more information available
NSMutableArray
scene
do not
disclosure
21. Used to test an app without needing an actual physical device
Commmand-R
h
iOS Simulator
Actions
22. Typical header syntax for a button that will be applying the 'moveMe' action in an app
accessible apps
debugger
IBAction)moveMe:(id)sender;
Option+Command+ 0
23. Fixed iteration repetition control structure syntax
Cocoa Touch
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
Outlets ... pointer
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
24. The bar across the top of the Editor area that shows you the item you are editing
NSObject
instantiate
hash
Jump Bar
25. iPhone and iPad ____ support .png transparency
Model-View-Controller
do not
Outlets ... pointer
Commmand-R
26. The first method called when a user taps an application icon
%1.2f
token
User Interface
main()
27. UI
Look at the three icons at the upper left portion of the Debug console. The far left one - 'Show only the Variables View' will not show the NSLog-ed information. Click the center icon ('Show the Variables View and the Console') or the right icon ('Sh
User Interface
self
NSLog
28. What property needs to be set before a scroll view (UIScrollView) will scroll?
model
contentSize
@
[<object variable> <method name>];
29. Method used to print information in an output panel
'Software Development Kit'
retain - release - dealloc - autorelease
NSLog
accessible apps
30. A transition between scenes - frequently with a visual transition effect applied
modal
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
variable
segue
31. Creates 'getters' and 'setters'
@
@synthesize
scene
@synthesize directive
32. Name of the '|' symbol
productivity
pipe
token
/*blah blah blah */
33. Symbol often denoting a 'pointer'
NSURLRequest
*
header
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
34. The goal of the MVC design pattern
114 x 114
Isolate the functional components of an app
retain
2
35. To use a new class you need to _____ it
Seques .... relationships
IBOutlet
NSString *phrase = @'Hello World';
instantiate
36. Key sequence to save an Xcode file
Command+0
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
casting
Command+S
37. 'plist' stands for...
Nib (but a few call it 'zib' but that's not preferred)
do not
prototyping
property list
38. Syntax for sending an object a message with one parameter (p1)
@end
[<object variable> <method name>: p1];
NSArray
modal views
39. This file contains the scene - segue and relationship definitions for your project
Command+0
UITextField
IBAction
storyboard
40. Apps that provide easy access to a single screen of information with a backside view for modifying preferences
NSMutableArray
Utility apps
variable
int
41. Shortcut for writing: y = y * 5;
nil
UIPicker
accessors
y *= 5;
42. In the US - the '#' symbol is often called the ____ symbol
class
pound
Jump Bar
myImage@2x.png
43. Declaring a method in an interface file - before it is actually implemented is called _______ the method
control-dragging
affine
Home button
prototyping
44. Resembles a slot machine display
NSString *userName;
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
UIPicker
segmented control
45. Size of iPhone 'lo-res' icon image in pixels
Model-View-Controller
casting
conform
57 x 57
46. 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
47. Return type indicating a method returns nothing
UIWindow
%@
void
'Interface Builder'
48. Symbol used for inheritance
Double-click
casting
@
:
49. Implements a logical OR condition
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.
Document Outline Area or Outline View
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
||
50. @property directives should be placed ____ (above or below) any IBActions in the header file
NSString
above
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];