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. Multiline text entry block
do not
Isolate the functional components of an app
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
UITextView
2. Scaling factor to make an image suitable for retina display
-
[[<class name> alloc] init];
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
2
3. A fully opaque image has an _______ property value of ______
Treats the field as a password - hiding each character as it is typed
alpha ... 1
#import <UIKIT/UIKIT.h>
To provide a convenient way of setting the button's title in the code
4. Framework used to write iPhone apps
NSString *userName;
h
NSLog
Cocoa Touch
5. Objective-C is an extension (super set) of...
label
C
x--;
NO
6. Storage location for a piece of information
NSURLRequest
do not
variable
The Console area of the Debug area
7. 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
Size Inspector
@
bool
8. The Inspector you would access to gain access to various accessibility attributes
Identity Inspector
@synthesize
XML
!
9. Used to display image file resources and show simple animations
casting
image view
%1.2f
below
10. Method used to print information in an output panel
NSLog
512MB
nested message send
workspace
11. 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.
@
UIWindow
controller
@end
12. A transition between scenes - frequently with a visual transition effect applied
segue
nil
UITextField
myImage@2x.png
13. Creates 'getters' and 'setters'
class
@synthesize directive
import
parameter
14. Closes an interface file
@end
attributes
interface file
float
15. The Inspector you would use to control your layout in Interface Builder
Size Inspector
320 x 480
Snapshot feature
int
16. A file folder in the navigator panel is called a ________
Cocoa Touch - Media - Core Services - Core OS
114 x 114
Group
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
17. Data type for whole numbers
int
subclass
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
storyboard
18. This Xcode utility allows you to check CPU usage - memory allocation and network/file access (among other things)
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
myImage@2x.png
Instruments
-
19. In the MVC design pattern for iOS apps - this aspect provides the underlying data and methods that offer information to the rest of the application
implementation file
#import <UIKIT/UIKIT.h>
retain - release - dealloc - autorelease
model
20. Master class in iOS
void
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.
UIWindow
NSObject
21. Size of iPhone retina icon image in pixels
inspector and library
114 x 114
hash
@2x
22. This type of app typically involves hierarchical data
Option-click a symbol
storyboard
productivity
%@
23. What computer language is the storyboard written in?
attributes
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
XML
==
24. Crash statement likely when an NSString is assigned a value with an incorrect format
scene
IBOutlet
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
Program received signal: EXC_BAD_ACCESS
25. These define to which messages the datasource and delegate respond
NSArray
protocols
label.text=@'Hello World!';
<>
26. 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
retain - release - dealloc - autorelease
retain
token
do{/*stuff to do here*/}while(<boolean expression>);
27. Extension for an iPhone/iPad app
eXtensible Markup Language
xcodeproj
NSURLRequest
Double-click
28. 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.
import
superclass
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
modal
29. This file contains the scene - segue and relationship definitions for your project
label
CGAffineTransform
storyboard
NSObject
30. Class of strings that can be changed
==
instantiate
Outlets ... pointer
NSMutableString
31. 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>);
modal
Cocoa Touch
%1.2f
32. @synthesize directives should be placed _____ (above or below) the @implementation directive in the implementation file
Command+0
below
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
float
33. Term used to describe each screen of an iPhone app
%1.2f
subclass
boiler-plate
view
34. The '@' symbol is shorthand for creating one of these
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
NSString
modal
User Interface
35. Purpose of the 'Auto-enable Return Key' attribute for text fields
Size Inspector
nonatomic
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
The Console area of the Debug area
36. What are data detectors?
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
Identity Inspector
boiler-plate
&&
37. 'Build and run' keyboard shortcut
disclosure
id
Commmand-R
parameter
38. To use a new class you need to _____ it
&&
Command+1
instantiate
segue
39. The 'First Responder' in a scene is not an object it is considered a ________
NSDate
proxy
IBAction
while(<boolean expression>){/*stuff to do here*/}
40. What do the Autosizing settings of the Size Inspector do?
UILabel *myLabel = [[UILabel alloc] init];
control-dragging
disclosure triangle
Determine how controls resize/reposition themselves when a device changes orientation
41. Extension for interface file
Home button
h
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
Document Outline Area or Outline View
42. This type of app is typically one screen - and gives you the basics with minimal interaction
utility
parameter
storyboards
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
43. The first method called when a user taps an application icon
main()
performance
myImage@2x.png
modal views
44. Single line text field
control-dragging
Control-click on the View Controller's icon to bring up a Connections dialog
instance variable
UITextField
45. Name of the drop-down menu in Xcode that lets you select the device used with the iOS Simulator
nil
Scheme
float
label.text=@'Hello World!';
46. What are the guidelines for the class prefix for a project?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
47. Class used to work with dates as objects
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
NSDate
self
To provide a convenient way of setting the button's title in the code
48. This type of app is mostly custom controllers and graphics
immersive
onscreen 'widgets' a user can interact with
2
static
49. Which Apple project template creates a simple view/view controller application
Single View Application
UIViewController
NSArray
NSMutableArray
50. Implements a logical OR condition
||
Object-oriented programming
1024 x 768
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)