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. Defines the functional building blocks (classes) that make iOS devices perform certain actions
%
token
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.
Cocoa Touch
2. Calling a method is the same as...
graduationParty ... addAttendee:withDish
sending an object a message
NSURL
Snapshot feature
3. Syntax for sending an object a message with no parameters
Outlets ... pointer
conform
disclosure
[<object variable> <method name>];
4. Class of strings that can be changed
graduationParty ... addAttendee:withDish
!=
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
NSMutableString
5. This Xcode utility allows you to check CPU usage - memory allocation and network/file access (among other things)
storyboards
m
void
Instruments
6. Modulus (remainder) operator
interface and implementation files
Objective-C
Control-click on the View Controller's icon to bring up a Connections dialog
%
7. To use a new class you need to _____ it
stub
NO
switch
instantiate
8. Files used to create a class
interface and implementation files
void
protocols
@synthesize
9. Method used to print information in an output panel
Human Interface Guide
protocols
NSLog
proxy
10. Negation symbol
Seques .... relationships
#import <UIKIT/UIKIT.h>
!
Attributes Inspector
11. getters
controller
instance variable
accessors
<type> <variableName>;
12. Something the simulator cannot reliably test
%@
NSLog(@'%s' - __FUNCTION__);
performance
UITextView
13. What computer language is the storyboard written in?
int
==
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
XML
14. Tests to see whether two values are equal
==
variable
nibfile
Cocoa Touch - Media - Core Services - Core OS
15. Multiline text entry block
UITextView
Human Interface Guide
%@
do not
16. Creates 'getters' and 'setters'
@synthesize directive
iOS Simulator
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.
'Software Development Kit'
17. Collection of interface elements and data storage elements etc you can access from your applications
The Console area of the Debug area
Cocoa Touch
NSMutableArray
storyboard
18. Syntax for reserving memory and initializing an object
Object library
Option+Command+4
IBOutlet
[[<class name> alloc] init];
19. Extension for MainStoryboard
storyboard
%1.2f
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
Utility apps
20. Syntax for single-line comment
UIWindow
Model-View-Controller
//blah blah blah
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
21. OOP
alpha ... 1
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
Object-oriented programming
viewDidLoad
22. Class used to work with dates as objects
switch
NSDate
instantiation
Command+1
23. The Utilities area has two sections: ______ and ______
void
@
[[<class name> alloc] init];
inspector and library
24. What do the Autosizing settings of the Size Inspector do?
ommand+Return
performance
do not
Determine how controls resize/reposition themselves when a device changes orientation
25. Consider: int x = 6;int y = 7;float quotient = (float) x/y;The statement that creates the variable 'quotient' is an example of ...
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
casting
%@
interface and implementation files
26. To zoom between an overview of the entire storyboard and the actual size view - ______ the storyboard background.
static
[<object variable> <method name>];
rand( )%21
Double-click
27. Shortcut for writing: count = count + 1;
Nib (but a few call it 'zib' but that's not preferred)
onscreen 'widgets' a user can interact with
&&
count++;
28. Templates fill in a bunch of ______-_______ code that serves as a framework in which to write future implementations
boiler-plate
hash
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
Single View Application
29. A class that manages the user's interaction with the iDevice
view controller
*
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
protocols
30. Companion to the @property directive
Object library
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
@synthesize
%@
31. Alternative selection mechanism when many conditions exist
scene
Model-View-Controller
switch
pound
32. Another name for a 'button bar'
ommand+Return
segmented control
import
parameter
33. The Inspector you will need if you want to connect a custom class to an object in Interface Builder
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
protocols
UIWindow
Identity Inspector
34. ______ and ______ define the connections between scenes.
-
Seques .... relationships
[<object variable> <method name>: p1];
id
35. 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
36. Apple's classes often provide a special initialization method called a _____ method
scene
graduationParty ... addAttendee:withDish
114 x 114
convenience
37. An app has boolean variables 'hasShrunk' and 'hasMoved'. Write a boolean condition that checks if each are true
strong
NSString
hasShrunk==YES && hasMoved == YES
Scheme
38. IDE for iPhone Development
Determine how controls resize/reposition themselves when a device changes orientation
nonatomic
Xcode
[<object variable> <method name>];
39. Denotes an instance method
int
-
&&
view controller
40. In the MVC design pattern for iOS apps - view consists of the various...
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
41. The bar across the top of the Editor area that shows you the item you are editing
Jump Bar
NSString
Touch Up Inside
Utility apps
42. Used to receive an event in code and trigger something
IBAction
switch
contentSize
conform
43. In the MVC design pattern for iOS apps - this aspect is responsible for receiving user input and acting accordingly - and serves as a 'bridge' between the other two components. It is the backbone of the app.
mutators
UIWindow
controller
Option-click a symbol
44. Class used for creating image views
UIImageView
%
do{/*stuff to do here*/}while(<boolean expression>);
/*blah blah blah */
45. Delimiter for a list of protocols
instantiation
property list
<>
NSDictionary
46. Way to refer to an object within its own methods
[<object variable> <method name>: p1];
NSString *userName;
Classes
self
47. A unique combination of view controller and view
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
scene
stub
NSLog(@'%s' - __FUNCTION__);
48. The Inspector you would access to gain access to various accessibility attributes
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
Identity Inspector
Double-click
hash
49. Key sequence on a Mac to select between open application
!
image view
Command+S
Command + Tab
50. Prior to ARC - you used these terms alot
subclass
instantiate
protocols
retain - release - dealloc - autorelease