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. Fixed iteration repetition control structure syntax
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
NSMutableArray
controller
Identity Inspector
2. Collection of interface elements and data storage elements etc you can access from your applications
iOS Simulator
Touch Up Inside
Cocoa Touch
property list
3. Formatting placeholder for strings
@synthesize directive
m
iOS Simulator
%@
4. Formatting placeholder for a floating point value with one digit on the left of the decimal and two digits on the right
%1.2f
Option+Command+4
Object library
label
5. Symbol used for inheritance
main()
convenience
Double-click
:
6. This element should 'always' accompany a slider to indicate its purpose
Home button
label
Control-click on the View Controller's icon to bring up a Connections dialog
NSLog
7. If a method name includes a colon (:) this indicates a required _________
affine
CGAffineTransform
[<object variable> <method name>: p1];
parameter
8. SDK
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
9. An example of a common collection data type
UIWindow
NSArray
<>
Determine how controls resize/reposition themselves when a device changes orientation
10. Storage place for a piece of information specific to a class
instance variable
NSURL
Scheme
Classes
11. Class that another class inherits from
conform
Cocoa Touch
superclass
UITextView
12. NS stands for...
NeXSTEP
Command + Tab
control-dragging
NSLog
13. Precondition repetition structure syntax
Commmand-R
view
alpha
while(<boolean expression>){/*stuff to do here*/}
14. Defines the functional building blocks (classes) that make iOS devices perform certain actions
Seques .... relationships
ommand+Return
@
Cocoa Touch
15. Class that allows URL management
eXtensible Markup Language
storyboards
NSURL
@
16. An array of background images called 'bgImages' has been declared as an instance variable in your header file. You have created a set of 5 background images stored in UIImage variables wp1 through wp5. Write a line of code that initializes the array.
ption+Command+Return
storyboard
view
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
17. Class used for creating image views
To provide a convenient way of setting the button's title in the code
UIImageView
y *= 5;
Human Interface Guide
18. Apps written to assist users with special disabilities
nonatomic
y *= 5;
Outlets ... pointer
accessible apps
19. Syntax for block-comment
affine
IBOutlet
view
/*blah blah blah */
20. Typical header syntax for a button that will be applying the 'moveMe' action in an app
scene
Cocoa Touch
IBAction)moveMe:(id)sender;
UILabel *myLabel = [[UILabel alloc] init];
21. 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
22. ______ enable applications to store multiple pieces of information in a single object
conform
Collections
Option+Command+ 0
modal
23. Language used to write iOS apps
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
Objective-C
affine
subclass
24. Syntax to include UIKIT in a class
count++;
#import <UIKIT/UIKIT.h>
Jump Bar
!=
25. setters
mutators
To provide a convenient way of setting the button's title in the code
Collections
[<object variable> <method name>];
26. The '@' symbol is shorthand for creating one of these
XML
alpha
NSString
Model-View-Controller
27. Class used for image manipulations such as scaling - rotation and translation. Its data structure represents a matrix used for affine transformations.
CGAffineTransform
storyboard
view controller
png
28. Declare and initialize a string that says: 'Hello World' whose identifier if 'phrase' . Use the shortest command possible.
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
29. The Inspector you will need if you want to connect a custom class to an object in Interface Builder
Command + Tab
Identity Inspector
Seques .... relationships
storyboards
30. iPhone and iPad ____ support .png transparency
h
do not
NSLog(@'%s' - __FUNCTION__);
disclosure
31. What are the guidelines for the class prefix for a project?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
32. Process of creating an active object from a class
Cocoa Touch
instantiation
Jump Bar
Collections
33. 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.
2
controller
mutators
Identity Inspector
34. 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
35. Multiline text entry block
do not
UITextView
IBAction)moveMe:(id)sender;
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
36. Key sequence to hide/show the Assistant Editor
double
ption+Command+Return
id
Collections
37. Dimensions of iPad (in points)
web view
affine
1024 x 768
alpha ... 1
38. @synthesize directives should be placed _____ (above or below) the @implementation directive in the implementation file
!=
disclosure triangle
below
header
39. File name suffix indicating an image is suitable for retina display
@2x
UIPicker
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
instantiate
40. 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
proxy
Identity Inspector
control-dragging
label
41. What computer language is the storyboard written in?
XML
<>
web view
disclosure
42. UI
User Interface
IBAction
ommand+Return
controller
43. 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)
performance
//blah blah blah
stub
rand( )%21
44. Way to refer to an object within its own methods
NSString *phrase = @'Hello World';
m
@2x
self
45. A fully opaque image has an _______ property value of ______
parameter
convenience
First Responder
alpha ... 1
46. Key sequence to hide/show Utilities View
NSString
512MB
Option+Command+ 0
label.text=@'Hello World!';
47. Key sequence on a Mac to select between open application
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
Command + Tab
count++;
IBAction
48. To zoom between an overview of the entire storyboard and the actual size view - ______ the storyboard background.
Touch Up Inside
while(<boolean expression>){/*stuff to do here*/}
+
Double-click
49. Shortcut for writing: y = y * 5;
Scheme
y *= 5;
nil
disclosure
50. This type of app is mostly custom controllers and graphics
accessible apps
hash
immersive
[<object variable> <method name>: p1];