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. Process of creating an active object from a class
IBAction)moveMe:(id)sender;
Object library
instantiation
NSString
2. Write a statement to declare and initialize a label object called 'myLabel'
Utility apps
UILabel *myLabel = [[UILabel alloc] init];
Application Programming Interface
protocols
3. 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
4. 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];
instance variable
retain - release - dealloc - autorelease
IBAction
5. Companion to the @property directive
@synthesize
below
IBAction
NSObject
6. 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
7. Used to indicate any type of object
accessors
bool
affine
id
8. Directive to include other interface files that an application might need to access
utility
viewDidLoad
nil
import
9. Scaling factor to make an image suitable for retina display
YES
2
Control-click on the View Controller's icon to bring up a Connections dialog
count++;
10. Scaling - rotation - and translation are the most commonly used manipulations supported by _____ transforms - but skewing is also possible.
affine
//blah blah blah
accessible apps
implementation file
11. A class that implements a protocol is said to ____ to that protocol
IBOutlet
conform
IBAction
Command+S
12. Syntax for sending an object a message with no parameters
implicitly declare a matching instance variable
UIPicker
[<object variable> <method name>];
Command+0
13. Defines the functional building blocks (classes) that make iOS devices perform certain actions
UILabel *myLabel = [[UILabel alloc] init];
IBOutlet
NSObject
Cocoa Touch
14. The Round Rect Button is found in this library
UIPicker
NSString *userName;
Object Library
performance
15. Calling a method is the same as...
IBOutlet
variable
sending an object a message
h
16. What event do you use to detect a button tap?
modal views
nil
Touch Up Inside
wrap
17. IB
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
18. Two-way selection logic block
productivity
==
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
strong
19. Dimensions of iPhone (in points)
320 x 480
#import <UIKIT/UIKIT.h>
Home button
@synthesize directive
20. Another name for a 'button bar'
'Interface Builder'
Option+Command+4
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
segmented control
21. The Utilities area has two sections: ______ and ______
protocols
UIViewController
inspector and library
!=
22. Purpose of 'Secure' attribute for text fields
implicitly declare a matching instance variable
Treats the field as a password - hiding each character as it is typed
UIWindow
disclosure
23. Class that builds upon another class
subclass
Determine how controls resize/reposition themselves when a device changes orientation
accessible apps
Option+Command+ 0
24. Class used for image manipulations such as scaling - rotation and translation. Its data structure represents a matrix used for affine transformations.
static
NSMutableString
CGAffineTransform
Single View Application
25. Boolean for 'false' in Objective-C
512MB
self
NO
*
26. Closes an interface file
Command + Tab
C
instantiate
@end
27. Data type for true/false type variables
Cocoa Touch
bool
Double-click
NSLog(@'%s' - __FUNCTION__);
28. Method used to print information in an output panel
Outlets ... pointer
NSLog
self
<type> <variableName>;
29. Declaring a method in an interface file - before it is actually implemented is called _______ the method
accessors
CGAffineTransform
nonatomic
prototyping
30. Key sequence to hide/show Utilities View
int
casting
Integrated Development Environment
Option+Command+ 0
31. Master class in iOS
UIWindow
NSObject
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
subclass
32. Class that allows URL management
prototyping
NSURL
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
protocols
33. Key sequence to hide/show Navigator View
Utility apps
@synthesize
NSMutableArray
Command+0
34. Other name for an *.xib file
Cocoa Touch
nibfile
IBOutlet
To provide a convenient way of setting the button's title in the code
35. The Inspector you would access to gain access to various accessibility attributes
superclass
Identity Inspector
UITextView
114 x 114
36. 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?
Objective-C
myImage@2x.png
@
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
37. _____ are methods that we can connect to events.
affine
Actions
above
IBAction
38. Formatting placeholder for strings
%@
'Interface Builder'
nested message send
<type> <variableName>;
39. An _______ is used to enable your code to talk to objects within views
Command + Tab
image view
IBOutlet
modal views
40. Fixed iteration repetition control structure syntax
conform
immersive
UIWindow
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
41. Piece of information provided to a method when it is messaged
NSString
Utility apps
@
parameter
42. getters
h
view
accessors
IBAction
43. The first method called when a user taps an application icon
main()
Option-click a symbol
property list
Object library
44. A file folder in the navigator panel is called a ________
UILabel *myLabel = [[UILabel alloc] init];
Group
UIViewController
NSObject
45. A unique combination of view controller and view
above
interface file
hasShrunk==YES && hasMoved == YES
scene
46. 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).
wrap
Model-View-Controller
@
Treats the field as a password - hiding each character as it is typed
47. Class of collection data type which stores information as object/key pairs
id
h
NSDictionary
1024 x 768
48. What are the guidelines for the class prefix for a project?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
49. Formatting placeholder for a floating point value with one digit on the left of the decimal and two digits on the right
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
casting
Objective-C
%1.2f
50. Used to receive an event in code and trigger something
Nib (but a few call it 'zib' but that's not preferred)
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
IBAction
&&