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. A virtual 'box' for organizing related projects
UITextField
workspace
IBOutlet
segmented control
2. What type of object does a web view expect as a parameter when loading a remote URL?
Identity Inspector
disclosure triangle
NSURLRequest
Model-View-Controller
3. Which Apple project template creates a simple view/view controller application
CGAffineTransform
do{/*stuff to do here*/}while(<boolean expression>);
UIWindow
Single View Application
4. Property affecting an element's transparency
alpha
%1.2f
float
Identity Inspector
5. 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
Object library
Single View Application
control-dragging
image view
6. 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)
nil
int
stub
segue
7. Apple's classes often provide a special initialization method called a _____ method
Command + Tab
convenience
Control-click on the View Controller's icon to bring up a Connections dialog
Identity Inspector
8. What's the difference between Cocoa and Cocoa Touch?
First Responder
Collections
//blah blah blah
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
9. ______ enable applications to store multiple pieces of information in a single object
Collections
NSString
Size Inspector
retain
10. Dimensions of iPhone (in points)
Gray circle with a white 'X' in it - positioned to the right of the text field box
320 x 480
eXtensible Markup Language
%d
11. Always used to end the list of objects when initializing an array
CGAffineTransform
Cocoa Touch
%d
nil
12. Given: [graduationParty addAttendee: @'Aunt Jane' withDish: @'deviled eggs']; The 'receiver' is _______; the 'selector' is _________
UIWindow
Identity Inspector
graduationParty ... addAttendee:withDish
@synthesize
13. UI
parameter
m
User Interface
nonatomic
14. SDK
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
15. IB
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
16. Consider: int x = 6;int y = 7;float quotient = (float) x/y;The statement that creates the variable 'quotient' is an example of ...
casting
/*blah blah blah */
1024 x 768
m
17. The bar across the top of the Editor area that shows you the item you are editing
Object Library
NO
Cocoa Touch
Jump Bar
18. Piece of information provided to a method when it is messaged
parameter
view
nested message send
casting
19. You have two labels in Interface Builder. One is selected (You clicked on it). How can you tell the distance between it and the other label?
disclosure triangle
<type> <variableName>;
Hold down the Option key and point to the other label. The distance will be shown
First Responder
20. IDE for iPhone Development
Attributes Inspector
#import 'myFile.h'
Group
Xcode
21. Directive to include other interface files that an application might need to access
storyboards
import
x--;
NSURLRequest
22. Implements a logical AND condition
&&
model
Option-click a symbol
Instruments
23. 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
24. ______ and ______ define the connections between scenes.
nil
Seques .... relationships
IBOutlet
NSMutableString
25. The goal of the MVC design pattern
header
Touch Up Inside
Isolate the functional components of an app
Human Interface Guide
26. Denotes an instance method
UILabel *myLabel = [[UILabel alloc] init];
do not
immersive
-
27. Postcondition repetition structure syntax
do{/*stuff to do here*/}while(<boolean expression>);
UIApplication
hash
UITextView
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
retain
Xcode
parameter
Cocoa Touch
29. Write a statement to declare and initialize a label object called 'myLabel'
below
UILabel *myLabel = [[UILabel alloc] init];
interface file
contentSize
30. Single line text field
UITextField
NSString
/*blah blah blah */
Identity Inspector
31. Attribute that informs Xcode not to worry about different parts of the application using a property at the same time
nonatomic
alpha ... 1
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
Snapshot feature
32. Key sequence to run an app in Xcode
Command+R
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
rand( )%21
disclosure triangle
33. 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
34. Class that allows URL management
NSURL
<>
Cocoa Touch
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.
35. Extension for interface file
h
%d
Command + Tab
Treats the field as a password - hiding each character as it is typed
36. Proper way to pronounce a *.xib file
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
37. What property needs to be set before a scroll view (UIScrollView) will scroll?
contentSize
*
while(<boolean expression>){/*stuff to do here*/}
nonatomic
38. Data type for numbers with 'tame' numbers of decimal points
NSURLRequest
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
inspector and library
float
39. In the MVC design pattern for iOS apps - view consists of the various...
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
40. If a method name includes a colon (:) this indicates a required _________
storyboard
parameter
class
token
41. You are creating an app for a company whose URL is http://www.basicversity.com . What should be the company identifier for the app when you begin the project?
accessors
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
com.basicversity
Seques .... relationships
42. 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
NeXSTEP
property list
model
NSMutableArray
43. The object currently in control and interacting with the user
Document Outline Area or Outline View
NSURLRequest
storyboard
First Responder
44. NS stands for...
Home button
import
NeXSTEP
'Interface Builder'
45. Boolean for 'true' in Objective-C
Application Programming Interface
//blah blah blah
xcodeproj
YES
46. Used to display image file resources and show simple animations
image view
subclass
nonatomic
Object Library
47. Size of iPhone retina icon image in pixels
sending an object a message
token
Group
114 x 114
48. 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
49. Allows you to easily track multiple versions of your project
Snapshot feature
@end
%1.2f
Determine how controls resize/reposition themselves when a device changes orientation
50. 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];
ption+Command+Return
Commmand-R
+