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. Key sequence to hide/show Navigator View
Command+0
Treats the field as a password - hiding each character as it is typed
ommand+Return
mutators
2. Combining two messages into a single line of code
Option-click a symbol
nested message send
Touch Up Inside
Command + Tab
3. What property needs to be set before a scroll view (UIScrollView) will scroll?
parameter
contentSize
eXtensible Markup Language
Command+S
4. What event do you use to detect a button tap?
NO
x--;
Object Library
Touch Up Inside
5. Scaling factor to make an image suitable for retina display
count++;
UITextView
2
id
6. 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
7. Data type for numbers with 'tame' numbers of decimal points
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
float
view
Identity Inspector
8. 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
9. An alternative way to see the connections between an object in the Interface Builder and it's code in Xcode without using the Connections inspector
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
10. Apple's classes often provide a special initialization method called a _____ method
320 x 480
Commmand-R
nonatomic
convenience
11. Key sequence to save an Xcode file
Command+S
pipe
+
ption+Command+Return
12. 4 Top down technology layers making up iOS
png
Cocoa Touch - Media - Core Services - Core OS
Actions
prototyping
13. Return type indicating a method returns nothing
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
count++;
void
Cocoa Touch
14. Files used to create a class
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
id
interface and implementation files
Size Inspector
15. Templates fill in a bunch of ______-_______ code that serves as a framework in which to write future implementations
NSMutableString
Application Programming Interface
boiler-plate
Single View Application
16. Tests to see whether two values are not equal
/*blah blah blah */
!
!=
Touch Up Inside
17. Extension for interface file
UIImageView
parameter
token
h
18. Objective-C is an extension (super set) of...
NO
parameter
-
C
19. Word used to indicate that a user can't interact with a given element
static
view
image view
Jump Bar
20. @property directives should be placed ____ (above or below) any IBActions in the header file
XML
above
import
UIPicker
21. Consider: int x = 6;int y = 7;float quotient = (float) x/y;The statement that creates the variable 'quotient' is an example of ...
XML
onscreen 'widgets' a user can interact with
Xcode
casting
22. Expression to create a random number in [0 -20];
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
rand( )%21
Jump Bar
Determine how controls resize/reposition themselves when a device changes orientation
23. Multiline text entry block
image view
UITextView
instantiate
disclosure
24. Master class in iOS
pound
Single View Application
double
NSObject
25. This type of app typically involves hierarchical data
productivity
boiler-plate
while(<boolean expression>){/*stuff to do here*/}
Xcode
26. An _______ is used to enable your code to talk to objects within views
IBOutlet
First Responder
Objective-C
alpha ... 0
27. Single line text field
UILabel *myLabel = [[UILabel alloc] init];
h
UITextField
Single View Application
28. Syntax for block-comment
UIPicker
/*blah blah blah */
immersive
segmented control
29. What type of object does a web view expect as a parameter when loading a remote URL?
parameter
!=
accessible apps
NSURLRequest
30. Key sequence to hide/show the Assistant Editor
contentSize
@synthesize
bool
ption+Command+Return
31. _____ are methods that we can connect to events.
storyboard
Actions
scene
Document Outline Area or Outline View
32. In the UK - the '#' symbol is often called the ____ symbol
onscreen 'widgets' a user can interact with
IBOutlet
header
hash
33. A common button type that indicates additional information is available
detail disclosure
Option-click a symbol
eXtensible Markup Language
First Responder
34. Defines the functional building blocks (classes) that make iOS devices perform certain actions
NSLog
Double-click
NSString *phrase = @'Hello World';
Cocoa Touch
35. Way to refer to an object within its own methods
rand( )%21
self
&&
Command+1
36. Class that allows URL management
#import 'myFile.h'
First Responder
NSLog(@'%s' - __FUNCTION__);
NSURL
37. Resembles a slot machine display
pipe
#import <UIKIT/UIKIT.h>
UIPicker
xcodeproj
38. Extension for implementation file
m
do{/*stuff to do here*/}while(<boolean expression>);
onscreen 'widgets' a user can interact with
Home button
39. The bar across the top of the Editor area that shows you the item you are editing
strong
attributes
Control-click on the View Controller's icon to bring up a Connections dialog
Jump Bar
40. Boolean for 'false' in Objective-C
NO
/*blah blah blah */
Collections
[<object variable> <method name>];
41. The Inspector you would use to tweak the way interface objects appear
hash
'Software Development Kit'
Classes
Attributes Inspector
42. Method used to print information in an output panel
NSLog
while(<boolean expression>){/*stuff to do here*/}
[[<class name> alloc] init];
UIPicker
43. 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
44. Declaring a method in an interface file - before it is actually implemented is called _______ the method
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.
prototyping
NSMutableArray
NSLog(@'%s' - __FUNCTION__);
45. 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
46. A fully opaque image has an _______ property value of ______
alpha ... 1
web view
mutators
@
47. Piece of information provided to a method when it is messaged
parameter
Collections
NSString
header
48. Class used to work with dates as objects
<type> <variableName>;
57 x 57
NSDate
implementation file
49. Key sequence to hide/show Utilities View
proxy
scene
[myLabel setText:@'Howdy'];
Option+Command+ 0
50. The 'First Responder' in a scene is not an object it is considered a ________
Determine how controls resize/reposition themselves when a device changes orientation
Touch Up Inside
int
proxy