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. Name of the drop-down menu in Xcode that lets you select the device used with the iOS Simulator
Scheme
Actions
Classes
bool
2. RAM for iPhone
512MB
[[<class name> alloc] init];
Collections
viewDidLoad
3. Other name for an *.xib file
nibfile
property list
implementation file
token
4. What event do you use to detect a button tap?
NSDate
Group
Touch Up Inside
Option+Command+4
5. 4 Top down technology layers making up iOS
Cocoa Touch - Media - Core Services - Core OS
#import 'myFile.h'
instantiate
@
6. The Inspector you will need if you want to connect a custom class to an object in Interface Builder
workspace
512MB
main()
Identity Inspector
7. Extension for interface file
2
h
@
NSString
8. iPhone and iPad ____ support .png transparency
iOS Simulator
do not
void
Double-click
9. @property directives should be placed ____ (above or below) any IBActions in the header file
above
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
Application Programming Interface
'Interface Builder'
10. A class that implements a protocol is said to ____ to that protocol
conform
IBAction)moveMe:(id)sender;
@end
performance
11. What do the Autosizing settings of the Size Inspector do?
Determine how controls resize/reposition themselves when a device changes orientation
@
modal views
nibfile
12. 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
13. Allows you to easily track multiple versions of your project
view
Option-click a symbol
do{/*stuff to do here*/}while(<boolean expression>);
Snapshot feature
14. 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
<>
model
||
%@
15. A virtual 'box' for organizing related projects
Outlets ... pointer
Model-View-Controller
%@
workspace
16. 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
17. Apps that provide easy access to a single screen of information with a backside view for modifying preferences
void
Utility apps
Cocoa Touch
header
18. Expression to create a random number in [0 -20];
rand( )%21
alpha ... 1
immersive
@
19. What's the difference between Cocoa and Cocoa Touch?
Option-click a symbol
implementation file
wrap
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
20. Syntax for declaring a string called 'userName'
interface file
UIImageView
NSString *userName;
<>
21. Purpose of 'Secure' attribute for text fields
&&
do{/*stuff to do here*/}while(<boolean expression>);
Option+Command+4
Treats the field as a password - hiding each character as it is typed
22. Negation symbol
Command+1
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
!
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
23. Denotes a class method
convenience
nil
+
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
24. Master class in iOS
NSLog
header
interface and implementation files
NSObject
25. Implements a logical AND condition
ption+Command+Return
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
&&
nil
26. Objective-C is an extension (super set) of...
NSMutableString
myImage@2x.png
C
Option-click a symbol
27. A tool in Xcode to help fix broken code
Commmand-R
NSMutableString
debugger
NSLog(@'%s' - __FUNCTION__);
28. 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
29. @synthesize directives should be placed _____ (above or below) the @implementation directive in the implementation file
void
Cocoa Touch - Media - Core Services - Core OS
Document Outline Area or Outline View
below
30. Way to refer to an object within its own methods
IBAction)moveMe:(id)sender;
self
casting
x--;
31. Collection of interface elements and data storage elements etc you can access from your applications
Gray circle with a white 'X' in it - positioned to the right of the text field box
Cocoa Touch
alpha ... 1
interface file
32. Resembles a slot machine display
interface and implementation files
pound
UIPicker
Attributes Inspector
33. An _______ is used to enable your code to talk to objects within views
/*blah blah blah */
IBOutlet
id
attributes
34. Used to display image file resources and show simple animations
image view
//blah blah blah
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
convenience
35. Key sequence to save an Xcode file
Integrated Development Environment
Command+S
CGAffineTransform
sending an object a message
36. Syntax to include the fictitious user-created file 'myFile.h'
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
37. 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)
NSMutableArray
stub
eXtensible Markup Language
NSMutableString
38. Implements a logical OR condition
header
||
NSLog
do{/*stuff to do here*/}while(<boolean expression>);
39. Storage place for a piece of information specific to a class
instance variable
Cocoa Touch - Media - Core Services - Core OS
Double-click
control-dragging
40. API
accessors
Attributes Inspector
Application Programming Interface
alpha ... 0
41. Key sequence to open the Standard Editor
ommand+Return
IBAction
xcodeproj
Command + Tab
42. A ______ is where you edit a view and assign a controller to it.
hasShrunk==YES && hasMoved == YES
!=
[<object variable> <method name>];
scene
43. What are data detectors?
do{/*stuff to do here*/}while(<boolean expression>);
h
void
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
44. This type of app is typically one screen - and gives you the basics with minimal interaction
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
Program received signal: EXC_BAD_ACCESS
utility
NSArray
45. This file contains the code that makes everything 'work'
double
controller
implementation file
protocols
46. Formatting placeholder for a floating point value with one digit on the left of the decimal and two digits on the right
hash
strong
%1.2f
nonatomic
47. 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.
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
nil
modal views
label
48. Language used to write iOS apps
Command+0
*
interface and implementation files
Objective-C
49. getters
switch
accessors
sending an object a message
!
50. A transition between scenes - frequently with a visual transition effect applied
variable
web view
segue
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