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. If a method name includes a colon (:) this indicates a required _________
First Responder
parameter
@
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
2. API
storyboard
nonatomic
Application Programming Interface
nonatomic
3. Precondition repetition structure syntax
view
NSMutableArray
[<object variable> <method name>];
while(<boolean expression>){/*stuff to do here*/}
4. UI
Single View Application
User Interface
YES
NSDictionary
5. Storage location for a piece of information
variable
NSDictionary
UIWindow
hash
6. Data type for whole numbers
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
Object Library
int
inspector and library
7. 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
8. Defines what an object can do
class
detail disclosure
eXtensible Markup Language
token
9. Files used to create a class
instance variable
interface and implementation files
parameter
protocols
10. Name of the '|' symbol
Option+Command+ 0
pipe
:
iOS Simulator
11. 'Build and run' keyboard shortcut
image view
sending an object a message
com.basicversity
Commmand-R
12. Extension for an iPhone/iPad app
xcodeproj
wrap
[<object variable> <method name>];
accessors
13. A virtual 'box' for organizing related projects
import
detail disclosure
workspace
parameter
14. Modulus (remainder) operator
sending an object a message
NSArray
%
prototyping
15. Calling a method is the same as...
Cocoa Touch
[[<class name> alloc] init];
sending an object a message
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
16. IDE for iPhone Development
class
Attributes Inspector
Xcode
switch
17. OOP
subclass
header
Object-oriented programming
<type> <variableName>;
18. Boolean for 'true' in Objective-C
YES
UILabel *myLabel = [[UILabel alloc] init];
Objective-C
viewDidLoad
19. What event do you use to detect a button tap?
@synthesize directive
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
Touch Up Inside
+
20. Syntax for block-comment
IBOutlet
class
/*blah blah blah */
@
21. The files that contain all the scenes you will use in a project.
x--;
float
1024 x 768
storyboards
22. getters
ption+Command+Return
nil
accessors
57 x 57
23. ______ enable applications to store multiple pieces of information in a single object
Collections
storyboard
label
NSDictionary
24. 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
25. A class that manages the user's interaction with the iDevice
view controller
strong
void
UIImageView
26. Process of creating an active object from a class
NSDictionary
Xcode
Size Inspector
instantiation
27. IDE
@synthesize directive
stub
Integrated Development Environment
@end
28. Companion to the @property directive
protocols
performance
rand( )%21
@synthesize
29. In your implementation file - the _____ method (provided in stub form by Apple) runs after machine language code reserves some space in memory for your View. This method is often used to create a 'clean slate' as an app opens.
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
segmented control
scene
viewDidLoad
30. Allows you to easily track multiple versions of your project
Snapshot feature
switch
NSURL
Double-click
31. Method used to print information in an output panel
NSLog
C
controller
header
32. 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.
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
UIApplication
sending an object a message
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
33. Extension for MainStoryboard
storyboard
do{/*stuff to do here*/}while(<boolean expression>);
C
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
34. Consider: int x = 6;int y = 7;float quotient = (float) x/y;The statement that creates the variable 'quotient' is an example of ...
float
utility
+
casting
35. setters
57 x 57
mutators
Object library
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
36. Alternative selection mechanism when many conditions exist
parameter
instance variable
switch
subclass
37. Syntax for sending an object a message with one parameter (p1)
graduationParty ... addAttendee:withDish
implementation file
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
[<object variable> <method name>: p1];
38. MVC
Outlets ... pointer
Model-View-Controller
320 x 480
Command + Tab
39. You have created some 'breadcrumbs' using NSLog to trace the path of your code - and the debug area is open - yet you see no information in the panel. What's the problem and what is the solution?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
40. Used to indicate any type of object
id
label
UIImageView
NSString *phrase = @'Hello World';
41. Used to test an app without needing an actual physical device
Document Outline Area or Outline View
UITextView
Command+S
iOS Simulator
42. Recommended image type for button graphics
png
C
do not
instantiation
43. Dimensions of iPad (in points)
Option-click a symbol
switch
Option+Command+ 0
1024 x 768
44. What type of object does a web view expect as a parameter when loading a remote URL?
Determine how controls resize/reposition themselves when a device changes orientation
NSURLRequest
@end
Option+Command+ 0
45. What computer language is the storyboard written in?
accessible apps
==
XML
label
46. Implements a logical AND condition
NSURLRequest
&&
y *= 5;
NSLog(@'%s' - __FUNCTION__);
47. Way to refer to an object within its own methods
utility
strong
self
Object-oriented programming
48. The Inspector you will need if you want to connect a custom class to an object in Interface Builder
wrap
NSMutableArray
Identity Inspector
self
49. File name suffix indicating an image is suitable for retina display
Snapshot feature
NSDictionary
NSObject
@2x
50. To unroll or roll up a hierarchy of files - objects or classes - you click the ______ _______ at the root element
[myLabel setText:@'Howdy'];
disclosure triangle
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];