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. Class of strings that can be changed
/*blah blah blah */
%d
//blah blah blah
NSMutableString
2. The files that contain all the scenes you will use in a project.
ption+Command+Return
Snapshot feature
storyboards
Cocoa Touch - Media - Core Services - Core OS
3. Data type for highly precise numbers with huge numbers of decimal places
IBOutlet
Group
contentSize
double
4. Key sequence to run an app in Xcode
prototyping
Command+R
User Interface
static
5. 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
6. Formatting placeholder for a floating point value with one digit on the left of the decimal and two digits on the right
property list
nibfile
%1.2f
void
7. A file folder in the navigator panel is called a ________
Isolate the functional components of an app
Command+S
contentSize
Group
8. Used to indicate any type of object
int
Cocoa Touch
id
utility
9. 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)
accessors
@
<>
stub
10. A unique combination of view controller and view
scene
//blah blah blah
variable
IBAction
11. IDE for iPhone Development
-
Xcode
@synthesize directive
NSLog(@'%s' - __FUNCTION__);
12. To use a new class you need to _____ it
count++;
IBAction
instantiate
Instruments
13. The ________ class provided a container for the management and display of views
Command + Tab
UIWindow
protocols
Object-oriented programming
14. The first method called when a user taps an application icon
Cocoa Touch
do{/*stuff to do here*/}while(<boolean expression>);
Size Inspector
main()
15. Used to receive an event in code and trigger something
IBAction
Classes
do{/*stuff to do here*/}while(<boolean expression>);
variable
16. Directive to include other interface files that an application might need to access
import
do{/*stuff to do here*/}while(<boolean expression>);
Command+S
implementation file
17. Correct the error: label.text = 'Hello World !';
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
18. 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
19. Write a statement to declare and initialize a label object called 'myLabel'
self
nil
id
UILabel *myLabel = [[UILabel alloc] init];
20. 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
21. A tool in Xcode to help fix broken code
nonatomic
Cocoa Touch
instantiate
debugger
22. Prior to ARC - you used these terms alot
[[<class name> alloc] init];
[myLabel setText:@'Howdy'];
!
retain - release - dealloc - autorelease
23. Boolean for 'false' in Objective-C
attributes
IBAction)moveMe:(id)sender;
NO
UIImageView
24. Process of creating an active object from a class
instantiation
do{/*stuff to do here*/}while(<boolean expression>);
inspector and library
Treats the field as a password - hiding each character as it is typed
25. Attribute that informs the system that the object referred to needs to be kept around and not discarded from memory
:
strong
%d
||
26. To unroll or roll up a hierarchy of files - objects or classes - you click the ______ _______ at the root element
UIViewController
disclosure triangle
implementation file
utility
27. Size of iPhone retina icon image in pixels
Cocoa Touch
114 x 114
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
IBOutlet
28. strong and nonatomic are examples of ...
implementation file
int
*
attributes
29. File name suffix indicating an image is suitable for retina display
nonatomic
scene
&&
@2x
30. Creates 'getters' and 'setters'
label
@synthesize directive
UIImageView
mutators
31. Apple's classes often provide a special initialization method called a _____ method
convenience
disclosure
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
Outlets ... pointer
32. Property affecting an element's transparency
Isolate the functional components of an app
contentSize
alpha
iOS Simulator
33. Extension for implementation file
m
UITextView
Attributes Inspector
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
34. An example of a common collection data type
h
protocols
NSArray
main()
35. For a text field - what does the 'Clear Button' look like?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
36. Shortcut for writing: x = x - 1;
NSString
To provide a convenient way of setting the button's title in the code
x--;
storyboard
37. Tests to see whether two values are equal
Touch Up Inside
Cocoa Touch
Snapshot feature
==
38. Class used for creating image views
#import 'myFile.h'
double
UIImageView
NSObject
39. The Utilities area has two sections: ______ and ______
Command+S
inspector and library
main()
UIWindow
40. _____ are methods that we can connect to events.
Actions
detail disclosure
wrap
debugger
41. Shortcut for writing: y = y * 5;
id
y *= 5;
UIViewController
[<object variable> <method name>];
42. @synthesize directives should be placed _____ (above or below) the @implementation directive in the implementation file
below
NeXSTEP
static
UITextView
43. Always used to end the list of objects when initializing an array
Identity Inspector
nil
implementation file
void
44. Used to test an app without needing an actual physical device
attributes
iOS Simulator
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
Option+Command+4
45. Data type for numbers with 'tame' numbers of decimal points
float
convenience
attributes
*
46. This type of app typically involves hierarchical data
accessible apps
productivity
C
nested message send
47. This file contains the scene - segue and relationship definitions for your project
storyboard
Object library
Option+Command+4
&&
48. Consider: int x = 6;int y = 7;float quotient = (float) x/y;The statement that creates the variable 'quotient' is an example of ...
proxy
casting
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.
512MB
49. You are creating an app for a company whose URL is http://www.basicversity.com . What should be the company identifier for the app when you begin the project?
protocols
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
modal
com.basicversity
50. 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