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. 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
2. A common button type that indicates additional information is available
Command+1
Model-View-Controller
graduationParty ... addAttendee:withDish
detail disclosure
3. The 'First Responder' in a scene is not an object it is considered a ________
view
proxy
debugger
[<object variable> <method name>];
4. Term used to describe each screen of an iPhone app
57 x 57
view
protocols
Integrated Development Environment
5. What are the guidelines for the class prefix for a project?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
6. 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
performance
control-dragging
h
controller
7. A transition between scenes - frequently with a visual transition effect applied
double
onscreen 'widgets' a user can interact with
segue
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
8. Given: [graduationParty addAttendee: @'Aunt Jane' withDish: @'deviled eggs']; The 'receiver' is _______; the 'selector' is _________
protocols
[[<class name> alloc] init];
graduationParty ... addAttendee:withDish
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.
9. Class that builds upon another class
subclass
Determine how controls resize/reposition themselves when a device changes orientation
CGAffineTransform
Hold down the Option key and point to the other label. The distance will be shown
10. The Utilities area has two sections: ______ and ______
inspector and library
Integrated Development Environment
[<object variable> <method name>];
float
11. The Inspector you would use to control your layout in Interface Builder
[myLabel setText:@'Howdy'];
alpha ... 0
image view
Size Inspector
12. A class that implements a protocol is said to ____ to that protocol
do not
Cocoa Touch
conform
Object-oriented programming
13. Method used to print information in an output panel
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
NSLog
NSString *userName;
@
14. An integrated web browser component
sending an object a message
@
float
web view
15. Templates fill in a bunch of ______-_______ code that serves as a framework in which to write future implementations
pipe
boiler-plate
scene
UIWindow
16. The '@' symbol is shorthand for creating one of these
<>
!
C
NSString
17. Purpose of 'Secure' attribute for text fields
instantiation
!
affine
Treats the field as a password - hiding each character as it is typed
18. Dimensions of iPhone (in points)
Attributes Inspector
parameter
@synthesize
320 x 480
19. Defines the functional building blocks (classes) that make iOS devices perform certain actions
%@
subclass
instantiate
Cocoa Touch
20. Key sequence to save an Xcode file
*
Command+S
//blah blah blah
IBOutlet
21. Used to receive an event in code and trigger something
segue
IBAction
modal views
Scheme
22. 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
23. Typical header syntax for a button that will be applying the 'moveMe' action in an app
Object library
//blah blah blah
+
IBAction)moveMe:(id)sender;
24. 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.
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
viewDidLoad
First Responder
@synthesize
25. These define to which messages the datasource and delegate respond
protocols
Document Outline Area or Outline View
productivity
model
26. Dimensions of iPad (in points)
onscreen 'widgets' a user can interact with
NSDictionary
Actions
1024 x 768
27. 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
28. API
NSLog
The Console area of the Debug area
Application Programming Interface
affine
29. XML
implementation file
Outlets ... pointer
eXtensible Markup Language
m
30. Class that allows URL management
graduationParty ... addAttendee:withDish
below
NSURL
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
31. The HIG requires some kind of _____ element in a cell if there is more information available
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
accessible apps
Model-View-Controller
disclosure
32. Key sequence on a Mac to select between open application
Snapshot feature
do{/*stuff to do here*/}while(<boolean expression>);
UIImageView
Command + Tab
33. Class of strings that can be changed
NSMutableString
UIApplication
h
C
34. Key sequence to hide/show the Assistant Editor
eXtensible Markup Language
ption+Command+Return
UIImageView
ommand+Return
35. Creates 'getters' and 'setters'
@synthesize directive
stub
1024 x 768
%1.2f
36. Class that another class inherits from
ption+Command+Return
#import 'myFile.h'
superclass
nil
37. Allows you to easily track multiple versions of your project
below
NSString *phrase = @'Hello World';
superclass
Snapshot feature
38. What event do you use to detect a button tap?
==
IBAction
Cocoa Touch
Touch Up Inside
39. Symbol used for inheritance
modal views
Xcode
:
switch
40. Used to define a list of all methods and properties a class uses
114 x 114
interface file
class
hasShrunk==YES && hasMoved == YES
41. Single line text field
image view
UITextField
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
57 x 57
42. @synthesize directives should be placed _____ (above or below) the @implementation directive in the implementation file
h
below
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
detail disclosure
43. Under what circumstances would you need an outlet for a button if it's just needed to trigger an action?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
44. Expression to create a random number in [0 -20];
rand( )%21
void
Gray circle with a white 'X' in it - positioned to the right of the text field box
==
45. ______ and ______ define the connections between scenes.
Identity Inspector
XML
Seques .... relationships
parameter
46. Boolean for 'true' in Objective-C
YES
Home button
Gray circle with a white 'X' in it - positioned to the right of the text field box
graduationParty ... addAttendee:withDish
47. This file contains the scene - segue and relationship definitions for your project
storyboard
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
Option-click a symbol
Outlets ... pointer
48. The Inspector you would use to tweak the way interface objects appear
main()
==
com.basicversity
Attributes Inspector
49. This type of app is typically one screen - and gives you the basics with minimal interaction
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
utility
casting
Commmand-R
50. 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