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. Scaling factor to make an image suitable for retina display
2
label
NSString
affine
2. A class that manages the user's interaction with the iDevice
IBOutlet
parameter
view controller
Outlets ... pointer
3. In the UK - the '#' symbol is often called the ____ symbol
interface file
hash
nibfile
IBAction
4. Key sequence to hide/show Navigator View
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
Hold down the Option key and point to the other label. The distance will be shown
pipe
Command+0
5. 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
view controller
retain
NSLog
segmented control
6. Scaling - rotation - and translation are the most commonly used manipulations supported by _____ transforms - but skewing is also possible.
affine
Utility apps
eXtensible Markup Language
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
7. Delimiter for a list of protocols
<>
<type> <variableName>;
Object library
scene
8. Defines what an object can do
xcodeproj
[myLabel setText:@'Howdy'];
class
superclass
9. setters
57 x 57
[myLabel setText:@'Howdy'];
mutators
attributes
10. Shortcut for writing: y = y * 5;
NSObject
sending an object a message
y *= 5;
Isolate the functional components of an app
11. Size of iPhone retina icon image in pixels
114 x 114
NO
instantiate
ommand+Return
12. Denotes a class method
+
IBAction
scene
view controller
13. Class used to work with dates as objects
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
UITextField
Object-oriented programming
NSDate
14. Extension for interface file
stub
To provide a convenient way of setting the button's title in the code
57 x 57
h
15. This file contains the code that makes everything 'work'
Control-click on the View Controller's icon to bring up a Connections dialog
implementation file
Outlets ... pointer
57 x 57
16. A view that is displayed on top of an original view when user interactions are required
'Software Development Kit'
modal views
UIWindow
Cocoa Touch - Media - Core Services - Core OS
17. What property needs to be set before a scroll view (UIScrollView) will scroll?
@synthesize directive
Object library
*
contentSize
18. Declare and initialize a string that says: 'Hello World' whose identifier if 'phrase' . Use the shortest command possible.
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
19. Opens the Xcode Quick Help Assistant
NSLog(@'%s' - __FUNCTION__);
modal
Option-click a symbol
Control-click on the View Controller's icon to bring up a Connections dialog
20. Syntax for declaring a string called 'userName'
*
-
NSString *userName;
Actions
21. Syntax for sending an object a message with no parameters
To provide a convenient way of setting the button's title in the code
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
[<object variable> <method name>];
IBAction
22. Boolean for 'false' in Objective-C
NO
mutators
png
IBOutlet
23. Purpose of 'Secure' attribute for text fields
interface and implementation files
2
Treats the field as a password - hiding each character as it is typed
wrap
24. @synthesize directives should be placed _____ (above or below) the @implementation directive in the implementation file
Actions
Utility apps
below
NSURLRequest
25. Term used to describe each screen of an iPhone app
control-dragging
view
UIImageView
class
26. Typical header syntax for a button that will be applying the 'moveMe' action in an app
model
casting
Object library
IBAction)moveMe:(id)sender;
27. The Utilities area has two sections: ______ and ______
do not
storyboards
main()
inspector and library
28. Attribute that informs the system that the object referred to needs to be kept around and not discarded from memory
UIViewController
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
Objective-C
strong
29. This type of app is mostly custom controllers and graphics
@synthesize directive
immersive
CGAffineTransform
YES
30. Implements a logical OR condition
instance variable
double
instantiation
||
31. 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];
label
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
parameter
32. Data type for numbers with 'tame' numbers of decimal points
Object Library
float
Cocoa Touch - Media - Core Services - Core OS
NSObject
33. In the US - the '#' symbol is often called the ____ symbol
@
Object library
pound
web view
34. Key sequence on a Mac to select between open application
disclosure triangle
Program received signal: EXC_BAD_ACCESS
storyboard
Command + Tab
35. The files that contain all the scenes you will use in a project.
@end
performance
storyboards
affine
36. To unroll or roll up a hierarchy of files - objects or classes - you click the ______ _______ at the root element
disclosure triangle
/*blah blah blah */
UITextField
Collections
37. A class that implements a protocol is said to ____ to that protocol
conform
Application Programming Interface
Cocoa Touch - Media - Core Services - Core OS
Home button
38. Key sequence to hide/show Utilities View
alpha ... 0
Option+Command+ 0
subclass
UIWindow
39. Language used to write iOS apps
CGAffineTransform
Objective-C
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
float
40. How do you get rid of an onscreen keyboard?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
41. The ________ class provided a container for the management and display of views
convenience
y *= 5;
UIWindow
disclosure triangle
42. Syntax for sending an object a message with one parameter (p1)
storyboard
do not
float
[<object variable> <method name>: p1];
43. Shortcut for writing: x = x - 1;
segmented control
Snapshot feature
x--;
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
44. SDK
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
45. Directive to include other interface files that an application might need to access
NSDate
Integrated Development Environment
#import 'myFile.h'
import
46. Given: #import <UIKit/UIKit.h> @interface WelcomeViewController : UIViewController @end The superclass for WelcomeViewController
UIViewController
Application Programming Interface
m
First Responder
47. Negation symbol
Group
disclosure
hash
!
48. Key sequence to open the Attributes Inspector
controller
storyboards
instance variable
Option+Command+4
49. OOP
Object-oriented programming
protocols
NSObject
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.
50. Way to refer to an object within its own methods
graduationParty ... addAttendee:withDish
self
#import 'myFile.h'
affine