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. Implements a logical AND condition
NSArray
boiler-plate
pipe
&&
2. The Inspector you would use to control your layout in Interface Builder
Collections
myImage@2x.png
Option+Command+ 0
Size Inspector
3. IDE for iPhone Development
storyboards
<type> <variableName>;
pipe
Xcode
4. Shortcut for writing: x = x - 1;
x--;
nil
NSMutableArray
storyboard
5. Declaring a method in an interface file - before it is actually implemented is called _______ the method
Isolate the functional components of an app
prototyping
320 x 480
NSMutableArray
6. 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
YES
model
IBAction
parameter
7. Creates 'getters' and 'setters'
Utility apps
512MB
m
@synthesize directive
8. 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?
affine
NSString
Hold down the Option key and point to the other label. The distance will be shown
Size Inspector
9. Combining two messages into a single line of code
nested message send
hash
boiler-plate
320 x 480
10. The name of the panel to the left of the Interface Builder Editor panel
alpha
Cocoa Touch
Document Outline Area or Outline View
Jump Bar
11. ______ enable applications to store multiple pieces of information in a single object
class
Collections
com.basicversity
'Interface Builder'
12. Defines the functional building blocks (classes) that make iOS devices perform certain actions
NSString *userName;
Cocoa Touch
x--;
Commmand-R
13. Implements a logical OR condition
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
||
hasShrunk==YES && hasMoved == YES
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
14. For a text field - what does the 'Clear Button' look like?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
15. The library that contains the objects you can add to a view or XIB file
Object library
%d
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
%
16. Indicates a lack of any value at all
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
Attributes Inspector
nil
nibfile
17. Key sequence to hide/show the Assistant Editor
Utility apps
YES
ption+Command+Return
//blah blah blah
18. This element should 'always' accompany a slider to indicate its purpose
label
implementation file
[<object variable> <method name>];
graduationParty ... addAttendee:withDish
19. Something the simulator cannot reliably test
iOS Simulator
Gray circle with a white 'X' in it - positioned to the right of the text field box
NSDate
performance
20. IDE
attributes
Integrated Development Environment
<type> <variableName>;
rand( )%21
21. Although it is possible to declare an instance variable and then define a corresponding property - you may also use @property alone to...
UIPicker
Outlets ... pointer
implicitly declare a matching instance variable
Touch Up Inside
22. Formatting placeholder for strings
Model-View-Controller
-
%@
viewDidLoad
23. This file contains the scene - segue and relationship definitions for your project
onscreen 'widgets' a user can interact with
storyboard
Gray circle with a white 'X' in it - positioned to the right of the text field box
IBOutlet
24. 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
25. Multiline text entry block
The Console area of the Debug area
header
Cocoa Touch
UITextView
26. A common button type that indicates additional information is available
NO
detail disclosure
C
!
27. 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
28. Another name for a 'button bar'
segmented control
retain
NSLog(@'%s' - __FUNCTION__);
Cocoa Touch
29. Class that creates an array capable of being changed after it is create
NSMutableArray
m
Seques .... relationships
while(<boolean expression>){/*stuff to do here*/}
30. Templates fill in a bunch of ______-_______ code that serves as a framework in which to write future implementations
320 x 480
subclass
'Software Development Kit'
boiler-plate
31. Used to test an app without needing an actual physical device
debugger
<>
iOS Simulator
Object-oriented programming
32. A view that is displayed on top of an original view when user interactions are required
!=
modal views
inspector and library
Actions
33. Single line text field
UITextField
<type> <variableName>;
Utility apps
Collections
34. 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
35. Which Apple project template creates a simple view/view controller application
Single View Application
Command+1
NSString *userName;
Double-click
36. 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
37. A class that implements a protocol is said to ____ to that protocol
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.
nonatomic
Option-click a symbol
conform
38. Data type for numbers with 'tame' numbers of decimal points
UIPicker
float
NSLog(@'%s' - __FUNCTION__);
Program received signal: EXC_BAD_ACCESS
39. Syntax for sending an object a message with one parameter (p1)
Xcode
[<object variable> <method name>: p1];
int
nested message send
40. Syntax to include UIKIT in a class
y *= 5;
#import <UIKIT/UIKIT.h>
Object-oriented programming
segmented control
41. Given: #import <UIKit/UIKit.h> @interface WelcomeViewController : UIViewController @end The superclass for WelcomeViewController
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
UIViewController
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
NSLog
42. strong and nonatomic are examples of ...
x--;
pipe
attributes
alpha ... 0
43. The ________ class provided a container for the management and display of views
UIWindow
nonatomic
casting
YES
44. To unroll or roll up a hierarchy of files - objects or classes - you click the ______ _______ at the root element
//blah blah blah
implementation file
disclosure triangle
The Console area of the Debug area
45. OOP
:
Group
Object-oriented programming
utility
46. This type of app typically involves hierarchical data
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
512MB
Gray circle with a white 'X' in it - positioned to the right of the text field box
productivity
47. getters
%1.2f
accessors
int
main()
48. Resembles a slot machine display
[[<class name> alloc] init];
NSDictionary
stub
UIPicker
49. 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
50. Language used to write iOS apps
Objective-C
productivity
x--;
do not