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 fully opaque image has an _______ property value of ______
model
alpha ... 1
Cocoa Touch - Media - Core Services - Core OS
myImage@2x.png
2. Which Apple project template creates a simple view/view controller application
controller
interface and implementation files
Double-click
Single View Application
3. What property needs to be set before a scroll view (UIScrollView) will scroll?
id
contentSize
Cocoa Touch - Media - Core Services - Core OS
Commmand-R
4. Apple's classes often provide a special initialization method called a _____ method
header
convenience
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
parameter
5. Apps that provide easy access to a single screen of information with a backside view for modifying preferences
NO
XML
Utility apps
Actions
6. getters
UIImageView
Snapshot feature
accessors
while(<boolean expression>){/*stuff to do here*/}
7. XML
Command+R
NSURLRequest
eXtensible Markup Language
[myLabel setText:@'Howdy'];
8. The HIG requires some kind of _____ element in a cell if there is more information available
disclosure
storyboards
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
First Responder
9. API
Application Programming Interface
rand( )%21
@synthesize directive
*
10. Used to receive an event in code and trigger something
IBAction
%1.2f
Double-click
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
11. You have two labels in Interface Builder. One is selected (You clicked on it). How can you tell the distance between it and the other label?
NSString
instantiation
Hold down the Option key and point to the other label. The distance will be shown
Seques .... relationships
12. A class that implements a protocol is said to ____ to that protocol
proxy
switch
main()
conform
13. Used to display image file resources and show simple animations
accessors
image view
[<object variable> <method name>];
C
14. Formatting placeholder for strings
UIWindow
contentSize
%@
strong
15. Size of iPhone retina icon image in pixels
void
Classes
114 x 114
storyboard
16. Syntax for sending an object a message with one parameter (p1)
modal views
detail disclosure
[<object variable> <method name>: p1];
mutators
17. Multiline text entry block
subclass
Objective-C
UITextView
NSURLRequest
18. Combining two messages into a single line of code
First Responder
view
nested message send
UIWindow
19. ______ are variables that can store a ____ to an object.
ption+Command+Return
Outlets ... pointer
void
conform
20. Single line text field
switch
inspector and library
320 x 480
UITextField
21. Alternative selection mechanism when many conditions exist
do not
switch
image view
XML
22. This file contains the scene - segue and relationship definitions for your project
NSLog(@'%s' - __FUNCTION__);
storyboard
boiler-plate
Program received signal: EXC_BAD_ACCESS
23. This file contains the code that makes everything 'work'
implementation file
instantiation
IBOutlet
Model-View-Controller
24. Name of the '|' symbol
pipe
Collections
Instruments
hash
25. Resembles a slot machine display
Attributes Inspector
UIPicker
UIViewController
conform
26. A class that manages the user's interaction with the iDevice
token
UIImageView
view controller
switch
27. MVC
NSDate
Option-click a symbol
utility
Model-View-Controller
28. Consider: int x = 6;int y = 7;float quotient = (float) x/y;The statement that creates the variable 'quotient' is an example of ...
casting
iOS Simulator
@synthesize directive
C
29. The object currently in control and interacting with the user
instance variable
First Responder
NSObject
scene
30. Character used to show an element as a literal string
accessors
@
implicitly declare a matching instance variable
segmented control
31. 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
32. @synthesize directives should be placed _____ (above or below) the @implementation directive in the implementation file
retain
NSLog
320 x 480
below
33. Used to set up an outgoing connection from the implementation code to the view
%
!
IBOutlet
nonatomic
34. These define to which messages the datasource and delegate respond
Command+1
IBOutlet
storyboards
protocols
35. Two-way selection logic block
UIPicker
contentSize
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
interface file
36. Class used for creating image views
UIImageView
Xcode
wrap
@
37. ______ enable applications to store multiple pieces of information in a single object
Collections
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
Model-View-Controller
instance variable
38. Key sequence to run an app in Xcode
Option-click a symbol
Command+R
NSString *phrase = @'Hello World';
[<object variable> <method name>: p1];
39. Purpose of the 'Auto-enable Return Key' attribute for text fields
C
static
instance variable
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
40. The ________ class provided a container for the management and display of views
/*blah blah blah */
IBAction)moveMe:(id)sender;
UIWindow
@
41. Closes an interface file
@end
Touch Up Inside
x--;
Outlets ... pointer
42. Postcondition repetition structure syntax
convenience
label
casting
do{/*stuff to do here*/}while(<boolean expression>);
43. What are data detectors?
1024 x 768
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
attributes
count++;
44. Collection of interface elements and data storage elements etc you can access from your applications
Cocoa Touch
%@
do not
modal views
45. Implements a logical OR condition
||
%
label
superclass
46. Class that builds upon another class
Actions
contentSize
%d
subclass
47. Class that another class inherits from
Classes
retain - release - dealloc - autorelease
/*blah blah blah */
superclass
48. Dimensions of iPhone (in points)
NO
==
self
320 x 480
49. Companion to the @property directive
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
Hold down the Option key and point to the other label. The distance will be shown
Instruments
@synthesize
50. Key sequence to hide/show the Assistant Editor
Home button
ption+Command+Return
Option+Command+ 0
Hold down the Option key and point to the other label. The distance will be shown