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
below
UIApplication
instance variable
m
2. Templates fill in a bunch of ______-_______ code that serves as a framework in which to write future implementations
[myLabel setText:@'Howdy'];
retain
boiler-plate
parameter
3. Class used for creating image views
parameter
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
-
UIImageView
4. IDE for iPhone Development
Option+Command+4
%@
Xcode
57 x 57
5. Consider: int x = 6;int y = 7;float quotient = (float) x/y;The statement that creates the variable 'quotient' is an example of ...
casting
iOS Simulator
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
png
6. A fully transparent image has an _____ property value of _____
Hold down the Option key and point to the other label. The distance will be shown
*
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
alpha ... 0
7. IDE
Integrated Development Environment
Commmand-R
label.text=@'Hello World!';
*
8. Define a collection of methods to perform a task
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
protocols
myImage@2x.png
control-dragging
9. ______ are variables that can store a ____ to an object.
Outlets ... pointer
storyboard
pound
immersive
10. The library that contains the objects you can add to a view or XIB file
/*blah blah blah */
Object library
57 x 57
label.text=@'Hello World!';
11. Prior to ARC - you used these terms alot
%@
retain - release - dealloc - autorelease
IBOutlet
NSString
12. Method used to print information in an output panel
sending an object a message
web view
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
NSLog
13. 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.
casting
Option-click a symbol
interface and implementation files
viewDidLoad
14. 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
15. Key sequence to run an app in Xcode
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
NO
token
Command+R
16. 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
17. In the UK - the '#' symbol is often called the ____ symbol
controller
==
hash
token
18. What type of object does a web view expect as a parameter when loading a remote URL?
detail disclosure
token
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
NSURLRequest
19. iOS functional building blocks
nonatomic
NSString *userName;
Classes
#import <UIKIT/UIKIT.h>
20. Tests to see whether two values are not equal
!=
modal
<type> <variableName>;
@2x
21. Syntax to include UIKIT in a class
#import <UIKIT/UIKIT.h>
xcodeproj
rand( )%21
disclosure triangle
22. Two-way selection logic block
protocols
protocols
Cocoa Touch
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
23. This type of app is mostly custom controllers and graphics
nested message send
wrap
Home button
immersive
24. The Inspector you would access to gain access to various accessibility attributes
Identity Inspector
YES
id
'Interface Builder'
25. Dimensions of iPad (in points)
instantiation
label
ommand+Return
1024 x 768
26. Closes an interface file
UILabel *myLabel = [[UILabel alloc] init];
do not
@
@end
27. Data type for numbers with 'tame' numbers of decimal points
IBOutlet
float
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
Object Library
28. Master class in iOS
do not
NSObject
immersive
Double-click
29. Extension for an iPhone/iPad app
Classes
Model-View-Controller
xcodeproj
Model-View-Controller
30. 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
31. Syntax for declaring a variable
y *= 5;
/*blah blah blah */
<type> <variableName>;
UIImageView
32. Declaring a method in an interface file - before it is actually implemented is called _______ the method
x--;
NSString *userName;
iOS Simulator
prototyping
33. 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
hash
Program received signal: EXC_BAD_ACCESS
below
retain
34. Term used to describe each screen of an iPhone app
class
view
storyboard
hash
35. Allows you to easily track multiple versions of your project
57 x 57
segue
Snapshot feature
UITextView
36. Used to indicate any type of object
header
instantiate
id
Xcode
37. A ______ is where you edit a view and assign a controller to it.
accessible apps
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
Cocoa Touch
scene
38. This type of app is typically one screen - and gives you the basics with minimal interaction
h
utility
[<object variable> <method name>];
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
39. These define to which messages the datasource and delegate respond
%1.2f
protocols
Objective-C
User Interface
40. 4 Top down technology layers making up iOS
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
instance variable
NSDictionary
Cocoa Touch - Media - Core Services - Core OS
41. Boolean for 'false' in Objective-C
switch
Outlets ... pointer
ption+Command+Return
NO
42. Denotes a class method
Cocoa Touch
label
image view
+
43. In the US - the '#' symbol is often called the ____ symbol
pound
parameter
Size Inspector
myImage@2x.png
44. Process of creating an active object from a class
nibfile
Gray circle with a white 'X' in it - positioned to the right of the text field box
NSString
instantiation
45. The HIG requires some kind of _____ element in a cell if there is more information available
@
114 x 114
header
disclosure
46. Character used to show an element as a literal string
!
@
void
main()
47. What do the Autosizing settings of the Size Inspector do?
Determine how controls resize/reposition themselves when a device changes orientation
nil
Nib (but a few call it 'zib' but that's not preferred)
!
48. Companion to the @property directive
NSMutableArray
Objective-C
Group
@synthesize
49. The bar across the top of the Editor area that shows you the item you are editing
'Interface Builder'
512MB
Jump Bar
superclass
50. You are creating an app for a company whose URL is http://www.basicversity.com . What should be the company identifier for the app when you begin the project?
com.basicversity
#import 'myFile.h'
storyboard
[<object variable> <method name>: p1];