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. 'Build and run' keyboard shortcut
ommand+Return
Commmand-R
==
web view
2. @synthesize directives should be placed _____ (above or below) the @implementation directive in the implementation file
'Software Development Kit'
while(<boolean expression>){/*stuff to do here*/}
Seques .... relationships
below
3. Key sequence to hide/show Navigator View
Command+0
token
performance
Option-click a symbol
4. To use a new class you need to _____ it
instantiation
scene
instantiate
UITextView
5. 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?
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
Xcode
+
myImage@2x.png
6. Syntax to include UIKIT in a class
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
modal views
inspector and library
#import <UIKIT/UIKIT.h>
7. Formatting placeholder for strings
Attributes Inspector
instantiation
strong
%@
8. Consider: int x = 6;int y = 7;float quotient = (float) x/y;The statement that creates the variable 'quotient' is an example of ...
casting
First Responder
detail disclosure
<>
9. Property affecting an element's transparency
alpha
NSMutableString
57 x 57
<>
10. Multiline text entry block
parameter
Control-click on the View Controller's icon to bring up a Connections dialog
pound
UITextView
11. Single line text field
UITextField
float
alpha
#import 'myFile.h'
12. ______ enable applications to store multiple pieces of information in a single object
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
scene
Collections
User Interface
13. Extension for an iPhone/iPad app
hash
bool
storyboard
xcodeproj
14. The Utilities area has two sections: ______ and ______
[<object variable> <method name>: p1];
NSString *userName;
inspector and library
web view
15. Key sequence to open the Project Navigator (left panel)
Command+1
productivity
Size Inspector
switch
16. Tests to see whether two values are equal
==
@synthesize
property list
NSMutableString
17. You are creating an app for a company whose URL is http://www.basicversity.com . What should be the company identifier for the app when you begin the project?
@
Double-click
UIViewController
com.basicversity
18. Precondition repetition structure syntax
disclosure triangle
pipe
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
while(<boolean expression>){/*stuff to do here*/}
19. Return type indicating a method returns nothing
storyboard
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
void
IBAction
20. Scaling factor to make an image suitable for retina display
Jump Bar
2
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
%
21. Resembles a slot machine display
NSMutableArray
UIPicker
@
nil
22. Crash statement likely when an NSString is assigned a value with an incorrect format
affine
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.
Program received signal: EXC_BAD_ACCESS
m
23. A transition between scenes - frequently with a visual transition effect applied
modal views
Objective-C
Double-click
segue
24. Objective-C is an extension (super set) of...
Hold down the Option key and point to the other label. The distance will be shown
/*blah blah blah */
C
Treats the field as a password - hiding each character as it is typed
25. Syntax to include the fictitious user-created file 'myFile.h'
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
26. Key sequence to open the Attributes Inspector
interface file
Option+Command+4
workspace
Touch Up Inside
27. Templates fill in a bunch of ______-_______ code that serves as a framework in which to write future implementations
Cocoa Touch - Media - Core Services - Core OS
boiler-plate
Instruments
convenience
28. Character used to show an element as a literal string
wrap
modal
Command+S
@
29. A class that manages the user's interaction with the iDevice
view controller
ommand+Return
512MB
Collections
30. Storage location for a piece of information
variable
Jump Bar
IBAction
casting
31. Symbol often denoting a 'pointer'
UIPicker
*
label
@synthesize
32. 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.
Outlets ... pointer
Snapshot feature
NSLog
viewDidLoad
33. A virtual 'box' for organizing related projects
NSURL
myImage@2x.png
[[<class name> alloc] init];
workspace
34. Method used to print information in an output panel
graduationParty ... addAttendee:withDish
NSDictionary
UITextField
NSLog
35. Data type for whole numbers
float
int
Cocoa Touch
<>
36. This keyword in the property directive is related to the concept of mutability and basically asks Apple to handle the details. This is the more 'relaxed' - less 'powerful' setting of two possibilities
nonatomic
attributes
casting
%1.2f
37. Key sequence to save an Xcode file
nonatomic
segue
Command+S
Object-oriented programming
38. 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
39. Postcondition repetition structure syntax
static
utility
Object Library
do{/*stuff to do here*/}while(<boolean expression>);
40. Piece of information provided to a method when it is messaged
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
parameter
sending an object a message
Treats the field as a password - hiding each character as it is typed
41. 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
42. Attribute that informs the system that the object referred to needs to be kept around and not discarded from memory
strong
@synthesize directive
bool
casting
43. Class of collection data type which stores information as object/key pairs
NSDictionary
Isolate the functional components of an app
!=
storyboards
44. Purpose of 'Secure' attribute for text fields
Treats the field as a password - hiding each character as it is typed
scene
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
header
45. Size of iPhone retina icon image in pixels
*
114 x 114
superclass
main()
46. A ______ is where you edit a view and assign a controller to it.
NSLog
NSArray
scene
Model-View-Controller
47. 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.
%1.2f
512MB
controller
Seques .... relationships
48. Companion to the @property directive
Gray circle with a white 'X' in it - positioned to the right of the text field box
@end
@synthesize
utility
49. Used to test an app without needing an actual physical device
x--;
114 x 114
affine
iOS Simulator
50. Dimensions of iPhone (in points)
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
57 x 57
320 x 480
-