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. Process of creating an active object from a class
instantiation
UITextField
Model-View-Controller
boiler-plate
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. Companion to the @property directive
utility
@synthesize
protocols
C
4. Used to receive an event in code and trigger something
below
IBAction
#import <UIKIT/UIKIT.h>
UIPicker
5. Used to set up an outgoing connection from the implementation code to the view
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
IBOutlet
UILabel *myLabel = [[UILabel alloc] init];
instantiation
6. 'plist' stands for...
:
Classes
property list
NSURL
7. Return type indicating a method returns nothing
'Interface Builder'
void
static
switch
8. Files used to create a class
interface and implementation files
Object-oriented programming
ommand+Return
[<object variable> <method name>];
9. Calling a method is the same as...
Attributes Inspector
IBOutlet
sending an object a message
rand( )%21
10. What computer language is the storyboard written in?
XML
Double-click
IBOutlet
IBAction
11. Multiline text entry block
Size Inspector
!
storyboard
UITextView
12. Write a statement to declare and initialize a label object called 'myLabel'
above
||
UILabel *myLabel = [[UILabel alloc] init];
hash
13. 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
14. Formatting placeholder for integers
variable
&&
%d
||
15. The Inspector you will need if you want to connect a custom class to an object in Interface Builder
instance variable
Identity Inspector
2
control-dragging
16. Other name for an *.xib file
nibfile
above
<>
Hold down the Option key and point to the other label. The distance will be shown
17. _____ are methods that we can connect to events.
NSString *phrase = @'Hello World';
below
Actions
<>
18. Postcondition repetition structure syntax
IBOutlet
!
do{/*stuff to do here*/}while(<boolean expression>);
main()
19. Syntax for sending an object a message with one parameter (p1)
Nib (but a few call it 'zib' but that's not preferred)
myImage@2x.png
static
[<object variable> <method name>: p1];
20. Every iOS application implements a subclass of _________
Home button
superclass
UIApplication
proxy
21. Syntax for declaring a string called 'userName'
NSString *userName;
Actions
segue
below
22. The Round Rect Button is found in this library
Object Library
nonatomic
NSDictionary
<>
23. 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
24. Given: #import <UIKit/UIKit.h> @interface WelcomeViewController : UIViewController @end The superclass for WelcomeViewController
ption+Command+Return
UIViewController
UIPicker
affine
25. Shortcut for writing: x = x - 1;
x--;
@synthesize
Option-click a symbol
&&
26. Prior to ARC - you used these terms alot
header
NSDate
self
retain - release - dealloc - autorelease
27. Development approach (design pattern) to structure iOS applications
Option-click a symbol
IBOutlet
Option+Command+4
Model-View-Controller
28. 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.
xcodeproj
modal
switch
disclosure
29. An _______ is used to enable your code to talk to objects within views
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
%d
IBOutlet
Human Interface Guide
30. Used to test an app without needing an actual physical device
iOS Simulator
disclosure triangle
NSLog
Determine how controls resize/reposition themselves when a device changes orientation
31. Key sequence to save an Xcode file
Command+S
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
NSString *phrase = @'Hello World';
First Responder
32. Boolean for 'true' in Objective-C
IBAction
Touch Up Inside
nil
YES
33. Way to refer to an object within its own methods
class
storyboards
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
self
34. 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.
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
[<object variable> <method name>: p1];
subclass
controller
35. Class used for image manipulations such as scaling - rotation and translation. Its data structure represents a matrix used for affine transformations.
CGAffineTransform
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
xcodeproj
NSDictionary
36. Class used for creating image views
accessible apps
NSURLRequest
alpha ... 1
UIImageView
37. RAM for iPhone
disclosure
accessors
com.basicversity
512MB
38. The Inspector you would use to control your layout in Interface Builder
Identity Inspector
strong
Command+1
Size Inspector
39. IDE
Integrated Development Environment
instance variable
main()
retain
40. Implements a logical OR condition
parameter
Treats the field as a password - hiding each character as it is typed
m
||
41. The '@' symbol is shorthand for creating one of these
nested message send
NSString
debugger
class
42. The Inspector you would use to tweak the way interface objects appear
stub
Attributes Inspector
Command+S
pipe
43. 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
44. The first method called when a user taps an application icon
main()
NSArray
inspector and library
Object-oriented programming
45. A view that is displayed on top of an original view when user interactions are required
modal views
switch
hash
contentSize
46. Storage location for a piece of information
ption+Command+Return
do not
variable
do{/*stuff to do here*/}while(<boolean expression>);
47. 4 Top down technology layers making up iOS
Cocoa Touch
Cocoa Touch - Media - Core Services - Core OS
[myLabel setText:@'Howdy'];
controller
48. The files that contain all the scenes you will use in a project.
interface and implementation files
storyboards
NO
com.basicversity
49. An example of a common collection data type
NSURLRequest
NSArray
main()
do not
50. Used to indicate any type of object
IBOutlet
id
Identity Inspector
NSURL