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. Allows you to easily track multiple versions of your project
modal
Group
debugger
Snapshot feature
2. Used to define a list of all methods and properties a class uses
interface file
57 x 57
Control-click on the View Controller's icon to bring up a Connections dialog
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
3. Implements a logical AND condition
alpha
Actions
UITextField
&&
4. Templates fill in a bunch of ______-_______ code that serves as a framework in which to write future implementations
boiler-plate
hasShrunk==YES && hasMoved == YES
Cocoa Touch
token
5. Class of collection data type which stores information as object/key pairs
-
Collections
control-dragging
NSDictionary
6. @property directives should be placed ____ (above or below) any IBActions in the header file
*
1024 x 768
view
above
7. Language used to write iOS apps
!=
switch
:
Objective-C
8. Extension for MainStoryboard
storyboard
subclass
control-dragging
Xcode
9. strong and nonatomic are examples of ...
attributes
hash
debugger
Isolate the functional components of an app
10. 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
11. Syntax for reserving memory and initializing an object
@end
[[<class name> alloc] init];
Command+R
alpha ... 0
12. Return type indicating a method returns nothing
XML
void
debugger
NSLog(@'%s' - __FUNCTION__);
13. Used to display image file resources and show simple animations
image view
attributes
IBOutlet
Gray circle with a white 'X' in it - positioned to the right of the text field box
14. Formatting placeholder for a floating point value with one digit on the left of the decimal and two digits on the right
Command + Tab
%1.2f
Option+Command+ 0
pipe
15. Creates 'getters' and 'setters'
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
Collections
UILabel *myLabel = [[UILabel alloc] init];
@synthesize directive
16. What event do you use to detect a button tap?
#import 'myFile.h'
Touch Up Inside
/*blah blah blah */
ommand+Return
17. Syntax for declaring a variable
CGAffineTransform
Command + Tab
<type> <variableName>;
Classes
18. Recommended image type for button graphics
png
h
Command + Tab
Determine how controls resize/reposition themselves when a device changes orientation
19. Storage location for a piece of information
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
Seques .... relationships
variable
subclass
20. Document Apple uses to evaluate apps for the App Store
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
Human Interface Guide
Command + Tab
*
21. IB
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
22. 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)
controller
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
pipe
stub
23. Denotes a class method
Command + Tab
2
alpha ... 0
+
24. A unique combination of view controller and view
UIPicker
instance variable
model
scene
25. 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
26. A fully opaque image has an _______ property value of ______
XML
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
alpha ... 1
float
27. A view that is displayed on top of an original view when user interactions are required
count++;
modal views
prototyping
User Interface
28. Development approach (design pattern) to structure iOS applications
<>
Cocoa Touch - Media - Core Services - Core OS
UITextView
Model-View-Controller
29. 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
retain
+
model
workspace
30. This type of app is typically one screen - and gives you the basics with minimal interaction
Touch Up Inside
eXtensible Markup Language
utility
UITextField
31. A class that implements a protocol is said to ____ to that protocol
nil
m
conform
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
32. Closes an interface file
convenience
!
@end
disclosure triangle
33. Combining two messages into a single line of code
token
NSObject
Cocoa Touch
nested message send
34. 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?
protocols
Hold down the Option key and point to the other label. The distance will be shown
utility
1024 x 768
35. If you wish to 'echo print' breadcrumb info as you develop your app - this panel must be visible
Control-click on the View Controller's icon to bring up a Connections dialog
Identity Inspector
The Console area of the Debug area
[<object variable> <method name>];
36. A view has a 'Shrink' button whose label needs to change once it is clicked to 'Grow'. Write a 'message' type command to change it's label to 'Grow'
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
37. This element should 'always' accompany a slider to indicate its purpose
NeXSTEP
Object Library
token
label
38. Alternative selection mechanism when many conditions exist
switch
com.basicversity
float
#import <UIKIT/UIKIT.h>
39. Formatting placeholder for strings
XML
xcodeproj
%@
Option+Command+ 0
40. To unroll or roll up a hierarchy of files - objects or classes - you click the ______ _______ at the root element
NSString *phrase = @'Hello World';
disclosure triangle
interface and implementation files
NO
41. Dimensions of iPhone (in points)
controller
320 x 480
onscreen 'widgets' a user can interact with
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
42. The bar across the top of the Editor area that shows you the item you are editing
Jump Bar
float
Group
@
43. The '@' symbol is shorthand for creating one of these
Commmand-R
NSString
detail disclosure
#import 'myFile.h'
44. 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
45. 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
46. Word used to indicate that a user can't interact with a given element
image view
web view
static
Jump Bar
47. API
Application Programming Interface
iOS Simulator
above
+
48. In most graphical user interfaces - a _____ view is a view that must be dismissed ('OK' button - 'Cancel' button for example) before the user can perform any other actions in the application.
IBAction
modal
UIViewController
superclass
49. To use a new class you need to _____ it
Single View Application
h
instantiate
Instruments
50. 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