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. Declaring a method in an interface file - before it is actually implemented is called _______ the method
Application Programming Interface
Snapshot feature
prototyping
1024 x 768
2. 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)
modal views
Command+0
stub
attributes
3. To use a new class you need to _____ it
Objective-C
NSMutableArray
NSLog(@'%s' - __FUNCTION__);
instantiate
4. Extension for implementation file
Actions
Instruments
m
Determine how controls resize/reposition themselves when a device changes orientation
5. Denotes an instance method
graduationParty ... addAttendee:withDish
#import 'myFile.h'
superclass
-
6. Used to display image file resources and show simple animations
protocols
image view
NSString
view
7. Apple's classes often provide a special initialization method called a _____ method
Treats the field as a password - hiding each character as it is typed
convenience
implementation file
bool
8. 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
512MB
while(<boolean expression>){/*stuff to do here*/}
model
:
9. Key sequence to open the Standard Editor
ommand+Return
==
Command+1
xcodeproj
10. This type of app is typically one screen - and gives you the basics with minimal interaction
@synthesize directive
Command+1
Model-View-Controller
utility
11. 'plist' stands for...
property list
Model-View-Controller
Utility apps
NSMutableArray
12. This Xcode utility allows you to check CPU usage - memory allocation and network/file access (among other things)
Command+1
bool
Instruments
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
13. What are data detectors?
segue
Option-click a symbol
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
protocols
14. @property directives should be placed ____ (above or below) any IBActions in the header file
above
Gray circle with a white 'X' in it - positioned to the right of the text field box
320 x 480
==
15. An example of a common collection data type
NSArray
Collections
Human Interface Guide
Commmand-R
16. ______ and ______ define the connections between scenes.
Seques .... relationships
&&
Command + Tab
Command+S
17. If you wish to 'echo print' breadcrumb info as you develop your app - this panel must be visible
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
C
The Console area of the Debug area
114 x 114
18. ______ enable applications to store multiple pieces of information in a single object
%d
below
Object-oriented programming
Collections
19. 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
20. Scaling - rotation - and translation are the most commonly used manipulations supported by _____ transforms - but skewing is also possible.
immersive
affine
%@
scene
21. Write a statement to declare and initialize a label object called 'myLabel' to 'GO!'
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
22. Prior to ARC - you used these terms alot
retain - release - dealloc - autorelease
static
nested message send
detail disclosure
23. A virtual 'box' for organizing related projects
Command + Tab
void
NSString *phrase = @'Hello World';
workspace
24. 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?
myImage@2x.png
view
IBOutlet
UIViewController
25. Class of collection data type which stores information as object/key pairs
Integrated Development Environment
NSDictionary
UIViewController
To provide a convenient way of setting the button's title in the code
26. Another name for format specification
import
token
performance
immersive
27. Always used to end the list of objects when initializing an array
productivity
nil
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.
sending an object a message
28. Defines what an object can do
graduationParty ... addAttendee:withDish
class
@
Command+1
29. What are the guidelines for the class prefix for a project?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
30. Two-way selection logic block
Integrated Development Environment
xcodeproj
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
#import <UIKIT/UIKIT.h>
31. Postcondition repetition structure syntax
IBAction
NSURL
do{/*stuff to do here*/}while(<boolean expression>);
The Console area of the Debug area
32. Single line text field
UITextField
@synthesize
y *= 5;
NSObject
33. Write a statement to declare and initialize a label object called 'myLabel'
UILabel *myLabel = [[UILabel alloc] init];
Instruments
IBOutlet
accessible apps
34. Negation symbol
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
!
Document Outline Area or Outline View
nibfile
35. Crash statement likely when an NSString is assigned a value with an incorrect format
superclass
Program received signal: EXC_BAD_ACCESS
m
conform
36. 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
37. What do the Autosizing settings of the Size Inspector do?
Determine how controls resize/reposition themselves when a device changes orientation
convenience
User Interface
@synthesize
38. In the US - the '#' symbol is often called the ____ symbol
@
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
mutators
pound
39. Precondition repetition structure syntax
x--;
storyboard
while(<boolean expression>){/*stuff to do here*/}
sending an object a message
40. Boolean for 'false' in Objective-C
control-dragging
NO
Option-click a symbol
Single View Application
41. Every iOS application implements a subclass of _________
import
@2x
alpha
UIApplication
42. A ______ is where you edit a view and assign a controller to it.
@
scene
Object library
alpha ... 1
43. Multiline text entry block
Identity Inspector
NSDate
UITextView
Model-View-Controller
44. setters
Model-View-Controller
mutators
Outlets ... pointer
Command + Tab
45. Storage location for a piece of information
property list
YES
[[<class name> alloc] init];
variable
46. An _______ is used to 'advertise' a method in your code that should be called when a certain event takes place
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.
IBAction
[<object variable> <method name>: p1];
x--;
47. Language used to write iOS apps
Classes
Hold down the Option key and point to the other label. The distance will be shown
Objective-C
accessible apps
48. Key sequence to hide/show Navigator View
Command+0
Model-View-Controller
import
wrap
49. Alternative selection mechanism when many conditions exist
Control-click on the View Controller's icon to bring up a Connections dialog
switch
%
Identity Inspector
50. getters
!=
inspector and library
accessors
void