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. Attribute that informs the system that the object referred to needs to be kept around and not discarded from memory
attributes
wrap
do{/*stuff to do here*/}while(<boolean expression>);
strong
2. To zoom between an overview of the entire storyboard and the actual size view - ______ the storyboard background.
Double-click
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.
UIViewController
self
3. Term used to describe each screen of an iPhone app
contentSize
#import 'myFile.h'
view
m
4. The Utilities area has two sections: ______ and ______
inspector and library
Object library
control-dragging
Identity Inspector
5. Given: #import <UIKit/UIKit.h> @interface WelcomeViewController : UIViewController @end The superclass for WelcomeViewController
Cocoa Touch
UIViewController
disclosure
[myLabel setText:@'Howdy'];
6. Creates 'getters' and 'setters'
@synthesize directive
114 x 114
scene
User Interface
7. Always used to end the list of objects when initializing an array
static
nil
Command+0
Option-click a symbol
8. Class that creates an array capable of being changed after it is create
IBAction
controller
NSMutableArray
pipe
9. How do you get rid of an onscreen keyboard?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
10. A class that implements a protocol is said to ____ to that protocol
conform
+
viewDidLoad
!
11. An example of a common collection data type
storyboard
NSDictionary
label
NSArray
12. The first method called when a user taps an application icon
instantiate
immersive
main()
Classes
13. Modulus (remainder) operator
Attributes Inspector
switch
segue
%
14. The Inspector you will need if you want to connect a custom class to an object in Interface Builder
contentSize
main()
Identity Inspector
NSString
15. ______ and ______ define the connections between scenes.
Seques .... relationships
class
pound
NSObject
16. The '@' symbol is shorthand for creating one of these
IBAction
NSString
Option-click a symbol
x--;
17. Extension for MainStoryboard
storyboard
!=
parameter
UILabel *myLabel = [[UILabel alloc] init];
18. Syntax for block-comment
/*blah blah blah */
contentSize
nonatomic
pound
19. Class of collection data type which stores information as object/key pairs
iOS Simulator
Option+Command+ 0
Objective-C
NSDictionary
20. 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
21. This keyword in the property directive is related to memory management and refers to the idea that we want to maintain control of memory issues
wrap
retain
[<object variable> <method name>];
nil
22. 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
23. Framework used to write iPhone apps
static
proxy
+
Cocoa Touch
24. Fixed iteration repetition control structure syntax
header
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
Identity Inspector
pound
25. Tests to see whether two values are not equal
Utility apps
instantiate
!=
Human Interface Guide
26. Syntax for single-line comment
retain - release - dealloc - autorelease
//blah blah blah
segue
accessors
27. Class that another class inherits from
superclass
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
web view
NSMutableArray
28. Apps written to assist users with special disabilities
Nib (but a few call it 'zib' but that's not preferred)
accessible apps
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
Group
29. In most graphical user interfaces - a _____ view is a view that must be dismissed ('OK' button - 'Cancel' button for example) before the user can perform any other actions in the application.
void
/*blah blah blah */
IBAction
modal
30. Piece of information provided to a method when it is messaged
affine
parameter
conform
casting
31. Name of the '|' symbol
pipe
Xcode
contentSize
Determine how controls resize/reposition themselves when a device changes orientation
32. Implements a logical OR condition
*
segmented control
114 x 114
||
33. Symbol often denoting a 'pointer'
retain - release - dealloc - autorelease
UIWindow
storyboard
*
34. Name of the drop-down menu in Xcode that lets you select the device used with the iOS Simulator
Actions
Scheme
proxy
png
35. Key sequence to open the Attributes Inspector
Option+Command+4
Actions
accessors
Option+Command+ 0
36. Single line text field
UITextField
protocols
NSLog(@'%s' - __FUNCTION__);
myImage@2x.png
37. Class used for image manipulations such as scaling - rotation and translation. Its data structure represents a matrix used for affine transformations.
Object-oriented programming
!
CGAffineTransform
UIImageView
38. Dimensions of iPad (in points)
Command+R
<>
control-dragging
1024 x 768
39. Postcondition repetition structure syntax
eXtensible Markup Language
do{/*stuff to do here*/}while(<boolean expression>);
storyboard
scene
40. In the US - the '#' symbol is often called the ____ symbol
pound
Gray circle with a white 'X' in it - positioned to the right of the text field box
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
nested message send
41. An app has boolean variables 'hasShrunk' and 'hasMoved'. Write a boolean condition that checks if each are true
UILabel *myLabel = [[UILabel alloc] init];
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
NO
hasShrunk==YES && hasMoved == YES
42. Expression to create a random number in [0 -20];
implicitly declare a matching instance variable
Treats the field as a password - hiding each character as it is typed
token
rand( )%21
43. Indicates a lack of any value at all
UIImageView
@synthesize
nil
casting
44. Another name for a 'button bar'
segmented control
inspector and library
pound
Hold down the Option key and point to the other label. The distance will be shown
45. Dimensions of iPhone (in points)
nonatomic
NO
@end
320 x 480
46. To use a new class you need to _____ it
instantiate
nibfile
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
parameter
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.
viewDidLoad
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
int
NSDictionary
48. OOP
nonatomic
CGAffineTransform
Object-oriented programming
==
49. Shortcut for writing: y = y * 5;
y *= 5;
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
NSDate
storyboard
50. UI
User Interface
@2x
Group
storyboards