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. Syntax for single-line comment
nested message send
alpha
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
//blah blah blah
2. Class of collection data type which stores information as object/key pairs
NSDictionary
nil
NSString
[myLabel setText:@'Howdy'];
3. Used to display image file resources and show simple animations
UITextField
com.basicversity
Jump Bar
image view
4. Data type for true/false type variables
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
UIWindow
modal
bool
5. The goal of the MVC design pattern
Objective-C
Isolate the functional components of an app
Size Inspector
IBAction)moveMe:(id)sender;
6. Data type for numbers with 'tame' numbers of decimal points
float
nibfile
double
self
7. Extension for interface file
IBOutlet
contentSize
@end
h
8. Class that creates an array capable of being changed after it is create
disclosure triangle
NSMutableArray
view controller
IBAction)moveMe:(id)sender;
9. Typical header syntax for a button that will be applying the 'moveMe' action in an app
%
IBAction)moveMe:(id)sender;
57 x 57
Cocoa Touch
10. 4 Top down technology layers making up iOS
Cocoa Touch - Media - Core Services - Core OS
retain
Command+1
Collections
11. Dimensions of iPhone (in points)
320 x 480
||
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
NSMutableString
12. A virtual 'box' for organizing related projects
workspace
NSString
//blah blah blah
int
13. Always used to end the list of objects when initializing an array
void
NO
nil
accessible apps
14. The Inspector you would use to tweak the way interface objects appear
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.
myImage@2x.png
Hold down the Option key and point to the other label. The distance will be shown
Attributes Inspector
15. Used to set up an outgoing connection from the implementation code to the view
UIApplication
while(<boolean expression>){/*stuff to do here*/}
<type> <variableName>;
IBOutlet
16. Data type for highly precise numbers with huge numbers of decimal places
Human Interface Guide
NSObject
workspace
double
17. setters
mutators
NSDictionary
IBAction)moveMe:(id)sender;
casting
18. XML
eXtensible Markup Language
Cocoa Touch
Command+1
onscreen 'widgets' a user can interact with
19. Character used to show an element as a literal string
Command+S
@
First Responder
boiler-plate
20. An example of a common collection data type
NSArray
strong
Touch Up Inside
hasShrunk==YES && hasMoved == YES
21. Syntax to include UIKIT in a class
#import <UIKIT/UIKIT.h>
[<object variable> <method name>: p1];
NO
nil
22. This type of app is typically one screen - and gives you the basics with minimal interaction
modal views
utility
interface and implementation files
Option+Command+4
23. Used to define a list of all methods and properties a class uses
Jump Bar
interface file
control-dragging
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
24. Name of the drop-down menu in Xcode that lets you select the device used with the iOS Simulator
Scheme
affine
controller
y *= 5;
25. Syntax for reserving memory and initializing an object
NSLog
[[<class name> alloc] init];
Group
Command+0
26. Defines the functional building blocks (classes) that make iOS devices perform certain actions
@synthesize directive
Size Inspector
segmented control
Cocoa Touch
27. Formatting placeholder for a floating point value with one digit on the left of the decimal and two digits on the right
%1.2f
superclass
import
Single View Application
28. 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
29. Precondition repetition structure syntax
Identity Inspector
Cocoa Touch
while(<boolean expression>){/*stuff to do here*/}
[[<class name> alloc] init];
30. Used to receive an event in code and trigger something
1024 x 768
<>
IBAction
Hold down the Option key and point to the other label. The distance will be shown
31. 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
32. Indicates a lack of any value at all
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
pipe
nil
[<object variable> <method name>];
33. The files that contain all the scenes you will use in a project.
hash
storyboards
Attributes Inspector
Option+Command+4
34. The library that contains the objects you can add to a view or XIB file
Identity Inspector
Objective-C
instantiation
Object library
35. OOP
ommand+Return
Object-oriented programming
&&
subclass
36. If you wish to 'echo print' breadcrumb info as you develop your app - this panel must be visible
<type> <variableName>;
alpha
The Console area of the Debug area
parameter
37. Creates 'getters' and 'setters'
Command+0
@synthesize directive
Model-View-Controller
NSArray
38. Companion to the @property directive
NSDate
@synthesize
model
@
39. Single line text field
NSMutableArray
<type> <variableName>;
UITextField
Outlets ... pointer
40. 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
41. 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?
UIImageView
@synthesize directive
mutators
Hold down the Option key and point to the other label. The distance will be shown
42. The ________ class provided a container for the management and display of views
casting
UIWindow
below
Object-oriented programming
43. @property directives should be placed ____ (above or below) any IBActions in the header file
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
Size Inspector
below
above
44. The 'First Responder' in a scene is not an object it is considered a ________
Objective-C
%d
UIPicker
proxy
45. Apps that provide easy access to a single screen of information with a backside view for modifying preferences
hash
Utility apps
scene
NSURL
46. 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
47. Key sequence on a Mac to select between open application
nil
NSLog(@'%s' - __FUNCTION__);
Command + Tab
web view
48. 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
49. Two-way selection logic block
Object Library
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
casting
Utility apps
50. Given: #import <UIKit/UIKit.h> @interface WelcomeViewController : UIViewController @end The superclass for WelcomeViewController
Cocoa Touch
UILabel *myLabel = [[UILabel alloc] init];
UIViewController
Commmand-R