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. Companion to the @property directive
Command + Tab
class
instance variable
@synthesize
2. Every iOS application implements a subclass of _________
view
Determine how controls resize/reposition themselves when a device changes orientation
UIApplication
UIImageView
3. 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
4. The '@' symbol is shorthand for creating one of these
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
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
NSString
@2x
5. This file contains the code that makes everything 'work'
implementation file
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
header
Identity Inspector
6. iOS functional building blocks
Classes
@synthesize
Command + Tab
mutators
7. Syntax for block-comment
pound
/*blah blah blah */
Cocoa Touch - Media - Core Services - Core OS
%d
8. Consider: int x = 6;int y = 7;float quotient = (float) x/y;The statement that creates the variable 'quotient' is an example of ...
casting
affine
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
wrap
9. Method used to print information in an output panel
class
instantiate
NSLog
boiler-plate
10. Code fragment for echo printing the name of a function as it loads (for tracing the sequence of code in a project...leaving breadcrumbs)
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
11. Negation symbol
instantiation
@2x
casting
!
12. Key sequence to hide/show Navigator View
Command+0
accessors
Treats the field as a password - hiding each character as it is typed
immersive
13. Used to display image file resources and show simple animations
image view
<>
workspace
@
14. Class that creates an array capable of being changed after it is create
scene
viewDidLoad
Objective-C
NSMutableArray
15. Single line text field
productivity
Single View Application
+
UITextField
16. Language used to write iOS apps
Objective-C
protocols
nil
token
17. If a method name includes a colon (:) this indicates a required _________
Cocoa Touch - Media - Core Services - Core OS
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.
parameter
strong
18. A view that is displayed on top of an original view when user interactions are required
[[<class name> alloc] init];
modal views
Application Programming Interface
bool
19. 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
20. The Round Rect Button is found in this library
modal views
Object Library
web view
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
21. Syntax to include the fictitious user-created file 'myFile.h'
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
22. The ________ class provided a container for the management and display of views
nil
NSMutableString
UIWindow
main()
23. If you have an image file called 'myImage.png' and you make a hi-res version for the retina display - what should be the name of the new file?
web view
myImage@2x.png
Option-click a symbol
scene
24. The first method called when a user taps an application icon
import
User Interface
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
main()
25. To use a new class you need to _____ it
IBOutlet
Home button
instantiate
prototyping
26. A common button type that indicates additional information is available
User Interface
-
+
detail disclosure
27. 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?
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
contentSize
Hold down the Option key and point to the other label. The distance will be shown
interface and implementation files
28. The Inspector you would use to tweak the way interface objects appear
xcodeproj
Attributes Inspector
Model-View-Controller
[myLabel setText:@'Howdy'];
29. Given: #import <UIKit/UIKit.h> @interface WelcomeViewController : UIViewController @end The superclass for WelcomeViewController
UIViewController
XML
NSLog
Hold down the Option key and point to the other label. The distance will be shown
30. Denotes an instance method
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
Seques .... relationships
Control-click on the View Controller's icon to bring up a Connections dialog
-
31. ______ enable applications to store multiple pieces of information in a single object
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
self
Object Library
Collections
32. Extension for interface file
bool
scene
Model-View-Controller
h
33. Syntax for reserving memory and initializing an object
UIApplication
Control-click on the View Controller's icon to bring up a Connections dialog
!
[[<class name> alloc] init];
34. Another name for format specification
myImage@2x.png
token
UITextField
Cocoa Touch
35. Write a statement to declare and initialize a label object called 'myLabel' to 'GO!'
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
36. Implements a logical AND condition
Actions
&&
User Interface
Xcode
37. Used to define a list of all methods and properties a class uses
UIPicker
interface file
double
512MB
38. Another name for a 'button bar'
NSURLRequest
segmented control
YES
int
39. IDE
Integrated Development Environment
IBAction
scene
Utility apps
40. Recommended image type for button graphics
web view
%d
@end
png
41. Precondition repetition structure syntax
detail disclosure
hasShrunk==YES && hasMoved == YES
while(<boolean expression>){/*stuff to do here*/}
Single View Application
42. Any 'directive' statement begins with this symbol
==
NSMutableString
@
//blah blah blah
43. Key sequence to hide/show Utilities View
wrap
Option+Command+ 0
Object-oriented programming
The Console area of the Debug area
44. Data type for numbers with 'tame' numbers of decimal points
float
inspector and library
Touch Up Inside
NeXSTEP
45. Delimiter for a list of protocols
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
scene
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
<>
46. 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
47. Collection of interface elements and data storage elements etc you can access from your applications
Human Interface Guide
Object Library
Cocoa Touch
NO
48. ______ are variables that can store a ____ to an object.
Control-click on the View Controller's icon to bring up a Connections dialog
Outlets ... pointer
Single View Application
rand( )%21
49. Formatting placeholder for a floating point value with one digit on the left of the decimal and two digits on the right
do{/*stuff to do here*/}while(<boolean expression>);
%1.2f
retain
Attributes Inspector
50. Word used to indicate that a user can't interact with a given element
convenience
static
parameter
Nib (but a few call it 'zib' but that's not preferred)