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 access to gain access to various accessibility attributes
m
label
Identity Inspector
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
2. Modulus (remainder) operator
%
Utility apps
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
void
3. Key sequence to run an app in Xcode
ommand+Return
Command+R
XML
retain - release - dealloc - autorelease
4. Consider: int x = 6;int y = 7;float quotient = (float) x/y;The statement that creates the variable 'quotient' is an example of ...
'Software Development Kit'
casting
Command+1
NSMutableString
5. Connections between Objects in the Interface Builder and the header file are formed by _____-_______ from the object to the proper place in the header file
%
NSLog
attributes
control-dragging
6. Extension for interface file
//blah blah blah
storyboard
h
@end
7. Allows you to easily track multiple versions of your project
UIWindow
IBOutlet
Snapshot feature
parameter
8. Dimensions of iPhone (in points)
[<object variable> <method name>];
320 x 480
iOS Simulator
import
9. To unroll or roll up a hierarchy of files - objects or classes - you click the ______ _______ at the root element
Xcode
disclosure triangle
#import <UIKIT/UIKIT.h>
model
10. Purpose of 'Secure' attribute for text fields
@synthesize directive
//blah blah blah
myImage@2x.png
Treats the field as a password - hiding each character as it is typed
11. Key sequence to hide/show Utilities View
[[<class name> alloc] init];
Option+Command+ 0
workspace
57 x 57
12. Another name for a 'button bar'
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
UIImageView
segmented control
Command + Tab
13. Used to set up an outgoing connection from the implementation code to the view
IBOutlet
%
Classes
debugger
14. Syntax for single-line comment
//blah blah blah
instance variable
x--;
Command+R
15. Used to receive an event in code and trigger something
512MB
eXtensible Markup Language
IBAction
x--;
16. Data type for highly precise numbers with huge numbers of decimal places
double
Classes
wrap
retain - release - dealloc - autorelease
17. The '@' symbol is shorthand for creating one of these
mutators
view
NSDate
NSString
18. Syntax for declaring a variable
do{/*stuff to do here*/}while(<boolean expression>);
!=
<type> <variableName>;
onscreen 'widgets' a user can interact with
19. 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
20. NS stands for...
performance
NeXSTEP
114 x 114
Command+0
21. The files that contain all the scenes you will use in a project.
Option+Command+ 0
storyboards
!=
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
22. Directive to include other interface files that an application might need to access
import
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
To provide a convenient way of setting the button's title in the code
@end
23. SDK
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
24. Any 'directive' statement begins with this symbol
||
Cocoa Touch
@
Touch Up Inside
25. OOP
[<object variable> <method name>];
protocols
Human Interface Guide
Object-oriented programming
26. In the MVC design pattern for iOS apps - this aspect is responsible for receiving user input and acting accordingly - and serves as a 'bridge' between the other two components. It is the backbone of the app.
interface file
First Responder
controller
NSObject
27. A ______ is where you edit a view and assign a controller to it.
scene
modal views
Home button
web view
28. Boolean for 'false' in Objective-C
Option-click a symbol
NO
graduationParty ... addAttendee:withDish
affine
29. Name of the drop-down menu in Xcode that lets you select the device used with the iOS Simulator
Actions
Scheme
eXtensible Markup Language
protocols
30. Extension for an iPhone/iPad app
xcodeproj
Utility apps
57 x 57
Option+Command+4
31. Define a collection of methods to perform a task
nil
Object Library
protocols
[<object variable> <method name>: p1];
32. strong and nonatomic are examples of ...
boiler-plate
attributes
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
Cocoa Touch
33. Crash statement likely when an NSString is assigned a value with an incorrect format
Size Inspector
accessible apps
scene
Program received signal: EXC_BAD_ACCESS
34. Name of the '|' symbol
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
pipe
Commmand-R
nonatomic
35. To use a new class you need to _____ it
Gray circle with a white 'X' in it - positioned to the right of the text field box
rand( )%21
instantiate
interface file
36. 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
37. Declare and initialize a string that says: 'Hello World' whose identifier if 'phrase' . Use the shortest command possible.
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
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. Denotes a class method
UIWindow
Instruments
main()
+
40. This Xcode utility allows you to check CPU usage - memory allocation and network/file access (among other things)
Home button
Instruments
First Responder
114 x 114
41. You have created some 'breadcrumbs' using NSLog to trace the path of your code - and the debug area is open - yet you see no information in the panel. What's the problem and what is the solution?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
42. Used to display image file resources and show simple animations
Touch Up Inside
Single View Application
image view
Outlets ... pointer
43. An array of background images called 'bgImages' has been declared as an instance variable in your header file. You have created a set of 5 background images stored in UIImage variables wp1 through wp5. Write a line of code that initializes the array.
interface and implementation files
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
Human Interface Guide
disclosure triangle
44. Formatting placeholder for a floating point value with one digit on the left of the decimal and two digits on the right
Outlets ... pointer
%1.2f
The Console area of the Debug area
above
45. API
do{/*stuff to do here*/}while(<boolean expression>);
Application Programming Interface
h
count++;
46. 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
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
First Responder
implicitly declare a matching instance variable
47. 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.
[[<class name> alloc] init];
Cocoa Touch
stub
viewDidLoad
48. _____ are methods that we can connect to events.
Actions
UITextField
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
sending an object a message
49. 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
retain
wrap
320 x 480
CGAffineTransform
50. Shortcut for writing: x = x - 1;
x--;
modal
-
count++;