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. Key sequence to open the Project Navigator (left panel)
Option-click a symbol
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
Command+1
NSArray
2. NS stands for...
Model-View-Controller
Human Interface Guide
[[<class name> alloc] init];
NeXSTEP
3. Any 'directive' statement begins with this symbol
nibfile
iOS Simulator
@
do not
4. Defines the functional building blocks (classes) that make iOS devices perform certain actions
Cocoa Touch
com.basicversity
alpha ... 0
workspace
5. 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
6. This element should 'always' accompany a slider to indicate its purpose
prototyping
stub
do not
label
7. Storage place for a piece of information specific to a class
Actions
while(<boolean expression>){/*stuff to do here*/}
instance variable
image view
8. The first method called when a user taps an application icon
token
rand( )%21
iOS Simulator
main()
9. Declaring a method in an interface file - before it is actually implemented is called _______ the method
Cocoa Touch
affine
prototyping
@
10. A view that is displayed on top of an original view when user interactions are required
modal views
Size Inspector
scene
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
11. Class used to work with dates as objects
114 x 114
User Interface
NSDate
Single View Application
12. Fixed iteration repetition control structure syntax
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
Object-oriented programming
modal views
13. The bar across the top of the Editor area that shows you the item you are editing
contentSize
iOS Simulator
switch
Jump Bar
14. 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.
Model-View-Controller
affine
modal
ommand+Return
15. 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
'Software Development Kit'
Commmand-R
NSURL
16. Shortcut for writing: count = count + 1;
xcodeproj
Jump Bar
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
count++;
17. This type of app is typically one screen - and gives you the basics with minimal interaction
[[<class name> alloc] init];
UITextView
utility
@2x
18. To use a new class you need to _____ it
&&
scene
instantiate
parameter
19. The Inspector you will need if you want to connect a custom class to an object in Interface Builder
alpha
Identity Inspector
Size Inspector
NSURLRequest
20. Method used to print information in an output panel
:
NSLog
%1.2f
hasShrunk==YES && hasMoved == YES
21. A common button type that indicates additional information is available
retain - release - dealloc - autorelease
detail disclosure
1024 x 768
57 x 57
22. Templates fill in a bunch of ______-_______ code that serves as a framework in which to write future implementations
while(<boolean expression>){/*stuff to do here*/}
@2x
boiler-plate
Instruments
23. File name suffix indicating an image is suitable for retina display
@2x
NSDate
attributes
Jump Bar
24. The Utilities area has two sections: ______ and ______
casting
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
[<object variable> <method name>];
inspector and library
25. What type of object does a web view expect as a parameter when loading a remote URL?
NSArray
NSURLRequest
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
implementation file
26. Key sequence to hide/show Navigator View
Command+0
Cocoa Touch
Objective-C
viewDidLoad
27. The Inspector you would access to gain access to various accessibility attributes
instance variable
IBOutlet
Identity Inspector
protocols
28. This keyword in the property directive is related to memory management and refers to the idea that we want to maintain control of memory issues
subclass
retain
Group
Hold down the Option key and point to the other label. The distance will be shown
29. This Xcode utility allows you to check CPU usage - memory allocation and network/file access (among other things)
Instruments
mutators
hasShrunk==YES && hasMoved == YES
com.basicversity
30. Combining two messages into a single line of code
//blah blah blah
NO
h
nested message send
31. ______ enable applications to store multiple pieces of information in a single object
NSString
Collections
Object-oriented programming
NSLog(@'%s' - __FUNCTION__);
32. 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.
Collections
viewDidLoad
IBOutlet
@synthesize directive
33. IDE
Integrated Development Environment
Size Inspector
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
contentSize
34. Companion to the @property directive
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
!=
@synthesize
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
35. Scaling factor to make an image suitable for retina display
nil
2
'Interface Builder'
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
36. Objective-C is an extension (super set) of...
Model-View-Controller
hasShrunk==YES && hasMoved == YES
C
Command + Tab
37. Symbol often denoting a 'pointer'
*
Object Library
superclass
view controller
38. What do the Autosizing settings of the Size Inspector do?
<>
Determine how controls resize/reposition themselves when a device changes orientation
segmented control
label
39. setters
mutators
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
pound
Identity Inspector
40. Shortcut for writing: x = x - 1;
rand( )%21
||
x--;
disclosure triangle
41. 'plist' stands for...
!
property list
pipe
[<object variable> <method name>: p1];
42. API
stub
accessors
Application Programming Interface
image view
43. _____ are methods that we can connect to events.
Objective-C
Program received signal: EXC_BAD_ACCESS
CGAffineTransform
Actions
44. 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
45. Negation symbol
Touch Up Inside
instantiate
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.
!
46. Delimiter for a list of protocols
%
myImage@2x.png
double
<>
47. Key sequence to run an app in Xcode
Model-View-Controller
id
Command+R
float
48. The files that contain all the scenes you will use in a project.
storyboards
IBOutlet
:
viewDidLoad
49. An example of a common collection data type
graduationParty ... addAttendee:withDish
NSArray
interface file
Command+R
50. The 'First Responder' in a scene is not an object it is considered a ________
Collections
NSLog(@'%s' - __FUNCTION__);
proxy
Command + Tab