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. This type of app is typically one screen - and gives you the basics with minimal interaction
label.text=@'Hello World!';
id
utility
UIViewController
2. Define a collection of methods to perform a task
prototyping
Utility apps
protocols
implementation file
3. OOP
Object-oriented programming
instance variable
debugger
2
4. Class that builds upon another class
subclass
alpha
ption+Command+Return
float
5. What's the difference between Cocoa and Cocoa Touch?
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
First Responder
property list
Double-click
6. Which Apple project template creates a simple view/view controller application
114 x 114
CGAffineTransform
label.text=@'Hello World!';
Single View Application
7. IDE for iPhone Development
!=
instantiate
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
Xcode
8. Always used to end the list of objects when initializing an array
productivity
nil
Snapshot feature
Group
9. A common button type that indicates additional information is available
detail disclosure
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
sending an object a message
Cocoa Touch
10. SDK
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
11. MVC
<>
view
scene
Model-View-Controller
12. The ________ class provided a container for the management and display of views
protocols
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
UIWindow
NSString
13. A class that implements a protocol is said to ____ to that protocol
protocols
The Console area of the Debug area
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.
conform
14. Closes an interface file
<type> <variableName>;
@end
Treats the field as a password - hiding each character as it is typed
static
15. Given: [graduationParty addAttendee: @'Aunt Jane' withDish: @'deviled eggs']; The 'receiver' is _______; the 'selector' is _________
com.basicversity
retain
@end
graduationParty ... addAttendee:withDish
16. Syntax for reserving memory and initializing an object
User Interface
accessors
Cocoa Touch - Media - Core Services - Core OS
[[<class name> alloc] init];
17. 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
18. UI
h
alpha ... 0
User Interface
Cocoa Touch
19. The HIG requires some kind of _____ element in a cell if there is more information available
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
%d
Utility apps
disclosure
20. Shortcut for writing: count = count + 1;
nested message send
implementation file
storyboards
count++;
21. Shortcut for writing: x = x - 1;
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
do not
NSURLRequest
x--;
22. Apps written to assist users with special disabilities
#import <UIKIT/UIKIT.h>
accessible apps
Snapshot feature
eXtensible Markup Language
23. Property affecting an element's transparency
NSURL
NSMutableArray
alpha
UIViewController
24. A transition between scenes - frequently with a visual transition effect applied
segue
!
NSString *userName;
detail disclosure
25. Class that creates an array capable of being changed after it is create
NSMutableArray
interface and implementation files
Cocoa Touch
class
26. ______ are variables that can store a ____ to an object.
Model-View-Controller
1024 x 768
Commmand-R
Outlets ... pointer
27. Data type for whole numbers
Application Programming Interface
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.
self
int
28. Postcondition repetition structure syntax
void
do{/*stuff to do here*/}while(<boolean expression>);
detail disclosure
@synthesize directive
29. If a method name includes a colon (:) this indicates a required _________
nibfile
parameter
nonatomic
accessible apps
30. Fixed iteration repetition control structure syntax
Model-View-Controller
[myLabel setText:@'Howdy'];
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
==
31. Resembles a slot machine display
UIPicker
-
<type> <variableName>;
self
32. A ______ is where you edit a view and assign a controller to it.
scene
view
Human Interface Guide
<type> <variableName>;
33. You are creating an app for a company whose URL is http://www.basicversity.com . What should be the company identifier for the app when you begin the project?
variable
YES
com.basicversity
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
34. Opens the Xcode Quick Help Assistant
class
UIApplication
YES
Option-click a symbol
35. The '@' symbol is shorthand for creating one of these
NSString
To provide a convenient way of setting the button's title in the code
mutators
disclosure
36. Indicates a lack of any value at all
disclosure triangle
immersive
nil
implicitly declare a matching instance variable
37. 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
38. Multiline text entry block
Nib (but a few call it 'zib' but that's not preferred)
UITextView
debugger
hasShrunk==YES && hasMoved == YES
39. Alternative selection mechanism when many conditions exist
#import <UIKIT/UIKIT.h>
switch
Objective-C
Actions
40. Used to test an app without needing an actual physical device
iOS Simulator
strong
IBAction)moveMe:(id)sender;
Command+0
41. Key sequence to hide/show Navigator View
Command+0
inspector and library
[myLabel setText:@'Howdy'];
Command+1
42. The Inspector you will need if you want to connect a custom class to an object in Interface Builder
NSLog(@'%s' - __FUNCTION__);
Identity Inspector
disclosure
storyboard
43. Formatting placeholder for a floating point value with one digit on the left of the decimal and two digits on the right
void
%1.2f
do{/*stuff to do here*/}while(<boolean expression>);
header
44. Key sequence to open the Project Navigator (left panel)
Command+0
Command+1
NSArray
Treats the field as a password - hiding each character as it is typed
45. Symbol often denoting a 'pointer'
<>
*
Cocoa Touch
wrap
46. Synonym for interface file
header
2
rand( )%21
NSMutableString
47. 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
48. Master class in iOS
interface file
<>
Objective-C
NSObject
49. Shortcut for writing: y = y * 5;
while(<boolean expression>){/*stuff to do here*/}
control-dragging
First Responder
y *= 5;
50. Recommended image type for button graphics
Actions
immersive
switch
png