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. 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).
Touch Up Inside
retain
wrap
rand( )%21
2. Delimiter for a list of protocols
NSMutableString
Document Outline Area or Outline View
contentSize
<>
3. Recommended image type for button graphics
png
header
while(<boolean expression>){/*stuff to do here*/}
NSObject
4. 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
5. 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
6. The name of the panel to the left of the Interface Builder Editor panel
UIWindow
storyboard
Document Outline Area or Outline View
YES
7. Attribute that informs the system that the object referred to needs to be kept around and not discarded from memory
Xcode
contentSize
strong
controller
8. getters
NSObject
static
*
accessors
9. What's the difference between Cocoa and Cocoa Touch?
nibfile
affine
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
Object library
10. Key sequence to hide/show Utilities View
eXtensible Markup Language
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
NSMutableString
Option+Command+ 0
11. 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.
myImage@2x.png
UIViewController
modal
ommand+Return
12. setters
@end
nil
Control-click on the View Controller's icon to bring up a Connections dialog
mutators
13. If you wish to 'echo print' breadcrumb info as you develop your app - this panel must be visible
hasShrunk==YES && hasMoved == YES
The Console area of the Debug area
below
First Responder
14. Symbol often denoting a 'pointer'
alpha ... 0
Object library
@end
*
15. To unroll or roll up a hierarchy of files - objects or classes - you click the ______ _______ at the root element
To provide a convenient way of setting the button's title in the code
float
disclosure triangle
h
16. The first method called when a user taps an application icon
@
*
main()
Outlets ... pointer
17. You have an instance variable called 'myLabel' that is a member of UILabel. In an app - you set it's text property to 'Howdy' with the correctly-written command: myLabel.text = @'Howdy'; Re-write this command using [ ] message-sending syntax
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
18. What property needs to be set before a scroll view (UIScrollView) will scroll?
controller
interface and implementation files
nonatomic
contentSize
19. This keyword in the property directive is related to the concept of mutability and basically asks Apple to handle the details. This is the more 'relaxed' - less 'powerful' setting of two possibilities
//blah blah blah
To provide a convenient way of setting the button's title in the code
nonatomic
Single View Application
20. strong and nonatomic are examples of ...
NSArray
To provide a convenient way of setting the button's title in the code
attributes
x--;
21. The 'First Responder' in a scene is not an object it is considered a ________
&&
model
png
proxy
22. Tests to see whether two values are equal
==
NSURL
nonatomic
57 x 57
23. OOP
Single View Application
nil
Object-oriented programming
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
24. Class that builds upon another class
xcodeproj
model
subclass
pipe
25. @synthesize directives should be placed _____ (above or below) the @implementation directive in the implementation file
below
void
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
scene
26. RAM for iPhone
512MB
Cocoa Touch
NSDate
main()
27. Class used to work with dates as objects
png
NSObject
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
NSDate
28. Extension for implementation file
m
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
NSString *userName;
IBAction)moveMe:(id)sender;
29. Purpose of the 'Auto-enable Return Key' attribute for text fields
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
NSObject
accessible apps
pound
30. The HIG requires some kind of _____ element in a cell if there is more information available
storyboard
UIImageView
Model-View-Controller
disclosure
31. Process of creating an active object from a class
To provide a convenient way of setting the button's title in the code
instantiation
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
NSString
32. ______ and ______ define the connections between scenes.
bool
Nib (but a few call it 'zib' but that's not preferred)
Seques .... relationships
parameter
33. Every iOS application implements a subclass of _________
57 x 57
UIApplication
hasShrunk==YES && hasMoved == YES
Control-click on the View Controller's icon to bring up a Connections dialog
34. Given: #import <UIKit/UIKit.h> @interface WelcomeViewController : UIViewController @end The superclass for WelcomeViewController
Classes
UIViewController
wrap
Scheme
35. A common button type that indicates additional information is available
IBOutlet
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
eXtensible Markup Language
detail disclosure
36. Size of iPhone 'lo-res' icon image in pixels
Group
57 x 57
Attributes Inspector
C
37. 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
%1.2f
instantiation
control-dragging
UIImageView
38. 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
39. Another name for a 'button bar'
h
Application Programming Interface
eXtensible Markup Language
segmented control
40. This element should 'always' accompany a slider to indicate its purpose
Model-View-Controller
label
Model-View-Controller
segmented control
41. An example of a common collection data type
Commmand-R
NSMutableArray
NSArray
casting
42. This file contains the code that makes everything 'work'
Cocoa Touch
implementation file
token
@
43. Something the simulator cannot reliably test
subclass
&&
Identity Inspector
performance
44. A tool in Xcode to help fix broken code
Attributes Inspector
float
debugger
NSURL
45. Precondition repetition structure syntax
Isolate the functional components of an app
while(<boolean expression>){/*stuff to do here*/}
[myLabel setText:@'Howdy'];
protocols
46. Apple's classes often provide a special initialization method called a _____ method
@2x
performance
convenience
nested message send
47. Another name for format specification
nonatomic
y *= 5;
token
UITextField
48. Memory aid for keyboard shortcuts in the Navigator panel
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
49. Return type indicating a method returns nothing
nonatomic
wrap
Cocoa Touch
void
50. @property directives should be placed ____ (above or below) any IBActions in the header file
Command+0
xcodeproj
above
nonatomic