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. ______ are variables that can store a ____ to an object.
Outlets ... pointer
int
NSDictionary
Model-View-Controller
2. Purpose of 'Secure' attribute for text fields
Option-click a symbol
&&
Command+0
Treats the field as a password - hiding each character as it is typed
3. 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
4. The Inspector you would use to control your layout in Interface Builder
Size Inspector
Cocoa Touch
[[<class name> alloc] init];
stub
5. Crash statement likely when an NSString is assigned a value with an incorrect format
bool
Program received signal: EXC_BAD_ACCESS
interface and implementation files
CGAffineTransform
6. Formatting placeholder for integers
NSString
%d
interface and implementation files
view controller
7. Storage location for a piece of information
nil
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
variable
disclosure triangle
8. Data type for true/false type variables
segmented control
ommand+Return
bool
controller
9. Defines what an object can do
-
@
model
class
10. Something the simulator cannot reliably test
Attributes Inspector
performance
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
interface file
11. 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
%1.2f
nonatomic
Home button
@synthesize
12. An _______ is used to 'advertise' a method in your code that should be called when a certain event takes place
hasShrunk==YES && hasMoved == YES
Treats the field as a password - hiding each character as it is typed
IBAction
Isolate the functional components of an app
13. Shortcut for writing: y = y * 5;
above
y *= 5;
'Interface Builder'
Human Interface Guide
14. Single line text field
UITextField
*
Group
protocols
15. An integrated web browser component
UIViewController
'Software Development Kit'
parameter
web view
16. Apple's classes often provide a special initialization method called a _____ method
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
Human Interface Guide
convenience
retain
17. Precondition repetition structure syntax
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
segmented control
while(<boolean expression>){/*stuff to do here*/}
Outlets ... pointer
18. Key sequence to open the Standard Editor
Jump Bar
alpha ... 1
ommand+Return
@synthesize directive
19. Given: [graduationParty addAttendee: @'Aunt Jane' withDish: @'deviled eggs']; The 'receiver' is _______; the 'selector' is _________
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
implicitly declare a matching instance variable
graduationParty ... addAttendee:withDish
debugger
20. Language used to write iOS apps
UIApplication
Objective-C
strong
&&
21. This file contains the code that makes everything 'work'
NSLog
label.text=@'Hello World!';
NO
implementation file
22. The bar across the top of the Editor area that shows you the item you are editing
protocols
@2x
IBAction)moveMe:(id)sender;
Jump Bar
23. Name of the drop-down menu in Xcode that lets you select the device used with the iOS Simulator
Scheme
parameter
Isolate the functional components of an app
Control-click on the View Controller's icon to bring up a Connections dialog
24. Key sequence to run an app in Xcode
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
Cocoa Touch - Media - Core Services - Core OS
Command+R
nonatomic
25. Directive to include other interface files that an application might need to access
[<object variable> <method name>];
import
m
NSString *userName;
26. Key sequence to open the Project Navigator (left panel)
control-dragging
IBOutlet
+
Command+1
27. Used to display image file resources and show simple animations
image view
ommand+Return
IBAction
label
28. Master class in iOS
Hold down the Option key and point to the other label. The distance will be shown
NSObject
Human Interface Guide
IBAction
29. The Inspector you will need if you want to connect a custom class to an object in Interface Builder
segmented control
Single View Application
Identity Inspector
@
30. Scaling - rotation - and translation are the most commonly used manipulations supported by _____ transforms - but skewing is also possible.
[[<class name> alloc] init];
interface file
affine
Identity Inspector
31. Although it is possible to declare an instance variable and then define a corresponding property - you may also use @property alone to...
label
implicitly declare a matching instance variable
prototyping
Model-View-Controller
32. Postcondition repetition structure syntax
instantiation
Control-click on the View Controller's icon to bring up a Connections dialog
do{/*stuff to do here*/}while(<boolean expression>);
Double-click
33. 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
34. A fully opaque image has an _______ property value of ______
Xcode
nil
alpha ... 1
onscreen 'widgets' a user can interact with
35. To use a new class you need to _____ it
alpha
storyboard
instantiate
Jump Bar
36. A file folder in the navigator panel is called a ________
nil
Xcode
Group
==
37. To zoom between an overview of the entire storyboard and the actual size view - ______ the storyboard background.
Double-click
Command+R
y *= 5;
114 x 114
38. Way to refer to an object within its own methods
ommand+Return
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
storyboard
self
39. 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
40. This file contains the scene - segue and relationship definitions for your project
prototyping
storyboard
modal views
C
41. Recommended image type for button graphics
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
Single View Application
png
Object library
42. 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
43. What type of object does a web view expect as a parameter when loading a remote URL?
token
h
Xcode
NSURLRequest
44. Which Apple project template creates a simple view/view controller application
pipe
header
[<object variable> <method name>: p1];
Single View Application
45. A unique combination of view controller and view
[myLabel setText:@'Howdy'];
m
scene
Determine how controls resize/reposition themselves when a device changes orientation
46. The Inspector you would use to tweak the way interface objects appear
Attributes Inspector
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
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
proxy
47. Key sequence on a Mac to select between open application
Object-oriented programming
eXtensible Markup Language
label
Command + Tab
48. Name of the '|' symbol
pipe
boiler-plate
NSURLRequest
To provide a convenient way of setting the button's title in the code
49. The first method called when a user taps an application icon
do not
xcodeproj
main()
subclass
50. Purpose of the 'Auto-enable Return Key' attribute for text fields
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
Cocoa Touch
view
import