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. 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.
modal
token
view
instance variable
2. Write a statement to declare and initialize a label object called 'myLabel'
%1.2f
Human Interface Guide
storyboard
UILabel *myLabel = [[UILabel alloc] init];
3. Key sequence on a Mac to select between open application
stub
do{/*stuff to do here*/}while(<boolean expression>);
switch
Command + Tab
4. 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
5. Apple's classes often provide a special initialization method called a _____ method
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
boiler-plate
convenience
Commmand-R
6. Indicates a lack of any value at all
NSMutableArray
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
Cocoa Touch
nil
7. An _______ is used to enable your code to talk to objects within views
IBOutlet
!=
Model-View-Controller
controller
8. The Inspector you would use to control your layout in Interface Builder
Size Inspector
view controller
inspector and library
[myLabel setText:@'Howdy'];
9. Piece of information provided to a method when it is messaged
parameter
mutators
UIWindow
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
10. @property directives should be placed ____ (above or below) any IBActions in the header file
Commmand-R
Collections
header
above
11. UI
y *= 5;
User Interface
Model-View-Controller
do not
12. Objective-C is an extension (super set) of...
#import <UIKIT/UIKIT.h>
instantiation
C
The Console area of the Debug area
13. Class that another class inherits from
superclass
retain
2
onscreen 'widgets' a user can interact with
14. Name of the drop-down menu in Xcode that lets you select the device used with the iOS Simulator
h
Scheme
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
Model-View-Controller
15. Multiline text entry block
!
boiler-plate
UITextView
//blah blah blah
16. The HIG requires some kind of _____ element in a cell if there is more information available
mutators
convenience
Object Library
disclosure
17. To use a new class you need to _____ it
immersive
instantiate
accessible apps
The Console area of the Debug area
18. Term used to describe each screen of an iPhone app
png
view
NSDictionary
accessors
19. Boolean for 'true' in Objective-C
accessible apps
YES
retain - release - dealloc - autorelease
Integrated Development Environment
20. Data type for highly precise numbers with huge numbers of decimal places
casting
utility
double
@
21. This type of app is mostly custom controllers and graphics
%1.2f
immersive
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.
#import <UIKIT/UIKIT.h>
22. Master class in iOS
NSObject
Outlets ... pointer
stub
disclosure
23. 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.
IBAction
controller
Cocoa Touch - Media - Core Services - Core OS
storyboard
24. Another name for a 'button bar'
Object library
57 x 57
storyboards
segmented control
25. In the UK - the '#' symbol is often called the ____ symbol
hash
ommand+Return
Cocoa Touch
above
26. MVC
accessible apps
NSString *userName;
IBAction
Model-View-Controller
27. 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?
#import <UIKIT/UIKIT.h>
Attributes Inspector
myImage@2x.png
graduationParty ... addAttendee:withDish
28. Prior to ARC - you used these terms alot
retain - release - dealloc - autorelease
The Console area of the Debug area
web view
@synthesize directive
29. Apps that provide easy access to a single screen of information with a backside view for modifying preferences
Utility apps
ommand+Return
modal
iOS Simulator
30. Tests to see whether two values are not equal
!
1024 x 768
Nib (but a few call it 'zib' but that's not preferred)
!=
31. Data type for whole numbers
parameter
IBOutlet
hasShrunk==YES && hasMoved == YES
int
32. IDE
Integrated Development Environment
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*/}
wrap
33. Used to set up an outgoing connection from the implementation code to the view
utility
Single View Application
NSMutableArray
IBOutlet
34. 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
35. iPhone and iPad ____ support .png transparency
'Interface Builder'
protocols
do not
eXtensible Markup Language
36. An array of background images called 'bgImages' has been declared as an instance variable in your header file. You have created a set of 5 background images stored in UIImage variables wp1 through wp5. Write a line of code that initializes the array.
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
Gray circle with a white 'X' in it - positioned to the right of the text field box
workspace
instantiation
37. Recommended image type for button graphics
png
retain - release - dealloc - autorelease
First Responder
nibfile
38. Code fragment for echo printing the name of a function as it loads (for tracing the sequence of code in a project...leaving breadcrumbs)
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
39. Two-way selection logic block
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
NSMutableString
User Interface
114 x 114
40. Language used to write iOS apps
Objective-C
class
property list
nibfile
41. Key sequence to run an app in Xcode
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
Command+R
NeXSTEP
NSLog
42. Beginning with iOS4 - applications no longer terminate when the user presses the...
nested message send
Home button
pound
contentSize
43. Extension for implementation file
label
[<object variable> <method name>];
m
The Console area of the Debug area
44. Size of iPhone retina icon image in pixels
114 x 114
[[<class name> alloc] init];
import
Command+1
45. An _______ is used to 'advertise' a method in your code that should be called when a certain event takes place
IBAction
%
alpha ... 1
while(<boolean expression>){/*stuff to do here*/}
46. Denotes a class method
Collections
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
switch
+
47. An example of a common collection data type
NSArray
%d
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
controller
48. A fully transparent image has an _____ property value of _____
Command+R
alpha ... 0
instantiate
web view
49. An integrated web browser component
NeXSTEP
IBAction
parameter
web view
50. _____ are methods that we can connect to events.
Actions
Command+0
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
UILabel *myLabel = [[UILabel alloc] init];