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 transition between scenes - frequently with a visual transition effect applied
below
Group
UIViewController
segue
2. 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
3. Development approach (design pattern) to structure iOS applications
*
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
Model-View-Controller
accessible apps
4. Resembles a slot machine display
count++;
UIPicker
Nib (but a few call it 'zib' but that's not preferred)
nested message send
5. If a method name includes a colon (:) this indicates a required _________
!=
h
parameter
Option+Command+4
6. Expression to create a random number in [0 -20];
NSDictionary
affine
rand( )%21
Cocoa Touch
7. 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
8. ______ enable applications to store multiple pieces of information in a single object
Determine how controls resize/reposition themselves when a device changes orientation
Collections
Cocoa Touch - Media - Core Services - Core OS
above
9. What computer language is the storyboard written in?
Command+R
Objective-C
XML
UILabel *myLabel = [[UILabel alloc] init];
10. A ______ is where you edit a view and assign a controller to it.
NSMutableString
Option+Command+4
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
scene
11. The goal of the MVC design pattern
property list
Isolate the functional components of an app
alpha ... 0
-
12. This file contains the code that makes everything 'work'
implementation file
do{/*stuff to do here*/}while(<boolean expression>);
modal views
web view
13. 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
14. Class used to work with dates as objects
Cocoa Touch
UITextView
[<object variable> <method name>];
NSDate
15. Given: [graduationParty addAttendee: @'Aunt Jane' withDish: @'deviled eggs']; The 'receiver' is _______; the 'selector' is _________
%
graduationParty ... addAttendee:withDish
wrap
NSDictionary
16. Used to display image file resources and show simple animations
UILabel *myLabel = [[UILabel alloc] init];
inspector and library
||
image view
17. An integrated web browser component
Gray circle with a white 'X' in it - positioned to the right of the text field box
UIImageView
web view
Actions
18. RAM for iPhone
void
implementation file
main()
512MB
19. 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
com.basicversity
@
disclosure triangle
20. Master class in iOS
//blah blah blah
NSObject
main()
static
21. Formatting placeholder for a floating point value with one digit on the left of the decimal and two digits on the right
strong
instance variable
pound
%1.2f
22. Scaling factor to make an image suitable for retina display
2
The Console area of the Debug area
onscreen 'widgets' a user can interact with
stub
23. The Inspector you would use to tweak the way interface objects appear
Attributes Inspector
UIPicker
Command + Tab
[<object variable> <method name>: p1];
24. Framework used to write iPhone apps
Cocoa Touch
immersive
casting
<type> <variableName>;
25. A class that implements a protocol is said to ____ to that protocol
Double-click
%
conform
Hold down the Option key and point to the other label. The distance will be shown
26. A fully transparent image has an _____ property value of _____
productivity
Double-click
subclass
alpha ... 0
27. Define a collection of methods to perform a task
Document Outline Area or Outline View
property list
label.text=@'Hello World!';
protocols
28. Dimensions of iPhone (in points)
320 x 480
do{/*stuff to do here*/}while(<boolean expression>);
#import 'myFile.h'
wrap
29. Given: #import <UIKit/UIKit.h> @interface WelcomeViewController : UIViewController @end The superclass for WelcomeViewController
512MB
Identity Inspector
storyboards
UIViewController
30. Property affecting an element's transparency
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.
#import <UIKIT/UIKIT.h>
alpha
interface and implementation files
31. ______ are variables that can store a ____ to an object.
Outlets ... pointer
property list
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
count++;
32. Another name for a 'button bar'
Control-click on the View Controller's icon to bring up a Connections dialog
segmented control
hash
IBOutlet
33. 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
34. Which Apple project template creates a simple view/view controller application
proxy
controller
superclass
Single View Application
35. Shortcut for writing: y = y * 5;
proxy
@
y *= 5;
Hold down the Option key and point to the other label. The distance will be shown
36. Modulus (remainder) operator
NSArray
NSDate
%
Nib (but a few call it 'zib' but that's not preferred)
37. Indicates a lack of any value at all
label
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
nil
Objective-C
38. What do the Autosizing settings of the Size Inspector do?
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
Size Inspector
Model-View-Controller
Determine how controls resize/reposition themselves when a device changes orientation
39. _____ are methods that we can connect to events.
NSLog(@'%s' - __FUNCTION__);
Actions
512MB
Cocoa Touch
40. Boolean for 'true' in Objective-C
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
xcodeproj
||
YES
41. Apps that provide easy access to a single screen of information with a backside view for modifying preferences
x--;
UIApplication
Integrated Development Environment
Utility apps
42. To unroll or roll up a hierarchy of files - objects or classes - you click the ______ _______ at the root element
disclosure triangle
@2x
debugger
Snapshot feature
43. 4 Top down technology layers making up iOS
Cocoa Touch - Media - Core Services - Core OS
switch
modal
nonatomic
44. Scaling - rotation - and translation are the most commonly used manipulations supported by _____ transforms - but skewing is also possible.
control-dragging
storyboard
nil
affine
45. Name of the '|' symbol
UITextView
pipe
NSMutableArray
label
46. Size of iPhone 'lo-res' icon image in pixels
57 x 57
productivity
%@
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
47. 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
48. 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.
ption+Command+Return
controller
Cocoa Touch
To provide a convenient way of setting the button's title in the code
49. In a stepper control - when this attribute option is checked - the stepper's value is automatically set to the minimum value when the maximum value is exceeded (or vice versa).
IBAction
self
performance
wrap
50. Defines the functional building blocks (classes) that make iOS devices perform certain actions
NSString *phrase = @'Hello World';
Group
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
Cocoa Touch