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. Document Apple uses to evaluate apps for the App Store
Option+Command+ 0
Human Interface Guide
||
Commmand-R
2. 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.
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.
/*blah blah blah */
controller
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
3. Symbol used for inheritance
NSURLRequest
:
contentSize
protocols
4. A fully opaque image has an _______ property value of ______
Objective-C
alpha ... 1
utility
NSURLRequest
5. Typical header syntax for a button that will be applying the 'moveMe' action in an app
mutators
retain
NSObject
IBAction)moveMe:(id)sender;
6. The Utilities area has two sections: ______ and ______
inspector and library
%
float
NSString
7. A common button type that indicates additional information is available
detail disclosure
+
Command+R
Control-click on the View Controller's icon to bring up a Connections dialog
8. Formatting placeholder for integers
mutators
y *= 5;
%d
id
9. Memory aid for keyboard shortcuts in the Navigator panel
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
10. An _______ is used to enable your code to talk to objects within views
1024 x 768
IBOutlet
Snapshot feature
||
11. A tool in Xcode to help fix broken code
disclosure triangle
below
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
debugger
12. Syntax for single-line comment
detail disclosure
sending an object a message
//blah blah blah
Single View Application
13. Syntax for block-comment
Option+Command+ 0
storyboard
detail disclosure
/*blah blah blah */
14. 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
15. Key sequence to run an app in Xcode
Double-click
||
retain - release - dealloc - autorelease
Command+R
16. Delimiter for a list of protocols
IBAction
<>
!
-
17. 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
18. This file contains the code that makes everything 'work'
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
hash
implementation file
while(<boolean expression>){/*stuff to do here*/}
19. What type of object does a web view expect as a parameter when loading a remote URL?
controller
NeXSTEP
Attributes Inspector
NSURLRequest
20. Single line text field
UITextField
#import 'myFile.h'
C
Command+R
21. Storage place for a piece of information specific to a class
Control-click on the View Controller's icon to bring up a Connections dialog
instance variable
float
performance
22. Another name for format specification
CGAffineTransform
Hold down the Option key and point to the other label. The distance will be shown
inspector and library
token
23. ______ are variables that can store a ____ to an object.
||
#import <UIKIT/UIKIT.h>
Outlets ... pointer
Command+R
24. The files that contain all the scenes you will use in a project.
/*blah blah blah */
storyboards
UIImageView
NSLog(@'%s' - __FUNCTION__);
25. Every iOS application implements a subclass of _________
xcodeproj
modal views
retain - release - dealloc - autorelease
UIApplication
26. The Inspector you will need if you want to connect a custom class to an object in Interface Builder
alpha ... 0
Identity Inspector
First Responder
iOS Simulator
27. 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.
NSArray
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
[[<class name> alloc] init];
28. Which Apple project template creates a simple view/view controller application
segue
IBAction)moveMe:(id)sender;
Single View Application
NSLog
29. _____ are methods that we can connect to events.
controller
com.basicversity
Actions
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
30. Allows you to easily track multiple versions of your project
[<object variable> <method name>: p1];
'Interface Builder'
Snapshot feature
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
31. Shortcut for writing: count = count + 1;
IBOutlet
interface file
Command+R
count++;
32. A view that is displayed on top of an original view when user interactions are required
%
[[<class name> alloc] init];
conform
modal views
33. Symbol often denoting a 'pointer'
mutators
NSMutableArray
*
NSLog(@'%s' - __FUNCTION__);
34. Always used to end the list of objects when initializing an array
nil
implicitly declare a matching instance variable
IBAction)moveMe:(id)sender;
NSLog(@'%s' - __FUNCTION__);
35. Class that creates an array capable of being changed after it is create
YES
label
view controller
NSMutableArray
36. What computer language is the storyboard written in?
Size Inspector
bool
XML
Option+Command+4
37. Purpose of the 'Auto-enable Return Key' attribute for text fields
NSDictionary
header
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
Object library
38. Denotes an instance method
Objective-C
-
Attributes Inspector
Human Interface Guide
39. @synthesize directives should be placed _____ (above or below) the @implementation directive in the implementation file
Jump Bar
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
Collections
below
40. A class that implements a protocol is said to ____ to that protocol
casting
conform
Nib (but a few call it 'zib' but that's not preferred)
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
41. setters
boiler-plate
First Responder
Size Inspector
mutators
42. In the US - the '#' symbol is often called the ____ symbol
nonatomic
pound
Document Outline Area or Outline View
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
43. In the UK - the '#' symbol is often called the ____ symbol
hash
implementation file
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
NSObject
44. 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
NO
retain
implementation file
m
45. NS stands for...
while(<boolean expression>){/*stuff to do here*/}
NeXSTEP
Document Outline Area or Outline View
'Software Development Kit'
46. 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
47. This file contains the scene - segue and relationship definitions for your project
<>
disclosure
storyboard
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
48. 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
49. The Round Rect Button is found in this library
==
:
Object Library
Double-click
50. Declaring a method in an interface file - before it is actually implemented is called _______ the method
immersive
IBAction)moveMe:(id)sender;
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
prototyping