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. What type of object does a web view expect as a parameter when loading a remote URL?
NSURLRequest
workspace
#import 'myFile.h'
retain - release - dealloc - autorelease
2. A fully transparent image has an _____ property value of _____
label
Treats the field as a password - hiding each character as it is typed
switch
alpha ... 0
3. Key sequence to hide/show Navigator View
Cocoa Touch
view
stub
Command+0
4. Boolean for 'false' in Objective-C
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
image view
Cocoa Touch
NO
5. Denotes a class method
do{/*stuff to do here*/}while(<boolean expression>);
hash
+
NSMutableArray
6. Define a collection of methods to perform a task
retain - release - dealloc - autorelease
affine
protocols
debugger
7. strong and nonatomic are examples of ...
'Interface Builder'
attributes
NSArray
scene
8. 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
9. Files used to create a class
UIImageView
segmented control
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
interface and implementation files
10. Size of iPhone 'lo-res' icon image in pixels
Classes
debugger
57 x 57
Option+Command+4
11. Used to set up an outgoing connection from the implementation code to the view
Object library
IBOutlet
NSURL
alpha ... 1
12. An integrated web browser component
instantiation
web view
@
nonatomic
13. Extension for an iPhone/iPad app
convenience
Seques .... relationships
Treats the field as a password - hiding each character as it is typed
xcodeproj
14. Key sequence to open the Project Navigator (left panel)
XML
onscreen 'widgets' a user can interact with
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
Command+1
15. Apps written to assist users with special disabilities
accessible apps
double
UITextView
Actions
16. The Round Rect Button is found in this library
performance
Object Library
count++;
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
17. Shortcut for writing: x = x - 1;
User Interface
nonatomic
x--;
NSLog
18. Purpose of 'Secure' attribute for text fields
NSString *userName;
Hold down the Option key and point to the other label. The distance will be shown
Treats the field as a password - hiding each character as it is typed
image view
19. You have created some 'breadcrumbs' using NSLog to trace the path of your code - and the debug area is open - yet you see no information in the panel. What's the problem and what is the solution?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
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. Indicates a lack of any value at all
image view
utility
NSMutableArray
nil
22. Single line text field
320 x 480
UITextField
class
NeXSTEP
23. Key sequence to hide/show the Assistant Editor
YES
ption+Command+Return
'Software Development Kit'
contentSize
24. NS stands for...
@
NeXSTEP
main()
Attributes Inspector
25. Write a statement to declare and initialize a label object called 'myLabel'
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
C
UILabel *myLabel = [[UILabel alloc] init];
First Responder
26. A class that manages the user's interaction with the iDevice
image view
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
NSString
view controller
27. Extension for MainStoryboard
do not
storyboard
#import <UIKIT/UIKIT.h>
bool
28. The '@' symbol is shorthand for creating one of these
NSString
[[<class name> alloc] init];
nested message send
header
29. RAM for iPhone
57 x 57
stub
512MB
viewDidLoad
30. An _______ is used to 'advertise' a method in your code that should be called when a certain event takes place
NeXSTEP
immersive
IBAction
First Responder
31. Syntax for block-comment
UIPicker
/*blah blah blah */
main()
The Console area of the Debug area
32. Used to indicate any type of object
Group
id
contentSize
@
33. What event do you use to detect a button tap?
Application Programming Interface
Identity Inspector
Touch Up Inside
immersive
34. Although it is possible to declare an instance variable and then define a corresponding property - you may also use @property alone to...
512MB
segue
implicitly declare a matching instance variable
strong
35. Scaling - rotation - and translation are the most commonly used manipulations supported by _____ transforms - but skewing is also possible.
token
Nib (but a few call it 'zib' but that's not preferred)
Size Inspector
affine
36. If you have an image file called 'myImage.png' and you make a hi-res version for the retina display - what should be the name of the new file?
alpha
IBAction
myImage@2x.png
NSString *userName;
37. Templates fill in a bunch of ______-_______ code that serves as a framework in which to write future implementations
above
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
NeXSTEP
boiler-plate
38. Class that builds upon another class
:
control-dragging
onscreen 'widgets' a user can interact with
subclass
39. The Inspector you will need if you want to connect a custom class to an object in Interface Builder
Identity Inspector
Commmand-R
Seques .... relationships
@
40. Postcondition repetition structure syntax
do{/*stuff to do here*/}while(<boolean expression>);
C
/*blah blah blah */
Control-click on the View Controller's icon to bring up a Connections dialog
41. Class that another class inherits from
Actions
superclass
Seques .... relationships
[myLabel setText:@'Howdy'];
42. 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
43. Class used for creating image views
UIImageView
'Software Development Kit'
320 x 480
//blah blah blah
44. Data type for numbers with 'tame' numbers of decimal points
float
sending an object a message
self
onscreen 'widgets' a user can interact with
45. Syntax for reserving memory and initializing an object
//blah blah blah
Treats the field as a password - hiding each character as it is typed
[[<class name> alloc] init];
Option+Command+4
46. A transition between scenes - frequently with a visual transition effect applied
property list
segue
protocols
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
47. Defines the functional building blocks (classes) that make iOS devices perform certain actions
Cocoa Touch
NSObject
NSString
wrap
48. Dimensions of iPad (in points)
IBOutlet
x--;
114 x 114
1024 x 768
49. The bar across the top of the Editor area that shows you the item you are editing
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
Jump Bar
interface and implementation files
First Responder
50. Class of strings that can be changed
+
NSMutableString
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
nil