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. Resembles a slot machine display
IBOutlet
:
UILabel *myLabel = [[UILabel alloc] init];
UIPicker
2. 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?
protocols
convenience
retain
com.basicversity
3. The library that contains the objects you can add to a view or XIB file
NO
NSDate
Object-oriented programming
Object library
4. Used to indicate any type of object
Command+S
<>
id
2
5. Key sequence to open the Standard Editor
Jump Bar
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
ommand+Return
Attributes Inspector
6. What's the difference between Cocoa and Cocoa Touch?
affine
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
nonatomic
storyboard
7. Dimensions of iPad (in points)
1024 x 768
boiler-plate
retain
NSArray
8. 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
9. Extension for implementation file
controller
Command+0
Integrated Development Environment
m
10. What property needs to be set before a scroll view (UIScrollView) will scroll?
[myLabel setText:@'Howdy'];
while(<boolean expression>){/*stuff to do here*/}
inspector and library
contentSize
11. Class that another class inherits from
Command+0
do not
property list
superclass
12. Proper way to pronounce a *.xib file
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
13. These define to which messages the datasource and delegate respond
protocols
accessors
Option+Command+4
performance
14. Fixed iteration repetition control structure syntax
C
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
controller
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
15. Process of creating an active object from a class
boiler-plate
png
Size Inspector
instantiation
16. 'plist' stands for...
Seques .... relationships
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
myImage@2x.png
property list
17. An integrated web browser component
superclass
NSString
web view
Snapshot feature
18. What type of object does a web view expect as a parameter when loading a remote URL?
Model-View-Controller
h
Command+1
NSURLRequest
19. Class that creates an array capable of being changed after it is create
Classes
iOS Simulator
NSMutableArray
workspace
20. 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
21. A view that is displayed on top of an original view when user interactions are required
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
strong
Object library
modal views
22. Apple's classes often provide a special initialization method called a _____ method
superclass
Size Inspector
NSURLRequest
convenience
23. What are data detectors?
accessible apps
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
UIImageView
Application Programming Interface
24. Closes an interface file
m
@end
void
sending an object a message
25. What event do you use to detect a button tap?
512MB
NSDictionary
storyboard
Touch Up Inside
26. IDE
nil
interface and implementation files
Integrated Development Environment
[<object variable> <method name>: p1];
27. Used to receive an event in code and trigger something
view
%
IBAction
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
28. Shortcut for writing: y = y * 5;
Object-oriented programming
y *= 5;
@synthesize directive
header
29. Character used to show an element as a literal string
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.
@
Cocoa Touch
Application Programming Interface
30. An example of a common collection data type
%d
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
NSArray
model
31. @synthesize directives should be placed _____ (above or below) the @implementation directive in the implementation file
IBOutlet
below
Nib (but a few call it 'zib' but that's not preferred)
void
32. XML
||
eXtensible Markup Language
casting
Classes
33. Way to refer to an object within its own methods
self
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
@2x
Outlets ... pointer
34. This file contains the code that makes everything 'work'
mutators
Cocoa Touch - Media - Core Services - Core OS
implementation file
implicitly declare a matching instance variable
35. 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?
myImage@2x.png
*
%@
double
36. Postcondition repetition structure syntax
Integrated Development Environment
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
do{/*stuff to do here*/}while(<boolean expression>);
instantiation
37. Boolean for 'false' in Objective-C
NSObject
Jump Bar
Isolate the functional components of an app
NO
38. Syntax for sending an object a message with one parameter (p1)
[<object variable> <method name>: p1];
@synthesize directive
Collections
Command+0
39. The name of the panel to the left of the Interface Builder Editor panel
bool
Document Outline Area or Outline View
storyboards
storyboard
40. Calling a method is the same as...
NSLog
sending an object a message
Cocoa Touch - Media - Core Services - Core OS
rand( )%21
41. 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.
NSMutableArray
Group
modal
%d
42. 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
43. This type of app is typically one screen - and gives you the basics with minimal interaction
NSString *userName;
utility
stub
Option+Command+ 0
44. A class that implements a protocol is said to ____ to that protocol
Document Outline Area or Outline View
IBAction)moveMe:(id)sender;
2
conform
45. The Inspector you will need if you want to connect a custom class to an object in Interface Builder
Identity Inspector
NSMutableString
YES
Application Programming Interface
46. Extension for interface file
rand( )%21
h
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
prototyping
47. Syntax for declaring a string called 'userName'
Attributes Inspector
NSString *userName;
Option+Command+ 0
eXtensible Markup Language
48. 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
workspace
png
Control-click on the View Controller's icon to bring up a Connections dialog
49. 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
50. Dimensions of iPhone (in points)
320 x 480
conform
NSObject
512MB