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. Storage place for a piece of information specific to a class
UITextField
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
instance variable
2. ______ enable applications to store multiple pieces of information in a single object
eXtensible Markup Language
alpha ... 1
protocols
Collections
3. Extension for implementation file
label.text=@'Hello World!';
m
UITextView
nibfile
4. Class that another class inherits from
Object library
com.basicversity
superclass
main()
5. The Round Rect Button is found in this library
Object Library
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
productivity
%1.2f
6. Language used to write iOS apps
Identity Inspector
[<object variable> <method name>];
Objective-C
/*blah blah blah */
7. Shortcut for writing: x = x - 1;
NSLog(@'%s' - __FUNCTION__);
mutators
x--;
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
8. iOS functional building blocks
Classes
Identity Inspector
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
Cocoa Touch - Media - Core Services - Core OS
9. Used to test an app without needing an actual physical device
Option+Command+ 0
do not
iOS Simulator
Control-click on the View Controller's icon to bring up a Connections dialog
10. Consider: int x = 6;int y = 7;float quotient = (float) x/y;The statement that creates the variable 'quotient' is an example of ...
+
casting
IBAction)moveMe:(id)sender;
NSLog
11. Write a statement to declare and initialize a label object called 'myLabel'
UILabel *myLabel = [[UILabel alloc] init];
320 x 480
disclosure
Identity Inspector
12. Files used to create a class
main()
id
interface and implementation files
UITextView
13. Key sequence to open the Attributes Inspector
Utility apps
%1.2f
Option+Command+4
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
14. A tool in Xcode to help fix broken code
alpha ... 0
UIImageView
Control-click on the View Controller's icon to bring up a Connections dialog
debugger
15. An example of a common collection data type
float
Integrated Development Environment
NSArray
do not
16. The name of the panel to the left of the Interface Builder Editor panel
disclosure triangle
Document Outline Area or Outline View
mutators
Classes
17. Character used to show an element as a literal string
IBAction
xcodeproj
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
@
18. This type of app is mostly custom controllers and graphics
controller
Document Outline Area or Outline View
@synthesize directive
immersive
19. A file folder in the navigator panel is called a ________
property list
Group
NSURLRequest
Command+1
20. Data type for true/false type variables
Single View Application
bool
Human Interface Guide
Nib (but a few call it 'zib' but that's not preferred)
21. Scaling - rotation - and translation are the most commonly used manipulations supported by _____ transforms - but skewing is also possible.
h
Instruments
affine
hasShrunk==YES && hasMoved == YES
22. In the UK - the '#' symbol is often called the ____ symbol
protocols
hash
NSString
Object-oriented programming
23. Return type indicating a method returns nothing
CGAffineTransform
void
IBAction
Group
24. This file contains the code that makes everything 'work'
protocols
implementation file
UIApplication
nonatomic
25. Class that creates an array capable of being changed after it is create
NSMutableArray
prototyping
scene
Double-click
26. Master class in iOS
#import 'myFile.h'
%
Size Inspector
NSObject
27. The object currently in control and interacting with the user
First Responder
Model-View-Controller
UITextView
segmented control
28. A class that implements a protocol is said to ____ to that protocol
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
conform
import
Object Library
29. 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
30. API
png
Application Programming Interface
nonatomic
protocols
31. 'Build and run' keyboard shortcut
Commmand-R
Instruments
xcodeproj
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
32. A ______ is where you edit a view and assign a controller to it.
m
@synthesize
scene
count++;
33. Expression to create a random number in [0 -20];
UIImageView
Option+Command+ 0
rand( )%21
NeXSTEP
34. Typical header syntax for a button that will be applying the 'moveMe' action in an app
IBAction)moveMe:(id)sender;
NSString *phrase = @'Hello World';
storyboard
UILabel *myLabel = [[UILabel alloc] init];
35. Given: #import <UIKit/UIKit.h> @interface WelcomeViewController : UIViewController @end The superclass for WelcomeViewController
NSURLRequest
UIViewController
Group
UIImageView
36. Shortcut for writing: y = y * 5;
y *= 5;
while(<boolean expression>){/*stuff to do here*/}
hash
NSMutableString
37. Defines what an object can do
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
do not
NO
class
38. Opens the Xcode Quick Help Assistant
instantiate
while(<boolean expression>){/*stuff to do here*/}
Option-click a symbol
token
39. This type of app typically involves hierarchical data
NSString *phrase = @'Hello World';
productivity
Objective-C
storyboard
40. Key sequence to hide/show Navigator View
below
double
Single View Application
Command+0
41. Used to indicate any type of object
id
||
NSArray
[<object variable> <method name>: p1];
42. Declaring a method in an interface file - before it is actually implemented is called _______ the method
NO
The Console area of the Debug area
%
prototyping
43. Class used to work with dates as objects
below
label
NSDate
utility
44. Framework used to write iPhone apps
pipe
@end
Scheme
Cocoa Touch
45. Key sequence to open the Standard Editor
control-dragging
y *= 5;
instantiate
ommand+Return
46. Class used for creating image views
interface and implementation files
UIImageView
+
*
47. Creates 'getters' and 'setters'
retain - release - dealloc - autorelease
Identity Inspector
@synthesize directive
512MB
48. Scaling factor to make an image suitable for retina display
2
self
Xcode
png
49. 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
50. Piece of information provided to a method when it is messaged
scene
Attributes Inspector
parameter
Cocoa Touch