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 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?
alpha ... 1
com.basicversity
Model-View-Controller
*
2. Indicates a lack of any value at all
UIApplication
YES
Outlets ... pointer
nil
3. Dimensions of iPhone (in points)
alpha
Object library
320 x 480
IBOutlet
4. Files used to create a class
prototyping
UITextField
interface and implementation files
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
5. setters
Identity Inspector
Cocoa Touch
mutators
h
6. The 'First Responder' in a scene is not an object it is considered a ________
Determine how controls resize/reposition themselves when a device changes orientation
hasShrunk==YES && hasMoved == YES
proxy
pound
7. OOP
Object-oriented programming
CGAffineTransform
Identity Inspector
%1.2f
8. ______ and ______ define the connections between scenes.
contentSize
//blah blah blah
Double-click
Seques .... relationships
9. The goal of the MVC design pattern
Isolate the functional components of an app
class
NeXSTEP
nil
10. The '@' symbol is shorthand for creating one of these
viewDidLoad
IBOutlet
view
NSString
11. 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
12. Data type for highly precise numbers with huge numbers of decimal places
UITextView
sending an object a message
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
13. What type of object does a web view expect as a parameter when loading a remote URL?
instance variable
512MB
Treats the field as a password - hiding each character as it is typed
NSURLRequest
14. Class that another class inherits from
superclass
NSString *userName;
Double-click
boiler-plate
15. Character used to show an element as a literal string
@
First Responder
control-dragging
nil
16. Data type for true/false type variables
bool
NeXSTEP
png
Actions
17. Alternative selection mechanism when many conditions exist
double
Touch Up Inside
switch
UITextView
18. Key sequence to save an Xcode file
Command+S
Treats the field as a password - hiding each character as it is typed
Touch Up Inside
%
19. What's the difference between Cocoa and Cocoa Touch?
1024 x 768
subclass
Collections
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
20. Write a line of code creating a pointer to a wall paper image called 'wp1' that refers to a resource in an app with the file name 'wallPaper_01.png'
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
21. 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.
&&
controller
@2x
sending an object a message
22. The Inspector you would access to gain access to various accessibility attributes
xcodeproj
NO
graduationParty ... addAttendee:withDish
Identity Inspector
23. Key sequence to hide/show Utilities View
Outlets ... pointer
interface file
Option+Command+ 0
pipe
24. Syntax for sending an object a message with one parameter (p1)
#import <UIKIT/UIKIT.h>
[<object variable> <method name>: p1];
stub
*
25. getters
label.text=@'Hello World!';
alpha ... 0
accessors
Program received signal: EXC_BAD_ACCESS
26. Storage place for a piece of information specific to a class
ommand+Return
storyboards
Nib (but a few call it 'zib' but that's not preferred)
instance variable
27. The Utilities area has two sections: ______ and ______
Command+R
inspector and library
||
stub
28. Symbol often denoting a 'pointer'
*
storyboards
@
wrap
29. A ______ is where you edit a view and assign a controller to it.
double
scene
alpha
main()
30. Tests to see whether two values are not equal
!=
debugger
#import 'myFile.h'
protocols
31. A common button type that indicates additional information is available
Integrated Development Environment
image view
Size Inspector
detail disclosure
32. Piece of information provided to a method when it is messaged
Size Inspector
attributes
parameter
nonatomic
33. Symbol used for inheritance
:
variable
strong
segue
34. 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
35. What property needs to be set before a scroll view (UIScrollView) will scroll?
contentSize
IBOutlet
pipe
Determine how controls resize/reposition themselves when a device changes orientation
36. Delimiter for a list of protocols
To provide a convenient way of setting the button's title in the code
<>
subclass
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
37. Property affecting an element's transparency
Hold down the Option key and point to the other label. The distance will be shown
Cocoa Touch
m
alpha
38. Class used for image manipulations such as scaling - rotation and translation. Its data structure represents a matrix used for affine transformations.
NSDate
hash
Cocoa Touch - Media - Core Services - Core OS
CGAffineTransform
39. ______ are variables that can store a ____ to an object.
Jump Bar
onscreen 'widgets' a user can interact with
<>
Outlets ... pointer
40. The Inspector you would use to control your layout in Interface Builder
Objective-C
m
Size Inspector
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
41. Class used for creating image views
Option+Command+4
UITextView
UIImageView
Commmand-R
42. The Round Rect Button is found in this library
Control-click on the View Controller's icon to bring up a Connections dialog
property list
[<object variable> <method name>: p1];
Object Library
43. How do you show a storyboard file as source code?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
44. Apps written to assist users with special disabilities
accessible apps
Application Programming Interface
NSMutableArray
stub
45. The library that contains the objects you can add to a view or XIB file
Object library
IBOutlet
contentSize
y *= 5;
46. An example of a common collection data type
mutators
modal views
Command+1
NSArray
47. In your implementation file - the _____ method (provided in stub form by Apple) runs after machine language code reserves some space in memory for your View. This method is often used to create a 'clean slate' as an app opens.
Xcode
do{/*stuff to do here*/}while(<boolean expression>);
viewDidLoad
iOS Simulator
48. 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
utility
#import 'myFile.h'
To provide a convenient way of setting the button's title in the code
49. 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
50. Apps that provide easy access to a single screen of information with a backside view for modifying preferences
Utility apps
NSDictionary
-
Document Outline Area or Outline View