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. Class that another class inherits from
parameter
superclass
import
Objective-C
2. File name suffix indicating an image is suitable for retina display
NSArray
Option+Command+4
/*blah blah blah */
@2x
3. Postcondition repetition structure syntax
protocols
[<object variable> <method name>];
storyboard
do{/*stuff to do here*/}while(<boolean expression>);
4. What property needs to be set before a scroll view (UIScrollView) will scroll?
contentSize
inspector and library
hash
+
5. Alternative selection mechanism when many conditions exist
@synthesize
-
switch
modal views
6. 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?
rand( )%21
com.basicversity
scene
%@
7. To zoom between an overview of the entire storyboard and the actual size view - ______ the storyboard background.
IBAction)moveMe:(id)sender;
main()
Double-click
instance variable
8. Used to display image file resources and show simple animations
nested message send
NO
image view
Object library
9. iOS functional building blocks
Classes
h
UILabel *myLabel = [[UILabel alloc] init];
implementation file
10. IB
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
11. 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
12. Used to set up an outgoing connection from the implementation code to the view
conform
IBOutlet
scene
Application Programming Interface
13. Any 'directive' statement begins with this symbol
IBOutlet
instantiate
storyboards
@
14. Combining two messages into a single line of code
CGAffineTransform
accessors
import
nested message send
15. Shortcut for writing: x = x - 1;
UIImageView
modal views
detail disclosure
x--;
16. Attribute that informs Xcode not to worry about different parts of the application using a property at the same time
NSString *phrase = @'Hello World';
Hold down the Option key and point to the other label. The distance will be shown
subclass
nonatomic
17. 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
18. ______ are variables that can store a ____ to an object.
class
onscreen 'widgets' a user can interact with
storyboard
Outlets ... pointer
19. iPhone and iPad ____ support .png transparency
do not
512MB
segmented control
%d
20. Formatting placeholder for integers
interface and implementation files
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
disclosure
%d
21. This Xcode utility allows you to check CPU usage - memory allocation and network/file access (among other things)
ption+Command+Return
label.text=@'Hello World!';
instantiate
Instruments
22. Extension for MainStoryboard
strong
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
storyboard
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
23. Name of the drop-down menu in Xcode that lets you select the device used with the iOS Simulator
label
instantiate
Scheme
eXtensible Markup Language
24. The '@' symbol is shorthand for creating one of these
To provide a convenient way of setting the button's title in the code
NSObject
NSString
Hold down the Option key and point to the other label. The distance will be shown
25. Defines the functional building blocks (classes) that make iOS devices perform certain actions
scene
ption+Command+Return
//blah blah blah
Cocoa Touch
26. Two-way selection logic block
C
Object-oriented programming
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
Application Programming Interface
27. The Inspector you would use to tweak the way interface objects appear
scene
Attributes Inspector
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
nonatomic
28. 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
:
y *= 5;
nonatomic
hasShrunk==YES && hasMoved == YES
29. Term used to describe each screen of an iPhone app
iOS Simulator
NSLog(@'%s' - __FUNCTION__);
Option-click a symbol
view
30. ______ and ______ define the connections between scenes.
Seques .... relationships
sending an object a message
IBAction
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
31. What event do you use to detect a button tap?
utility
Touch Up Inside
Command+S
114 x 114
32. @synthesize directives should be placed _____ (above or below) the @implementation directive in the implementation file
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
below
%
label.text=@'Hello World!';
33. strong and nonatomic are examples of ...
UITextField
512MB
png
attributes
34. Key sequence to hide/show Utilities View
main()
segue
double
Option+Command+ 0
35. 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
36. Templates fill in a bunch of ______-_______ code that serves as a framework in which to write future implementations
NSURL
boiler-plate
detail disclosure
Option+Command+ 0
37. Companion to the @property directive
view
stub
@synthesize
Cocoa Touch
38. Typical header syntax for a button that will be applying the 'moveMe' action in an app
IBAction)moveMe:(id)sender;
do{/*stuff to do here*/}while(<boolean expression>);
convenience
header
39. Another name for format specification
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
Attributes Inspector
Model-View-Controller
token
40. ______ enable applications to store multiple pieces of information in a single object
Model-View-Controller
alpha
Collections
nested message send
41. Denotes an instance method
id
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
-
UIWindow
42. A class that manages the user's interaction with the iDevice
!=
2
view controller
IBOutlet
43. Tests to see whether two values are equal
==
workspace
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
segmented control
44. Development approach (design pattern) to structure iOS applications
Model-View-Controller
Identity Inspector
NSURL
First Responder
45. Synonym for interface file
interface and implementation files
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
header
Actions
46. Multiline text entry block
nonatomic
UITextView
performance
First Responder
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. Purpose of 'Secure' attribute for text fields
Model-View-Controller
graduationParty ... addAttendee:withDish
Treats the field as a password - hiding each character as it is typed
Isolate the functional components of an app
49. Beginning with iOS4 - applications no longer terminate when the user presses the...
Command+R
512MB
Home button
NSMutableString
50. In most graphical user interfaces - a _____ view is a view that must be dismissed ('OK' button - 'Cancel' button for example) before the user can perform any other actions in the application.
modal
Touch Up Inside
label.text=@'Hello World!';
Nib (but a few call it 'zib' but that's not preferred)