SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
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. Property affecting an element's transparency
[[<class name> alloc] init];
//blah blah blah
Object-oriented programming
alpha
2. Extension for implementation file
Double-click
segue
m
interface and implementation files
3. Data type for whole numbers
Integrated Development Environment
int
Option+Command+4
512MB
4. An app has boolean variables 'hasShrunk' and 'hasMoved'. Write a boolean condition that checks if each are true
casting
attributes
nil
hasShrunk==YES && hasMoved == YES
5. Extension for MainStoryboard
Command+R
alpha ... 0
storyboard
NSString *phrase = @'Hello World';
6. A virtual 'box' for organizing related projects
workspace
Cocoa Touch
Command+S
Object library
7. Class used for image manipulations such as scaling - rotation and translation. Its data structure represents a matrix used for affine transformations.
Isolate the functional components of an app
scene
CGAffineTransform
ommand+Return
8. Term used to describe each screen of an iPhone app
view
<>
UITextView
nonatomic
9. Consider: int x = 6;int y = 7;float quotient = (float) x/y;The statement that creates the variable 'quotient' is an example of ...
pound
instantiation
casting
protocols
10. Given: #import <UIKit/UIKit.h> @interface WelcomeViewController : UIViewController @end The superclass for WelcomeViewController
Object Library
proxy
UIViewController
float
11. Dimensions of iPad (in points)
1024 x 768
&&
Actions
To provide a convenient way of setting the button's title in the code
12. The library that contains the objects you can add to a view or XIB file
Hold down the Option key and point to the other label. The distance will be shown
debugger
Object library
xcodeproj
13. Although it is possible to declare an instance variable and then define a corresponding property - you may also use @property alone to...
2
float
implicitly declare a matching instance variable
eXtensible Markup Language
14. The Inspector you would access to gain access to various accessibility attributes
Identity Inspector
Object Library
Cocoa Touch
%@
15. Creates 'getters' and 'setters'
performance
@synthesize directive
debugger
label.text=@'Hello World!';
16. XML
eXtensible Markup Language
h
ommand+Return
do not
17. An _______ is used to enable your code to talk to objects within views
casting
IBOutlet
Object-oriented programming
Cocoa Touch
18. The ________ class provided a container for the management and display of views
subclass
UIWindow
NSURLRequest
switch
19. Allows you to easily track multiple versions of your project
Model-View-Controller
Cocoa Touch
Collections
Snapshot feature
20. Directive to include other interface files that an application might need to access
import
Collections
com.basicversity
nibfile
21. Key sequence to run an app in Xcode
Control-click on the View Controller's icon to bring up a Connections dialog
stub
rand( )%21
Command+R
22. Formatting placeholder for integers
alpha ... 0
graduationParty ... addAttendee:withDish
image view
%d
23. Language used to write iOS apps
Objective-C
Integrated Development Environment
do{/*stuff to do here*/}while(<boolean expression>);
nested message send
24. Size of iPhone 'lo-res' icon image in pixels
57 x 57
nonatomic
Application Programming Interface
Identity Inspector
25. This element should 'always' accompany a slider to indicate its purpose
label
IBOutlet
Cocoa Touch
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.
26. An _______ is used to 'advertise' a method in your code that should be called when a certain event takes place
IBAction)moveMe:(id)sender;
label
storyboard
IBAction
27. Other name for an *.xib file
Option-click a symbol
Home button
nibfile
Program received signal: EXC_BAD_ACCESS
28. MVC
CGAffineTransform
Model-View-Controller
Object-oriented programming
implicitly declare a matching instance variable
29. What event do you use to detect a button tap?
UITextField
NSMutableArray
id
Touch Up Inside
30. Define a collection of methods to perform a task
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
h
UIPicker
protocols
31. Scaling - rotation - and translation are the most commonly used manipulations supported by _____ transforms - but skewing is also possible.
Identity Inspector
Option-click a symbol
IBOutlet
affine
32. Piece of information provided to a method when it is messaged
==
parameter
//blah blah blah
C
33. Data type for numbers with 'tame' numbers of decimal points
float
protocols
#import 'myFile.h'
Instruments
34. Data type for true/false type variables
NeXSTEP
ommand+Return
alpha
bool
35. In the UK - the '#' symbol is often called the ____ symbol
hash
Command+0
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
First Responder
36. 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.
@2x
[<object variable> <method name>: p1];
Program received signal: EXC_BAD_ACCESS
viewDidLoad
37. Key sequence to open the Attributes Inspector
!
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
YES
Option+Command+4
38. In the US - the '#' symbol is often called the ____ symbol
==
prototyping
Object library
pound
39. Fixed iteration repetition control structure syntax
proxy
Hold down the Option key and point to the other label. The distance will be shown
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
Command+R
40. Collection of interface elements and data storage elements etc you can access from your applications
'Interface Builder'
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
Cocoa Touch
%
41. Code fragment for echo printing the name of a function as it loads (for tracing the sequence of code in a project...leaving breadcrumbs)
42. Denotes an instance method
Single View Application
-
implicitly declare a matching instance variable
nonatomic
43. A fully transparent image has an _____ property value of _____
UIImageView
@synthesize directive
superclass
alpha ... 0
44. Class used to work with dates as objects
NSDate
do{/*stuff to do here*/}while(<boolean expression>);
rand( )%21
NSURLRequest
45. Formatting placeholder for strings
nibfile
Object-oriented programming
%@
%d
46. Apple's classes often provide a special initialization method called a _____ method
Group
modal
convenience
//blah blah blah
47. A class that implements a protocol is said to ____ to that protocol
Cocoa Touch
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
parameter
conform
48. Character used to show an element as a literal string
@
Instruments
model
Home button
49. ______ and ______ define the connections between scenes.
%1.2f
class
CGAffineTransform
Seques .... relationships
50. Typical header syntax for a button that will be applying the 'moveMe' action in an app
pound
web view
IBAction)moveMe:(id)sender;
<>