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. Used to display image file resources and show simple animations
image view
UIPicker
'Interface Builder'
accessors
2. strong and nonatomic are examples of ...
attributes
graduationParty ... addAttendee:withDish
self
Document Outline Area or Outline View
3. Given: #import <UIKit/UIKit.h> @interface WelcomeViewController : UIViewController @end The superclass for WelcomeViewController
viewDidLoad
Home button
while(<boolean expression>){/*stuff to do here*/}
UIViewController
4. An app has boolean variables 'hasShrunk' and 'hasMoved'. Write a boolean condition that checks if each are true
hasShrunk==YES && hasMoved == YES
Xcode
NeXSTEP
Identity Inspector
5. XML
eXtensible Markup Language
Cocoa Touch
parameter
First Responder
6. getters
Xcode
accessors
Nib (but a few call it 'zib' but that's not preferred)
Program received signal: EXC_BAD_ACCESS
7. A class that manages the user's interaction with the iDevice
-
do{/*stuff to do here*/}while(<boolean expression>);
view controller
Hold down the Option key and point to the other label. The distance will be shown
8. This Xcode utility allows you to check CPU usage - memory allocation and network/file access (among other things)
Instruments
Touch Up Inside
Option-click a symbol
NSObject
9. A view that is displayed on top of an original view when user interactions are required
disclosure triangle
ommand+Return
modal views
above
10. The 'First Responder' in a scene is not an object it is considered a ________
hash
%1.2f
XML
proxy
11. Class that allows URL management
@synthesize
label.text=@'Hello World!';
NSURL
conform
12. OOP
model
XML
Object-oriented programming
NSString
13. Key sequence to save an Xcode file
NSURL
Command+S
Hold down the Option key and point to the other label. The distance will be shown
Model-View-Controller
14. Synonym for interface file
header
First Responder
Instruments
Utility apps
15. Directive to include other interface files that an application might need to access
superclass
Isolate the functional components of an app
UILabel *myLabel = [[UILabel alloc] init];
import
16. Creates 'getters' and 'setters'
Cocoa Touch
YES
@synthesize directive
h
17. Delimiter for a list of protocols
Application Programming Interface
<>
casting
UIPicker
18. 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
19. 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
20. 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
21. 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
22. Syntax for sending an object a message with no parameters
NeXSTEP
ption+Command+Return
[<object variable> <method name>];
casting
23. A unique combination of view controller and view
scene
y *= 5;
Jump Bar
detail disclosure
24. Class that builds upon another class
subclass
label.text=@'Hello World!';
alpha
conform
25. Recommended image type for button graphics
114 x 114
png
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
Cocoa Touch
26. A fully transparent image has an _____ property value of _____
NSURL
alpha ... 0
instantiate
Touch Up Inside
27. Allows you to easily track multiple versions of your project
==
ommand+Return
Snapshot feature
+
28. 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
NSMutableArray
workspace
control-dragging
label
29. File name suffix indicating an image is suitable for retina display
Instruments
NSObject
@2x
[<object variable> <method name>];
30. Framework used to write iPhone apps
Cocoa Touch
casting
Attributes Inspector
&&
31. 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
alpha
retain
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
nil
32. 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
33. The bar across the top of the Editor area that shows you the item you are editing
[[<class name> alloc] init];
casting
Jump Bar
x--;
34. Single line text field
[<object variable> <method name>: p1];
UITextField
Home button
double
35. Templates fill in a bunch of ______-_______ code that serves as a framework in which to write future implementations
boiler-plate
!
Size Inspector
UITextField
36. A virtual 'box' for organizing related projects
IBAction
boiler-plate
wrap
workspace
37. 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];
float
viewDidLoad
parameter
38. UI
NSURLRequest
Model-View-Controller
onscreen 'widgets' a user can interact with
User Interface
39. Scaling - rotation - and translation are the most commonly used manipulations supported by _____ transforms - but skewing is also possible.
<>
xcodeproj
User Interface
affine
40. What's the difference between Cocoa and Cocoa Touch?
NSArray
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
Object Library
NSString *userName;
41. Which Apple project template creates a simple view/view controller application
alpha
Single View Application
segmented control
%1.2f
42. iPhone and iPad ____ support .png transparency
==
instantiation
do not
Treats the field as a password - hiding each character as it is typed
43. Resembles a slot machine display
UIPicker
Size Inspector
do not
graduationParty ... addAttendee:withDish
44. Calling a method is the same as...
protocols
sending an object a message
id
workspace
45. Boolean for 'true' in Objective-C
'Software Development Kit'
boiler-plate
Jump Bar
YES
46. Character used to show an element as a literal string
hash
storyboards
ption+Command+Return
@
47. Key sequence to run an app in Xcode
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
Command+S
Command+R
instance variable
48. Syntax for reserving memory and initializing an object
instantiate
controller
!
[[<class name> alloc] init];
49. Indicates a lack of any value at all
@end
pipe
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
nil
50. In a stepper control - when this attribute option is checked - the stepper's value is automatically set to the minimum value when the maximum value is exceeded (or vice versa).
superclass
Determine how controls resize/reposition themselves when a device changes orientation
Nib (but a few call it 'zib' but that's not preferred)
wrap