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. A view that is displayed on top of an original view when user interactions are required
57 x 57
sending an object a message
interface and implementation files
modal views
2. Defines what an object can do
!=
class
Outlets ... pointer
alpha ... 0
3. The Inspector you would use to control your layout in Interface Builder
Size Inspector
performance
model
IBAction
4. Key sequence to run an app in Xcode
Command+R
nil
CGAffineTransform
UIPicker
5. Another name for a 'button bar'
segmented control
2
&&
boiler-plate
6. A unique combination of view controller and view
%
affine
com.basicversity
scene
7. Way to refer to an object within its own methods
self
alpha ... 1
nested message send
Object library
8. Apple's classes often provide a special initialization method called a _____ method
int
eXtensible Markup Language
pound
convenience
9. This file contains the code that makes everything 'work'
myImage@2x.png
Command+0
implementation file
YES
10. Two-way selection logic block
Actions
nonatomic
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
parameter
11. Negation symbol
UILabel *myLabel = [[UILabel alloc] init];
!
Cocoa Touch
Utility apps
12. Key sequence to hide/show Navigator View
==
graduationParty ... addAttendee:withDish
storyboard
Command+0
13. Size of iPhone 'lo-res' icon image in pixels
xcodeproj
57 x 57
view
nibfile
14. Scaling - rotation - and translation are the most commonly used manipulations supported by _____ transforms - but skewing is also possible.
//blah blah blah
affine
Actions
png
15. 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
16. Attribute that informs the system that the object referred to needs to be kept around and not discarded from memory
strong
%d
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
Outlets ... pointer
17. Alternative selection mechanism when many conditions exist
Cocoa Touch - Media - Core Services - Core OS
%d
alpha ... 0
switch
18. getters
instantiation
accessors
interface and implementation files
nil
19. Key sequence on a Mac to select between open application
interface file
320 x 480
Command + Tab
Touch Up Inside
20. Word used to indicate that a user can't interact with a given element
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
rand( )%21
static
do{/*stuff to do here*/}while(<boolean expression>);
21. UI
User Interface
Application Programming Interface
320 x 480
performance
22. Expression to create a random number in [0 -20];
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
rand( )%21
Control-click on the View Controller's icon to bring up a Connections dialog
modal views
23. Boolean for 'false' in Objective-C
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
512MB
First Responder
NO
24. IB
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
25. Postcondition repetition structure syntax
instance variable
IBOutlet
affine
do{/*stuff to do here*/}while(<boolean expression>);
26. Shortcut for writing: y = y * 5;
main()
y *= 5;
NSURLRequest
User Interface
27. Always used to end the list of objects when initializing an array
User Interface
x--;
contentSize
nil
28. Resembles a slot machine display
eXtensible Markup Language
Classes
UIPicker
property list
29. Given: #import <UIKit/UIKit.h> @interface WelcomeViewController : UIViewController @end The superclass for WelcomeViewController
Object library
:
NSMutableArray
UIViewController
30. Boolean for 'true' in Objective-C
Cocoa Touch
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
#import 'myFile.h'
YES
31. Class of strings that can be changed
pipe
Control-click on the View Controller's icon to bring up a Connections dialog
NSMutableString
Cocoa Touch
32. 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
33. Syntax for reserving memory and initializing an object
1024 x 768
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
myImage@2x.png
[[<class name> alloc] init];
34. A fully opaque image has an _______ property value of ______
alpha ... 1
[<object variable> <method name>];
while(<boolean expression>){/*stuff to do here*/}
Identity Inspector
35. Language used to write iOS apps
segue
conform
image view
Objective-C
36. Write a statement to declare and initialize a label object called 'myLabel' to 'GO!'
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
37. strong and nonatomic are examples of ...
Size Inspector
accessors
Jump Bar
attributes
38. Syntax for declaring a variable
header
subclass
<type> <variableName>;
bool
39. Data type for numbers with 'tame' numbers of decimal points
NSString *userName;
float
modal
parameter
40. Class that builds upon another class
<type> <variableName>;
disclosure
Home button
subclass
41. Purpose of 'Secure' attribute for text fields
Treats the field as a password - hiding each character as it is typed
2
<type> <variableName>;
nonatomic
42. Used to receive an event in code and trigger something
Utility apps
Collections
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
IBAction
43. Modulus (remainder) operator
xcodeproj
%
'Software Development Kit'
Object library
44. Symbol used for inheritance
nil
implicitly declare a matching instance variable
:
&&
45. In a stepper control - when this attribute option is checked - the stepper's value is automatically set to the minimum value when the maximum value is exceeded (or vice versa).
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
hash
wrap
Objective-C
46. Fixed iteration repetition control structure syntax
Commmand-R
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
image view
[myLabel setText:@'Howdy'];
47. Extension for implementation file
@synthesize directive
m
affine
nil
48. A virtual 'box' for organizing related projects
workspace
Touch Up Inside
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
class
49. 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
50. Files used to create a class
512MB
Cocoa Touch
do not
interface and implementation files