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 open the Standard Editor
ommand+Return
Option+Command+ 0
label
pipe
2. setters
1024 x 768
m
mutators
Program received signal: EXC_BAD_ACCESS
3. A skeleton (holding place) or framework of code that will be completed in the future; provided initially so code will compile (but it may not function)
Model-View-Controller
NSLog
stub
#import <UIKIT/UIKIT.h>
4. An _______ is used to 'advertise' a method in your code that should be called when a certain event takes place
main()
instance variable
IBAction
114 x 114
5. This element should 'always' accompany a slider to indicate its purpose
m
label
viewDidLoad
interface file
6. Key sequence to hide/show Utilities View
eXtensible Markup Language
Group
interface and implementation files
Option+Command+ 0
7. Dimensions of iPhone (in points)
320 x 480
1024 x 768
alpha
//blah blah blah
8. Data type for highly precise numbers with huge numbers of decimal places
Utility apps
modal
convenience
double
9. Given: #import <UIKit/UIKit.h> @interface WelcomeViewController : UIViewController @end The superclass for WelcomeViewController
Classes
UIViewController
ption+Command+Return
hasShrunk==YES && hasMoved == YES
10. Class used for creating image views
storyboards
UIImageView
self
!
11. Class that another class inherits from
wrap
@end
superclass
Cocoa Touch
12. Class of collection data type which stores information as object/key pairs
Seques .... relationships
NSDictionary
@
com.basicversity
13. Development approach (design pattern) to structure iOS applications
hash
Model-View-Controller
proxy
storyboard
14. This keyword in the property directive is related to memory management and refers to the idea that we want to maintain control of memory issues
User Interface
retain
Commmand-R
prototyping
15. Way to refer to an object within its own methods
UITextView
control-dragging
mutators
self
16. In a stepper control - when this attribute option is checked - the stepper's value is automatically set to the minimum value when the maximum value is exceeded (or vice versa).
wrap
Command+1
Jump Bar
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
17. Document Apple uses to evaluate apps for the App Store
implementation file
Human Interface Guide
UITextView
Command+1
18. @synthesize directives should be placed _____ (above or below) the @implementation directive in the implementation file
below
&&
Utility apps
'Interface Builder'
19. To unroll or roll up a hierarchy of files - objects or classes - you click the ______ _______ at the root element
disclosure triangle
label
Group
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
20. Expression to create a random number in [0 -20];
1024 x 768
rand( )%21
Scheme
Commmand-R
21. Companion to the @property directive
modal
Program received signal: EXC_BAD_ACCESS
%1.2f
@synthesize
22. Shortcut for writing: count = count + 1;
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
count++;
stub
Size Inspector
23. Data type for true/false type variables
bool
Seques .... relationships
[<object variable> <method name>: p1];
accessors
24. 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.
alpha
static
controller
UITextView
25. Objective-C is an extension (super set) of...
graduationParty ... addAttendee:withDish
label
inspector and library
C
26. Defines the functional building blocks (classes) that make iOS devices perform certain actions
&&
implementation file
Cocoa Touch
parameter
27. The Inspector you will need if you want to connect a custom class to an object in Interface Builder
Option-click a symbol
Identity Inspector
-
Classes
28. Memory aid for keyboard shortcuts in the Navigator panel
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
29. IDE for iPhone Development
Xcode
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
Outlets ... pointer
implementation file
30. Symbol often denoting a 'pointer'
'Software Development Kit'
*
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
implementation file
31. Name of the '|' symbol
float
Cocoa Touch
pipe
Object Library
32. To use a new class you need to _____ it
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
Document Outline Area or Outline View
instantiate
do{/*stuff to do here*/}while(<boolean expression>);
33. Used to test an app without needing an actual physical device
parameter
iOS Simulator
count++;
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
34. 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
35. The bar across the top of the Editor area that shows you the item you are editing
The Console area of the Debug area
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
Jump Bar
+
36. This type of app typically involves hierarchical data
debugger
Snapshot feature
productivity
ption+Command+Return
37. The '@' symbol is shorthand for creating one of these
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
NSObject
do not
NSString
38. The goal of the MVC design pattern
NSDictionary
Isolate the functional components of an app
Integrated Development Environment
modal
39. Denotes a class method
storyboard
Collections
+
disclosure
40. Syntax for reserving memory and initializing an object
disclosure triangle
UITextField
[[<class name> alloc] init];
nil
41. Attribute that informs Xcode not to worry about different parts of the application using a property at the same time
implementation file
Gray circle with a white 'X' in it - positioned to the right of the text field box
nonatomic
boiler-plate
42. The 'First Responder' in a scene is not an object it is considered a ________
graduationParty ... addAttendee:withDish
NSString *userName;
proxy
myImage@2x.png
43. Class used for image manipulations such as scaling - rotation and translation. Its data structure represents a matrix used for affine transformations.
NSString *phrase = @'Hello World';
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
CGAffineTransform
UIApplication
44. The name of the panel to the left of the Interface Builder Editor panel
<type> <variableName>;
Document Outline Area or Outline View
pound
Determine how controls resize/reposition themselves when a device changes orientation
45. In the UK - the '#' symbol is often called the ____ symbol
Cocoa Touch - Media - Core Services - Core OS
IBOutlet
hash
[[<class name> alloc] init];
46. Alternative selection mechanism when many conditions exist
Touch Up Inside
casting
switch
*
47. Boolean for 'true' in Objective-C
switch
Objective-C
YES
count++;
48. An app has boolean variables 'hasShrunk' and 'hasMoved'. Write a boolean condition that checks if each are true
hasShrunk==YES && hasMoved == YES
Attributes Inspector
2
onscreen 'widgets' a user can interact with
49. Property affecting an element's transparency
image view
alpha
nonatomic
Gray circle with a white 'X' in it - positioned to the right of the text field box
50. The HIG requires some kind of _____ element in a cell if there is more information available
Touch Up Inside
NSString
controller
disclosure