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. Defines what an object can do
Size Inspector
NSDictionary
class
CGAffineTransform
2. 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
3. Which Apple project template creates a simple view/view controller application
YES
hash
Single View Application
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
4. Symbol used for inheritance
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
inspector and library
count++;
:
5. Extension for interface file
h
Command+0
[<object variable> <method name>: p1];
debugger
6. ______ and ______ define the connections between scenes.
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
Seques .... relationships
IBOutlet
!
7. Templates fill in a bunch of ______-_______ code that serves as a framework in which to write future implementations
int
boiler-plate
Treats the field as a password - hiding each character as it is typed
NSLog
8. The first method called when a user taps an application icon
main()
casting
Cocoa Touch
Model-View-Controller
9. Syntax for reserving memory and initializing an object
[[<class name> alloc] init];
scene
casting
strong
10. Denotes an instance method
@
png
||
-
11. Class used for creating image views
Isolate the functional components of an app
UIImageView
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
protocols
12. What computer language is the storyboard written in?
User Interface
XML
performance
Cocoa Touch
13. Synonym for interface file
Classes
graduationParty ... addAttendee:withDish
header
disclosure
14. Defines the functional building blocks (classes) that make iOS devices perform certain actions
Cocoa Touch
interface file
+
&&
15. An _______ is used to enable your code to talk to objects within views
:
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
First Responder
IBOutlet
16. Data type for numbers with 'tame' numbers of decimal points
Command+R
%@
float
NSMutableArray
17. Storage location for a piece of information
variable
implementation file
-
NSURLRequest
18. Character used to show an element as a literal string
myImage@2x.png
do not
@
||
19. The Utilities area has two sections: ______ and ______
Actions
Command+1
inspector and library
switch
20. Data type for whole numbers
int
Nib (but a few call it 'zib' but that's not preferred)
retain
subclass
21. What are data detectors?
Document Outline Area or Outline View
do not
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
IBOutlet
22. 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
23. 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)
stub
parameter
UIApplication
Home button
24. Given: [graduationParty addAttendee: @'Aunt Jane' withDish: @'deviled eggs']; The 'receiver' is _______; the 'selector' is _________
graduationParty ... addAttendee:withDish
nil
First Responder
Identity Inspector
25. 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
-
ommand+Return
26. A class that manages the user's interaction with the iDevice
view controller
controller
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
interface and implementation files
27. 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
28. Data type for highly precise numbers with huge numbers of decimal places
Option-click a symbol
double
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
web view
29. 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
30. Typical header syntax for a button that will be applying the 'moveMe' action in an app
segmented control
IBAction)moveMe:(id)sender;
Size Inspector
NSURLRequest
31. A transition between scenes - frequently with a visual transition effect applied
segue
token
[myLabel setText:@'Howdy'];
x--;
32. Crash statement likely when an NSString is assigned a value with an incorrect format
Program received signal: EXC_BAD_ACCESS
strong
Option-click a symbol
xcodeproj
33. Scaling - rotation - and translation are the most commonly used manipulations supported by _____ transforms - but skewing is also possible.
UIWindow
YES
[<object variable> <method name>];
affine
34. Used to display image file resources and show simple animations
disclosure triangle
image view
1024 x 768
implicitly declare a matching instance variable
35. The Inspector you would use to control your layout in Interface Builder
controller
m
x--;
Size Inspector
36. Key sequence on a Mac to select between open application
Command + Tab
First Responder
instance variable
&&
37. Key sequence to open the Project Navigator (left panel)
xcodeproj
instantiation
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
Command+1
38. The name of the panel to the left of the Interface Builder Editor panel
Double-click
ption+Command+Return
Document Outline Area or Outline View
Nib (but a few call it 'zib' but that's not preferred)
39. A ______ is where you edit a view and assign a controller to it.
First Responder
XML
Home button
scene
40. Purpose of the 'Auto-enable Return Key' attribute for text fields
Application Programming Interface
do not
model
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
41. An alternative way to see the connections between an object in the Interface Builder and it's code in Xcode without using the Connections inspector
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
42. Recommended image type for button graphics
convenience
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
png
NSArray
43. Class used for image manipulations such as scaling - rotation and translation. Its data structure represents a matrix used for affine transformations.
Control-click on the View Controller's icon to bring up a Connections dialog
CGAffineTransform
UIViewController
onscreen 'widgets' a user can interact with
44. Collection of interface elements and data storage elements etc you can access from your applications
+
com.basicversity
Cocoa Touch
Group
45. Class used to work with dates as objects
Command + Tab
import
NSDate
Object-oriented programming
46. XML
eXtensible Markup Language
instantiate
Group
Command+0
47. Implements a logical OR condition
Human Interface Guide
%@
||
NSString *userName;
48. Name of the '|' symbol
pipe
productivity
2
affine
49. _____ are methods that we can connect to events.
[<object variable> <method name>: p1];
Actions
interface and implementation files
NSObject
50. Consider: int x = 6;int y = 7;float quotient = (float) x/y;The statement that creates the variable 'quotient' is an example of ...
UIWindow
IBOutlet
casting
IBOutlet