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. This type of app is mostly custom controllers and graphics
immersive
UIViewController
IBAction)moveMe:(id)sender;
:
2. Master class in iOS
m
NSObject
h
header
3. Directive to include other interface files that an application might need to access
NSString *phrase = @'Hello World';
import
while(<boolean expression>){/*stuff to do here*/}
NSURLRequest
4. Syntax for reserving memory and initializing an object
bool
[[<class name> alloc] init];
Object-oriented programming
NSObject
5. Extension for implementation file
below
//blah blah blah
m
UIPicker
6. 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
header
320 x 480
rand( )%21
7. ______ and ______ define the connections between scenes.
void
Document Outline Area or Outline View
NO
Seques .... relationships
8. To use a new class you need to _____ it
instantiate
@synthesize
affine
Cocoa Touch
9. Attribute that informs the system that the object referred to needs to be kept around and not discarded from memory
1024 x 768
property list
graduationParty ... addAttendee:withDish
strong
10. 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
11. An _______ is used to enable your code to talk to objects within views
label
IBOutlet
Program received signal: EXC_BAD_ACCESS
parameter
12. What property needs to be set before a scroll view (UIScrollView) will scroll?
Object library
contentSize
Hold down the Option key and point to the other label. The distance will be shown
label.text=@'Hello World!';
13. 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
14. Extension for interface file
utility
The Console area of the Debug area
h
conform
15. The first method called when a user taps an application icon
Cocoa Touch - Media - Core Services - Core OS
main()
implementation file
controller
16. A tool in Xcode to help fix broken code
debugger
/*blah blah blah */
Snapshot feature
Jump Bar
17. Apps that provide easy access to a single screen of information with a backside view for modifying preferences
controller
Utility apps
NSDictionary
image view
18. File name suffix indicating an image is suitable for retina display
prototyping
Cocoa Touch
header
@2x
19. In the MVC design pattern for iOS apps - this aspect is responsible for receiving user input and acting accordingly - and serves as a 'bridge' between the other two components. It is the backbone of the app.
controller
while(<boolean expression>){/*stuff to do here*/}
instantiation
[<object variable> <method name>];
20. Two-way selection logic block
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
NO
Outlets ... pointer
Model-View-Controller
21. The HIG requires some kind of _____ element in a cell if there is more information available
protocols
disclosure
static
Cocoa Touch
22. Declaring a method in an interface file - before it is actually implemented is called _______ the method
casting
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
prototyping
onscreen 'widgets' a user can interact with
23. Every iOS application implements a subclass of _________
UIApplication
label.text=@'Hello World!';
Control-click on the View Controller's icon to bring up a Connections dialog
%
24. 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?
inspector and library
Human Interface Guide
instance variable
myImage@2x.png
25. Key sequence to run an app in Xcode
Command+R
Object library
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
*
26. The Inspector you would use to control your layout in Interface Builder
Size Inspector
graduationParty ... addAttendee:withDish
Option-click a symbol
UITextView
27. Closes an interface file
@end
attributes
Single View Application
Control-click on the View Controller's icon to bring up a Connections dialog
28. Symbol used for inheritance
inspector and library
IBAction
:
!=
29. Calling a method is the same as...
2
YES
sending an object a message
Objective-C
30. Class that creates an array capable of being changed after it is create
Determine how controls resize/reposition themselves when a device changes orientation
NSMutableArray
NSString
Snapshot feature
31. UI
proxy
count++;
User Interface
@
32. The ________ class provided a container for the management and display of views
UIWindow
png
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
conform
33. Class of collection data type which stores information as object/key pairs
bool
NSDictionary
[myLabel setText:@'Howdy'];
static
34. @property directives should be placed ____ (above or below) any IBActions in the header file
png
above
UIViewController
scene
35. IDE for iPhone Development
Xcode
count++;
Collections
NSLog
36. API
double
[myLabel setText:@'Howdy'];
#import 'myFile.h'
Application Programming Interface
37. 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.
Commmand-R
alpha
modal
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
38. Postcondition repetition structure syntax
NSLog
main()
do{/*stuff to do here*/}while(<boolean expression>);
graduationParty ... addAttendee:withDish
39. A file folder in the navigator panel is called a ________
instantiation
mutators
Cocoa Touch - Media - Core Services - Core OS
Group
40. Implements a logical OR condition
/*blah blah blah */
Double-click
Document Outline Area or Outline View
||
41. Always used to end the list of objects when initializing an array
nil
iOS Simulator
[[<class name> alloc] init];
To provide a convenient way of setting the button's title in the code
42. To zoom between an overview of the entire storyboard and the actual size view - ______ the storyboard background.
debugger
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
Double-click
CGAffineTransform
43. Data type for true/false type variables
while(<boolean expression>){/*stuff to do here*/}
Option+Command+4
implicitly declare a matching instance variable
bool
44. To unroll or roll up a hierarchy of files - objects or classes - you click the ______ _______ at the root element
while(<boolean expression>){/*stuff to do here*/}
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
disclosure triangle
+
45. Write a line of code creating a pointer to a wall paper image called 'wp1' that refers to a resource in an app with the file name 'wallPaper_01.png'
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
46. The files that contain all the scenes you will use in a project.
protocols
NSLog
storyboards
Seques .... relationships
47. 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
48. Multiline text entry block
bool
nonatomic
UITextView
UIWindow
49. Allows you to easily track multiple versions of your project
protocols
Snapshot feature
interface and implementation files
[<object variable> <method name>: p1];
50. Shortcut for writing: x = x - 1;
x--;
#import 'myFile.h'
storyboard
YES