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 mostly custom controllers and graphics
id
casting
<type> <variableName>;
immersive
2. Scaling - rotation - and translation are the most commonly used manipulations supported by _____ transforms - but skewing is also possible.
Scheme
workspace
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
affine
3. Key sequence to open the Project Navigator (left panel)
Command+1
nested message send
Objective-C
UIViewController
4. Files used to create a class
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
@
interface and implementation files
model
5. 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.
accessors
NSURLRequest
UILabel *myLabel = [[UILabel alloc] init];
viewDidLoad
6. Data type for whole numbers
Isolate the functional components of an app
int
while(<boolean expression>){/*stuff to do here*/}
@synthesize directive
7. To use a new class you need to _____ it
retain
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
instantiate
@end
8. This keyword in the property directive is related to the concept of mutability and basically asks Apple to handle the details. This is the more 'relaxed' - less 'powerful' setting of two possibilities
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
implicitly declare a matching instance variable
To provide a convenient way of setting the button's title in the code
nonatomic
9. 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
10. The name of the panel to the left of the Interface Builder Editor panel
y *= 5;
First Responder
[<object variable> <method name>];
Document Outline Area or Outline View
11. What's the difference between Cocoa and Cocoa Touch?
above
productivity
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
UITextField
12. To zoom between an overview of the entire storyboard and the actual size view - ______ the storyboard background.
static
Double-click
+
nonatomic
13. Symbol used for inheritance
UITextField
:
Outlets ... pointer
alpha ... 0
14. 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
'Interface Builder'
storyboards
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.
retain
15. Postcondition repetition structure syntax
@
<type> <variableName>;
id
do{/*stuff to do here*/}while(<boolean expression>);
16. An integrated web browser component
Size Inspector
implementation file
Group
web view
17. The goal of the MVC design pattern
Isolate the functional components of an app
Integrated Development Environment
[<object variable> <method name>: p1];
superclass
18. Another name for a 'button bar'
Cocoa Touch - Media - Core Services - Core OS
Command+R
segmented control
subclass
19. Denotes an instance method
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
do not
pipe
-
20. Formatting placeholder for strings
superclass
below
h
%@
21. @property directives should be placed ____ (above or below) any IBActions in the header file
IBOutlet
%
IBAction
above
22. A class that implements a protocol is said to ____ to that protocol
Commmand-R
Isolate the functional components of an app
==
conform
23. 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?
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
parameter
NSURL
Hold down the Option key and point to the other label. The distance will be shown
24. In the US - the '#' symbol is often called the ____ symbol
stub
pound
-
y *= 5;
25. Tests to see whether two values are not equal
Object Library
mutators
wrap
!=
26. Used to receive an event in code and trigger something
Objective-C
IBAction
detail disclosure
segmented control
27. Word used to indicate that a user can't interact with a given element
Cocoa Touch
static
NSObject
Scheme
28. Dimensions of iPhone (in points)
320 x 480
Utility apps
IBOutlet
[<object variable> <method name>: p1];
29. Return type indicating a method returns nothing
Isolate the functional components of an app
UIViewController
void
storyboard
30. Character used to show an element as a literal string
@
NSString *userName;
Seques .... relationships
m
31. iOS functional building blocks
Collections
&&
attributes
Classes
32. Which Apple project template creates a simple view/view controller application
alpha ... 1
Option-click a symbol
Single View Application
Cocoa Touch - Media - Core Services - Core OS
33. Syntax for declaring a variable
@end
NSMutableArray
superclass
<type> <variableName>;
34. A transition between scenes - frequently with a visual transition effect applied
Classes
segue
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
view controller
35. strong and nonatomic are examples of ...
disclosure triangle
attributes
Nib (but a few call it 'zib' but that's not preferred)
YES
36. An _______ is used to 'advertise' a method in your code that should be called when a certain event takes place
Commmand-R
controller
IBAction
Cocoa Touch - Media - Core Services - Core OS
37. Size of iPhone 'lo-res' icon image in pixels
eXtensible Markup Language
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
57 x 57
Control-click on the View Controller's icon to bring up a Connections dialog
38. What are the guidelines for the class prefix for a project?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
39. Attribute that informs the system that the object referred to needs to be kept around and not discarded from memory
Hold down the Option key and point to the other label. The distance will be shown
strong
Control-click on the View Controller's icon to bring up a Connections dialog
@end
40. The Inspector you would access to gain access to various accessibility attributes
Identity Inspector
Objective-C
Command+0
stub
41. 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)
YES
512MB
%
stub
42. A view has a 'Shrink' button whose label needs to change once it is clicked to 'Grow'. Write a 'message' type command to change it's label to 'Grow'
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
43. Key sequence to run an app in Xcode
NSLog(@'%s' - __FUNCTION__);
Command + Tab
alpha ... 0
Command+R
44. What are data detectors?
Identity Inspector
Commmand-R
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
Nib (but a few call it 'zib' but that's not preferred)
45. An app has boolean variables 'hasShrunk' and 'hasMoved'. Write a boolean condition that checks if each are true
Treats the field as a password - hiding each character as it is typed
hasShrunk==YES && hasMoved == YES
boiler-plate
NO
46. Name of the drop-down menu in Xcode that lets you select the device used with the iOS Simulator
Scheme
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
NO
IBAction
47. Extension for implementation file
57 x 57
Classes
h
m
48. Resembles a slot machine display
'Interface Builder'
#import <UIKIT/UIKIT.h>
storyboard
UIPicker
49. Key sequence to hide/show the Assistant Editor
stub
eXtensible Markup Language
Nib (but a few call it 'zib' but that's not preferred)
ption+Command+Return
50. Other name for an *.xib file
nibfile
pipe
[<object variable> <method name>];
Utility apps