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. Boolean for 'true' in Objective-C
Model-View-Controller
x--;
YES
To provide a convenient way of setting the button's title in the code
2. Syntax to include UIKIT in a class
nonatomic
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
nil
#import <UIKIT/UIKIT.h>
3. Connections between Objects in the Interface Builder and the header file are formed by _____-_______ from the object to the proper place in the header file
Command+R
Actions
control-dragging
below
4. Syntax for reserving memory and initializing an object
[[<class name> alloc] init];
Determine how controls resize/reposition themselves when a device changes orientation
CGAffineTransform
viewDidLoad
5. Files used to create a class
<>
Actions
interface and implementation files
m
6. Calling a method is the same as...
@2x
Option+Command+4
sending an object a message
IBAction
7. Document Apple uses to evaluate apps for the App Store
implicitly declare a matching instance variable
1024 x 768
rand( )%21
Human Interface Guide
8. A fully transparent image has an _____ property value of _____
import
sending an object a message
Scheme
alpha ... 0
9. Apps that provide easy access to a single screen of information with a backside view for modifying preferences
ption+Command+Return
wrap
Utility apps
==
10. Closes an interface file
@end
contentSize
Object library
Document Outline Area or Outline View
11. A common button type that indicates additional information is available
NeXSTEP
detail disclosure
Size Inspector
productivity
12. Which Apple project template creates a simple view/view controller application
Single View Application
YES
-
Object Library
13. _____ are methods that we can connect to events.
Actions
IBAction)moveMe:(id)sender;
Outlets ... pointer
view
14. Alternative selection mechanism when many conditions exist
NSString *phrase = @'Hello World';
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
switch
model
15. A virtual 'box' for organizing related projects
affine
NSURL
UIImageView
workspace
16. Scaling - rotation - and translation are the most commonly used manipulations supported by _____ transforms - but skewing is also possible.
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
2
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
affine
17. ______ are variables that can store a ____ to an object.
Outlets ... pointer
!=
1024 x 768
Model-View-Controller
18. An integrated web browser component
web view
*
pound
com.basicversity
19. Multiline text entry block
NSDictionary
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
interface file
UITextView
20. Used to receive an event in code and trigger something
IBAction
NSDictionary
:
NeXSTEP
21. Implements a logical AND condition
Integrated Development Environment
Jump Bar
Isolate the functional components of an app
&&
22. A tool in Xcode to help fix broken code
Identity Inspector
debugger
com.basicversity
NO
23. The object currently in control and interacting with the user
&&
First Responder
implicitly declare a matching instance variable
scene
24. Negation symbol
UIPicker
NO
!
interface file
25. ______ and ______ define the connections between scenes.
Seques .... relationships
workspace
segue
320 x 480
26. You are creating an app for a company whose URL is http://www.basicversity.com . What should be the company identifier for the app when you begin the project?
<type> <variableName>;
modal views
inspector and library
com.basicversity
27. If a method name includes a colon (:) this indicates a required _________
count++;
parameter
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
IBAction)moveMe:(id)sender;
28. 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
29. Key sequence to hide/show the Assistant Editor
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
//blah blah blah
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
ption+Command+Return
30. The goal of the MVC design pattern
Utility apps
Isolate the functional components of an app
UITextView
control-dragging
31. Framework used to write iPhone apps
Utility apps
Cocoa Touch
m
double
32. Templates fill in a bunch of ______-_______ code that serves as a framework in which to write future implementations
NSString *phrase = @'Hello World';
float
Group
boiler-plate
33. Purpose of the 'Auto-enable Return Key' attribute for text fields
Option-click a symbol
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
iOS Simulator
34. Syntax for declaring a variable
==
NSArray
<type> <variableName>;
view
35. The Inspector you will need if you want to connect a custom class to an object in Interface Builder
Identity Inspector
Home button
NSURL
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
36. SDK
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
37. Key sequence to open the Standard Editor
debugger
storyboards
immersive
ommand+Return
38. A view that is displayed on top of an original view when user interactions are required
parameter
[<object variable> <method name>];
Identity Inspector
modal views
39. Define a collection of methods to perform a task
protocols
switch
NSURLRequest
while(<boolean expression>){/*stuff to do here*/}
40. Data type for highly precise numbers with huge numbers of decimal places
alpha ... 0
double
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
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
41. A class that implements a protocol is said to ____ to that protocol
void
accessors
conform
Option+Command+4
42. What event do you use to detect a button tap?
parameter
protocols
Touch Up Inside
instance variable
43. Way to refer to an object within its own methods
retain
Model-View-Controller
@synthesize
self
44. Proper way to pronounce a *.xib file
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
45. 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
label
[<object variable> <method name>: p1];
512MB
46. 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?
label
implicitly declare a matching instance variable
myImage@2x.png
'Software Development Kit'
47. Correct the error: label.text = 'Hello World !';
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
48. Always used to end the list of objects when initializing an array
attributes
nil
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
retain - release - dealloc - autorelease
49. Name of the drop-down menu in Xcode that lets you select the device used with the iOS Simulator
Model-View-Controller
Outlets ... pointer
Scheme
114 x 114
50. Process of creating an active object from a class
attributes
instantiation
retain - release - dealloc - autorelease
graduationParty ... addAttendee:withDish