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. Denotes an instance method
==
@
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
-
2. In your implementation file - the _____ method (provided in stub form by Apple) runs after machine language code reserves some space in memory for your View. This method is often used to create a 'clean slate' as an app opens.
viewDidLoad
Option-click a symbol
[<object variable> <method name>];
contentSize
3. Correct the error: label.text = 'Hello World !';
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
4. A class that manages the user's interaction with the iDevice
view controller
NSString
UIApplication
wrap
5. Key sequence to open the Project Navigator (left panel)
Command+1
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
+
%
6. An _______ is used to 'advertise' a method in your code that should be called when a certain event takes place
prototyping
IBAction
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
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
7. Storage place for a piece of information specific to a class
utility
instance variable
x--;
image view
8. Framework used to write iPhone apps
h
boiler-plate
Cocoa Touch
%
9. A skeleton (holding place) or framework of code that will be completed in the future; provided initially so code will compile (but it may not function)
@
stub
x--;
void
10. Define a collection of methods to perform a task
protocols
NSArray
==
subclass
11. Scaling factor to make an image suitable for retina display
[myLabel setText:@'Howdy'];
myImage@2x.png
2
NSLog(@'%s' - __FUNCTION__);
12. Syntax for single-line comment
//blah blah blah
protocols
count++;
viewDidLoad
13. The 'First Responder' in a scene is not an object it is considered a ________
proxy
count++;
ption+Command+Return
%d
14. A tool in Xcode to help fix broken code
NSURL
Nib (but a few call it 'zib' but that's not preferred)
debugger
detail disclosure
15. Precondition repetition structure syntax
protocols
while(<boolean expression>){/*stuff to do here*/}
Double-click
To provide a convenient way of setting the button's title in the code
16. The Utilities area has two sections: ______ and ______
inspector and library
xcodeproj
NSMutableString
storyboards
17. In the UK - the '#' symbol is often called the ____ symbol
Treats the field as a password - hiding each character as it is typed
/*blah blah blah */
png
hash
18. Delimiter for a list of protocols
label
%@
<>
@end
19. Symbol used for inheritance
Treats the field as a password - hiding each character as it is typed
rand( )%21
:
ption+Command+Return
20. Method used to print information in an output panel
NSLog
scene
instantiate
do not
21. Data type for whole numbers
@
int
protocols
alpha ... 1
22. Given: #import <UIKit/UIKit.h> @interface WelcomeViewController : UIViewController @end The superclass for WelcomeViewController
conform
UIViewController
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
token
23. Class that creates an array capable of being changed after it is create
NSMutableArray
IBOutlet
Isolate the functional components of an app
Seques .... relationships
24. Companion to the @property directive
Program received signal: EXC_BAD_ACCESS
m
@synthesize
NSString *phrase = @'Hello World';
25. Syntax to include UIKIT in a class
variable
#import <UIKIT/UIKIT.h>
boiler-plate
+
26. OOP
NSLog(@'%s' - __FUNCTION__);
512MB
Object-oriented programming
Determine how controls resize/reposition themselves when a device changes orientation
27. Property affecting an element's transparency
alpha
image view
below
m
28. This type of app is mostly custom controllers and graphics
immersive
||
#import <UIKIT/UIKIT.h>
web view
29. Any 'directive' statement begins with this symbol
main()
IBOutlet
@
label
30. Syntax for block-comment
productivity
//blah blah blah
Option+Command+4
/*blah blah blah */
31. The ________ class provided a container for the management and display of views
do{/*stuff to do here*/}while(<boolean expression>);
control-dragging
view controller
UIWindow
32. If you have an image file called 'myImage.png' and you make a hi-res version for the retina display - what should be the name of the new file?
Option+Command+ 0
scene
myImage@2x.png
Document Outline Area or Outline View
33. Apps written to assist users with special disabilities
casting
storyboard
UIImageView
accessible apps
34. Class that builds upon another class
label.text=@'Hello World!';
XML
NSURLRequest
subclass
35. 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.
==
modal
protocols
UIWindow
36. Although it is possible to declare an instance variable and then define a corresponding property - you may also use @property alone to...
implicitly declare a matching instance variable
xcodeproj
+
!
37. To unroll or roll up a hierarchy of files - objects or classes - you click the ______ _______ at the root element
protocols
segue
disclosure triangle
com.basicversity
38. UI
User Interface
label
Cocoa Touch
NSArray
39. Typical header syntax for a button that will be applying the 'moveMe' action in an app
Control-click on the View Controller's icon to bring up a Connections dialog
hash
IBAction)moveMe:(id)sender;
parameter
40. Collection of interface elements and data storage elements etc you can access from your applications
IBOutlet
User Interface
@end
Cocoa Touch
41. Piece of information provided to a method when it is messaged
controller
<type> <variableName>;
parameter
NSMutableArray
42. iOS functional building blocks
parameter
Classes
@synthesize directive
above
43. Syntax to include the fictitious user-created file 'myFile.h'
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
44. In the US - the '#' symbol is often called the ____ symbol
IBAction
int
pound
NeXSTEP
45. Class used for image manipulations such as scaling - rotation and translation. Its data structure represents a matrix used for affine transformations.
modal
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
nil
CGAffineTransform
46. The files that contain all the scenes you will use in a project.
Command+1
bool
storyboards
ommand+Return
47. The object currently in control and interacting with the user
First Responder
Command+S
NSLog(@'%s' - __FUNCTION__);
graduationParty ... addAttendee:withDish
48. Formatting placeholder for a floating point value with one digit on the left of the decimal and two digits on the right
retain - release - dealloc - autorelease
%1.2f
scene
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
49. Formatting placeholder for integers
Cocoa Touch
label.text=@'Hello World!';
%d
[<object variable> <method name>: p1];
50. Implements a logical OR condition
IBAction
Determine how controls resize/reposition themselves when a device changes orientation
scene
||