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. Data type for highly precise numbers with huge numbers of decimal places
productivity
double
nonatomic
UIWindow
2. Alternative selection mechanism when many conditions exist
x--;
switch
&&
double
3. Boolean for 'false' in Objective-C
NO
model
stub
detail disclosure
4. What are data detectors?
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
NSString *phrase = @'Hello World';
UIViewController
@
5. IDE
'Interface Builder'
Integrated Development Environment
@
ption+Command+Return
6. 'plist' stands for...
id
do{/*stuff to do here*/}while(<boolean expression>);
property list
XML
7. File name suffix indicating an image is suitable for retina display
NSURL
retain
@2x
nested message send
8. 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
9. Class that creates an array capable of being changed after it is create
NSMutableArray
immersive
rand( )%21
storyboard
10. Two-way selection logic block
Seques .... relationships
Jump Bar
Integrated Development Environment
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
11. Delimiter for a list of protocols
eXtensible Markup Language
<>
UIApplication
512MB
12. Data type for numbers with 'tame' numbers of decimal points
Nib (but a few call it 'zib' but that's not preferred)
header
float
UIPicker
13. The ________ class provided a container for the management and display of views
Identity Inspector
disclosure triangle
productivity
UIWindow
14. 'Build and run' keyboard shortcut
Commmand-R
storyboard
superclass
XML
15. 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)
Object-oriented programming
NeXSTEP
stub
@2x
16. OOP
Nib (but a few call it 'zib' but that's not preferred)
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
Object-oriented programming
onscreen 'widgets' a user can interact with
17. Defines the functional building blocks (classes) that make iOS devices perform certain actions
Cocoa Touch
Option+Command+ 0
UITextView
scene
18. Term used to describe each screen of an iPhone app
[[<class name> alloc] init];
conform
view
implementation file
19. Data type for whole numbers
int
view controller
The Console area of the Debug area
NO
20. @synthesize directives should be placed _____ (above or below) the @implementation directive in the implementation file
below
onscreen 'widgets' a user can interact with
pipe
Option+Command+ 0
21. Purpose of the 'Auto-enable Return Key' attribute for text fields
double
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
storyboards
web view
22. Files used to create a class
Cocoa Touch
Commmand-R
NSLog
interface and implementation files
23. Single line text field
UITextField
Actions
Gray circle with a white 'X' in it - positioned to the right of the text field box
y *= 5;
24. Define a collection of methods to perform a task
image view
viewDidLoad
NSString *userName;
protocols
25. An integrated web browser component
accessible apps
web view
Cocoa Touch
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
26. Syntax for sending an object a message with one parameter (p1)
inspector and library
[<object variable> <method name>: p1];
mutators
NO
27. Character used to show an element as a literal string
Command+R
XML
@
NSURLRequest
28. Which Apple project template creates a simple view/view controller application
@end
scene
%@
Single View Application
29. 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
30. Syntax for declaring a variable
storyboard
scene
<type> <variableName>;
Objective-C
31. Key sequence to open the Attributes Inspector
Option+Command+4
storyboards
114 x 114
nil
32. Crash statement likely when an NSString is assigned a value with an incorrect format
alpha
Program received signal: EXC_BAD_ACCESS
Home button
switch
33. What do the Autosizing settings of the Size Inspector do?
view
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
Determine how controls resize/reposition themselves when a device changes orientation
Cocoa Touch
34. Write a statement to declare and initialize a label object called 'myLabel'
@synthesize directive
UILabel *myLabel = [[UILabel alloc] init];
57 x 57
Attributes Inspector
35. Tests to see whether two values are not equal
protocols
myImage@2x.png
utility
!=
36. Tests to see whether two values are equal
==
accessors
double
id
37. In your implementation file - the _____ method (provided in stub form by Apple) runs after machine language code reserves some space in memory for your View. This method is often used to create a 'clean slate' as an app opens.
Snapshot feature
disclosure triangle
viewDidLoad
[[<class name> alloc] init];
38. In a stepper control - when this attribute option is checked - the stepper's value is automatically set to the minimum value when the maximum value is exceeded (or vice versa).
below
wrap
YES
Seques .... relationships
39. ______ and ______ define the connections between scenes.
nested message send
debugger
storyboard
Seques .... relationships
40. _____ are methods that we can connect to events.
Isolate the functional components of an app
rand( )%21
NSLog(@'%s' - __FUNCTION__);
Actions
41. 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
C
label
1024 x 768
retain
42. Although it is possible to declare an instance variable and then define a corresponding property - you may also use @property alone to...
double
static
NSDictionary
implicitly declare a matching instance variable
43. Syntax to include UIKIT in a class
attributes
#import <UIKIT/UIKIT.h>
main()
pound
44. Denotes a class method
+
%@
Touch Up Inside
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
45. This file contains the code that makes everything 'work'
id
@2x
Attributes Inspector
implementation file
46. Combining two messages into a single line of code
#import 'myFile.h'
int
alpha ... 1
nested message send
47. For a text field - what does the 'Clear Button' look like?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
48. Formatting placeholder for integers
%d
NSString *userName;
@synthesize
x--;
49. The Inspector you would access to gain access to various accessibility attributes
Nib (but a few call it 'zib' but that's not preferred)
2
YES
Identity Inspector
50. ______ are variables that can store a ____ to an object.
viewDidLoad
conform
Outlets ... pointer
hasShrunk==YES && hasMoved == YES