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. Dimensions of iPhone (in points)
NSString *phrase = @'Hello World';
disclosure triangle
320 x 480
performance
2. Scaling - rotation - and translation are the most commonly used manipulations supported by _____ transforms - but skewing is also possible.
label.text=@'Hello World!';
hash
Home button
affine
3. Used to display image file resources and show simple animations
Gray circle with a white 'X' in it - positioned to the right of the text field box
114 x 114
prototyping
image view
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. A fully transparent image has an _____ property value of _____
alpha ... 0
disclosure triangle
rand( )%21
wrap
6. NS stands for...
NeXSTEP
Scheme
NSDate
-
7. Closes an interface file
UIPicker
casting
@end
convenience
8. Under what circumstances would you need an outlet for a button if it's just needed to trigger an action?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
9. Piece of information provided to a method when it is messaged
Hold down the Option key and point to the other label. The distance will be shown
proxy
do{/*stuff to do here*/}while(<boolean expression>);
parameter
10. A class that manages the user's interaction with the iDevice
nibfile
pipe
view controller
Group
11. The ________ class provided a container for the management and display of views
UIWindow
property list
storyboard
Command + Tab
12. Language used to write iOS apps
Objective-C
Identity Inspector
NSMutableArray
[[<class name> alloc] init];
13. ______ and ______ define the connections between scenes.
inspector and library
nibfile
Seques .... relationships
proxy
14. 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?
Hold down the Option key and point to the other label. The distance will be shown
#import <UIKIT/UIKIT.h>
Gray circle with a white 'X' in it - positioned to the right of the text field box
NSLog
15. Key sequence to run an app in Xcode
rand( )%21
implementation file
1024 x 768
Command+R
16. Name of the '|' symbol
pipe
nested message send
NSString
Jump Bar
17. Prior to ARC - you used these terms alot
Attributes Inspector
h
retain - release - dealloc - autorelease
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
18. Key sequence to hide/show the Assistant Editor
ption+Command+Return
:
instantiation
segue
19. The object currently in control and interacting with the user
First Responder
UIWindow
XML
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
20. 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
21. Name of the drop-down menu in Xcode that lets you select the device used with the iOS Simulator
Scheme
contentSize
%1.2f
com.basicversity
22. Data type for highly precise numbers with huge numbers of decimal places
self
'Interface Builder'
double
iOS Simulator
23. Given: #import <UIKit/UIKit.h> @interface WelcomeViewController : UIViewController @end The superclass for WelcomeViewController
<>
UIViewController
variable
nibfile
24. getters
accessors
storyboard
Group
do{/*stuff to do here*/}while(<boolean expression>);
25. iPhone and iPad ____ support .png transparency
Jump Bar
casting
do not
UIApplication
26. Class of strings that can be changed
Instruments
NSMutableString
Document Outline Area or Outline View
@end
27. This type of app is mostly custom controllers and graphics
convenience
Treats the field as a password - hiding each character as it is typed
alpha ... 1
immersive
28. What property needs to be set before a scroll view (UIScrollView) will scroll?
||
view controller
contentSize
@
29. Syntax for sending an object a message with one parameter (p1)
C
NSURLRequest
IBAction)moveMe:(id)sender;
[<object variable> <method name>: p1];
30. A common button type that indicates additional information is available
boiler-plate
Treats the field as a password - hiding each character as it is typed
detail disclosure
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
31. Another name for format specification
graduationParty ... addAttendee:withDish
token
[<object variable> <method name>];
@synthesize
32. RAM for iPhone
'Interface Builder'
+
512MB
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
33. Allows you to easily track multiple versions of your project
Identity Inspector
Snapshot feature
nonatomic
@synthesize
34. Crash statement likely when an NSString is assigned a value with an incorrect format
proxy
-
Program received signal: EXC_BAD_ACCESS
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.
35. Opens the Xcode Quick Help Assistant
Option-click a symbol
hash
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
IBOutlet
36. 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
37. strong and nonatomic are examples of ...
UIPicker
Program received signal: EXC_BAD_ACCESS
attributes
Cocoa Touch
38. Collection of interface elements and data storage elements etc you can access from your applications
retain
NSString
Cocoa Touch
Object library
39. Directive to include other interface files that an application might need to access
import
storyboards
NSString *phrase = @'Hello World';
UIViewController
40. OOP
Object-oriented programming
The Console area of the Debug area
alpha ... 0
UIPicker
41. Attribute that informs the system that the object referred to needs to be kept around and not discarded from memory
control-dragging
UITextField
320 x 480
strong
42. Formatting placeholder for strings
casting
proxy
ption+Command+Return
%@
43. Consider: int x = 6;int y = 7;float quotient = (float) x/y;The statement that creates the variable 'quotient' is an example of ...
IBOutlet
y *= 5;
view controller
casting
44. This keyword in the property directive is related to the concept of mutability and basically asks Apple to handle the details. This is the more 'relaxed' - less 'powerful' setting of two possibilities
main()
nonatomic
NSURL
IBAction
45. Another name for a 'button bar'
Option+Command+ 0
hasShrunk==YES && hasMoved == YES
segmented control
IBOutlet
46. 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
47. An _______ is used to 'advertise' a method in your code that should be called when a certain event takes place
count++;
implementation file
IBAction
onscreen 'widgets' a user can interact with
48. Beginning with iOS4 - applications no longer terminate when the user presses the...
Hold down the Option key and point to the other label. The distance will be shown
Home button
'Interface Builder'
subclass
49. Class of collection data type which stores information as object/key pairs
inspector and library
scene
NSDictionary
disclosure
50. An _______ is used to enable your code to talk to objects within views
IBOutlet
alpha ... 1
-
Group