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. Class of collection data type which stores information as object/key pairs
114 x 114
NSDictionary
[<object variable> <method name>];
model
2. Used to receive an event in code and trigger something
User Interface
instantiation
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
IBAction
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. Write a statement to declare and initialize a label object called 'myLabel' to 'GO!'
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
5. Size of iPhone 'lo-res' icon image in pixels
image view
static
57 x 57
@synthesize directive
6. OOP
y *= 5;
Utility apps
Object-oriented programming
instantiation
7. You have two labels in Interface Builder. One is selected (You clicked on it). How can you tell the distance between it and the other label?
header
Hold down the Option key and point to the other label. The distance will be shown
Model-View-Controller
+
8. Although it is possible to declare an instance variable and then define a corresponding property - you may also use @property alone to...
control-dragging
storyboard
%
implicitly declare a matching instance variable
9. 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
10. The object currently in control and interacting with the user
ommand+Return
NSString
Object-oriented programming
First Responder
11. Extension for an iPhone/iPad app
//blah blah blah
xcodeproj
-
Single View Application
12. Formatting placeholder for strings
<type> <variableName>;
'Software Development Kit'
!=
%@
13. 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
14. Creates 'getters' and 'setters'
@synthesize directive
Command+1
retain - release - dealloc - autorelease
/*blah blah blah */
15. @synthesize directives should be placed _____ (above or below) the @implementation directive in the implementation file
57 x 57
below
count++;
#import 'myFile.h'
16. 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
NSMutableString
Scheme
/*blah blah blah */
retain
17. In the US - the '#' symbol is often called the ____ symbol
parameter
pound
retain
image view
18. 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
19. This type of app is typically one screen - and gives you the basics with minimal interaction
UITextView
Jump Bar
scene
utility
20. Scaling factor to make an image suitable for retina display
below
disclosure triangle
h
2
21. What type of object does a web view expect as a parameter when loading a remote URL?
storyboard
NSURLRequest
attributes
!
22. Crash statement likely when an NSString is assigned a value with an incorrect format
Program received signal: EXC_BAD_ACCESS
Size Inspector
workspace
@2x
23. Boolean for 'true' in Objective-C
&&
YES
#import 'myFile.h'
class
24. These define to which messages the datasource and delegate respond
protocols
%
view
attributes
25. Objective-C is an extension (super set) of...
main()
h
C
inspector and library
26. The ________ class provided a container for the management and display of views
Isolate the functional components of an app
attributes
@synthesize directive
UIWindow
27. Apps that provide easy access to a single screen of information with a backside view for modifying preferences
parameter
NSString *phrase = @'Hello World';
Utility apps
Touch Up Inside
28. Companion to the @property directive
@synthesize
Document Outline Area or Outline View
hash
retain
29. In the MVC design pattern for iOS apps - this aspect provides the underlying data and methods that offer information to the rest of the application
Snapshot feature
model
To provide a convenient way of setting the button's title in the code
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
30. Used to display image file resources and show simple animations
inspector and library
*
image view
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
31. XML
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.
eXtensible Markup Language
modal
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
32. A unique combination of view controller and view
scene
view controller
count++;
Control-click on the View Controller's icon to bring up a Connections dialog
33. Name of the '|' symbol
com.basicversity
pipe
detail disclosure
Option+Command+4
34. A common button type that indicates additional information is available
XML
stub
Group
detail disclosure
35. Key sequence to save an Xcode file
#import 'myFile.h'
Command+S
float
switch
36. The Inspector you would access to gain access to various accessibility attributes
UIWindow
320 x 480
<type> <variableName>;
Identity Inspector
37. The HIG requires some kind of _____ element in a cell if there is more information available
viewDidLoad
Integrated Development Environment
disclosure
hash
38. 'plist' stands for...
property list
nil
UILabel *myLabel = [[UILabel alloc] init];
implicitly declare a matching instance variable
39. Denotes an instance method
@synthesize
Utility apps
-
'Software Development Kit'
40. The 'First Responder' in a scene is not an object it is considered a ________
Option+Command+ 0
proxy
IBOutlet
NeXSTEP
41. Calling a method is the same as...
Identity Inspector
sending an object a message
UIPicker
disclosure
42. 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
43. UI
alpha
User Interface
do{/*stuff to do here*/}while(<boolean expression>);
UIWindow
44. Defines what an object can do
+
ommand+Return
do not
class
45. Denotes a class method
+
IBOutlet
Identity Inspector
do{/*stuff to do here*/}while(<boolean expression>);
46. An _______ is used to 'advertise' a method in your code that should be called when a certain event takes place
!=
IBAction
Objective-C
protocols
47. A skeleton (holding place) or framework of code that will be completed in the future; provided initially so code will compile (but it may not function)
Size Inspector
stub
performance
modal views
48. Return type indicating a method returns nothing
320 x 480
Home button
void
//blah blah blah
49. Class that creates an array capable of being changed after it is create
[<object variable> <method name>: p1];
User Interface
implicitly declare a matching instance variable
NSMutableArray
50. 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