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. Syntax to include UIKIT in a class
instantiation
NSString
superclass
#import <UIKIT/UIKIT.h>
2. 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.
controller
NSString
Human Interface Guide
Identity Inspector
3. What type of object does a web view expect as a parameter when loading a remote URL?
Option-click a symbol
alpha ... 1
NSURLRequest
superclass
4. Write a statement to declare and initialize a label object called 'myLabel'
UILabel *myLabel = [[UILabel alloc] init];
UIPicker
superclass
Command+1
5. Allows you to easily track multiple versions of your project
rand( )%21
retain
NeXSTEP
Snapshot feature
6. Key sequence on a Mac to select between open application
Command + Tab
Object Library
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
disclosure
7. Language used to write iOS apps
Objective-C
IBOutlet
/*blah blah blah */
below
8. Which Apple project template creates a simple view/view controller application
+
Cocoa Touch - Media - Core Services - Core OS
NSURL
Single View Application
9. Expression to create a random number in [0 -20];
NSMutableArray
Objective-C
rand( )%21
x--;
10. Apps written to assist users with special disabilities
Outlets ... pointer
accessible apps
NSArray
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
11. Used to receive an event in code and trigger something
YES
nil
IBAction
*
12. Extension for interface file
UITextField
%@
m
h
13. 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
14. Character used to show an element as a literal string
@
UITextField
interface and implementation files
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
15. 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
16. Class that allows URL management
model
stub
NSURL
#import <UIKIT/UIKIT.h>
17. 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
18. Symbol used for inheritance
alpha
:
storyboards
viewDidLoad
19. Used to indicate any type of object
static
retain
id
Objective-C
20. Tests to see whether two values are not equal
myImage@2x.png
'Interface Builder'
!=
Outlets ... pointer
21. Name of the '|' symbol
%@
pipe
viewDidLoad
nonatomic
22. Denotes a class method
+
Actions
class
The Console area of the Debug area
23. _____ are methods that we can connect to events.
Actions
productivity
Outlets ... pointer
label.text=@'Hello World!';
24. ______ and ______ define the connections between scenes.
Option+Command+4
Seques .... relationships
debugger
@
25. Directive to include other interface files that an application might need to access
do not
-
superclass
import
26. 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?
Identity Inspector
import
Hold down the Option key and point to the other label. The distance will be shown
Attribute settings for some onscreen controls (like text areas) that analyze content and provide helpful links based on what they find. For example - phone numbers can be touched to dial the phone; web addresses can launch Safari if tapped - etc
27. Data type for whole numbers
IBAction
Isolate the functional components of an app
int
hash
28. An _______ is used to 'advertise' a method in your code that should be called when a certain event takes place
Human Interface Guide
Cocoa Touch
Cocoa Touch - Media - Core Services - Core OS
IBAction
29. Other name for an *.xib file
Nib (but a few call it 'zib' but that's not preferred)
NSArray
nibfile
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
30. ______ are variables that can store a ____ to an object.
header
Outlets ... pointer
Application Programming Interface
contentSize
31. Calling a method is the same as...
&&
accessors
sending an object a message
conform
32. Every iOS application implements a subclass of _________
UIApplication
retain
controller
Xcode
33. Files used to create a class
interface and implementation files
implicitly declare a matching instance variable
1024 x 768
m
34. The name of the panel to the left of the Interface Builder Editor panel
Attribute settings for some onscreen controls (like text areas) that analyze content and provide helpful links based on what they find. For example - phone numbers can be touched to dial the phone; web addresses can launch Safari if tapped - etc
Identity Inspector
nil
Document Outline Area or Outline View
35. Boolean for 'true' in Objective-C
@2x
YES
retain - release - dealloc - autorelease
Size Inspector
36. Given: #import <UIKit/UIKit.h> @interface WelcomeViewController : UIViewController @end The superclass for WelcomeViewController
proxy
float
storyboard
UIViewController
37. Data type for true/false type variables
model
control-dragging
boiler-plate
bool
38. Define a collection of methods to perform a task
Xcode
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
main()
protocols
39. Class used for creating image views
UIImageView
disclosure triangle
Object-oriented programming
Utility apps
40. Always used to end the list of objects when initializing an array
nil
Option-click a symbol
Command+0
prototyping
41. 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
42. Term used to describe each screen of an iPhone app
Object-oriented programming
Utility apps
view
-
43. 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
44. Key sequence to open the Project Navigator (left panel)
Command+1
token
Control-click on the View Controller's icon to bring up a Connections dialog
320 x 480
45. Class of strings that can be changed
UIViewController
Object-oriented programming
storyboards
NSMutableString
46. Key sequence to hide/show Navigator View
instantiate
x--;
Command+0
[[<class name> alloc] init];
47. 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
variable
prototyping
nonatomic
segue
48. A file folder in the navigator panel is called a ________
implicitly declare a matching instance variable
Group
disclosure triangle
NSMutableArray
49. The Utilities area has two sections: ______ and ______
casting
NSURLRequest
NSDate
inspector and library
50. 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.
pipe
NSString *phrase = @'Hello World';
class
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];