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. Consider: int x = 6;int y = 7;float quotient = (float) x/y;The statement that creates the variable 'quotient' is an example of ...
casting
instance variable
boiler-plate
xcodeproj
2. Class that builds upon another class
implicitly declare a matching instance variable
segmented control
subclass
rand( )%21
3. Any 'directive' statement begins with this symbol
Cocoa Touch
IBAction)moveMe:(id)sender;
@
do not
4. Expression to create a random number in [0 -20];
To provide a convenient way of setting the button's title in the code
Command+S
rand( )%21
Document Outline Area or Outline View
5. A common button type that indicates additional information is available
do not
detail disclosure
variable
NeXSTEP
6. Way to refer to an object within its own methods
Snapshot feature
self
graduationParty ... addAttendee:withDish
@
7. The Inspector you would use to control your layout in Interface Builder
static
Size Inspector
&&
float
8. A file folder in the navigator panel is called a ________
<type> <variableName>;
Identity Inspector
Group
interface file
9. Symbol used for inheritance
NO
Identity Inspector
static
:
10. iPhone and iPad ____ support .png transparency
do not
storyboard
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
scene
11. Crash statement likely when an NSString is assigned a value with an incorrect format
Program received signal: EXC_BAD_ACCESS
void
IBAction
[[<class name> alloc] init];
12. Other name for an *.xib file
class
affine
nibfile
scene
13. Class that another class inherits from
'Interface Builder'
superclass
UIPicker
UIWindow
14. The files that contain all the scenes you will use in a project.
Instruments
storyboards
%
<>
15. Class used for creating image views
<type> <variableName>;
@
1024 x 768
UIImageView
16. What are data detectors?
[myLabel setText:@'Howdy'];
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
#import 'myFile.h'
+
17. The Inspector you will need if you want to connect a custom class to an object in Interface Builder
The Console area of the Debug area
Identity Inspector
Program received signal: EXC_BAD_ACCESS
NSObject
18. Denotes an instance method
retain - release - dealloc - autorelease
-
prototyping
affine
19. Used to indicate any type of object
NSString *userName;
id
retain
count++;
20. These define to which messages the datasource and delegate respond
performance
protocols
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
implementation file
21. Syntax for reserving memory and initializing an object
[[<class name> alloc] init];
png
eXtensible Markup Language
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
22. Prior to ARC - you used these terms alot
retain - release - dealloc - autorelease
Home button
[myLabel setText:@'Howdy'];
Commmand-R
23. Always used to end the list of objects when initializing an array
control-dragging
UIImageView
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.
nil
24. SDK
25. Syntax to include the fictitious user-created file 'myFile.h'
26. _____ are methods that we can connect to events.
Actions
==
nil
alpha
27. Used to receive an event in code and trigger something
IBAction
above
bool
UIImageView
28. Memory aid for keyboard shortcuts in the Navigator panel
29. Word used to indicate that a user can't interact with a given element
!=
above
static
accessible apps
30. Attribute that informs Xcode not to worry about different parts of the application using a property at the same time
utility
m
nonatomic
Option+Command+4
31. API
!=
2
/*blah blah blah */
Application Programming Interface
32. Document Apple uses to evaluate apps for the App Store
#import 'myFile.h'
ption+Command+Return
Human Interface Guide
superclass
33. Boolean for 'true' in Objective-C
Identity Inspector
Cocoa Touch
YES
UIPicker
34. Scaling - rotation - and translation are the most commonly used manipulations supported by _____ transforms - but skewing is also possible.
Instruments
affine
==
C
35. A virtual 'box' for organizing related projects
nil
workspace
[<object variable> <method name>: p1];
Group
36. ______ enable applications to store multiple pieces of information in a single object
Collections
Determine how controls resize/reposition themselves when a device changes orientation
variable
Gray circle with a white 'X' in it - positioned to the right of the text field box
37. 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
UITextField
inspector and library
NSString *userName;
38. Class used to work with dates as objects
Classes
Command+1
NSDate
instantiation
39. strong and nonatomic are examples of ...
&&
attributes
nonatomic
#import 'myFile.h'
40. Storage location for a piece of information
productivity
variable
Command + Tab
NeXSTEP
41. Framework used to write iPhone apps
Cocoa Touch
alpha
y *= 5;
Objective-C
42. In the US - the '#' symbol is often called the ____ symbol
pound
+
114 x 114
instantiate
43. 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.
320 x 480
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
Application Programming Interface
modal views
44. Postcondition repetition structure syntax
iOS Simulator
@
nibfile
do{/*stuff to do here*/}while(<boolean expression>);
45. Class used for image manipulations such as scaling - rotation and translation. Its data structure represents a matrix used for affine transformations.
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
CGAffineTransform
Program received signal: EXC_BAD_ACCESS
retain
46. What are the guidelines for the class prefix for a project?
47. Syntax for sending an object a message with one parameter (p1)
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
[<object variable> <method name>: p1];
pound
User Interface
48. The goal of the MVC design pattern
@
scene
immersive
Isolate the functional components of an app
49. Key sequence to hide/show Navigator View
512MB
Determine how controls resize/reposition themselves when a device changes orientation
Command+0
Nib (but a few call it 'zib' but that's not preferred)
50. To zoom between an overview of the entire storyboard and the actual size view - ______ the storyboard background.
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
iOS Simulator
Double-click
m