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. Defines what an object can do
UIApplication
NSLog(@'%s' - __FUNCTION__);
nil
class
2. Declaring a method in an interface file - before it is actually implemented is called _______ the method
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
prototyping
onscreen 'widgets' a user can interact with
Utility apps
3. Symbol used for inheritance
@end
NSDictionary
:
IBAction
4. A class that manages the user's interaction with the iDevice
%d
view controller
void
Nib (but a few call it 'zib' but that's not preferred)
5. What computer language is the storyboard written in?
count++;
disclosure
XML
controller
6. In most graphical user interfaces - a _____ view is a view that must be dismissed ('OK' button - 'Cancel' button for example) before the user can perform any other actions in the application.
@end
control-dragging
iOS Simulator
modal
7. Declare and initialize a string that says: 'Hello World' whose identifier if 'phrase' . Use the shortest command possible.
8. In the MVC design pattern for iOS apps - this aspect provides the underlying data and methods that offer information to the rest of the application
modal
model
NSURLRequest
protocols
9. A fully transparent image has an _____ property value of _____
below
protocols
alpha ... 0
IBAction
10. The first method called when a user taps an application icon
segue
main()
==
Application Programming Interface
11. In the US - the '#' symbol is often called the ____ symbol
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
IBOutlet
pound
casting
12. Data type for whole numbers
Document Outline Area or Outline View
UITextField
int
@2x
13. Apps written to assist users with special disabilities
'Interface Builder'
First Responder
accessible apps
instantiate
14. Define a collection of methods to perform a task
protocols
%@
conform
Command+1
15. Directive to include other interface files that an application might need to access
320 x 480
Cocoa Touch
import
@synthesize
16. Development approach (design pattern) to structure iOS applications
[<object variable> <method name>];
Model-View-Controller
immersive
Hold down the Option key and point to the other label. The distance will be shown
17. Name of the drop-down menu in Xcode that lets you select the device used with the iOS Simulator
Scheme
&&
wrap
/*blah blah blah */
18. The goal of the MVC design pattern
static
Isolate the functional components of an app
control-dragging
pipe
19. Storage location for a piece of information
114 x 114
Command+R
variable
!
20. 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'
21. The '@' symbol is shorthand for creating one of these
NSString
storyboards
Application Programming Interface
view controller
22. 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
Group
2
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
23. 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.
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
NSString *phrase = @'Hello World';
int
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
24. What are the guidelines for the class prefix for a project?
25. Way to refer to an object within its own methods
Object library
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
self
label.text=@'Hello World!';
26. Indicates a lack of any value at all
[<object variable> <method name>];
alpha
nil
Gray circle with a white 'X' in it - positioned to the right of the text field box
27. Data type for highly precise numbers with huge numbers of decimal places
NSLog
immersive
Document Outline Area or Outline View
double
28. Character used to show an element as a literal string
!=
Gray circle with a white 'X' in it - positioned to the right of the text field box
implicitly declare a matching instance variable
@
29. The Utilities area has two sections: ______ and ______
NSString *userName;
#import 'myFile.h'
Attributes Inspector
inspector and library
30. Files used to create a class
NSLog
Isolate the functional components of an app
interface and implementation files
Human Interface Guide
31. Master class in iOS
Object library
storyboards
png
NSObject
32. Beginning with iOS4 - applications no longer terminate when the user presses the...
storyboards
User Interface
Home button
IBAction
33. Extension for implementation file
while(<boolean expression>){/*stuff to do here*/}
m
NeXSTEP
1024 x 768
34. If a method name includes a colon (:) this indicates a required _________
image view
Command+1
parameter
@
35. Term used to describe each screen of an iPhone app
CGAffineTransform
view
NSMutableString
accessible apps
36. Tests to see whether two values are equal
==
Application Programming Interface
do not
Snapshot feature
37. Class used for creating image views
The Console area of the Debug area
UIImageView
NSDictionary
segue
38. Symbol often denoting a 'pointer'
[<object variable> <method name>: p1];
utility
*
wrap
39. IDE for iPhone Development
Xcode
bool
retain - release - dealloc - autorelease
rand( )%21
40. Syntax for block-comment
NSURLRequest
@
/*blah blah blah */
iOS Simulator
41. Key sequence to run an app in Xcode
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
static
do not
Command+R
42. iPhone and iPad ____ support .png transparency
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
do not
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
-
43. 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
44. 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
%1.2f
Command+R
UIWindow
45. Scaling factor to make an image suitable for retina display
IBAction
2
CGAffineTransform
Snapshot feature
46. Size of iPhone retina icon image in pixels
Model-View-Controller
==
114 x 114
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
47. 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)
Identity Inspector
stub
IBOutlet
512MB
48. The HIG requires some kind of _____ element in a cell if there is more information available
1024 x 768
Hold down the Option key and point to the other label. The distance will be shown
disclosure
IBOutlet
49. Key sequence on a Mac to select between open application
pound
Command + Tab
<type> <variableName>;
pipe
50. Denotes an instance method
-
NSMutableArray
parameter
implicitly declare a matching instance variable