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. This element should 'always' accompany a slider to indicate its purpose
UITextField
Object Library
UIViewController
label
2. An integrated web browser component
Scheme
subclass
NSMutableString
web view
3. iPhone and iPad ____ support .png transparency
do not
static
nonatomic
workspace
4. Formatting placeholder for strings
Group
%@
Gray circle with a white 'X' in it - positioned to the right of the text field box
||
5. Denotes an instance method
count++;
-
void
hasShrunk==YES && hasMoved == YES
6. Syntax for single-line comment
//blah blah blah
NSString *userName;
id
NSURLRequest
7. Given: #import <UIKit/UIKit.h> @interface WelcomeViewController : UIViewController @end The superclass for WelcomeViewController
storyboards
@2x
static
UIViewController
8. The ________ class provided a container for the management and display of views
Scheme
viewDidLoad
UITextView
UIWindow
9. Delimiter for a list of protocols
<>
'Software Development Kit'
Classes
float
10. Any 'directive' statement begins with this symbol
class
stub
interface and implementation files
@
11. An _______ is used to 'advertise' a method in your code that should be called when a certain event takes place
NSDictionary
IBAction
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
Instruments
12. Key sequence to open the Standard Editor
Objective-C
ommand+Return
Command+R
instantiate
13. Syntax for block-comment
UIViewController
YES
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
/*blah blah blah */
14. A tool in Xcode to help fix broken code
debugger
protocols
Utility apps
hasShrunk==YES && hasMoved == YES
15. Tests to see whether two values are not equal
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
!=
320 x 480
[[<class name> alloc] init];
16. Proper way to pronounce a *.xib file
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
17. The 'First Responder' in a scene is not an object it is considered a ________
pipe
variable
proxy
!=
18. Key sequence to save an Xcode file
Command + Tab
Command+S
h
viewDidLoad
19. 'Build and run' keyboard shortcut
storyboards
double
Commmand-R
do not
20. Document Apple uses to evaluate apps for the App Store
Human Interface Guide
implementation file
Scheme
ommand+Return
21. An app has boolean variables 'hasShrunk' and 'hasMoved'. Write a boolean condition that checks if each are true
scene
Gray circle with a white 'X' in it - positioned to the right of the text field box
Actions
hasShrunk==YES && hasMoved == YES
22. The Inspector you would use to tweak the way interface objects appear
Attributes Inspector
bool
Treats the field as a password - hiding each character as it is typed
Instruments
23. A transition between scenes - frequently with a visual transition effect applied
variable
@synthesize directive
storyboard
segue
24. Data type for highly precise numbers with huge numbers of decimal places
[myLabel setText:@'Howdy'];
%
IBAction
double
25. Opens the Xcode Quick Help Assistant
Option-click a symbol
UILabel *myLabel = [[UILabel alloc] init];
IBAction
Command+1
26. Method used to print information in an output panel
nonatomic
||
NSArray
NSLog
27. Master class in iOS
instantiation
NSObject
'Software Development Kit'
Integrated Development Environment
28. OOP
Object-oriented programming
Group
parameter
nested message send
29. Purpose of the 'Auto-enable Return Key' attribute for text fields
NSURL
Hold down the Option key and point to the other label. The distance will be shown
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
30. Class of collection data type which stores information as object/key pairs
mutators
Cocoa Touch - Media - Core Services - Core OS
NSDictionary
Jump Bar
31. RAM for iPhone
==
IBAction)moveMe:(id)sender;
pound
512MB
32. Negation symbol
!
png
instantiate
NSString *phrase = @'Hello World';
33. Syntax for declaring a variable
Control-click on the View Controller's icon to bring up a Connections dialog
static
Cocoa Touch
<type> <variableName>;
34. To unroll or roll up a hierarchy of files - objects or classes - you click the ______ _______ at the root element
Seques .... relationships
disclosure triangle
*
storyboard
35. Companion to the @property directive
Treats the field as a password - hiding each character as it is typed
Cocoa Touch
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
@synthesize
36. A virtual 'box' for organizing related projects
workspace
First Responder
id
NSString
37. Directive to include other interface files that an application might need to access
import
User Interface
xcodeproj
IBAction
38. File name suffix indicating an image is suitable for retina display
Identity Inspector
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
%1.2f
@2x
39. @property directives should be placed ____ (above or below) any IBActions in the header file
above
proxy
%d
NSLog(@'%s' - __FUNCTION__);
40. 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
Home button
self
retain
alpha ... 1
41. Return type indicating a method returns nothing
nonatomic
image view
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
void
42. ______ are variables that can store a ____ to an object.
Outlets ... pointer
UIViewController
segue
@
43. XML
eXtensible Markup Language
alpha ... 1
Group
prototyping
44. Key sequence on a Mac to select between open application
Command + Tab
[<object variable> <method name>: p1];
sending an object a message
nonatomic
45. Crash statement likely when an NSString is assigned a value with an incorrect format
//blah blah blah
Program received signal: EXC_BAD_ACCESS
float
IBAction
46. 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
47. Term used to describe each screen of an iPhone app
view
Object-oriented programming
convenience
inspector and library
48. The Inspector you would access to gain access to various accessibility attributes
accessible apps
label.text=@'Hello World!';
productivity
Identity Inspector
49. 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.
NSURL
controller
C
NSString *userName;
50. Key sequence to hide/show Utilities View
Home button
IBOutlet
m
Option+Command+ 0