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. Framework used to write iPhone apps
alpha ... 1
Program received signal: EXC_BAD_ACCESS
Cocoa Touch
com.basicversity
2. Syntax to include the fictitious user-created file 'myFile.h'
3. Consider: int x = 6;int y = 7;float quotient = (float) x/y;The statement that creates the variable 'quotient' is an example of ...
casting
controller
workspace
performance
4. iPhone and iPad ____ support .png transparency
Program received signal: EXC_BAD_ACCESS
do not
Model-View-Controller
'Interface Builder'
5. The 'First Responder' in a scene is not an object it is considered a ________
proxy
Classes
UIImageView
x--;
6. Declare and initialize a string that says: 'Hello World' whose identifier if 'phrase' . Use the shortest command possible.
7. Shortcut for writing: x = x - 1;
%@
x--;
view
Cocoa Touch
8. Syntax for sending an object a message with no parameters
[<object variable> <method name>];
Command+S
void
wrap
9. Boolean for 'false' in Objective-C
NO
To provide a convenient way of setting the button's title in the code
Single View Application
Home button
10. IDE for iPhone Development
Treats the field as a password - hiding each character as it is typed
Identity Inspector
@end
Xcode
11. Symbol often denoting a 'pointer'
accessors
while(<boolean expression>){/*stuff to do here*/}
*
rand( )%21
12. Development approach (design pattern) to structure iOS applications
Model-View-Controller
#import <UIKIT/UIKIT.h>
h
nil
13. Memory aid for keyboard shortcuts in the Navigator panel
14. Define a collection of methods to perform a task
protocols
boiler-plate
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
UIImageView
15. Tests to see whether two values are equal
UITextView
==
#import 'myFile.h'
Object Library
16. Other name for an *.xib file
alpha ... 1
eXtensible Markup Language
nibfile
NO
17. Write a statement to declare and initialize a label object called 'myLabel'
UILabel *myLabel = [[UILabel alloc] init];
NSURL
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
18. Resembles a slot machine display
%@
Instruments
Command+0
UIPicker
19. Storage place for a piece of information specific to a class
class
instance variable
NeXSTEP
#import 'myFile.h'
20. To unroll or roll up a hierarchy of files - objects or classes - you click the ______ _______ at the root element
disclosure triangle
above
Identity Inspector
stub
21. Symbol used for inheritance
:
instantiation
Home button
2
22. OOP
alpha
viewDidLoad
Object-oriented programming
Outlets ... pointer
23. Syntax for declaring a string called 'userName'
NSString *userName;
'Software Development Kit'
instance variable
Determine how controls resize/reposition themselves when a device changes orientation
24. Piece of information provided to a method when it is messaged
57 x 57
parameter
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
below
25. Term used to describe each screen of an iPhone app
Seques .... relationships
id
view
NSMutableString
26. Objective-C is an extension (super set) of...
@end
Scheme
C
NSMutableString
27. What event do you use to detect a button tap?
pipe
UITextField
Touch Up Inside
com.basicversity
28. Storage location for a piece of information
Option+Command+4
graduationParty ... addAttendee:withDish
png
variable
29. A tool in Xcode to help fix broken code
debugger
User Interface
Double-click
id
30. Used to define a list of all methods and properties a class uses
IBOutlet
modal
interface file
Option+Command+ 0
31. In the UK - the '#' symbol is often called the ____ symbol
<type> <variableName>;
alpha ... 0
conform
hash
32. An example of a common collection data type
512MB
NSArray
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
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
33. How do you get rid of an onscreen keyboard?
34. Code fragment for echo printing the name of a function as it loads (for tracing the sequence of code in a project...leaving breadcrumbs)
35. Syntax for sending an object a message with one parameter (p1)
[<object variable> <method name>: p1];
<type> <variableName>;
alpha
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
36. An _______ is used to 'advertise' a method in your code that should be called when a certain event takes place
IBAction
Cocoa Touch
!=
accessors
37. Alternative selection mechanism when many conditions exist
Cocoa Touch
performance
segue
switch
38. The Utilities area has two sections: ______ and ______
2
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.
inspector and library
superclass
39. Class that creates an array capable of being changed after it is create
protocols
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
'Software Development Kit'
NSMutableArray
40. iOS functional building blocks
alpha
Application Programming Interface
Gray circle with a white 'X' in it - positioned to the right of the text field box
Classes
41. The goal of the MVC design pattern
boiler-plate
Application Programming Interface
Objective-C
Isolate the functional components of an app
42. What computer language is the storyboard written in?
XML
57 x 57
affine
Group
43. Key sequence to open the Project Navigator (left panel)
2
int
512MB
Command+1
44. NS stands for...
Command+S
NeXSTEP
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
Cocoa Touch
45. Another name for a 'button bar'
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
Program received signal: EXC_BAD_ACCESS
Option+Command+ 0
segmented control
46. Used to set up an outgoing connection from the implementation code to the view
NSString *phrase = @'Hello World';
interface file
model
IBOutlet
47. Denotes a class method
+
NSLog
view
interface file
48. What do the Autosizing settings of the Size Inspector do?
Command+1
control-dragging
Determine how controls resize/reposition themselves when a device changes orientation
Model-View-Controller
49. Dimensions of iPad (in points)
count++;
1024 x 768
Treats the field as a password - hiding each character as it is typed
alpha ... 0
50. An app has boolean variables 'hasShrunk' and 'hasMoved'. Write a boolean condition that checks if each are true
attributes
320 x 480
hasShrunk==YES && hasMoved == YES
header