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. Indicates a lack of any value at all
disclosure
57 x 57
performance
nil
2. Opens the Xcode Quick Help Assistant
instantiation
Integrated Development Environment
Option-click a symbol
modal views
3. 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
4. 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
5. Attribute that informs Xcode not to worry about different parts of the application using a property at the same time
nonatomic
protocols
Model-View-Controller
Identity Inspector
6. Storage location for a piece of information
NSURL
IBOutlet
variable
Commmand-R
7. This type of app is mostly custom controllers and graphics
||
immersive
*
stub
8. 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.
viewDidLoad
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
header
-
9. Name of the drop-down menu in Xcode that lets you select the device used with the iOS Simulator
Scheme
Model-View-Controller
512MB
IBAction
10. In the MVC design pattern for iOS apps - view consists of the various...
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
11. 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
12. Syntax for block-comment
protocols
/*blah blah blah */
wrap
header
13. An example of a common collection data type
320 x 480
web view
NSArray
performance
14. @synthesize directives should be placed _____ (above or below) the @implementation directive in the implementation file
below
!=
accessors
retain
15. Class used for creating image views
#import 'myFile.h'
UIImageView
stub
while(<boolean expression>){/*stuff to do here*/}
16. The 'First Responder' in a scene is not an object it is considered a ________
proxy
web view
main()
+
17. OOP
storyboards
Object-oriented programming
Jump Bar
conform
18. API
hasShrunk==YES && hasMoved == YES
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
Application Programming Interface
alpha ... 0
19. Extension for MainStoryboard
storyboard
NeXSTEP
[<object variable> <method name>];
int
20. Used to define a list of all methods and properties a class uses
while(<boolean expression>){/*stuff to do here*/}
interface file
==
web view
21. @property directives should be placed ____ (above or below) any IBActions in the header file
casting
import
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
above
22. Alternative selection mechanism when many conditions exist
Application Programming Interface
switch
parameter
h
23. Calling a method is the same as...
Option+Command+ 0
sending an object a message
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
image view
24. In a stepper control - when this attribute option is checked - the stepper's value is automatically set to the minimum value when the maximum value is exceeded (or vice versa).
[<object variable> <method name>];
wrap
Group
%1.2f
25. Class used for image manipulations such as scaling - rotation and translation. Its data structure represents a matrix used for affine transformations.
Object library
instantiation
CGAffineTransform
web view
26. Under what circumstances would you need an outlet for a button if it's just needed to trigger an action?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
27. Data type for highly precise numbers with huge numbers of decimal places
double
Collections
@synthesize directive
model
28. Typical header syntax for a button that will be applying the 'moveMe' action in an app
NSString *userName;
[[<class name> alloc] init];
IBAction)moveMe:(id)sender;
IBAction
29. Tests to see whether two values are equal
User Interface
==
Identity Inspector
parameter
30. Key sequence to save an Xcode file
320 x 480
modal views
YES
Command+S
31. Development approach (design pattern) to structure iOS applications
Model-View-Controller
void
controller
png
32. The Inspector you would use to control your layout in Interface Builder
%d
nibfile
interface and implementation files
Size Inspector
33. A unique combination of view controller and view
320 x 480
%@
modal views
scene
34. 'Build and run' keyboard shortcut
switch
myImage@2x.png
Commmand-R
strong
35. The HIG requires some kind of _____ element in a cell if there is more information available
x--;
@
scene
disclosure
36. Dimensions of iPad (in points)
NSDate
Command+R
1024 x 768
<>
37. Implements a logical OR condition
while(<boolean expression>){/*stuff to do here*/}
2
Attributes Inspector
||
38. A fully transparent image has an _____ property value of _____
YES
alpha ... 0
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
casting
39. 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
40. Term used to describe each screen of an iPhone app
view
Option-click a symbol
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
Document Outline Area or Outline View
41. A class that manages the user's interaction with the iDevice
below
protocols
view controller
hash
42. setters
mutators
label
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
do{/*stuff to do here*/}while(<boolean expression>);
43. Memory aid for keyboard shortcuts in the Navigator panel
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
44. What property needs to be set before a scroll view (UIScrollView) will scroll?
mutators
contentSize
instance variable
strong
45. Data type for true/false type variables
Snapshot feature
label.text=@'Hello World!';
57 x 57
bool
46. Although it is possible to declare an instance variable and then define a corresponding property - you may also use @property alone to...
/*blah blah blah */
implicitly declare a matching instance variable
myImage@2x.png
Determine how controls resize/reposition themselves when a device changes orientation
47. Syntax for single-line comment
storyboards
hash
UIViewController
//blah blah blah
48. Used to test an app without needing an actual physical device
NO
Document Outline Area or Outline View
Option+Command+4
iOS Simulator
49. Objective-C is an extension (super set) of...
To provide a convenient way of setting the button's title in the code
conform
C
main()
50. 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?
com.basicversity
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
IBAction
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];