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. Shortcut for writing: count = count + 1;
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
NSString *phrase = @'Hello World';
performance
count++;
2. An alternative way to see the connections between an object in the Interface Builder and it's code in Xcode without using the Connections inspector
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
3. Boolean for 'true' in Objective-C
header
stub
Snapshot feature
YES
4. Scaling - rotation - and translation are the most commonly used manipulations supported by _____ transforms - but skewing is also possible.
Option-click a symbol
hash
affine
Program received signal: EXC_BAD_ACCESS
5. Collection of interface elements and data storage elements etc you can access from your applications
Scheme
Cocoa Touch
interface file
y *= 5;
6. 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
7. Word used to indicate that a user can't interact with a given element
UITextField
static
com.basicversity
<>
8. Attribute that informs the system that the object referred to needs to be kept around and not discarded from memory
strong
x--;
id
attributes
9. Extension for interface file
C
nil
UITextView
h
10. What event do you use to detect a button tap?
Touch Up Inside
Command+0
Utility apps
casting
11. This Xcode utility allows you to check CPU usage - memory allocation and network/file access (among other things)
Single View Application
Instruments
Group
[<object variable> <method name>];
12. setters
proxy
mutators
Model-View-Controller
Size Inspector
13. Something the simulator cannot reliably test
NSObject
token
performance
interface file
14. If you wish to 'echo print' breadcrumb info as you develop your app - this panel must be visible
The Console area of the Debug area
storyboards
implementation file
double
15. 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
16. Apple's classes often provide a special initialization method called a _____ method
myImage@2x.png
convenience
hasShrunk==YES && hasMoved == YES
parameter
17. A fully transparent image has an _____ property value of _____
UIApplication
alpha ... 0
%@
storyboards
18. Directive to include other interface files that an application might need to access
conform
Classes
import
XML
19. A common button type that indicates additional information is available
detail disclosure
UIPicker
prototyping
png
20. Key sequence to open the Attributes Inspector
property list
Option+Command+4
view controller
Document Outline Area or Outline View
21. Size of iPhone retina icon image in pixels
114 x 114
Cocoa Touch
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
mutators
22. These define to which messages the datasource and delegate respond
Determine how controls resize/reposition themselves when a device changes orientation
double
protocols
First Responder
23. Syntax for block-comment
Size Inspector
UITextView
/*blah blah blah */
mutators
24. Way to refer to an object within its own methods
self
inspector and library
eXtensible Markup Language
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
25. A view that is displayed on top of an original view when user interactions are required
label
UIPicker
below
modal views
26. Extension for implementation file
modal
UIImageView
XML
m
27. Syntax for declaring a variable
proxy
<type> <variableName>;
Home button
320 x 480
28. This type of app is mostly custom controllers and graphics
%1.2f
immersive
Determine how controls resize/reposition themselves when a device changes orientation
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
29. NS stands for...
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.
image view
NeXSTEP
m
30. Although it is possible to declare an instance variable and then define a corresponding property - you may also use @property alone to...
First Responder
instance variable
token
implicitly declare a matching instance variable
31. Opens the Xcode Quick Help Assistant
xcodeproj
segmented control
Option-click a symbol
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
32. Shortcut for writing: x = x - 1;
int
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
h
x--;
33. The '@' symbol is shorthand for creating one of these
immersive
!=
Integrated Development Environment
NSString
34. Used to set up an outgoing connection from the implementation code to the view
IBOutlet
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
NSString
property list
35. Another name for format specification
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
token
YES
view
36. Key sequence to hide/show the Assistant Editor
ption+Command+Return
IBAction)moveMe:(id)sender;
while(<boolean expression>){/*stuff to do here*/}
implementation file
37. Dimensions of iPhone (in points)
Command+1
NSString *userName;
subclass
320 x 480
38. Combining two messages into a single line of code
segue
token
nested message send
wrap
39. Key sequence to hide/show Utilities View
view
debugger
rand( )%21
Option+Command+ 0
40. Given: [graduationParty addAttendee: @'Aunt Jane' withDish: @'deviled eggs']; The 'receiver' is _______; the 'selector' is _________
UIViewController
Collections
performance
graduationParty ... addAttendee:withDish
41. A view has a 'Shrink' button whose label needs to change once it is clicked to 'Grow'. Write a 'message' type command to change it's label to 'Grow'
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
42. Return type indicating a method returns nothing
instance variable
NSDate
void
UILabel *myLabel = [[UILabel alloc] init];
43. Syntax for single-line comment
Cocoa Touch
//blah blah blah
retain
rand( )%21
44. Boolean for 'false' in Objective-C
NO
NSURLRequest
Commmand-R
!
45. Class of collection data type which stores information as object/key pairs
!
interface file
NSDictionary
immersive
46. The Utilities area has two sections: ______ and ______
Integrated Development Environment
inspector and library
y *= 5;
Option+Command+ 0
47. In your implementation file - the _____ method (provided in stub form by Apple) runs after machine language code reserves some space in memory for your View. This method is often used to create a 'clean slate' as an app opens.
NSArray
viewDidLoad
Scheme
Document Outline Area or Outline View
48. Which Apple project template creates a simple view/view controller application
#import 'myFile.h'
Single View Application
segmented control
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
49. Key sequence on a Mac to select between open application
property list
Command + Tab
[myLabel setText:@'Howdy'];
viewDidLoad
50. Used to test an app without needing an actual physical device
iOS Simulator
implementation file
myImage@2x.png
@synthesize directive