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
NSMutableArray
subclass
performance
inspector and library
2. What event do you use to detect a button tap?
myImage@2x.png
Touch Up Inside
:
[<object variable> <method name>: p1];
3. Shortcut for writing: count = count + 1;
count++;
:
token
do not
4. Syntax for declaring a variable
Option-click a symbol
Application Programming Interface
<type> <variableName>;
iOS Simulator
5. Class that allows URL management
performance
storyboard
Home button
NSURL
6. OOP
Object-oriented programming
UILabel *myLabel = [[UILabel alloc] init];
@2x
*
7. Syntax for sending an object a message with one parameter (p1)
NSArray
modal views
[<object variable> <method name>: p1];
Size Inspector
8. A view has a 'Shrink' button whose label needs to change once it is clicked to 'Grow'. Write a 'message' type command to change it's label to 'Grow'
9. Declaring a method in an interface file - before it is actually implemented is called _______ the method
stub
CGAffineTransform
Gray circle with a white 'X' in it - positioned to the right of the text field box
prototyping
10. NS stands for...
ption+Command+Return
scene
NeXSTEP
myImage@2x.png
11. The object currently in control and interacting with the user
do not
First Responder
alpha ... 1
void
12. @synthesize directives should be placed _____ (above or below) the @implementation directive in the implementation file
@synthesize
alpha ... 0
below
above
13. Every iOS application implements a subclass of _________
Model-View-Controller
UIApplication
Object-oriented programming
model
14. If you wish to 'echo print' breadcrumb info as you develop your app - this panel must be visible
UIApplication
@synthesize
The Console area of the Debug area
class
15. Denotes an instance method
NSString *userName;
nil
-
Treats the field as a password - hiding each character as it is typed
16. A common button type that indicates additional information is available
First Responder
count++;
detail disclosure
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
17. You have an instance variable called 'myLabel' that is a member of UILabel. In an app - you set it's text property to 'Howdy' with the correctly-written command: myLabel.text = @'Howdy'; Re-write this command using [ ] message-sending syntax
18. Another name for a 'button bar'
Collections
Isolate the functional components of an app
segmented control
Option-click a symbol
19. Other name for an *.xib file
NSObject
Object library
[[<class name> alloc] init];
nibfile
20. A transition between scenes - frequently with a visual transition effect applied
Collections
nil
segue
label.text=@'Hello World!';
21. Extension for MainStoryboard
storyboard
*
eXtensible Markup Language
<>
22. Fixed iteration repetition control structure syntax
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
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
double
ommand+Return
23. Syntax to include the fictitious user-created file 'myFile.h'
24. Collection of interface elements and data storage elements etc you can access from your applications
IBOutlet
Cocoa Touch
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.
Hold down the Option key and point to the other label. The distance will be shown
25. Another name for format specification
'Software Development Kit'
float
bool
token
26. In the UK - the '#' symbol is often called the ____ symbol
||
retain - release - dealloc - autorelease
parameter
hash
27. Data type for whole numbers
int
conform
instance variable
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
28. Symbol used for inheritance
Snapshot feature
CGAffineTransform
:
Group
29. In the MVC design pattern for iOS apps - view consists of the various...
30. 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?
31. Key sequence to open the Standard Editor
controller
%d
Gray circle with a white 'X' in it - positioned to the right of the text field box
ommand+Return
32. What's the difference between Cocoa and Cocoa Touch?
*
Size Inspector
Nib (but a few call it 'zib' but that's not preferred)
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
33. An example of a common collection data type
Control-click on the View Controller's icon to bring up a Connections dialog
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
scene
NSArray
34. Name of the '|' symbol
pound
pipe
alpha ... 0
y *= 5;
35. How do you get rid of an onscreen keyboard?
36. Alternative selection mechanism when many conditions exist
switch
Cocoa Touch
Collections
@2x
37. setters
mutators
self
&&
//blah blah blah
38. This Xcode utility allows you to check CPU usage - memory allocation and network/file access (among other things)
eXtensible Markup Language
Instruments
Command+1
nil
39. An integrated web browser component
web view
IBAction
Size Inspector
inspector and library
40. ______ are variables that can store a ____ to an object.
switch
iOS Simulator
Outlets ... pointer
nested message send
41. Syntax for declaring a string called 'userName'
NSString *userName;
instantiate
@synthesize directive
Integrated Development Environment
42. Code fragment for echo printing the name of a function as it loads (for tracing the sequence of code in a project...leaving breadcrumbs)
43. Method used to print information in an output panel
NSLog
Model-View-Controller
:
Option+Command+4
44. Data type for true/false type variables
Cocoa Touch
Commmand-R
nibfile
bool
45. The ________ class provided a container for the management and display of views
UIWindow
NO
Outlets ... pointer
performance
46. Size of iPhone 'lo-res' icon image in pixels
Program received signal: EXC_BAD_ACCESS
UILabel *myLabel = [[UILabel alloc] init];
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
57 x 57
47. 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.
Command + Tab
storyboards
viewDidLoad
web view
48. Key sequence to hide/show Navigator View
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
NO
Command+0
IBOutlet
49. This element should 'always' accompany a slider to indicate its purpose
label
nil
xcodeproj
interface file
50. Character used to show an element as a literal string
@
graduationParty ... addAttendee:withDish
conform
protocols