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. @property directives should be placed ____ (above or below) any IBActions in the header file
storyboard
Group
above
UILabel *myLabel = [[UILabel alloc] init];
2. A class that manages the user's interaction with the iDevice
view controller
NSMutableArray
accessors
float
3. Expression to create a random number in [0 -20];
rand( )%21
IBAction
prototyping
do not
4. Declaring a method in an interface file - before it is actually implemented is called _______ the method
prototyping
Snapshot feature
Scheme
UIImageView
5. Boolean for 'false' in Objective-C
viewDidLoad
NSURLRequest
iOS Simulator
NO
6. Storage place for a piece of information specific to a class
pound
instance variable
double
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
7. Word used to indicate that a user can't interact with a given element
import
protocols
static
web view
8. Key sequence to open the Project Navigator (left panel)
conform
NSString *userName;
stub
Command+1
9. How do you show a storyboard file as source code?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
10. If a method name includes a colon (:) this indicates a required _________
XML
alpha ... 1
parameter
mutators
11. Dimensions of iPhone (in points)
stub
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
320 x 480
pipe
12. 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
13. Directive to include other interface files that an application might need to access
import
/*blah blah blah */
NSLog(@'%s' - __FUNCTION__);
NSObject
14. Symbol often denoting a 'pointer'
NSMutableArray
pound
png
*
15. The goal of the MVC design pattern
Isolate the functional components of an app
y *= 5;
Command+0
320 x 480
16. You have an instance variable called 'myLabel' that is a member of UILabel. In an app - you set it's text property to 'Howdy' with the correctly-written command: myLabel.text = @'Howdy'; Re-write this command using [ ] message-sending syntax
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
17. Used to display image file resources and show simple animations
detail disclosure
mutators
image view
Scheme
18. Postcondition repetition structure syntax
x--;
Application Programming Interface
boiler-plate
do{/*stuff to do here*/}while(<boolean expression>);
19. This type of app is typically one screen - and gives you the basics with minimal interaction
count++;
NO
utility
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
20. A tool in Xcode to help fix broken code
NeXSTEP
debugger
scene
Instruments
21. Under what circumstances would you need an outlet for a button if it's just needed to trigger an action?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
22. An app has boolean variables 'hasShrunk' and 'hasMoved'. Write a boolean condition that checks if each are true
IBAction
NSLog(@'%s' - __FUNCTION__);
hasShrunk==YES && hasMoved == YES
Cocoa Touch
23. Alternative selection mechanism when many conditions exist
switch
320 x 480
nibfile
contentSize
24. This element should 'always' accompany a slider to indicate its purpose
label
<type> <variableName>;
affine
Option-click a symbol
25. Tests to see whether two values are not equal
!=
mutators
Control-click on the View Controller's icon to bring up a Connections dialog
Human Interface Guide
26. Allows you to easily track multiple versions of your project
Jump Bar
Snapshot feature
UIApplication
IBAction
27. Syntax for block-comment
parameter
accessible apps
-
/*blah blah blah */
28. The Inspector you would access to gain access to various accessibility attributes
Command+1
Size Inspector
Identity Inspector
m
29. IDE for iPhone Development
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
320 x 480
Xcode
Option+Command+ 0
30. 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
31. ______ enable applications to store multiple pieces of information in a single object
Collections
graduationParty ... addAttendee:withDish
Outlets ... pointer
@end
32. Key sequence to save an Xcode file
png
implementation file
Model-View-Controller
Command+S
33. Files used to create a class
@end
UILabel *myLabel = [[UILabel alloc] init];
interface and implementation files
segmented control
34. Used to test an app without needing an actual physical device
iOS Simulator
+
void
Size Inspector
35. Companion to the @property directive
@synthesize
while(<boolean expression>){/*stuff to do here*/}
NSString
NSMutableArray
36. UI
m
57 x 57
superclass
User Interface
37. Syntax for sending an object a message with one parameter (p1)
[<object variable> <method name>: p1];
m
Object Library
variable
38. Extension for implementation file
proxy
Classes
m
UILabel *myLabel = [[UILabel alloc] init];
39. Data type for whole numbers
web view
Classes
prototyping
int
40. An array of background images called 'bgImages' has been declared as an instance variable in your header file. You have created a set of 5 background images stored in UIImage variables wp1 through wp5. Write a line of code that initializes the array.
header
interface and implementation files
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
image view
41. Another name for format specification
boiler-plate
instantiation
token
NSURLRequest
42. The HIG requires some kind of _____ element in a cell if there is more information available
XML
disclosure
workspace
%d
43. XML
token
eXtensible Markup Language
Actions
nil
44. In the UK - the '#' symbol is often called the ____ symbol
C
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
Outlets ... pointer
hash
45. Term used to describe each screen of an iPhone app
ption+Command+Return
view
convenience
nonatomic
46. Defines what an object can do
Objective-C
class
hasShrunk==YES && hasMoved == YES
Model-View-Controller
47. Size of iPhone 'lo-res' icon image in pixels
@
token
-
57 x 57
48. These define to which messages the datasource and delegate respond
protocols
NSString
!=
Human Interface Guide
49. File name suffix indicating an image is suitable for retina display
parameter
retain
h
@2x
50. Any 'directive' statement begins with this symbol
@
implementation file
@synthesize directive
*