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. Used to set up an outgoing connection from the implementation code to the view
IBOutlet
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
subclass
Treats the field as a password - hiding each character as it is typed
2. 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
3. Key sequence on a Mac to select between open application
implicitly declare a matching instance variable
parameter
Command + Tab
rand( )%21
4. Key sequence to open the Standard Editor
Actions
Control-click on the View Controller's icon to bring up a Connections dialog
void
ommand+Return
5. Class used for image manipulations such as scaling - rotation and translation. Its data structure represents a matrix used for affine transformations.
accessible apps
/*blah blah blah */
CGAffineTransform
pipe
6. Symbol used for inheritance
instance variable
:
bool
stub
7. In most graphical user interfaces - a _____ view is a view that must be dismissed ('OK' button - 'Cancel' button for example) before the user can perform any other actions in the application.
stub
label
modal
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
8. Class that allows URL management
mutators
Commmand-R
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
NSURL
9. 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
10. Connections between Objects in the Interface Builder and the header file are formed by _____-_______ from the object to the proper place in the header file
Model-View-Controller
control-dragging
Option-click a symbol
Identity Inspector
11. The ________ class provided a container for the management and display of views
implicitly declare a matching instance variable
below
productivity
UIWindow
12. Storage location for a piece of information
-
viewDidLoad
variable
productivity
13. Delimiter for a list of protocols
NSLog(@'%s' - __FUNCTION__);
<>
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
image view
14. Term used to describe each screen of an iPhone app
accessors
m
!=
view
15. Objective-C is an extension (super set) of...
'Software Development Kit'
Control-click on the View Controller's icon to bring up a Connections dialog
nested message send
C
16. Other name for an *.xib file
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
nibfile
proxy
Command+1
17. What are data detectors?
Isolate the functional components of an app
Human Interface Guide
Attribute settings for some onscreen controls (like text areas) that analyze content and provide helpful links based on what they find. For example - phone numbers can be touched to dial the phone; web addresses can launch Safari if tapped - etc
accessors
18. The Inspector you would access to gain access to various accessibility attributes
Identity Inspector
#import <UIKIT/UIKIT.h>
NSDate
immersive
19. Class that builds upon another class
int
UILabel *myLabel = [[UILabel alloc] init];
subclass
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
20. A common button type that indicates additional information is available
Identity Inspector
parameter
detail disclosure
Nib (but a few call it 'zib' but that's not preferred)
21. Expression to create a random number in [0 -20];
Actions
controller
NSArray
rand( )%21
22. Purpose of 'Secure' attribute for text fields
Treats the field as a password - hiding each character as it is typed
Command + Tab
disclosure
Command+R
23. You are creating an app for a company whose URL is http://www.basicversity.com . What should be the company identifier for the app when you begin the project?
%1.2f
below
com.basicversity
id
24. 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
25. An _______ is used to enable your code to talk to objects within views
@2x
IBOutlet
alpha ... 1
NSString *phrase = @'Hello World';
26. What do the Autosizing settings of the Size Inspector do?
double
XML
Command+R
Determine how controls resize/reposition themselves when a device changes orientation
27. Used to define a list of all methods and properties a class uses
interface file
[myLabel setText:@'Howdy'];
affine
Option+Command+ 0
28. Key sequence to hide/show Navigator View
[<object variable> <method name>];
ption+Command+Return
@
Command+0
29. Used to receive an event in code and trigger something
eXtensible Markup Language
IBAction
Option-click a symbol
To provide a convenient way of setting the button's title in the code
30. Although it is possible to declare an instance variable and then define a corresponding property - you may also use @property alone to...
@synthesize directive
2
implicitly declare a matching instance variable
C
31. What property needs to be set before a scroll view (UIScrollView) will scroll?
Control-click on the View Controller's icon to bring up a Connections dialog
contentSize
storyboard
NSLog(@'%s' - __FUNCTION__);
32. An integrated web browser component
web view
myImage@2x.png
[<object variable> <method name>: p1];
==
33. The Round Rect Button is found in this library
count++;
Object Library
:
stub
34. Class that creates an array capable of being changed after it is create
pound
Commmand-R
instantiate
NSMutableArray
35. What type of object does a web view expect as a parameter when loading a remote URL?
NSURLRequest
Seques .... relationships
protocols
Human Interface Guide
36. An example of a common collection data type
'Interface Builder'
Cocoa Touch
To provide a convenient way of setting the button's title in the code
NSArray
37. A view that is displayed on top of an original view when user interactions are required
nonatomic
sending an object a message
modal views
C
38. UI
Human Interface Guide
User Interface
NSDate
Model-View-Controller
39. Way to refer to an object within its own methods
self
Identity Inspector
NSString *phrase = @'Hello World';
YES
40. To zoom between an overview of the entire storyboard and the actual size view - ______ the storyboard background.
Double-click
utility
contentSize
UITextField
41. This element should 'always' accompany a slider to indicate its purpose
affine
self
label
Integrated Development Environment
42. 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
43. 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?
Attribute settings for some onscreen controls (like text areas) that analyze content and provide helpful links based on what they find. For example - phone numbers can be touched to dial the phone; web addresses can launch Safari if tapped - etc
Hold down the Option key and point to the other label. The distance will be shown
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
//blah blah blah
44. Consider: int x = 6;int y = 7;float quotient = (float) x/y;The statement that creates the variable 'quotient' is an example of ...
myImage@2x.png
casting
modal views
nonatomic
45. IB
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
46. Templates fill in a bunch of ______-_______ code that serves as a framework in which to write future implementations
NSDictionary
@end
@2x
boiler-plate
47. Synonym for interface file
header
NSString
<type> <variableName>;
alpha
48. Recommended image type for button graphics
png
import
Identity Inspector
/*blah blah blah */
49. To use a new class you need to _____ it
instantiate
x--;
Control-click on the View Controller's icon to bring up a Connections dialog
do not
50. A fully opaque image has an _______ property value of ______
alpha ... 1
:
y *= 5;
NSString