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. Class that creates an array capable of being changed after it is create
h
detail disclosure
NSMutableArray
affine
2. An integrated web browser component
affine
boiler-plate
Identity Inspector
web view
3. Process of creating an active object from a class
sending an object a message
%1.2f
controller
instantiation
4. Purpose of 'Secure' attribute for text fields
Treats the field as a password - hiding each character as it is typed
rand( )%21
NSString
view controller
5. Delimiter for a list of protocols
header
<>
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
*
6. A class that manages the user's interaction with the iDevice
Isolate the functional components of an app
switch
view controller
utility
7. Another name for format specification
token
void
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.
Snapshot feature
8. Name of the drop-down menu in Xcode that lets you select the device used with the iOS Simulator
y *= 5;
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
Scheme
instantiate
9. Class used for creating image views
below
UIImageView
IBOutlet
NSURLRequest
10. The first method called when a user taps an application icon
hasShrunk==YES && hasMoved == YES
below
modal views
main()
11. 'Build and run' keyboard shortcut
boiler-plate
Commmand-R
Classes
eXtensible Markup Language
12. Fixed iteration repetition control structure syntax
Touch Up Inside
alpha ... 1
proxy
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
13. Used to display image file resources and show simple animations
<>
storyboards
[[<class name> alloc] init];
image view
14. 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
15. Formatting placeholder for a floating point value with one digit on the left of the decimal and two digits on the right
label.text=@'Hello World!';
modal
Command+0
%1.2f
16. This type of app typically involves hierarchical data
nonatomic
storyboard
boiler-plate
productivity
17. Implements a logical AND condition
static
variable
The Console area of the Debug area
&&
18. XML
header
320 x 480
eXtensible Markup Language
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
19. What computer language is the storyboard written in?
label
XML
view
int
20. An alternative way to see the connections between an object in the Interface Builder and it's code in Xcode without using the Connections inspector
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
21. ______ enable applications to store multiple pieces of information in a single object
Collections
performance
The Console area of the Debug area
NO
22. The bar across the top of the Editor area that shows you the item you are editing
NSString *phrase = @'Hello World';
iOS Simulator
subclass
Jump Bar
23. Write a statement to declare and initialize a label object called 'myLabel' to 'GO!'
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
24. Syntax for single-line comment
//blah blah blah
storyboard
/*blah blah blah */
Classes
25. Attribute that informs the system that the object referred to needs to be kept around and not discarded from memory
Group
Scheme
strong
nonatomic
26. Collection of interface elements and data storage elements etc you can access from your applications
pound
Single View Application
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
Cocoa Touch
27. Which Apple project template creates a simple view/view controller application
variable
Single View Application
Utility apps
UIWindow
28. Key sequence to save an Xcode file
int
Command+S
web view
@
29. How do you get rid of an onscreen keyboard?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
30. Multiline text entry block
storyboard
performance
Objective-C
UITextView
31. 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.
Hold down the Option key and point to the other label. The distance will be shown
viewDidLoad
@end
sending an object a message
32. Purpose of the 'Auto-enable Return Key' attribute for text fields
IBOutlet
image view
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
33. Syntax to include the fictitious user-created file 'myFile.h'
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
34. What do the Autosizing settings of the Size Inspector do?
Determine how controls resize/reposition themselves when a device changes orientation
UIApplication
@synthesize directive
512MB
35. The 'First Responder' in a scene is not an object it is considered a ________
protocols
Option-click a symbol
proxy
iOS Simulator
36. @synthesize directives should be placed _____ (above or below) the @implementation directive in the implementation file
instance variable
+
below
eXtensible Markup Language
37. Denotes a class method
Command+1
+
Command+S
Home button
38. Syntax for reserving memory and initializing an object
m
NSString *phrase = @'Hello World';
[[<class name> alloc] init];
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
39. For a text field - what does the 'Clear Button' look like?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
40. In the US - the '#' symbol is often called the ____ symbol
alpha ... 0
!
pound
Control-click on the View Controller's icon to bring up a Connections dialog
41. IDE
Integrated Development Environment
do not
Outlets ... pointer
hasShrunk==YES && hasMoved == YES
42. Used to set up an outgoing connection from the implementation code to the view
IBOutlet
Snapshot feature
subclass
conform
43. Shortcut for writing: y = y * 5;
viewDidLoad
y *= 5;
Classes
Document Outline Area or Outline View
44. Key sequence to open the Attributes Inspector
Option+Command+4
main()
stub
void
45. Term used to describe each screen of an iPhone app
320 x 480
The Console area of the Debug area
view
Actions
46. The HIG requires some kind of _____ element in a cell if there is more information available
disclosure
NSString *phrase = @'Hello World';
Object-oriented programming
wrap
47. Data type for whole numbers
below
disclosure triangle
int
NSLog(@'%s' - __FUNCTION__);
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. 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
50. Another name for a 'button bar'
Object library
IBAction)moveMe:(id)sender;
double
segmented control