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. Something the simulator cannot reliably test
performance
Option-click a symbol
nested message send
NSString *phrase = @'Hello World';
2. The HIG requires some kind of _____ element in a cell if there is more information available
==
disclosure
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
detail disclosure
3. Delimiter for a list of protocols
<>
Command+0
affine
Hold down the Option key and point to the other label. The distance will be shown
4. If a method name includes a colon (:) this indicates a required _________
image view
parameter
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.
storyboard
5. Purpose of 'Secure' attribute for text fields
myImage@2x.png
C
Xcode
Treats the field as a password - hiding each character as it is typed
6. Prior to ARC - you used these terms alot
retain - release - dealloc - autorelease
Scheme
contentSize
Treats the field as a password - hiding each character as it is typed
7. Resembles a slot machine display
Cocoa Touch - Media - Core Services - Core OS
UIPicker
[[<class name> alloc] init];
IBOutlet
8. Denotes an instance method
retain
nil
-
Treats the field as a password - hiding each character as it is typed
9. Attribute that informs Xcode not to worry about different parts of the application using a property at the same time
320 x 480
nonatomic
@2x
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
10. A class that manages the user's interaction with the iDevice
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
view controller
image view
Command+1
11. Storage location for a piece of information
variable
Hold down the Option key and point to the other label. The distance will be shown
NSDictionary
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
12. Extension for an iPhone/iPad app
xcodeproj
Home button
alpha
Control-click on the View Controller's icon to bring up a Connections dialog
13. Code fragment for echo printing the name of a function as it loads (for tracing the sequence of code in a project...leaving breadcrumbs)
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
14. strong and nonatomic are examples of ...
Command+1
attributes
Cocoa Touch
main()
15. Declaring a method in an interface file - before it is actually implemented is called _______ the method
iOS Simulator
self
prototyping
==
16. A virtual 'box' for organizing related projects
static
protocols
workspace
Command + Tab
17. Extension for interface file
Command+0
parameter
h
IBAction
18. Companion to the @property directive
512MB
Cocoa Touch - Media - Core Services - Core OS
Touch Up Inside
@synthesize
19. Always used to end the list of objects when initializing an array
nil
%@
IBOutlet
xcodeproj
20. setters
Object-oriented programming
label
parameter
mutators
21. Formatting placeholder for strings
NSString
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
UIImageView
%@
22. Alternative selection mechanism when many conditions exist
switch
320 x 480
image view
variable
23. Precondition repetition structure syntax
@
@synthesize directive
while(<boolean expression>){/*stuff to do here*/}
UILabel *myLabel = [[UILabel alloc] init];
24. Syntax for sending an object a message with no parameters
token
NSURL
[<object variable> <method name>];
image view
25. Syntax to include UIKIT in a class
image view
<>
stub
#import <UIKIT/UIKIT.h>
26. Used to define a list of all methods and properties a class uses
Identity Inspector
interface file
storyboard
:
27. Write a statement to declare and initialize a label object called 'myLabel'
UILabel *myLabel = [[UILabel alloc] init];
Group
label
control-dragging
28. Connections between Objects in the Interface Builder and the header file are formed by _____-_______ from the object to the proper place in the header file
control-dragging
instantiate
workspace
Snapshot feature
29. OOP
Object-oriented programming
x--;
switch
NSArray
30. Name of the drop-down menu in Xcode that lets you select the device used with the iOS Simulator
UIImageView
Scheme
iOS Simulator
inspector and library
31. Syntax for reserving memory and initializing an object
Touch Up Inside
[[<class name> alloc] init];
sending an object a message
hash
32. File name suffix indicating an image is suitable for retina display
do{/*stuff to do here*/}while(<boolean expression>);
prototyping
@2x
Treats the field as a password - hiding each character as it is typed
33. Modulus (remainder) operator
id
x--;
%
NSMutableString
34. Files used to create a class
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
+
interface and implementation files
@
35. 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
36. An integrated web browser component
[<object variable> <method name>: p1];
immersive
web view
#import 'myFile.h'
37. What's the difference between Cocoa and Cocoa Touch?
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
'Interface Builder'
scene
//blah blah blah
38. Defines the functional building blocks (classes) that make iOS devices perform certain actions
modal views
NeXSTEP
Cocoa Touch
retain - release - dealloc - autorelease
39. Class of collection data type which stores information as object/key pairs
nested message send
header
NSURLRequest
NSDictionary
40. IDE
detail disclosure
C
||
Integrated Development Environment
41. The Inspector you would use to tweak the way interface objects appear
Command + Tab
parameter
57 x 57
Attributes Inspector
42. Used to indicate any type of object
id
Option+Command+4
ption+Command+Return
image view
43. The goal of the MVC design pattern
Isolate the functional components of an app
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
Object-oriented programming
NSLog
44. An _______ is used to enable your code to talk to objects within views
IBOutlet
<type> <variableName>;
workspace
IBAction)moveMe:(id)sender;
45. Crash statement likely when an NSString is assigned a value with an incorrect format
Program received signal: EXC_BAD_ACCESS
Human Interface Guide
implementation file
Model-View-Controller
46. The Inspector you would use to control your layout in Interface Builder
Size Inspector
@
@2x
nil
47. Shortcut for writing: y = y * 5;
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
web view
y *= 5;
view controller
48. To zoom between an overview of the entire storyboard and the actual size view - ______ the storyboard background.
control-dragging
y *= 5;
Object library
Double-click
49. Name of the '|' symbol
pipe
[[<class name> alloc] init];
Cocoa Touch
The Console area of the Debug area
50. 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
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.
UILabel *myLabel = [[UILabel alloc] init];
Single View Application
model