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. IDE for iPhone Development
Xcode
IBOutlet
do not
scene
2. Document Apple uses to evaluate apps for the App Store
parameter
Collections
Human Interface Guide
viewDidLoad
3. What are data detectors?
Commmand-R
hash
@
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
4. An array of background images called 'bgImages' has been declared as an instance variable in your header file. You have created a set of 5 background images stored in UIImage variables wp1 through wp5. Write a line of code that initializes the array.
token
NSString *userName;
scene
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
5. Class that creates an array capable of being changed after it is create
Nib (but a few call it 'zib' but that's not preferred)
[<object variable> <method name>: p1];
NSMutableArray
wrap
6. Master class in iOS
NSObject
Gray circle with a white 'X' in it - positioned to the right of the text field box
storyboards
@synthesize directive
7. Shortcut for writing: x = x - 1;
disclosure triangle
x--;
Object-oriented programming
implementation file
8. Attribute that informs the system that the object referred to needs to be kept around and not discarded from memory
casting
:
implicitly declare a matching instance variable
strong
9. What property needs to be set before a scroll view (UIScrollView) will scroll?
Actions
contentSize
boiler-plate
control-dragging
10. These define to which messages the datasource and delegate respond
Option+Command+4
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
protocols
XML
11. If you wish to 'echo print' breadcrumb info as you develop your app - this panel must be visible
The Console area of the Debug area
Command+0
!
void
12. The Round Rect Button is found in this library
Object Library
instance variable
1024 x 768
Command+R
13. To use a new class you need to _____ it
while(<boolean expression>){/*stuff to do here*/}
instantiate
Command + Tab
Command+R
14. Typical header syntax for a button that will be applying the 'moveMe' action in an app
Object Library
IBAction)moveMe:(id)sender;
inspector and library
NSMutableArray
15. Data type for true/false type variables
subclass
bool
Jump Bar
nil
16. 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
17. Apple's classes often provide a special initialization method called a _____ method
Utility apps
mutators
convenience
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.
18. Define a collection of methods to perform a task
protocols
label
1024 x 768
mutators
19. Formatting placeholder for integers
NSString
%d
utility
above
20. File name suffix indicating an image is suitable for retina display
@2x
Actions
instantiate
accessors
21. Indicates a lack of any value at all
nil
NSURL
Collections
com.basicversity
22. An example of a common collection data type
<type> <variableName>;
NSArray
do not
void
23. Key sequence to save an Xcode file
UIImageView
Command+S
Gray circle with a white 'X' in it - positioned to the right of the text field box
onscreen 'widgets' a user can interact with
24. Key sequence to hide/show Utilities View
boiler-plate
Option+Command+ 0
NSMutableArray
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
25. Attribute that informs Xcode not to worry about different parts of the application using a property at the same time
casting
NSObject
nonatomic
Attributes Inspector
26. @property directives should be placed ____ (above or below) any IBActions in the header file
above
Program received signal: EXC_BAD_ACCESS
IBAction
header
27. The Inspector you would use to control your layout in Interface Builder
Collections
:
[[<class name> alloc] init];
Size Inspector
28. Key sequence to hide/show Navigator View
IBAction)moveMe:(id)sender;
Xcode
Identity Inspector
Command+0
29. Used to define a list of all methods and properties a class uses
interface file
Command + Tab
affine
Home button
30. Apps that provide easy access to a single screen of information with a backside view for modifying preferences
Utility apps
token
int
hash
31. Key sequence to open the Attributes Inspector
Option+Command+4
nested message send
NSLog
XML
32. Modulus (remainder) operator
implicitly declare a matching instance variable
IBAction
%
Object-oriented programming
33. API
rand( )%21
nonatomic
Application Programming Interface
NSString *userName;
34. The '@' symbol is shorthand for creating one of these
320 x 480
NSDictionary
C
NSString
35. Fixed iteration repetition control structure syntax
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
Single View Application
iOS Simulator
[<object variable> <method name>: p1];
36. If a method name includes a colon (:) this indicates a required _________
iOS Simulator
<>
parameter
storyboards
37. Directive to include other interface files that an application might need to access
workspace
wrap
import
IBOutlet
38. Closes an interface file
[[<class name> alloc] init];
@end
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
Option+Command+ 0
39. A file folder in the navigator panel is called a ________
NSString
variable
Group
Scheme
40. Key sequence to hide/show the Assistant Editor
ption+Command+Return
productivity
Nib (but a few call it 'zib' but that's not preferred)
disclosure triangle
41. Syntax for declaring a string called 'userName'
NSString *userName;
Snapshot feature
image view
IBAction
42. Another name for format specification
NeXSTEP
token
Treats the field as a password - hiding each character as it is typed
strong
43. Class that allows URL management
NO
NSURL
NSDictionary
Classes
44. A view that is displayed on top of an original view when user interactions are required
modal views
UIPicker
hasShrunk==YES && hasMoved == YES
Hold down the Option key and point to the other label. The distance will be shown
45. 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
46. Key sequence to run an app in Xcode
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.
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
Command+R
ommand+Return
47. Memory aid for keyboard shortcuts in the Navigator panel
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
48. The name of the panel to the left of the Interface Builder Editor panel
Document Outline Area or Outline View
Cocoa Touch
parameter
==
49. Class that builds upon another class
conform
57 x 57
Command+S
subclass
50. Syntax for sending an object a message with one parameter (p1)
conform
[<object variable> <method name>: p1];
Instruments
Size Inspector