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. The Inspector you would use to control your layout in Interface Builder
immersive
nil
Size Inspector
512MB
2. Recommended image type for button graphics
@synthesize directive
!=
png
alpha
3. Given: #import <UIKit/UIKit.h> @interface WelcomeViewController : UIViewController @end The superclass for WelcomeViewController
Size Inspector
Cocoa Touch
NSLog
UIViewController
4. Class that creates an array capable of being changed after it is create
convenience
UITextView
NSMutableArray
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
5. Single line text field
stub
Nib (but a few call it 'zib' but that's not preferred)
alpha
UITextField
6. SDK
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
7. 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
8. IB
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
9. MVC
controller
NSURLRequest
modal
Model-View-Controller
10. Shortcut for writing: y = y * 5;
y *= 5;
Collections
static
prototyping
11. 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
12. Apps written to assist users with special disabilities
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
conform
accessible apps
nil
13. What are data detectors?
UITextView
Attributes Inspector
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
Classes
14. setters
debugger
xcodeproj
nibfile
mutators
15. The bar across the top of the Editor area that shows you the item you are editing
Object-oriented programming
CGAffineTransform
-
Jump Bar
16. Syntax for block-comment
Command+S
convenience
static
/*blah blah blah */
17. This file contains the code that makes everything 'work'
[myLabel setText:@'Howdy'];
storyboard
Snapshot feature
implementation file
18. ______ are variables that can store a ____ to an object.
image view
Outlets ... pointer
Identity Inspector
wrap
19. Key sequence to hide/show Utilities View
scene
@
protocols
Option+Command+ 0
20. Boolean for 'true' in Objective-C
Single View Application
YES
pound
hash
21. Creates 'getters' and 'setters'
protocols
Option+Command+ 0
@synthesize directive
prototyping
22. What's the difference between Cocoa and Cocoa Touch?
switch
above
@2x
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
23. Used to indicate any type of object
NeXSTEP
viewDidLoad
id
114 x 114
24. 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
25. The HIG requires some kind of _____ element in a cell if there is more information available
disclosure
Command + Tab
NSObject
debugger
26. 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
27. To use a new class you need to _____ it
instantiate
control-dragging
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
productivity
28. Storage location for a piece of information
eXtensible Markup Language
class
variable
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
29. ______ enable applications to store multiple pieces of information in a single object
C
Group
Collections
To provide a convenient way of setting the button's title in the code
30. The Inspector you would access to gain access to various accessibility attributes
Identity Inspector
double
Object-oriented programming
Objective-C
31. Syntax to include the fictitious user-created file 'myFile.h'
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
32. _____ are methods that we can connect to events.
&&
Actions
inspector and library
Attributes Inspector
33. Implements a logical OR condition
||
Seques .... relationships
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
==
34. Shortcut for writing: x = x - 1;
retain
ption+Command+Return
x--;
image view
35. The name of the panel to the left of the Interface Builder Editor panel
wrap
Document Outline Area or Outline View
attributes
x--;
36. Any 'directive' statement begins with this symbol
disclosure triangle
y *= 5;
1024 x 768
@
37. Closes an interface file
!
@end
Command+R
UIPicker
38. Master class in iOS
NSObject
To provide a convenient way of setting the button's title in the code
Xcode
IBAction
39. Write a statement to declare and initialize a label object called 'myLabel'
IBAction
UILabel *myLabel = [[UILabel alloc] init];
hasShrunk==YES && hasMoved == YES
retain
40. @property directives should be placed ____ (above or below) any IBActions in the header file
above
superclass
protocols
Cocoa Touch - Media - Core Services - Core OS
41. 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
Program received signal: EXC_BAD_ACCESS
+
retain
controller
42. 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?
Hold down the Option key and point to the other label. The distance will be shown
image view
protocols
Outlets ... pointer
43. Key sequence to open the Standard Editor
Touch Up Inside
User Interface
storyboard
ommand+Return
44. The Round Rect Button is found in this library
interface file
self
Object Library
Command+0
45. Apps that provide easy access to a single screen of information with a backside view for modifying preferences
+
Utility apps
switch
hash
46. OOP
Program received signal: EXC_BAD_ACCESS
Object-oriented programming
while(<boolean expression>){/*stuff to do here*/}
interface file
47. Apple's classes often provide a special initialization method called a _____ method
convenience
Cocoa Touch
!=
NSDate
48. Objective-C is an extension (super set) of...
Collections
storyboards
immersive
C
49. Delimiter for a list of protocols
Hold down the Option key and point to the other label. The distance will be shown
NO
<>
Integrated Development Environment
50. Always used to end the list of objects when initializing an array
NSDate
nil
sending an object a message
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