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 file folder in the navigator panel is called a ________
NSURL
float
Group
+
2. What event do you use to detect a button tap?
UITextView
retain - release - dealloc - autorelease
Touch Up Inside
nonatomic
3. Purpose of the 'Auto-enable Return Key' attribute for text fields
/*blah blah blah */
&&
controller
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
4. Always used to end the list of objects when initializing an array
!=
&&
NSURLRequest
nil
5. 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)
proxy
-
stub
Command + Tab
6. Defines what an object can do
<type> <variableName>;
class
controller
x--;
7. Write a line of code creating a pointer to a wall paper image called 'wp1' that refers to a resource in an app with the file name 'wallPaper_01.png'
8. An _______ is used to 'advertise' a method in your code that should be called when a certain event takes place
web view
IBAction
property list
Nib (but a few call it 'zib' but that's not preferred)
9. Allows you to easily track multiple versions of your project
hasShrunk==YES && hasMoved == YES
instance variable
Snapshot feature
detail disclosure
10. SDK
11. Implements a logical AND condition
hash
Attributes Inspector
&&
instantiate
12. 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
13. The first method called when a user taps an application icon
main()
parameter
NSMutableArray
view controller
14. This Xcode utility allows you to check CPU usage - memory allocation and network/file access (among other things)
protocols
Instruments
114 x 114
workspace
15. 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?
16. Indicates a lack of any value at all
Group
Cocoa Touch - Media - Core Services - Core OS
label
nil
17. A view that is displayed on top of an original view when user interactions are required
@synthesize directive
:
modal views
retain - release - dealloc - autorelease
18. setters
57 x 57
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
mutators
instance variable
19. Attribute that informs Xcode not to worry about different parts of the application using a property at the same time
hash
nonatomic
viewDidLoad
header
20. A class that implements a protocol is said to ____ to that protocol
:
retain
conform
attributes
21. Storage place for a piece of information specific to a class
wrap
1024 x 768
iOS Simulator
instance variable
22. Although it is possible to declare an instance variable and then define a corresponding property - you may also use @property alone to...
Command+R
myImage@2x.png
implicitly declare a matching instance variable
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
23. The HIG requires some kind of _____ element in a cell if there is more information available
retain
disclosure
segue
nibfile
24. Piece of information provided to a method when it is messaged
self
Nib (but a few call it 'zib' but that's not preferred)
inspector and library
parameter
25. How do you show a storyboard file as source code?
26. Key sequence to save an Xcode file
NSURL
@synthesize
Command+S
NSDate
27. Class used to work with dates as objects
NSDate
UIApplication
Jump Bar
NSArray
28. The bar across the top of the Editor area that shows you the item you are editing
Jump Bar
count++;
switch
@synthesize
29. 'plist' stands for...
segue
NSString
property list
xcodeproj
30. An example of a common collection data type
hasShrunk==YES && hasMoved == YES
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
token
NSArray
31. Data type for whole numbers
IBAction
int
&&
UIViewController
32. Apple's classes often provide a special initialization method called a _____ method
above
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.
320 x 480
33. 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.
self
viewDidLoad
nonatomic
UIApplication
34. Size of iPhone retina icon image in pixels
do not
affine
114 x 114
id
35. An app has boolean variables 'hasShrunk' and 'hasMoved'. Write a boolean condition that checks if each are true
Utility apps
1024 x 768
hasShrunk==YES && hasMoved == YES
Program received signal: EXC_BAD_ACCESS
36. Write a statement to declare and initialize a label object called 'myLabel'
'Software Development Kit'
UILabel *myLabel = [[UILabel alloc] init];
boiler-plate
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
37. Syntax for sending an object a message with no parameters
[<object variable> <method name>];
Command+R
IBOutlet
class
38. The Inspector you would access to gain access to various accessibility attributes
Identity Inspector
Command+0
NSString *userName;
contentSize
39. Defines the functional building blocks (classes) that make iOS devices perform certain actions
protocols
NSMutableString
Cocoa Touch
1024 x 768
40. Prior to ARC - you used these terms alot
+
controller
retain - release - dealloc - autorelease
nil
41. Scaling factor to make an image suitable for retina display
2
Cocoa Touch
accessible apps
Model-View-Controller
42. This file contains the scene - segue and relationship definitions for your project
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
Application Programming Interface
%@
storyboard
43. File name suffix indicating an image is suitable for retina display
@2x
attributes
Model-View-Controller
nil
44. 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
Double-click
1024 x 768
nonatomic
parameter
45. To unroll or roll up a hierarchy of files - objects or classes - you click the ______ _______ at the root element
||
disclosure triangle
2
NSURL
46. ______ enable applications to store multiple pieces of information in a single object
@synthesize directive
Collections
Document Outline Area or Outline View
affine
47. Method used to print information in an output panel
NSLog
view
x--;
Cocoa Touch - Media - Core Services - Core OS
48. The goal of the MVC design pattern
Object library
Option+Command+ 0
control-dragging
Isolate the functional components of an app
49. Language used to write iOS apps
interface file
NSURL
implicitly declare a matching instance variable
Objective-C
50. Syntax for block-comment
Identity Inspector
/*blah blah blah */
Program received signal: EXC_BAD_ACCESS
control-dragging