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. Symbol often denoting a 'pointer'
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
modal
*
Command+1
2. The Inspector you would use to control your layout in Interface Builder
detail disclosure
Size Inspector
x--;
nonatomic
3. Class used to work with dates as objects
UIApplication
NSDate
hasShrunk==YES && hasMoved == YES
id
4. Extension for an iPhone/iPad app
xcodeproj
Instruments
modal views
double
5. The first method called when a user taps an application icon
sending an object a message
model
NSURLRequest
main()
6. Apps that provide easy access to a single screen of information with a backside view for modifying preferences
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
instantiate
Utility apps
Human Interface Guide
7. Syntax for reserving memory and initializing an object
Command+0
switch
count++;
[[<class name> alloc] init];
8. Attribute that informs the system that the object referred to needs to be kept around and not discarded from memory
Cocoa Touch
pipe
double
strong
9. The '@' symbol is shorthand for creating one of these
Actions
NSObject
NSString
stub
10. The files that contain all the scenes you will use in a project.
casting
utility
storyboards
bool
11. This file contains the code that makes everything 'work'
/*blah blah blah */
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
implementation file
CGAffineTransform
12. Closes an interface file
do not
@end
Scheme
x--;
13. Name of the drop-down menu in Xcode that lets you select the device used with the iOS Simulator
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
-
Instruments
Scheme
14. Crash statement likely when an NSString is assigned a value with an incorrect format
myImage@2x.png
[[<class name> alloc] init];
Gray circle with a white 'X' in it - positioned to the right of the text field box
Program received signal: EXC_BAD_ACCESS
15. Syntax for sending an object a message with one parameter (p1)
<type> <variableName>;
view
[<object variable> <method name>: p1];
@end
16. Precondition repetition structure syntax
instantiate
Command+S
while(<boolean expression>){/*stuff to do here*/}
affine
17. Every iOS application implements a subclass of _________
Option+Command+ 0
Command+R
UIApplication
retain
18. Indicates a lack of any value at all
nil
&&
!=
interface file
19. Under what circumstances would you need an outlet for a button if it's just needed to trigger an action?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
20. Key sequence to hide/show Utilities View
Option+Command+ 0
&&
view controller
First Responder
21. Purpose of 'Secure' attribute for text fields
NSMutableString
Treats the field as a password - hiding each character as it is typed
UIImageView
CGAffineTransform
22. This element should 'always' accompany a slider to indicate its purpose
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
label
h
Touch Up Inside
23. These define to which messages the datasource and delegate respond
accessible apps
contentSize
protocols
@
24. For a text field - what does the 'Clear Button' look like?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
25. 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
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
model
XML
Outlets ... pointer
26. 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'
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
27. Data type for highly precise numbers with huge numbers of decimal places
double
Command+1
Xcode
segmented control
28. Tests to see whether two values are not equal
x--;
!=
mutators
2
29. @property directives should be placed ____ (above or below) any IBActions in the header file
*
above
accessible apps
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
30. A transition between scenes - frequently with a visual transition effect applied
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
do{/*stuff to do here*/}while(<boolean expression>);
segue
nonatomic
31. NS stands for...
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
parameter
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
NeXSTEP
32. Development approach (design pattern) to structure iOS applications
Model-View-Controller
instantiate
NSMutableArray
accessible apps
33. The 'First Responder' in a scene is not an object it is considered a ________
interface and implementation files
proxy
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
y *= 5;
34. 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.
CGAffineTransform
modal
Option+Command+ 0
Integrated Development Environment
35. 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)
Human Interface Guide
instance variable
stub
myImage@2x.png
36. Resembles a slot machine display
Option+Command+4
UIPicker
token
UIApplication
37. 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
eXtensible Markup Language
:
UIViewController
control-dragging
38. Storage location for a piece of information
instance variable
%1.2f
variable
NeXSTEP
39. 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?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
40. Defines what an object can do
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
Double-click
token
class
41. Used to define a list of all methods and properties a class uses
interface file
Double-click
segue
mutators
42. Key sequence to run an app in Xcode
m
IBOutlet
view controller
Command+R
43. Class that another class inherits from
NSObject
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
superclass
UIViewController
44. An example of a common collection data type
NSArray
NSURL
IBAction
!=
45. Implements a logical AND condition
Isolate the functional components of an app
&&
nil
interface and implementation files
46. Symbol used for inheritance
xcodeproj
:
instance variable
NSDictionary
47. Shortcut for writing: y = y * 5;
h
y *= 5;
accessible apps
User Interface
48. File name suffix indicating an image is suitable for retina display
@2x
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
Command+R
Collections
49. MVC
Collections
Model-View-Controller
self
interface and implementation files
50. What event do you use to detect a button tap?
Double-click
Touch Up Inside
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
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}