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. 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.
int
viewDidLoad
To provide a convenient way of setting the button's title in the code
immersive
2. Single line text field
First Responder
UITextField
web view
switch
3. Formatting placeholder for integers
debugger
implementation file
%d
xcodeproj
4. Objective-C is an extension (super set) of...
320 x 480
512MB
Option+Command+4
C
5. Term used to describe each screen of an iPhone app
Commmand-R
view
storyboards
Human Interface Guide
6. OOP
Instruments
Object-oriented programming
Option+Command+4
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
7. Consider: int x = 6;int y = 7;float quotient = (float) x/y;The statement that creates the variable 'quotient' is an example of ...
UIApplication
casting
detail disclosure
segue
8. An _______ is used to 'advertise' a method in your code that should be called when a certain event takes place
IBAction
Single View Application
retain - release - dealloc - autorelease
Outlets ... pointer
9. Scaling - rotation - and translation are the most commonly used manipulations supported by _____ transforms - but skewing is also possible.
Command+0
<>
affine
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
10. Storage place for a piece of information specific to a class
-
instance variable
Nib (but a few call it 'zib' but that's not preferred)
#import 'myFile.h'
11. strong and nonatomic are examples of ...
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
@synthesize directive
attributes
token
12. SDK
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
13. Files used to create a class
alpha ... 0
interface and implementation files
self
Outlets ... pointer
14. Extension for MainStoryboard
!=
property list
UIImageView
storyboard
15. Recommended image type for button graphics
png
ommand+Return
Object Library
!=
16. Class of strings that can be changed
IBAction
NSMutableString
UIViewController
scene
17. Allows you to easily track multiple versions of your project
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
wrap
Snapshot feature
protocols
18. Key sequence to open the Project Navigator (left panel)
Command+R
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
Command+1
Model-View-Controller
19. Negation symbol
label
!
2
contentSize
20. Syntax for declaring a string called 'userName'
above
NSString *userName;
Identity Inspector
count++;
21. This type of app typically involves hierarchical data
IBAction)moveMe:(id)sender;
productivity
:
Commmand-R
22. Data type for numbers with 'tame' numbers of decimal points
detail disclosure
float
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
Jump Bar
23. ______ and ______ define the connections between scenes.
xcodeproj
nil
protocols
Seques .... relationships
24. Symbol used for inheritance
Command + Tab
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.
:
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
25. Syntax for single-line comment
%@
//blah blah blah
debugger
NeXSTEP
26. Always used to end the list of objects when initializing an array
NSDictionary
nil
retain
UIPicker
27. getters
count++;
debugger
accessors
IBAction
28. 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
29. Purpose of the 'Auto-enable Return Key' attribute for text fields
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.
alpha
model
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
30. Way to refer to an object within its own methods
self
Cocoa Touch - Media - Core Services - Core OS
NSObject
segue
31. If a method name includes a colon (:) this indicates a required _________
model
Seques .... relationships
static
parameter
32. UI
[myLabel setText:@'Howdy'];
User Interface
Object library
interface file
33. Alternative selection mechanism when many conditions exist
switch
#import <UIKIT/UIKIT.h>
nil
Application Programming Interface
34. 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?
%1.2f
UIApplication
h
com.basicversity
35. IB
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
36. An app has boolean variables 'hasShrunk' and 'hasMoved'. Write a boolean condition that checks if each are true
hasShrunk==YES && hasMoved == YES
*
NSString *phrase = @'Hello World';
114 x 114
37. In most graphical user interfaces - a _____ view is a view that must be dismissed ('OK' button - 'Cancel' button for example) before the user can perform any other actions in the application.
modal
NSString *userName;
alpha
IBOutlet
38. A common button type that indicates additional information is available
Size Inspector
storyboards
void
detail disclosure
39. Class used for image manipulations such as scaling - rotation and translation. Its data structure represents a matrix used for affine transformations.
Command+1
CGAffineTransform
1024 x 768
UIApplication
40. Formatting placeholder for a floating point value with one digit on the left of the decimal and two digits on the right
%1.2f
%d
pound
h
41. Name of the drop-down menu in Xcode that lets you select the device used with the iOS Simulator
storyboard
Scheme
switch
view controller
42. The Inspector you will need if you want to connect a custom class to an object in Interface Builder
Identity Inspector
scene
void
alpha ... 0
43. Data type for true/false type variables
interface and implementation files
nil
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
bool
44. Extension for interface file
The Console area of the Debug area
&&
h
'Interface Builder'
45. An integrated web browser component
web view
[[<class name> alloc] init];
above
-
46. Boolean for 'false' in Objective-C
First Responder
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
Command+S
NO
47. Development approach (design pattern) to structure iOS applications
Model-View-Controller
NSString
Program received signal: EXC_BAD_ACCESS
*
48. Shortcut for writing: x = x - 1;
x--;
nibfile
Commmand-R
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
49. @property directives should be placed ____ (above or below) any IBActions in the header file
above
Object library
class
%
50. iOS functional building blocks
UITextView
Classes
superclass
id