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. In the MVC design pattern for iOS apps - this aspect provides the underlying data and methods that offer information to the rest of the application
interface and implementation files
subclass
UIWindow
model
2. IB
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
3. Defines the functional building blocks (classes) that make iOS devices perform certain actions
NSArray
:
Cocoa Touch
interface file
4. Every iOS application implements a subclass of _________
UIApplication
Utility apps
UITextField
@2x
5. Recommended image type for button graphics
nil
To provide a convenient way of setting the button's title in the code
png
workspace
6. If a method name includes a colon (:) this indicates a required _________
Cocoa Touch
parameter
Isolate the functional components of an app
attributes
7. strong and nonatomic are examples of ...
'Interface Builder'
productivity
CGAffineTransform
attributes
8. Multiline text entry block
UITextView
instance variable
NSObject
Integrated Development Environment
9. The bar across the top of the Editor area that shows you the item you are editing
pipe
@
@2x
Jump Bar
10. A common button type that indicates additional information is available
detail disclosure
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
@synthesize
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.
11. 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).
wrap
superclass
UILabel *myLabel = [[UILabel alloc] init];
114 x 114
12. 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
UIImageView
workspace
attributes
control-dragging
13. Expression to create a random number in [0 -20];
myImage@2x.png
rand( )%21
<>
stub
14. 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
15. Formatting placeholder for a floating point value with one digit on the left of the decimal and two digits on the right
%1.2f
Scheme
id
storyboard
16. 4 Top down technology layers making up iOS
viewDidLoad
Nib (but a few call it 'zib' but that's not preferred)
id
Cocoa Touch - Media - Core Services - Core OS
17. Name of the drop-down menu in Xcode that lets you select the device used with the iOS Simulator
Scheme
UITextView
UITextField
1024 x 768
18. A unique combination of view controller and view
property list
NeXSTEP
detail disclosure
scene
19. 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
20. Syntax for single-line comment
Collections
Cocoa Touch
//blah blah blah
IBAction
21. IDE for iPhone Development
Xcode
UIApplication
segmented control
subclass
22. getters
mutators
alpha ... 1
accessors
Cocoa Touch
23. Denotes a class method
+
superclass
Jump Bar
import
24. 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
25. Boolean for 'true' in Objective-C
void
YES
Control-click on the View Controller's icon to bring up a Connections dialog
float
26. Typical header syntax for a button that will be applying the 'moveMe' action in an app
IBAction)moveMe:(id)sender;
Option+Command+4
Commmand-R
Hold down the Option key and point to the other label. The distance will be shown
27. Another name for format specification
token
Actions
Single View Application
workspace
28. Syntax to include UIKIT in a class
nil
#import <UIKIT/UIKIT.h>
variable
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
29. Purpose of the 'Auto-enable Return Key' attribute for text fields
Cocoa Touch - Media - Core Services - Core OS
#import 'myFile.h'
NSDate
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
30. Class of strings that can be changed
Collections
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
NSMutableString
Command+R
31. What event do you use to detect a button tap?
Double-click
Touch Up Inside
Identity Inspector
Home button
32. 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
33. In the UK - the '#' symbol is often called the ____ symbol
interface and implementation files
modal views
hash
header
34. Given: [graduationParty addAttendee: @'Aunt Jane' withDish: @'deviled eggs']; The 'receiver' is _______; the 'selector' is _________
immersive
#import <UIKIT/UIKIT.h>
instance variable
graduationParty ... addAttendee:withDish
35. Scaling factor to make an image suitable for retina display
@2x
ption+Command+Return
2
segmented control
36. 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
37. Master class in iOS
Option+Command+4
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
IBOutlet
NSObject
38. The name of the panel to the left of the Interface Builder Editor panel
retain - release - dealloc - autorelease
Object Library
Document Outline Area or Outline View
storyboard
39. This Xcode utility allows you to check CPU usage - memory allocation and network/file access (among other things)
Touch Up Inside
@synthesize
Instruments
segmented control
40. Size of iPhone 'lo-res' icon image in pixels
Commmand-R
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
Objective-C
57 x 57
41. Data type for highly precise numbers with huge numbers of decimal places
double
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
Control-click on the View Controller's icon to bring up a Connections dialog
[<object variable> <method name>];
42. Key sequence to open the Project Navigator (left panel)
Cocoa Touch - Media - Core Services - Core OS
Command+1
[<object variable> <method name>: p1];
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
43. Dimensions of iPad (in points)
alpha ... 1
1024 x 768
y *= 5;
storyboard
44. Class that allows URL management
NSMutableArray
[<object variable> <method name>: p1];
NSURL
static
45. Alternative selection mechanism when many conditions exist
NSURLRequest
*
switch
Model-View-Controller
46. Class that creates an array capable of being changed after it is create
NSMutableArray
Command+0
NSString
Snapshot feature
47. Class that builds upon another class
UIViewController
subclass
NSURL
#import <UIKIT/UIKIT.h>
48. Attribute that informs the system that the object referred to needs to be kept around and not discarded from memory
strong
Determine how controls resize/reposition themselves when a device changes orientation
header
[[<class name> alloc] init];
49. Resembles a slot machine display
Cocoa Touch - Media - Core Services - Core OS
pipe
nonatomic
UIPicker
50. Key sequence to run an app in Xcode
[<object variable> <method name>];
header
UILabel *myLabel = [[UILabel alloc] init];
Command+R