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. Apple's classes often provide a special initialization method called a _____ method
convenience
stub
nibfile
alpha ... 1
2. Syntax for declaring a variable
Isolate the functional components of an app
accessible apps
retain - release - dealloc - autorelease
<type> <variableName>;
3. Postcondition repetition structure syntax
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
do{/*stuff to do here*/}while(<boolean expression>);
storyboard
label.text=@'Hello World!';
4. 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
5. This file contains the scene - segue and relationship definitions for your project
320 x 480
Application Programming Interface
Command+S
storyboard
6. Data type for true/false type variables
!=
Program received signal: EXC_BAD_ACCESS
Commmand-R
bool
7. Language used to write iOS apps
Objective-C
scene
hasShrunk==YES && hasMoved == YES
prototyping
8. Scaling factor to make an image suitable for retina display
casting
512MB
strong
2
9. iPhone and iPad ____ support .png transparency
Model-View-Controller
do not
utility
nil
10. Boolean for 'false' in Objective-C
ption+Command+Return
boiler-plate
NO
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
11. XML
Group
Cocoa Touch - Media - Core Services - Core OS
eXtensible Markup Language
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
12. Other name for an *.xib file
NSMutableString
nibfile
h
retain
13. Single line text field
UITextField
Double-click
retain
YES
14. Modulus (remainder) operator
NSURLRequest
320 x 480
%
NSString
15. Class that creates an array capable of being changed after it is create
NSMutableArray
interface file
boiler-plate
scene
16. You have an instance variable called 'myLabel' that is a member of UILabel. In an app - you set it's text property to 'Howdy' with the correctly-written command: myLabel.text = @'Howdy'; Re-write this command using [ ] message-sending syntax
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
17. The object currently in control and interacting with the user
First Responder
NSMutableArray
token
Command+R
18. Write a statement to declare and initialize a label object called 'myLabel'
114 x 114
Double-click
UILabel *myLabel = [[UILabel alloc] init];
NSArray
19. Defines the functional building blocks (classes) that make iOS devices perform certain actions
UITextField
Gray circle with a white 'X' in it - positioned to the right of the text field box
Cocoa Touch
CGAffineTransform
20. 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
21. 'plist' stands for...
implicitly declare a matching instance variable
property list
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
label
22. Key sequence to save an Xcode file
view controller
Option+Command+ 0
NSURLRequest
Command+S
23. An _______ is used to enable your code to talk to objects within views
NSObject
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
IBAction)moveMe:(id)sender;
IBOutlet
24. Return type indicating a method returns nothing
inspector and library
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
Command+0
void
25. The library that contains the objects you can add to a view or XIB file
nonatomic
YES
Object library
y *= 5;
26. This type of app is mostly custom controllers and graphics
Integrated Development Environment
hash
immersive
Identity Inspector
27. The 'First Responder' in a scene is not an object it is considered a ________
conform
proxy
Cocoa Touch
segue
28. Precondition repetition structure syntax
-
Integrated Development Environment
||
while(<boolean expression>){/*stuff to do here*/}
29. IDE for iPhone Development
nibfile
Xcode
@end
Scheme
30. 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)
stub
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
Snapshot feature
nil
31. Given: [graduationParty addAttendee: @'Aunt Jane' withDish: @'deviled eggs']; The 'receiver' is _______; the 'selector' is _________
disclosure triangle
Classes
'Software Development Kit'
graduationParty ... addAttendee:withDish
32. Scaling - rotation - and translation are the most commonly used manipulations supported by _____ transforms - but skewing is also possible.
affine
Objective-C
superclass
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
33. Key sequence to open the Attributes Inspector
Option+Command+4
Nib (but a few call it 'zib' but that's not preferred)
IBAction
NSMutableString
34. Every iOS application implements a subclass of _________
Xcode
UIApplication
2
Scheme
35. Extension for implementation file
512MB
NSDate
m
image view
36. A tool in Xcode to help fix broken code
segue
NSDate
detail disclosure
debugger
37. Purpose of the 'Auto-enable Return Key' attribute for text fields
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
view
Hold down the Option key and point to the other label. The distance will be shown
||
38. Allows you to easily track multiple versions of your project
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.
Snapshot feature
h
Group
39. What's the difference between Cocoa and Cocoa Touch?
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
Command+0
Home button
retain - release - dealloc - autorelease
40. You have created some 'breadcrumbs' using NSLog to trace the path of your code - and the debug area is open - yet you see no information in the panel. What's the problem and what is the solution?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
41. Tests to see whether two values are not equal
casting
!=
viewDidLoad
%d
42. iOS functional building blocks
IBOutlet
int
Classes
NSArray
43. Shortcut for writing: x = x - 1;
segue
x--;
controller
h
44. _____ are methods that we can connect to events.
Model-View-Controller
image view
Actions
NSString *userName;
45. The Inspector you would use to control your layout in Interface Builder
instance variable
hash
Size Inspector
NSMutableString
46. Storage place for a piece of information specific to a class
Xcode
instance variable
First Responder
Program received signal: EXC_BAD_ACCESS
47. API
Application Programming Interface
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
count++;
UIViewController
48. Used to test an app without needing an actual physical device
convenience
subclass
!
iOS Simulator
49. To zoom between an overview of the entire storyboard and the actual size view - ______ the storyboard background.
Double-click
#import 'myFile.h'
bool
prototyping
50. Key sequence to open the Project Navigator (left panel)
-
UITextView
ommand+Return
Command+1