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. Defines what an object can do
NO
class
boiler-plate
nonatomic
2. Given: [graduationParty addAttendee: @'Aunt Jane' withDish: @'deviled eggs']; The 'receiver' is _______; the 'selector' is _________
graduationParty ... addAttendee:withDish
Hold down the Option key and point to the other label. The distance will be shown
Command+R
Snapshot feature
3. The files that contain all the scenes you will use in a project.
114 x 114
storyboards
To provide a convenient way of setting the button's title in the code
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
4. 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
5. Dimensions of iPhone (in points)
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.
image view
320 x 480
NSMutableString
6. Recommended image type for button graphics
1024 x 768
NSLog(@'%s' - __FUNCTION__);
png
model
7. 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
Determine how controls resize/reposition themselves when a device changes orientation
implementation file
NSObject
control-dragging
8. Two-way selection logic block
bool
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
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.
Application Programming Interface
9. Typical header syntax for a button that will be applying the 'moveMe' action in an app
IBAction)moveMe:(id)sender;
Model-View-Controller
accessible apps
Collections
10. Used to test an app without needing an actual physical device
iOS Simulator
#import <UIKIT/UIKIT.h>
NeXSTEP
x--;
11. RAM for iPhone
boiler-plate
instance variable
512MB
Command+0
12. This file contains the code that makes everything 'work'
static
Double-click
implementation file
protocols
13. The bar across the top of the Editor area that shows you the item you are editing
Jump Bar
retain
Objective-C
conform
14. Denotes an instance method
Home button
switch
NSURLRequest
-
15. Used to display image file resources and show simple animations
image view
//blah blah blah
interface file
Instruments
16. Correct the error: label.text = 'Hello World !';
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
17. Multiline text entry block
storyboard
parameter
UITextView
retain - release - dealloc - autorelease
18. Synonym for interface file
alpha ... 1
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.
header
C
19. Storage place for a piece of information specific to a class
import
double
nested message send
instance variable
20. The Round Rect Button is found in this library
image view
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
Object Library
Object-oriented programming
21. Always used to end the list of objects when initializing an array
nil
storyboard
Object-oriented programming
int
22. Fixed iteration repetition control structure syntax
prototyping
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
NSLog
onscreen 'widgets' a user can interact with
23. Any 'directive' statement begins with this symbol
id
myImage@2x.png
@
mutators
24. Another name for format specification
protocols
token
affine
while(<boolean expression>){/*stuff to do here*/}
25. Key sequence on a Mac to select between open application
Cocoa Touch
superclass
viewDidLoad
Command + Tab
26. What event do you use to detect a button tap?
YES
wrap
NSMutableArray
Touch Up Inside
27. Implements a logical OR condition
parameter
NeXSTEP
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
||
28. Used to receive an event in code and trigger something
bool
IBAction
[<object variable> <method name>: p1];
protocols
29. XML
wrap
eXtensible Markup Language
m
xcodeproj
30. 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
Utility apps
model
protocols
||
31. Shortcut for writing: x = x - 1;
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
x--;
property list
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?
myImage@2x.png
Classes
IBAction)moveMe:(id)sender;
||
33. 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
34. What are data detectors?
Identity 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
320 x 480
parameter
35. Consider: int x = 6;int y = 7;float quotient = (float) x/y;The statement that creates the variable 'quotient' is an example of ...
switch
casting
segue
prototyping
36. Denotes a class method
below
y *= 5;
Identity Inspector
+
37. Class used for image manipulations such as scaling - rotation and translation. Its data structure represents a matrix used for affine transformations.
@
CGAffineTransform
<type> <variableName>;
stub
38. Creates 'getters' and 'setters'
+
protocols
NeXSTEP
@synthesize directive
39. Delimiter for a list of protocols
<>
First Responder
alpha ... 0
png
40. 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.
Command+1
modal
workspace
Jump Bar
41. Single line text field
Jump Bar
UITextField
view
bool
42. Closes an interface file
protocols
Actions
@synthesize directive
@end
43. Apps that provide easy access to a single screen of information with a backside view for modifying preferences
C
Utility apps
token
interface and implementation files
44. Syntax for single-line comment
NSDictionary
retain
//blah blah blah
Seques .... relationships
45. Defines the functional building blocks (classes) that make iOS devices perform certain actions
Cocoa Touch
Attributes Inspector
segue
nil
46. 4 Top down technology layers making up iOS
%
Cocoa Touch - Media - Core Services - Core OS
iOS Simulator
self
47. 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
48. Attribute that informs the system that the object referred to needs to be kept around and not discarded from memory
debugger
NSLog(@'%s' - __FUNCTION__);
strong
sending an object a message
49. Key sequence to save an Xcode file
instantiation
Command+S
UIApplication
2
50. Declaring a method in an interface file - before it is actually implemented is called _______ the method
Nib (but a few call it 'zib' but that's not preferred)
prototyping
UITextView
boiler-plate