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. getters
NSLog(@'%s' - __FUNCTION__);
com.basicversity
accessors
Scheme
2. Class of strings that can be changed
strong
nil
NSMutableString
attributes
3. This type of app is typically one screen - and gives you the basics with minimal interaction
while(<boolean expression>){/*stuff to do here*/}
web view
utility
UIViewController
4. Formatting placeholder for a floating point value with one digit on the left of the decimal and two digits on the right
Object-oriented programming
png
%1.2f
Commmand-R
5. A tool in Xcode to help fix broken code
below
float
pound
debugger
6. The name of the panel to the left of the Interface Builder Editor panel
<type> <variableName>;
pipe
Document Outline Area or Outline View
UITextField
7. Another name for format specification
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
57 x 57
NSDate
token
8. Name of the drop-down menu in Xcode that lets you select the device used with the iOS Simulator
eXtensible Markup Language
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
Scheme
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
9. Expression to create a random number in [0 -20];
segmented control
Seques .... relationships
rand( )%21
bool
10. Used to set up an outgoing connection from the implementation code to the view
boiler-plate
Touch Up Inside
IBOutlet
57 x 57
11. 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?
myImage@2x.png
workspace
Scheme
affine
12. Framework used to write iPhone apps
workspace
Cocoa Touch
boiler-plate
Command + Tab
13. Used to define a list of all methods and properties a class uses
Application Programming Interface
disclosure triangle
interface file
eXtensible Markup Language
14. Data type for numbers with 'tame' numbers of decimal points
'Software Development Kit'
float
[[<class name> alloc] init];
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
15. Development approach (design pattern) to structure iOS applications
prototyping
Model-View-Controller
%@
self
16. Creates 'getters' and 'setters'
model
Nib (but a few call it 'zib' but that's not preferred)
@synthesize directive
prototyping
17. Recommended image type for button graphics
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
Program received signal: EXC_BAD_ACCESS
png
Command + Tab
18. Used to test an app without needing an actual physical device
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
proxy
iOS Simulator
Isolate the functional components of an app
19. API
proxy
segmented control
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
Application Programming Interface
20. IDE
png
Something unique - based on the app's name (perhaps abbreviated). Avoid 'NS' or 'UI' since they are used in Apple's frameworks. A framework or library should always be prefixed. For a simple app - they are not necessary.
Integrated Development Environment
512MB
21. Implements a logical AND condition
implicitly declare a matching instance variable
stub
Determine how controls resize/reposition themselves when a device changes orientation
&&
22. Class used for image manipulations such as scaling - rotation and translation. Its data structure represents a matrix used for affine transformations.
CGAffineTransform
instantiate
Determine how controls resize/reposition themselves when a device changes orientation
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
23. Language used to write iOS apps
performance
NSURL
Objective-C
%d
24. Process of creating an active object from a class
NSURL
interface and implementation files
pound
instantiation
25. Class that allows URL management
NSDictionary
:
NSURL
NSString
26. A view that is displayed on top of an original view when user interactions are required
modal views
'Software Development Kit'
import
Model-View-Controller
27. 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
28. Key sequence to hide/show the Assistant Editor
ption+Command+Return
Treats the field as a password - hiding each character as it is typed
NSDictionary
%
29. Synonym for interface file
header
Integrated Development Environment
implicitly declare a matching instance variable
y *= 5;
30. Data type for highly precise numbers with huge numbers of decimal places
Human Interface Guide
double
Model-View-Controller
Snapshot feature
31. Shortcut for writing: y = y * 5;
y *= 5;
nibfile
utility
@2x
32. Indicates a lack of any value at all
hash
nil
image view
Human Interface Guide
33. An _______ is used to enable your code to talk to objects within views
IBAction
do not
IBOutlet
UITextField
34. An example of a common collection data type
NSArray
nonatomic
320 x 480
Integrated Development Environment
35. Write a statement to declare and initialize a label object called 'myLabel'
Command + Tab
%d
double
UILabel *myLabel = [[UILabel alloc] init];
36. Symbol used for inheritance
Command + Tab
do{/*stuff to do here*/}while(<boolean expression>);
:
/*blah blah blah */
37. To unroll or roll up a hierarchy of files - objects or classes - you click the ______ _______ at the root element
'Software Development Kit'
Collections
do{/*stuff to do here*/}while(<boolean expression>);
disclosure triangle
38. Apps written to assist users with special disabilities
accessible apps
Document Outline Area or Outline View
!
'Interface Builder'
39. What event do you use to detect a button tap?
Touch Up Inside
instantiate
accessors
Model-View-Controller
40. In the UK - the '#' symbol is often called the ____ symbol
casting
Model-View-Controller
hash
control-dragging
41. Class that another class inherits from
superclass
boiler-plate
Nib (but a few call it 'zib' but that's not preferred)
do{/*stuff to do here*/}while(<boolean expression>);
42. ______ and ______ define the connections between scenes.
control-dragging
!=
NO
Seques .... relationships
43. Attribute that informs the system that the object referred to needs to be kept around and not discarded from memory
NSString
id
strong
NeXSTEP
44. How do you get rid of an onscreen keyboard?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
45. Attribute that informs Xcode not to worry about different parts of the application using a property at the same time
Cocoa Touch - Media - Core Services - Core OS
UITextField
id
nonatomic
46. An _______ is used to 'advertise' a method in your code that should be called when a certain event takes place
%1.2f
IBAction
workspace
The Console area of the Debug area
47. What are data detectors?
NSMutableString
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
Document Outline Area or Outline View
<>
48. 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
49. Shortcut for writing: x = x - 1;
@
Command+R
image view
x--;
50. Formatting placeholder for integers
First Responder
%d
IBOutlet
implicitly declare a matching instance variable