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. Used to set up an outgoing connection from the implementation code to the view
IBOutlet
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.
segue
UIApplication
2. Two-way selection logic block
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
Object Library
storyboards
Option+Command+4
3. Key sequence to open the Attributes Inspector
Option+Command+4
NeXSTEP
Actions
UILabel *myLabel = [[UILabel alloc] init];
4. 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
5. 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
6. An example of a common collection data type
YES
Cocoa Touch
%
NSArray
7. 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
8. Class that creates an array capable of being changed after it is create
%d
NSMutableArray
nibfile
//blah blah blah
9. Tests to see whether two values are not equal
wrap
!=
attributes
view
10. If you wish to 'echo print' breadcrumb info as you develop your app - this panel must be visible
#import <UIKIT/UIKIT.h>
Command+R
UIImageView
The Console area of the Debug area
11. Objective-C is an extension (super set) of...
proxy
property list
NSString
C
12. Attribute that informs Xcode not to worry about different parts of the application using a property at the same time
convenience
model
storyboard
nonatomic
13. 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.
User Interface
NeXSTEP
NSURL
viewDidLoad
14. Apple's classes often provide a special initialization method called a _____ method
instantiation
!=
pipe
convenience
15. A class that implements a protocol is said to ____ to that protocol
conform
void
main()
Integrated Development Environment
16. Crash statement likely when an NSString is assigned a value with an incorrect format
Cocoa Touch - Media - Core Services - Core OS
inspector and library
Program received signal: EXC_BAD_ACCESS
UITextField
17. Syntax for declaring a variable
<type> <variableName>;
||
NSMutableArray
Snapshot feature
18. iPhone and iPad ____ support .png transparency
workspace
NSURL
do not
interface and implementation files
19. SDK
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
20. The Inspector you would access to gain access to various accessibility attributes
Identity Inspector
First Responder
UIWindow
immersive
21. Storage place for a piece of information specific to a class
instance variable
interface and implementation files
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
productivity
22. Negation symbol
*
-
!
Objective-C
23. NS stands for...
alpha
instantiate
-
NeXSTEP
24. 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
25. Other name for an *.xib file
sending an object a message
NSURLRequest
nibfile
==
26. What's the difference between Cocoa and Cocoa Touch?
stub
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
implicitly declare a matching instance variable
NSDictionary
27. Key sequence on a Mac to select between open application
Option+Command+4
Command + Tab
Model-View-Controller
Jump Bar
28. Declaring a method in an interface file - before it is actually implemented is called _______ the method
prototyping
control-dragging
Cocoa Touch
immersive
29. 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
30. 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
31. IDE
Integrated Development Environment
retain - release - dealloc - autorelease
&&
Home button
32. Every iOS application implements a subclass of _________
NSURL
Outlets ... pointer
UIApplication
IBAction)moveMe:(id)sender;
33. XML
%@
while(<boolean expression>){/*stuff to do here*/}
eXtensible Markup Language
int
34. To zoom between an overview of the entire storyboard and the actual size view - ______ the storyboard background.
Human Interface Guide
Double-click
import
count++;
35. Scaling factor to make an image suitable for retina display
2
implicitly declare a matching instance variable
debugger
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
36. Name of the '|' symbol
web view
1024 x 768
pipe
nil
37. Class used for creating image views
strong
model
UIImageView
while(<boolean expression>){/*stuff to do here*/}
38. Write a statement to declare and initialize a label object called 'myLabel'
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
UILabel *myLabel = [[UILabel alloc] init];
property list
immersive
39. 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
m
||
Classes
nonatomic
40. 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
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
parameter
count++;
41. Allows you to easily track multiple versions of your project
sending an object a message
nil
Snapshot feature
stub
42. Extension for interface file
hash
label.text=@'Hello World!';
h
Treats the field as a password - hiding each character as it is typed
43. strong and nonatomic are examples of ...
UIViewController
IBAction)moveMe:(id)sender;
attributes
NSURL
44. The Round Rect Button is found in this library
Object Library
IBOutlet
float
Command+R
45. 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.
%d
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
modal
Attributes Inspector
46. Always used to end the list of objects when initializing an array
nil
UIApplication
Objective-C
com.basicversity
47. The Inspector you would use to tweak the way interface objects appear
accessible apps
Attributes Inspector
2
nested message send
48. Denotes a class method
Human Interface Guide
<>
+
switch
49. Calling a method is the same as...
114 x 114
Instruments
mutators
sending an object a message
50. Define a collection of methods to perform a task
segue
interface file
protocols
above