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. Data type for whole numbers
int
instantiate
NSLog
NSDate
2. Although it is possible to declare an instance variable and then define a corresponding property - you may also use @property alone to...
implicitly declare a matching instance variable
#import <UIKIT/UIKIT.h>
instantiate
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
3. A view that is displayed on top of an original view when user interactions are required
Xcode
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
modal views
ption+Command+Return
4. Word used to indicate that a user can't interact with a given element
hasShrunk==YES && hasMoved == YES
Cocoa Touch
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
static
5. Every iOS application implements a subclass of _________
Seques .... relationships
UIApplication
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
[[<class name> alloc] init];
6. Opens the Xcode Quick Help Assistant
instance variable
Instruments
UIWindow
Option-click a symbol
7. Collection of interface elements and data storage elements etc you can access from your applications
com.basicversity
IBAction
Cocoa Touch
%
8. Memory aid for keyboard shortcuts in the Navigator panel
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
9. Fixed iteration repetition control structure syntax
Option+Command+ 0
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
IBAction)moveMe:(id)sender;
NeXSTEP
10. Single line text field
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
Treats the field as a password - hiding each character as it is typed
UITextField
Size Inspector
11. 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
12. Companion to the @property directive
view controller
instantiate
@synthesize
h
13. You have an instance variable called 'myLabel' that is a member of UILabel. In an app - you set it's text property to 'Howdy' with the correctly-written command: myLabel.text = @'Howdy'; Re-write this command using [ ] message-sending syntax
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
14. Used to test an app without needing an actual physical device
@
iOS Simulator
performance
Object library
15. In the UK - the '#' symbol is often called the ____ symbol
/*blah blah blah */
instantiate
Option-click a symbol
hash
16. The '@' symbol is shorthand for creating one of these
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
Option-click a symbol
NSString
switch
17. Multiline text entry block
UITextView
NeXSTEP
implementation file
instance variable
18. Used to receive an event in code and trigger something
import
y *= 5;
Home button
IBAction
19. Tests to see whether two values are not equal
//blah blah blah
!=
114 x 114
iOS Simulator
20. A virtual 'box' for organizing related projects
Application Programming Interface
inspector and library
Double-click
workspace
21. A class that manages the user's interaction with the iDevice
view controller
main()
UITextView
do{/*stuff to do here*/}while(<boolean expression>);
22. Formatting placeholder for a floating point value with one digit on the left of the decimal and two digits on the right
accessors
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
[<object variable> <method name>];
%1.2f
23. Defines what an object can do
class
*
retain - release - dealloc - autorelease
instance variable
24. Key sequence to open the Standard Editor
ommand+Return
Identity Inspector
[myLabel setText:@'Howdy'];
First Responder
25. Modulus (remainder) operator
@2x
%
boiler-plate
Object Library
26. Connections between Objects in the Interface Builder and the header file are formed by _____-_______ from the object to the proper place in the header file
disclosure triangle
control-dragging
self
UITextField
27. To use a new class you need to _____ it
//blah blah blah
IBAction
instantiate
switch
28. 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
29. 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
30. Given: #import <UIKit/UIKit.h> @interface WelcomeViewController : UIViewController @end The superclass for WelcomeViewController
UIViewController
m
Attributes Inspector
float
31. Class that builds upon another class
nil
NSMutableString
[[<class name> alloc] init];
subclass
32. File name suffix indicating an image is suitable for retina display
Command+S
com.basicversity
alpha ... 1
@2x
33. The bar across the top of the Editor area that shows you the item you are editing
First Responder
NSDictionary
Jump Bar
[myLabel setText:@'Howdy'];
34. This type of app typically involves hierarchical data
productivity
web view
IBAction
debugger
35. Directive to include other interface files that an application might need to access
bool
Identity Inspector
import
Double-click
36. The ________ class provided a container for the management and display of views
NSURLRequest
UIWindow
@
Control-click on the View Controller's icon to bring up a Connections dialog
37. Write a statement to declare and initialize a label object called 'myLabel'
UILabel *myLabel = [[UILabel alloc] init];
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
NSMutableArray
static
38. ______ enable applications to store multiple pieces of information in a single object
Xcode
Collections
proxy
%@
39. 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.
@synthesize
controller
casting
float
40. 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
41. 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?
Attributes Inspector
alpha ... 0
Touch Up Inside
Hold down the Option key and point to the other label. The distance will be shown
42. A ______ is where you edit a view and assign a controller to it.
scene
protocols
UILabel *myLabel = [[UILabel alloc] init];
Single View Application
43. getters
accessors
Gray circle with a white 'X' in it - positioned to the right of the text field box
float
accessible apps
44. The Inspector you will need if you want to connect a custom class to an object in Interface Builder
Objective-C
NSMutableArray
Identity Inspector
#import <UIKIT/UIKIT.h>
45. What property needs to be set before a scroll view (UIScrollView) will scroll?
contentSize
superclass
<type> <variableName>;
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
46. 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
47. API
Application Programming Interface
contentSize
Model-View-Controller
image view
48. Term used to describe each screen of an iPhone app
view
token
nested message send
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
49. ______ and ______ define the connections between scenes.
ption+Command+Return
Jump Bar
Seques .... relationships
-
50. Formatting placeholder for strings
XML
2
switch
%@