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. Syntax for sending an object a message with one parameter (p1)
[<object variable> <method name>: p1];
view controller
bool
eXtensible Markup Language
2. Syntax for sending an object a message with no parameters
Collections
rand( )%21
[<object variable> <method name>];
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
3. @property directives should be placed ____ (above or below) any IBActions in the header file
above
stub
XML
viewDidLoad
4. IDE
Option-click a symbol
Integrated Development Environment
[<object variable> <method name>: p1];
header
5. RAM for iPhone
UITextField
NSString *userName;
512MB
User Interface
6. Extension for interface file
Cocoa Touch
h
Document Outline Area or Outline View
512MB
7. What event do you use to detect a button tap?
header
Touch Up Inside
@end
retain
8. Directive to include other interface files that an application might need to access
storyboard
Gray circle with a white 'X' in it - positioned to the right of the text field box
UITextView
import
9. Size of iPhone 'lo-res' icon image in pixels
57 x 57
IBOutlet
detail disclosure
Double-click
10. Term used to describe each screen of an iPhone app
114 x 114
Document Outline Area or Outline View
/*blah blah blah */
view
11. SDK
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
12. Creates 'getters' and 'setters'
Size Inspector
@synthesize directive
||
#import <UIKIT/UIKIT.h>
13. An app has boolean variables 'hasShrunk' and 'hasMoved'. Write a boolean condition that checks if each are true
modal views
ommand+Return
hasShrunk==YES && hasMoved == YES
eXtensible Markup Language
14. A transition between scenes - frequently with a visual transition effect applied
segue
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
above
retain - release - dealloc - autorelease
15. Fixed iteration repetition control structure syntax
The Console area of the Debug area
instantiate
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
h
16. An alternative way to see the connections between an object in the Interface Builder and it's code in Xcode without using the Connections inspector
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
17. 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
18. _____ are methods that we can connect to events.
Human Interface Guide
[<object variable> <method name>: p1];
Actions
detail disclosure
19. Formatting placeholder for a floating point value with one digit on the left of the decimal and two digits on the right
storyboards
:
%1.2f
Gray circle with a white 'X' in it - positioned to the right of the text field box
20. Class that creates an array capable of being changed after it is create
*
y *= 5;
NSMutableArray
above
21. iPhone and iPad ____ support .png transparency
do not
%d
#import 'myFile.h'
void
22. Language used to write iOS apps
Integrated Development Environment
nonatomic
Treats the field as a password - hiding each character as it is typed
Objective-C
23. 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.
label
<type> <variableName>;
#import 'myFile.h'
modal
24. A class that manages the user's interaction with the iDevice
Instruments
Utility apps
view controller
Cocoa Touch
25. iOS functional building blocks
Outlets ... pointer
Program received signal: EXC_BAD_ACCESS
property list
Classes
26. Storage place for a piece of information specific to a class
UIImageView
Collections
nil
instance variable
27. The Round Rect Button is found in this library
UILabel *myLabel = [[UILabel alloc] init];
instantiation
UIPicker
Object Library
28. Data type for highly precise numbers with huge numbers of decimal places
while(<boolean expression>){/*stuff to do here*/}
double
import
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
29. Used to test an app without needing an actual physical device
boiler-plate
NSMutableString
iOS Simulator
Nib (but a few call it 'zib' but that's not preferred)
30. Purpose of the 'Auto-enable Return Key' attribute for text fields
[<object variable> <method name>];
performance
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
Size Inspector
31. Attribute that informs the system that the object referred to needs to be kept around and not discarded from memory
Group
First Responder
float
strong
32. 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?
pipe
do not
myImage@2x.png
while(<boolean expression>){/*stuff to do here*/}
33. Memory aid for keyboard shortcuts in the Navigator panel
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
34. The bar across the top of the Editor area that shows you the item you are editing
Jump Bar
Option+Command+4
Command + Tab
Cocoa Touch - Media - Core Services - Core OS
35. XML
eXtensible Markup Language
Command+1
retain
viewDidLoad
36. 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
37. Recommended image type for button graphics
bool
!=
eXtensible Markup Language
png
38. Always used to end the list of objects when initializing an array
Isolate the functional components of an app
id
nil
@end
39. The 'First Responder' in a scene is not an object it is considered a ________
proxy
graduationParty ... addAttendee:withDish
114 x 114
import
40. Single line text field
x--;
UITextField
NSArray
Option-click a symbol
41. This type of app is mostly custom controllers and graphics
immersive
segue
web view
ommand+Return
42. How do you show a storyboard file as source code?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
43. Key sequence to hide/show Utilities View
Option+Command+ 0
Jump Bar
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.
viewDidLoad
44. A file folder in the navigator panel is called a ________
Group
Object-oriented programming
@synthesize directive
xcodeproj
45. Name of the drop-down menu in Xcode that lets you select the device used with the iOS Simulator
variable
com.basicversity
UIApplication
Scheme
46. A common button type that indicates additional information is available
UITextView
float
detail disclosure
hasShrunk==YES && hasMoved == YES
47. Word used to indicate that a user can't interact with a given element
ommand+Return
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
static
debugger
48. In the MVC design pattern for iOS apps - this aspect is responsible for receiving user input and acting accordingly - and serves as a 'bridge' between the other two components. It is the backbone of the app.
NSDate
interface and implementation files
controller
nested message send
49. Document Apple uses to evaluate apps for the App Store
storyboard
parameter
[[<class name> alloc] init];
Human Interface Guide
50. 4 Top down technology layers making up iOS
||
Cocoa Touch - Media - Core Services - Core OS
onscreen 'widgets' a user can interact with
boiler-plate