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. @synthesize directives should be placed _____ (above or below) the @implementation directive in the implementation file
nonatomic
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
below
NSLog
2. What do the Autosizing settings of the Size Inspector do?
Double-click
while(<boolean expression>){/*stuff to do here*/}
Determine how controls resize/reposition themselves when a device changes orientation
wrap
3. Used to receive an event in code and trigger something
Instruments
2
IBAction
disclosure triangle
4. Other name for an *.xib file
modal views
bool
casting
nibfile
5. A view has a 'Shrink' button whose label needs to change once it is clicked to 'Grow'. Write a 'message' type command to change it's label to 'Grow'
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
6. Extension for implementation file
xcodeproj
count++;
:
m
7. Multiline text entry block
UITextView
Double-click
import
casting
8. Calling a method is the same as...
320 x 480
sending an object a message
NSURLRequest
above
9. Shortcut for writing: y = y * 5;
NSURLRequest
Command+1
Single View Application
y *= 5;
10. XML
eXtensible Markup Language
Command+R
Collections
nested message send
11. The HIG requires some kind of _____ element in a cell if there is more information available
UITextView
disclosure
Human Interface Guide
int
12. Class used for image manipulations such as scaling - rotation and translation. Its data structure represents a matrix used for affine transformations.
CGAffineTransform
[<object variable> <method name>];
'Software Development Kit'
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
13. The Inspector you would use to tweak the way interface objects appear
label.text=@'Hello World!';
Attributes Inspector
label
!
14. Used to indicate any type of object
NSLog
320 x 480
id
[<object variable> <method name>];
15. Purpose of 'Secure' attribute for text fields
Treats the field as a password - hiding each character as it is typed
graduationParty ... addAttendee:withDish
nested message send
UIImageView
16. 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
17. Creates 'getters' and 'setters'
Group
Touch Up Inside
@synthesize directive
<>
18. Apps that provide easy access to a single screen of information with a backside view for modifying preferences
Utility apps
Document Outline Area or Outline View
token
segue
19. Boolean for 'true' in Objective-C
alpha ... 0
casting
ption+Command+Return
YES
20. Although it is possible to declare an instance variable and then define a corresponding property - you may also use @property alone to...
immersive
#import 'myFile.h'
implicitly declare a matching instance variable
png
21. Storage place for a piece of information specific to a class
pound
id
instance variable
workspace
22. The object currently in control and interacting with the user
First Responder
static
@synthesize directive
NSString *userName;
23. Implements a logical OR condition
Single View Application
||
instantiate
Snapshot feature
24. In the UK - the '#' symbol is often called the ____ symbol
Collections
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
hash
Program received signal: EXC_BAD_ACCESS
25. Purpose of the 'Auto-enable Return Key' attribute for text fields
First Responder
<>
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
stub
26. If you have an image file called 'myImage.png' and you make a hi-res version for the retina display - what should be the name of the new file?
NSDictionary
myImage@2x.png
@synthesize directive
<>
27. Process of creating an active object from a class
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
above
Treats the field as a password - hiding each character as it is typed
instantiation
28. A transition between scenes - frequently with a visual transition effect applied
segue
inspector and library
subclass
count++;
29. iPhone and iPad ____ support .png transparency
alpha
affine
do not
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
30. An _______ is used to enable your code to talk to objects within views
void
NSMutableArray
count++;
IBOutlet
31. An _______ is used to 'advertise' a method in your code that should be called when a certain event takes place
IBOutlet
IBAction
parameter
UITextView
32. Write a statement to declare and initialize a label object called 'myLabel' to 'GO!'
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
33. Class that creates an array capable of being changed after it is create
Option-click a symbol
NSMutableArray
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
utility
34. The goal of the MVC design pattern
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
Isolate the functional components of an app
Gray circle with a white 'X' in it - positioned to the right of the text field box
Size Inspector
35. IDE
NSLog
Integrated Development Environment
modal
[<object variable> <method name>: p1];
36. iOS functional building blocks
Classes
static
nested message send
ption+Command+Return
37. Syntax for single-line comment
Command+R
@
//blah blah blah
do{/*stuff to do here*/}while(<boolean expression>);
38. 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
39. Tests to see whether two values are equal
NSString *phrase = @'Hello World';
double
boiler-plate
==
40. 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.
proxy
modal
segue
sending an object a message
41. Size of iPhone retina icon image in pixels
affine
Human Interface Guide
NSMutableArray
114 x 114
42. ______ and ______ define the connections between scenes.
Seques .... relationships
%@
Command + Tab
Object-oriented programming
43. Something the simulator cannot reliably test
[<object variable> <method name>];
bool
performance
stub
44. Name of the drop-down menu in Xcode that lets you select the device used with the iOS Simulator
myImage@2x.png
h
Scheme
ommand+Return
45. Extension for interface file
import
accessors
count++;
h
46. OOP
do not
Human Interface Guide
Cocoa Touch - Media - Core Services - Core OS
Object-oriented programming
47. MVC
To provide a convenient way of setting the button's title in the code
productivity
Model-View-Controller
NSLog(@'%s' - __FUNCTION__);
48. strong and nonatomic are examples of ...
attributes
NSString *phrase = @'Hello World';
First Responder
Cocoa Touch - Media - Core Services - Core OS
49. 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
50. A ______ is where you edit a view and assign a controller to it.
import
Human Interface Guide
immersive
scene