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. Key sequence to save an Xcode file
Xcode
Model-View-Controller
%d
Command+S
2. Used to indicate any type of object
%d
id
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
@synthesize directive
3. Collection of interface elements and data storage elements etc you can access from your applications
storyboards
Cocoa Touch
stub
utility
4. Although it is possible to declare an instance variable and then define a corresponding property - you may also use @property alone to...
label
float
storyboard
implicitly declare a matching instance variable
5. Purpose of the 'Auto-enable Return Key' attribute for text fields
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
nil
57 x 57
6. Other name for an *.xib file
nibfile
workspace
Single View Application
Program received signal: EXC_BAD_ACCESS
7. Data type for whole numbers
@
switch
int
[[<class name> alloc] init];
8. A transition between scenes - frequently with a visual transition effect applied
id
First Responder
%@
segue
9. Expression to create a random number in [0 -20];
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.
Application Programming Interface
[myLabel setText:@'Howdy'];
rand( )%21
10. For a text field - what does the 'Clear Button' look like?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
11. Companion to the @property directive
class
@synthesize
sending an object a message
superclass
12. A file folder in the navigator panel is called a ________
320 x 480
static
Group
storyboards
13. An _______ is used to 'advertise' a method in your code that should be called when a certain event takes place
IBAction)moveMe:(id)sender;
IBAction
xcodeproj
Isolate the functional components of an app
14. The Inspector you would use to tweak the way interface objects appear
Human Interface Guide
modal
immersive
Attributes Inspector
15. This file contains the scene - segue and relationship definitions for your project
storyboard
Actions
Cocoa Touch
productivity
16. Files used to create a class
interface and implementation files
Command + Tab
retain
Integrated Development Environment
17. API
Application Programming Interface
UIApplication
57 x 57
static
18. Data type for numbers with 'tame' numbers of decimal points
float
Option+Command+ 0
-
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
19. ______ enable applications to store multiple pieces of information in a single object
Collections
Object-oriented programming
Model-View-Controller
#import 'myFile.h'
20. If you wish to 'echo print' breadcrumb info as you develop your app - this panel must be visible
iOS Simulator
ommand+Return
The Console area of the Debug area
png
21. In the US - the '#' symbol is often called the ____ symbol
strong
320 x 480
'Interface Builder'
pound
22. Apps written to assist users with special disabilities
accessible apps
utility
protocols
Application Programming Interface
23. An integrated web browser component
protocols
NSArray
web view
NSURLRequest
24. An _______ is used to enable your code to talk to objects within views
onscreen 'widgets' a user can interact with
IBOutlet
conform
<>
25. These define to which messages the datasource and delegate respond
protocols
Attributes Inspector
Treats the field as a password - hiding each character as it is typed
Object-oriented programming
26. RAM for iPhone
mutators
immersive
below
512MB
27. Boolean for 'false' in Objective-C
interface file
*
wrap
NO
28. setters
mutators
*
y *= 5;
nil
29. Syntax for declaring a string called 'userName'
<type> <variableName>;
sending an object a message
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
NSString *userName;
30. Key sequence to hide/show Navigator View
scene
modal views
Command+0
token
31. The bar across the top of the Editor area that shows you the item you are editing
NSDate
Jump Bar
while(<boolean expression>){/*stuff to do here*/}
'Interface Builder'
32. Tests to see whether two values are equal
CGAffineTransform
Scheme
==
NSString *phrase = @'Hello World';
33. What's the difference between Cocoa and Cocoa Touch?
Model-View-Controller
Identity Inspector
[<object variable> <method name>];
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
34. Class that creates an array capable of being changed after it is create
storyboards
NSMutableArray
boiler-plate
float
35. Closes an interface file
@end
do not
Cocoa Touch
variable
36. Tests to see whether two values are not equal
512MB
Model-View-Controller
superclass
!=
37. Defines the functional building blocks (classes) that make iOS devices perform certain actions
attributes
proxy
Cocoa Touch
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
38. Indicates a lack of any value at all
NSLog(@'%s' - __FUNCTION__);
nil
Touch Up Inside
||
39. A view has a 'Shrink' button whose label needs to change once it is clicked to 'Grow'. Write a 'message' type command to change it's label to 'Grow'
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
40. Boolean for 'true' in Objective-C
YES
UIPicker
IBOutlet
pipe
41. Word used to indicate that a user can't interact with a given element
static
+
#import <UIKIT/UIKIT.h>
iOS Simulator
42. Combining two messages into a single line of code
UITextField
To provide a convenient way of setting the button's title in the code
nested message send
NSMutableArray
43. You have two labels in Interface Builder. One is selected (You clicked on it). How can you tell the distance between it and the other label?
storyboard
modal
parameter
Hold down the Option key and point to the other label. The distance will be shown
44. Denotes an instance method
-
image view
#import 'myFile.h'
Model-View-Controller
45. Allows you to easily track multiple versions of your project
hash
512MB
Snapshot feature
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
46. Data type for true/false type variables
NSDate
!
bool
image view
47. An example of a common collection data type
NSArray
:
parameter
pipe
48. Formatting placeholder for integers
stub
%d
contentSize
'Interface Builder'
49. Syntax for sending an object a message with one parameter (p1)
y *= 5;
[<object variable> <method name>: p1];
Attributes Inspector
IBAction
50. Used to display image file resources and show simple animations
alpha ... 0
image view
IBOutlet
NSLog(@'%s' - __FUNCTION__);