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. 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
2. Apple's classes often provide a special initialization method called a _____ method
convenience
main()
instance variable
Application Programming Interface
3. IB
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
4. Collection of interface elements and data storage elements etc you can access from your applications
Cocoa Touch
parameter
IBAction
retain - release - dealloc - autorelease
5. Purpose of the 'Auto-enable Return Key' attribute for text fields
Object Library
onscreen 'widgets' a user can interact with
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
UIImageView
6. Dimensions of iPhone (in points)
%
IBAction
320 x 480
NSLog(@'%s' - __FUNCTION__);
7. Formatting placeholder for strings
nested message send
%@
NSString
strong
8. IDE
@
Integrated Development Environment
interface and implementation files
view controller
9. 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)
class
NSString *phrase = @'Hello World';
@
stub
10. Boolean for 'false' in Objective-C
pound
NO
com.basicversity
Option+Command+4
11. What do the Autosizing settings of the Size Inspector do?
Determine how controls resize/reposition themselves when a device changes orientation
Scheme
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
Isolate the functional components of an app
12. Class used to work with dates as objects
performance
instantiation
do not
NSDate
13. Creates 'getters' and 'setters'
@synthesize directive
Cocoa Touch
Integrated Development Environment
@end
14. The files that contain all the scenes you will use in a project.
casting
accessible apps
storyboards
ption+Command+Return
15. 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
nonatomic
512MB
Scheme
variable
16. XML
Determine how controls resize/reposition themselves when a device changes orientation
eXtensible Markup Language
IBAction)moveMe:(id)sender;
alpha ... 1
17. Class of collection data type which stores information as object/key pairs
Option-click a symbol
NSDictionary
parameter
IBOutlet
18. RAM for iPhone
512MB
mutators
segmented control
User Interface
19. Syntax for block-comment
double
NSDate
/*blah blah blah */
superclass
20. Class that allows URL management
view controller
Utility apps
NSURL
UILabel *myLabel = [[UILabel alloc] init];
21. The 'First Responder' in a scene is not an object it is considered a ________
do{/*stuff to do here*/}while(<boolean expression>);
Option+Command+ 0
!
proxy
22. Defines the functional building blocks (classes) that make iOS devices perform certain actions
Cocoa Touch
import
m
@end
23. What are data detectors?
C
[<object variable> <method name>: p1];
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
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
24. API
Application Programming Interface
Xcode
import
57 x 57
25. Other name for an *.xib file
NeXSTEP
implicitly declare a matching instance variable
Cocoa Touch
nibfile
26. 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?
NSMutableString
Size Inspector
sending an object a message
Hold down the Option key and point to the other label. The distance will be shown
27. Shortcut for writing: y = y * 5;
wrap
y *= 5;
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
implicitly declare a matching instance variable
28. To zoom between an overview of the entire storyboard and the actual size view - ______ the storyboard background.
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
%
Double-click
%1.2f
29. A unique combination of view controller and view
Seques .... relationships
scene
UIPicker
Option+Command+ 0
30. Allows you to easily track multiple versions of your project
UIViewController
Collections
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
Snapshot feature
31. Class used for creating image views
Determine how controls resize/reposition themselves when a device changes orientation
parameter
UIImageView
@end
32. Language used to write iOS apps
ommand+Return
Objective-C
'Interface Builder'
nil
33. Return type indicating a method returns nothing
com.basicversity
subclass
alpha ... 1
void
34. Word used to indicate that a user can't interact with a given element
png
static
@
Determine how controls resize/reposition themselves when a device changes orientation
35. Postcondition repetition structure syntax
NSURL
[<object variable> <method name>];
IBOutlet
do{/*stuff to do here*/}while(<boolean expression>);
36. MVC
Outlets ... pointer
Model-View-Controller
id
@
37. Data type for numbers with 'tame' numbers of decimal points
parameter
Integrated Development Environment
NSDate
float
38. NS stands for...
retain - release - dealloc - autorelease
modal views
NeXSTEP
h
39. Alternative selection mechanism when many conditions exist
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
switch
attributes
accessible apps
40. Opens the Xcode Quick Help Assistant
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
Option-click a symbol
Collections
Command + Tab
41. A common button type that indicates additional information is available
Single View Application
performance
detail disclosure
self
42. A ______ is where you edit a view and assign a controller to it.
scene
void
#import 'myFile.h'
Utility apps
43. Formatting placeholder for integers
Size Inspector
%d
@synthesize
while(<boolean expression>){/*stuff to do here*/}
44. 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
Single View Application
instantiation
45. Symbol used for inheritance
mutators
:
token
instance variable
46. What computer language is the storyboard written in?
iOS Simulator
XML
User Interface
switch
47. Process of creating an active object from a class
NSString *userName;
instantiation
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
<>
48. Declaring a method in an interface file - before it is actually implemented is called _______ the method
above
prototyping
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
XML
49. Declare and initialize a string that says: 'Hello World' whose identifier if 'phrase' . Use the shortest command possible.
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
50. If a method name includes a colon (:) this indicates a required _________
parameter
NSLog
@
nested message send