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. An app has boolean variables 'hasShrunk' and 'hasMoved'. Write a boolean condition that checks if each are true
controller
hasShrunk==YES && hasMoved == YES
token
void
2. The goal of the MVC design pattern
retain
@end
Isolate the functional components of an app
stub
3. Term used to describe each screen of an iPhone app
view
Model-View-Controller
==
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.
4. Key sequence to hide/show Navigator View
detail disclosure
NSObject
h
Command+0
5. Shortcut for writing: count = count + 1;
Command+1
switch
nested message send
count++;
6. In the US - the '#' symbol is often called the ____ symbol
pound
label
57 x 57
contentSize
7. A ______ is where you edit a view and assign a controller to it.
float
&&
scene
count++;
8. Attribute that informs Xcode not to worry about different parts of the application using a property at the same time
NeXSTEP
Actions
control-dragging
nonatomic
9. IDE for iPhone Development
Xcode
@2x
above
sending an object a message
10. IDE
Integrated Development Environment
UIApplication
%
instantiate
11. A view that is displayed on top of an original view when user interactions are required
*
viewDidLoad
modal views
disclosure
12. Extension for implementation file
UITextView
m
hasShrunk==YES && hasMoved == YES
png
13. Purpose of the 'Auto-enable Return Key' attribute for text fields
pound
modal views
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
debugger
14. Another name for a 'button bar'
while(<boolean expression>){/*stuff to do here*/}
m
segmented control
UITextField
15. Master class in iOS
NSObject
+
'Software Development Kit'
320 x 480
16. 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?
Instruments
token
utility
Hold down the Option key and point to the other label. The distance will be shown
17. Creates 'getters' and 'setters'
@synthesize directive
void
xcodeproj
Double-click
18. Boolean for 'false' in Objective-C
NO
Treats the field as a password - hiding each character as it is typed
sending an object a message
alpha
19. Declare and initialize a string that says: 'Hello World' whose identifier if 'phrase' . Use the shortest command possible.
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
20. Declaring a method in an interface file - before it is actually implemented is called _______ the method
while(<boolean expression>){/*stuff to do here*/}
CGAffineTransform
prototyping
disclosure
21. Used to set up an outgoing connection from the implementation code to the view
sending an object a message
IBOutlet
*
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
22. 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.
To provide a convenient way of setting the button's title in the code
<>
controller
Touch Up Inside
23. Two-way selection logic block
#import <UIKIT/UIKIT.h>
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
view
NSArray
24. Resembles a slot machine display
Command+S
above
UIPicker
Option-click a symbol
25. Templates fill in a bunch of ______-_______ code that serves as a framework in which to write future implementations
%@
Objective-C
boiler-plate
-
26. Syntax for block-comment
token
control-dragging
/*blah blah blah */
NO
27. A class that manages the user's interaction with the iDevice
alpha ... 1
!=
header
view controller
28. Size of iPhone 'lo-res' icon image in pixels
token
57 x 57
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
29. Which Apple project template creates a simple view/view controller application
Single View Application
NSURL
[<object variable> <method name>: p1];
The Console area of the Debug area
30. Combining two messages into a single line of code
IBAction
nested message send
Option-click a symbol
1024 x 768
31. Class used for creating image views
NSObject
%1.2f
scene
UIImageView
32. Extension for an iPhone/iPad app
pipe
@synthesize directive
xcodeproj
accessible apps
33. The name of the panel to the left of the Interface Builder Editor panel
casting
do not
switch
Document Outline Area or Outline View
34. Extension for MainStoryboard
contentSize
header
storyboard
protocols
35. Every iOS application implements a subclass of _________
Identity Inspector
Program received signal: EXC_BAD_ACCESS
id
UIApplication
36. Attribute that informs the system that the object referred to needs to be kept around and not discarded from memory
strong
h
header
nil
37. How do you show a storyboard file as source code?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
38. 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)
stub
@
NSURL
Cocoa Touch - Media - Core Services - Core OS
39. Tests to see whether two values are equal
Option-click a symbol
[[<class name> alloc] init];
==
above
40. Name of the drop-down menu in Xcode that lets you select the device used with the iOS Simulator
Scheme
variable
Cocoa Touch - Media - Core Services - Core OS
myImage@2x.png
41. IB
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
42. Property affecting an element's transparency
57 x 57
Outlets ... pointer
alpha
Size Inspector
43. _____ are methods that we can connect to events.
512MB
Single View Application
Actions
Control-click on the View Controller's icon to bring up a Connections dialog
44. Although it is possible to declare an instance variable and then define a corresponding property - you may also use @property alone to...
UITextField
implicitly declare a matching instance variable
modal views
Seques .... relationships
45. API
To provide a convenient way of setting the button's title in the code
YES
IBAction
Application Programming Interface
46. A transition between scenes - frequently with a visual transition effect applied
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
segue
Model-View-Controller
implementation file
47. 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
48. Beginning with iOS4 - applications no longer terminate when the user presses the...
interface and implementation files
Home button
token
import
49. Key sequence on a Mac to select between open application
Command + Tab
label
nonatomic
Actions
50. Size of iPhone retina icon image in pixels
114 x 114
@
Scheme
Command + Tab