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. The name of the panel to the left of the Interface Builder Editor panel
Commmand-R
Document Outline Area or Outline View
YES
!
2. Define a collection of methods to perform a task
protocols
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
XML
eXtensible Markup Language
3. Defines what an object can do
1024 x 768
class
Object-oriented programming
m
4. The ________ class provided a container for the management and display of views
UIWindow
/*blah blah blah */
Seques .... relationships
Model-View-Controller
5. File name suffix indicating an image is suitable for retina display
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
Command+0
@2x
retain - release - dealloc - autorelease
6. Key sequence to open the Project Navigator (left panel)
Outlets ... pointer
@end
%d
Command+1
7. Purpose of the 'Auto-enable Return Key' attribute for text fields
Seques .... relationships
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
Actions
57 x 57
8. Something the simulator cannot reliably test
segue
performance
debugger
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
9. Class that allows URL management
Cocoa Touch
NSURL
contentSize
Hold down the Option key and point to the other label. The distance will be shown
10. Negation symbol
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
UIImageView
!
xcodeproj
11. MVC
Outlets ... pointer
NSDate
2
Model-View-Controller
12. The Inspector you would use to control your layout in Interface Builder
IBAction
Size Inspector
Home button
Classes
13. 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.
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
UITextView
strong
14. API
Group
nil
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
Application Programming Interface
15. Key sequence to hide/show Utilities View
modal
Option+Command+ 0
web view
casting
16. @synthesize directives should be placed _____ (above or below) the @implementation directive in the implementation file
storyboard
below
*
@end
17. Files used to create a class
Treats the field as a password - hiding each character as it is typed
NSArray
Model-View-Controller
interface and implementation files
18. What type of object does a web view expect as a parameter when loading a remote URL?
disclosure triangle
NSURLRequest
strong
Document Outline Area or Outline View
19. Word used to indicate that a user can't interact with a given element
debugger
UIWindow
static
<type> <variableName>;
20. If you have an image file called 'myImage.png' and you make a hi-res version for the retina display - what should be the name of the new file?
Objective-C
graduationParty ... addAttendee:withDish
myImage@2x.png
accessible apps
21. Denotes a class method
+
segue
114 x 114
self
22. Syntax for reserving memory and initializing an object
id
png
IBAction
[[<class name> alloc] init];
23. To unroll or roll up a hierarchy of files - objects or classes - you click the ______ _______ at the root element
57 x 57
storyboard
-
disclosure triangle
24. Name of the drop-down menu in Xcode that lets you select the device used with the iOS Simulator
Scheme
view controller
casting
Outlets ... pointer
25. Syntax for single-line comment
import
boiler-plate
Outlets ... pointer
//blah blah blah
26. Way to refer to an object within its own methods
Hold down the Option key and point to the other label. The distance will be shown
self
static
model
27. Collection of interface elements and data storage elements etc you can access from your applications
below
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.
do not
Cocoa Touch
28. Although it is possible to declare an instance variable and then define a corresponding property - you may also use @property alone to...
implicitly declare a matching instance variable
onscreen 'widgets' a user can interact with
parameter
rand( )%21
29. A view that is displayed on top of an original view when user interactions are required
interface file
instantiation
modal views
[<object variable> <method name>: p1];
30. In the UK - the '#' symbol is often called the ____ symbol
Commmand-R
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
hash
productivity
31. iPhone and iPad ____ support .png transparency
do not
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
Group
protocols
32. Size of iPhone 'lo-res' icon image in pixels
#import 'myFile.h'
NSLog(@'%s' - __FUNCTION__);
57 x 57
detail disclosure
33. These define to which messages the datasource and delegate respond
float
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
protocols
import
34. Data type for true/false type variables
NO
NSMutableArray
@synthesize directive
bool
35. The first method called when a user taps an application icon
protocols
NSDate
Scheme
main()
36. The object currently in control and interacting with the user
Command+R
First Responder
while(<boolean expression>){/*stuff to do here*/}
web view
37. Given: #import <UIKit/UIKit.h> @interface WelcomeViewController : UIViewController @end The superclass for WelcomeViewController
Single View Application
UIViewController
attributes
Objective-C
38. Prior to ARC - you used these terms alot
UITextView
retain - release - dealloc - autorelease
'Software Development Kit'
nested message send
39. This file contains the scene - segue and relationship definitions for your project
label
instance variable
storyboard
Cocoa Touch - Media - Core Services - Core OS
40. A fully opaque image has an _______ property value of ______
alpha ... 1
@
nil
XML
41. Any 'directive' statement begins with this symbol
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
512MB
Actions
@
42. The '@' symbol is shorthand for creating one of these
IBOutlet
wrap
instantiate
NSString
43. Development approach (design pattern) to structure iOS applications
Model-View-Controller
stub
detail disclosure
graduationParty ... addAttendee:withDish
44. Fixed iteration repetition control structure syntax
NSString *phrase = @'Hello World';
Hold down the Option key and point to the other label. The distance will be shown
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
Classes
45. Implements a logical AND condition
onscreen 'widgets' a user can interact with
UIPicker
&&
Attributes Inspector
46. Another name for a 'button bar'
512MB
segmented control
nonatomic
main()
47. Name of the '|' symbol
Command+0
Seques .... relationships
pipe
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
48. Templates fill in a bunch of ______-_______ code that serves as a framework in which to write future implementations
NSMutableArray
boiler-plate
Objective-C
import
49. Beginning with iOS4 - applications no longer terminate when the user presses the...
nil
storyboard
Home button
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
50. Syntax to include the fictitious user-created file 'myFile.h'