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. 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
2. Name of the drop-down menu in Xcode that lets you select the device used with the iOS Simulator
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
Snapshot feature
NeXSTEP
Scheme
3. A transition between scenes - frequently with a visual transition effect applied
label
ommand+Return
instance variable
segue
4. A tool in Xcode to help fix broken code
nested message send
Attributes Inspector
h
debugger
5. Syntax for block-comment
com.basicversity
Program received signal: EXC_BAD_ACCESS
UILabel *myLabel = [[UILabel alloc] init];
/*blah blah blah */
6. 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
7. This type of app is typically one screen - and gives you the basics with minimal interaction
wrap
NSString *userName;
IBOutlet
utility
8. 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
9. If you wish to 'echo print' breadcrumb info as you develop your app - this panel must be visible
Size Inspector
model
The Console area of the Debug area
Hold down the Option key and point to the other label. The distance will be shown
10. Storage place for a piece of information specific to a class
instance variable
variable
main()
@end
11. An _______ is used to enable your code to talk to objects within views
<type> <variableName>;
import
IBOutlet
YES
12. 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
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
NSArray
UITextField
13. Class that creates an array capable of being changed after it is create
!=
NSMutableArray
Seques .... relationships
@
14. What computer language is the storyboard written in?
performance
XML
protocols
<>
15. strong and nonatomic are examples of ...
Command + Tab
IBOutlet
attributes
web view
16. 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
To provide a convenient way of setting the button's title in the code
protocols
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
retain
17. Defines the functional building blocks (classes) that make iOS devices perform certain actions
Cocoa Touch
/*blah blah blah */
Integrated Development Environment
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
18. This Xcode utility allows you to check CPU usage - memory allocation and network/file access (among other things)
Home button
==
instantiate
Instruments
19. Scaling factor to make an image suitable for retina display
nil
2
casting
<type> <variableName>;
20. Data type for highly precise numbers with huge numbers of decimal places
import
%@
double
instantiation
21. Class that another class inherits from
superclass
Command+0
[myLabel setText:@'Howdy'];
[[<class name> alloc] init];
22. Document Apple uses to evaluate apps for the App Store
IBAction)moveMe:(id)sender;
self
Human Interface Guide
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
23. Extension for MainStoryboard
storyboard
Jump Bar
scene
User Interface
24. To unroll or roll up a hierarchy of files - objects or classes - you click the ______ _______ at the root element
UIImageView
IBAction
2
disclosure triangle
25. Postcondition repetition structure syntax
implicitly declare a matching instance variable
Collections
do{/*stuff to do here*/}while(<boolean expression>);
-
26. 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
27. Data type for numbers with 'tame' numbers of decimal points
nil
UITextView
%
float
28. Name of the '|' symbol
x--;
Jump Bar
pipe
%@
29. Syntax for declaring a string called 'userName'
wrap
NSString *userName;
static
eXtensible Markup Language
30. What type of object does a web view expect as a parameter when loading a remote URL?
Seques .... relationships
count++;
NSURLRequest
320 x 480
31. In the MVC design pattern for iOS apps - this aspect provides the underlying data and methods that offer information to the rest of the application
model
Cocoa Touch
Application Programming Interface
view controller
32. Purpose of 'Secure' attribute for text fields
NSMutableString
hash
main()
Treats the field as a password - hiding each character as it is typed
33. Tests to see whether two values are equal
casting
Identity Inspector
NSString *phrase = @'Hello World';
==
34. Method used to print information in an output panel
NSLog
storyboard
To provide a convenient way of setting the button's title in the code
@synthesize
35. Class used to work with dates as objects
NSDate
controller
x--;
Model-View-Controller
36. Code fragment for echo printing the name of a function as it loads (for tracing the sequence of code in a project...leaving breadcrumbs)
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
37. Two-way selection logic block
512MB
workspace
class
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
38. In a stepper control - when this attribute option is checked - the stepper's value is automatically set to the minimum value when the maximum value is exceeded (or vice versa).
proxy
Group
UITextView
wrap
39. Character used to show an element as a literal string
@
Application Programming Interface
Command + Tab
interface file
40. Data type for whole numbers
57 x 57
[<object variable> <method name>];
<>
int
41. Used to define a list of all methods and properties a class uses
myImage@2x.png
parameter
interface file
switch
42. 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
UILabel *myLabel = [[UILabel alloc] init];
performance
protocols
control-dragging
43. A unique combination of view controller and view
interface and implementation files
Actions
scene
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
44. The bar across the top of the Editor area that shows you the item you are editing
model
Option-click a symbol
label
Jump Bar
45. Key sequence to open the Standard Editor
IBOutlet
superclass
Command+0
ommand+Return
46. Formatting placeholder for a floating point value with one digit on the left of the decimal and two digits on the right
protocols
%1.2f
User Interface
NSDate
47. The ________ class provided a container for the management and display of views
token
Object Library
UIWindow
interface and implementation files
48. Syntax for declaring a variable
interface file
<type> <variableName>;
ommand+Return
storyboards
49. Collection of interface elements and data storage elements etc you can access from your applications
Cocoa Touch
protocols
prototyping
instantiate
50. The Inspector you would use to control your layout in Interface Builder
512MB
NO
Size Inspector
do not