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. A class that implements a protocol is said to ____ to that protocol
Control-click on the View Controller's icon to bring up a Connections dialog
strong
conform
Home button
2. Apps that provide easy access to a single screen of information with a backside view for modifying preferences
affine
x--;
[myLabel setText:@'Howdy'];
Utility apps
3. Size of iPhone retina icon image in pixels
NSString *userName;
!=
alpha ... 0
114 x 114
4. Method used to print information in an output panel
Seques .... relationships
protocols
nested message send
NSLog
5. Defines what an object can do
class
[<object variable> <method name>: p1];
NSDictionary
parameter
6. What event do you use to detect a button tap?
Outlets ... pointer
Touch Up Inside
Classes
detail disclosure
7. What property needs to be set before a scroll view (UIScrollView) will scroll?
contentSize
UIApplication
NSString *userName;
Hold down the Option key and point to the other label. The distance will be shown
8. Write a statement to declare and initialize a label object called 'myLabel'
sending an object a message
Command+R
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
UILabel *myLabel = [[UILabel alloc] init];
9. Formatting placeholder for strings
do not
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
Object library
%@
10. Delimiter for a list of protocols
IBOutlet
UIImageView
<>
%1.2f
11. Extension for an iPhone/iPad app
xcodeproj
Application Programming Interface
NSMutableString
parameter
12. ______ enable applications to store multiple pieces of information in a single object
Collections
class
parameter
strong
13. The HIG requires some kind of _____ element in a cell if there is more information available
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
disclosure
@synthesize
h
14. Piece of information provided to a method when it is messaged
The Console area of the Debug area
[[<class name> alloc] init];
320 x 480
parameter
15. 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
16. Syntax for sending an object a message with one parameter (p1)
NSURLRequest
<type> <variableName>;
[<object variable> <method name>: p1];
protocols
17. File name suffix indicating an image is suitable for retina display
myImage@2x.png
@2x
variable
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
18. This Xcode utility allows you to check CPU usage - memory allocation and network/file access (among other things)
stub
y *= 5;
Instruments
static
19. Class used for image manipulations such as scaling - rotation and translation. Its data structure represents a matrix used for affine transformations.
mutators
CGAffineTransform
immersive
Determine how controls resize/reposition themselves when a device changes orientation
20. If you wish to 'echo print' breadcrumb info as you develop your app - this panel must be visible
The Console area of the Debug area
float
UIWindow
alpha
21. What do the Autosizing settings of the Size Inspector do?
Commmand-R
UIImageView
Determine how controls resize/reposition themselves when a device changes orientation
modal views
22. To use a new class you need to _____ it
Xcode
Single View Application
Command+0
instantiate
23. The library that contains the objects you can add to a view or XIB file
Object library
contentSize
x--;
eXtensible Markup Language
24. Multiline text entry block
UITextView
pipe
Outlets ... pointer
inspector and library
25. The bar across the top of the Editor area that shows you the item you are editing
Jump Bar
parameter
@synthesize
wrap
26. Attribute that informs Xcode not to worry about different parts of the application using a property at the same time
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
nonatomic
@synthesize directive
xcodeproj
27. iOS functional building blocks
Classes
parameter
iOS Simulator
57 x 57
28. Class that builds upon another class
subclass
UILabel *myLabel = [[UILabel alloc] init];
IBAction)moveMe:(id)sender;
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
29. Precondition repetition structure syntax
modal
instantiation
Program received signal: EXC_BAD_ACCESS
while(<boolean expression>){/*stuff to do here*/}
30. Character used to show an element as a literal string
@
Option-click a symbol
Object-oriented programming
Cocoa Touch
31. Document Apple uses to evaluate apps for the App Store
variable
Human Interface Guide
Integrated Development Environment
nonatomic
32. Master class in iOS
int
NSObject
Determine how controls resize/reposition themselves when a device changes orientation
@
33. Files used to create a class
interface and implementation files
Treats the field as a password - hiding each character as it is typed
YES
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
34. Syntax for declaring a string called 'userName'
UIPicker
[myLabel setText:@'Howdy'];
wrap
NSString *userName;
35. Modulus (remainder) operator
Snapshot feature
==
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
%
36. Syntax for block-comment
hasShrunk==YES && hasMoved == YES
x--;
/*blah blah blah */
storyboard
37. Alternative selection mechanism when many conditions exist
switch
stub
NSMutableArray
do not
38. A skeleton (holding place) or framework of code that will be completed in the future; provided initially so code will compile (but it may not function)
stub
y *= 5;
Identity Inspector
Option+Command+4
39. A ______ is where you edit a view and assign a controller to it.
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
scene
boiler-plate
performance
40. 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
41. 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
42. Size of iPhone 'lo-res' icon image in pixels
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
y *= 5;
subclass
57 x 57
43. A fully opaque image has an _______ property value of ______
strong
implicitly declare a matching instance variable
alpha ... 1
m
44. The Inspector you would use to control your layout in Interface Builder
nil
variable
Size Inspector
retain
45. What type of object does a web view expect as a parameter when loading a remote URL?
The Console area of the Debug area
UIImageView
NSURLRequest
Treats the field as a password - hiding each character as it is typed
46. Scaling - rotation - and translation are the most commonly used manipulations supported by _____ transforms - but skewing is also possible.
main()
affine
viewDidLoad
void
47. 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?
Object library
Double-click
Hold down the Option key and point to the other label. The distance will be shown
NSDate
48. Something the simulator cannot reliably test
Command+S
interface file
conform
performance
49. Postcondition repetition structure syntax
viewDidLoad
NSMutableArray
Option+Command+4
do{/*stuff to do here*/}while(<boolean expression>);
50. Key sequence to open the Attributes Inspector
disclosure triangle
/*blah blah blah */
Option+Command+4
below