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. A class that manages the user's interaction with the iDevice
void
view controller
hash
productivity
2. Modulus (remainder) operator
hash
Utility apps
%
Scheme
3. Symbol often denoting a 'pointer'
*
control-dragging
CGAffineTransform
double
4. A ______ is where you edit a view and assign a controller to it.
retain - release - dealloc - autorelease
Outlets ... pointer
scene
[[<class name> alloc] init];
5. What event do you use to detect a button tap?
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
Touch Up Inside
NSURL
%d
6. Files used to create a class
interface and implementation files
First Responder
interface file
inspector and library
7. Return type indicating a method returns nothing
alpha
UITextView
void
Human Interface Guide
8. To use a new class you need to _____ it
instantiate
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
*
token
9. ______ and ______ define the connections between scenes.
Seques .... relationships
Outlets ... pointer
@synthesize
1024 x 768
10. What property needs to be set before a scroll view (UIScrollView) will scroll?
NSMutableString
contentSize
<>
import
11. Delimiter for a list of protocols
<>
//blah blah blah
x--;
retain - release - dealloc - autorelease
12. You have created some 'breadcrumbs' using NSLog to trace the path of your code - and the debug area is open - yet you see no information in the panel. What's the problem and what is the solution?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
13. 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
model
@
self
mutators
14. 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.
Command + Tab
Size Inspector
controller
below
15. Consider: int x = 6;int y = 7;float quotient = (float) x/y;The statement that creates the variable 'quotient' is an example of ...
retain - release - dealloc - autorelease
pound
casting
Model-View-Controller
16. 'plist' stands for...
mutators
NSMutableArray
void
property list
17. This keyword in the property directive is related to the concept of mutability and basically asks Apple to handle the details. This is the more 'relaxed' - less 'powerful' setting of two possibilities
onscreen 'widgets' a user can interact with
nonatomic
pipe
Identity Inspector
18. Purpose of 'Secure' attribute for text fields
h
Classes
interface file
Treats the field as a password - hiding each character as it is typed
19. Word used to indicate that a user can't interact with a given element
disclosure
workspace
iOS Simulator
static
20. _____ are methods that we can connect to events.
pipe
detail disclosure
Actions
label.text=@'Hello World!';
21. Extension for interface file
#import <UIKIT/UIKIT.h>
h
UIViewController
IBAction
22. Always used to end the list of objects when initializing an array
nil
token
NSString
Classes
23. Something the simulator cannot reliably test
performance
implementation file
[<object variable> <method name>: p1];
+
24. 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)
//blah blah blah
stub
Command + Tab
immersive
25. @property directives should be placed ____ (above or below) any IBActions in the header file
Seques .... relationships
UITextView
above
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
26. OOP
@2x
NSMutableString
Object-oriented programming
stub
27. The Inspector you would use to control your layout in Interface Builder
Command+S
alpha
Xcode
Size Inspector
28. iPhone and iPad ____ support .png transparency
*
do not
Object library
Cocoa Touch - Media - Core Services - Core OS
29. Implements a logical AND condition
Model-View-Controller
modal
'Interface Builder'
&&
30. This keyword in the property directive is related to memory management and refers to the idea that we want to maintain control of memory issues
YES
contentSize
retain
Actions
31. A file folder in the navigator panel is called a ________
Model-View-Controller
Group
<>
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
32. Prior to ARC - you used these terms alot
Xcode
instantiate
label
retain - release - dealloc - autorelease
33. Term used to describe each screen of an iPhone app
view
NSLog
control-dragging
token
34. Apps written to assist users with special disabilities
accessible apps
IBOutlet
alpha ... 0
Group
35. Attribute that informs Xcode not to worry about different parts of the application using a property at the same time
detail disclosure
Group
label
nonatomic
36. Companion to the @property directive
conform
NSString *userName;
storyboard
@synthesize
37. Other name for an *.xib file
Application Programming Interface
workspace
@
nibfile
38. SDK
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
39. Apps that provide easy access to a single screen of information with a backside view for modifying preferences
Identity Inspector
hasShrunk==YES && hasMoved == YES
Utility apps
model
40. Boolean for 'true' in Objective-C
Snapshot feature
NeXSTEP
nil
YES
41. Syntax for declaring a string called 'userName'
protocols
NSString *userName;
control-dragging
boiler-plate
42. An integrated web browser component
Control-click on the View Controller's icon to bring up a Connections dialog
web view
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
&&
43. Key sequence to open the Project Navigator (left panel)
Command+1
IBAction
Object-oriented programming
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
44. The Utilities area has two sections: ______ and ______
YES
Actions
inspector and library
segue
45. Class that another class inherits from
Jump Bar
[[<class name> alloc] init];
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
superclass
46. Collection of interface elements and data storage elements etc you can access from your applications
Cocoa Touch
instantiation
float
boiler-plate
47. Name of the '|' symbol
UIImageView
hash
pipe
disclosure triangle
48. The library that contains the objects you can add to a view or XIB file
conform
Object library
[myLabel setText:@'Howdy'];
NSString
49. Size of iPhone 'lo-res' icon image in pixels
Group
57 x 57
count++;
IBAction)moveMe:(id)sender;
50. Boolean for 'false' in Objective-C
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.
||
disclosure
NO