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. For a text field - what does the 'Clear Button' look like?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
2. Class that builds upon another class
subclass
label
Command+S
NSLog
3. Development approach (design pattern) to structure iOS applications
instance variable
Model-View-Controller
#import 'myFile.h'
property list
4. Size of iPhone 'lo-res' icon image in pixels
Document Outline Area or Outline View
Cocoa Touch
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
57 x 57
5. Other name for an *.xib file
@end
%1.2f
The Console area of the Debug area
nibfile
6. Opens the Xcode Quick Help Assistant
Option-click a symbol
Command+R
disclosure triangle
property list
7. setters
main()
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
mutators
Attributes Inspector
8. This type of app is typically one screen - and gives you the basics with minimal interaction
nested message send
Option+Command+ 0
utility
retain - release - dealloc - autorelease
9. 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
10. @synthesize directives should be placed _____ (above or below) the @implementation directive in the implementation file
NeXSTEP
below
onscreen 'widgets' a user can interact with
switch
11. Defines what an object can do
x--;
To provide a convenient way of setting the button's title in the code
Object Library
class
12. This file contains the code that makes everything 'work'
implementation file
Gray circle with a white 'X' in it - positioned to the right of the text field box
boiler-plate
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
13. Syntax for sending an object a message with one parameter (p1)
conform
strong
iOS Simulator
[<object variable> <method name>: p1];
14. 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
interface file
property list
Identity Inspector
retain
15. Alternative selection mechanism when many conditions exist
Attributes Inspector
Object-oriented programming
Model-View-Controller
switch
16. Delimiter for a list of protocols
sending an object a message
nil
workspace
<>
17. 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
disclosure
NSString *userName;
nonatomic
Document Outline Area or Outline View
18. The HIG requires some kind of _____ element in a cell if there is more information available
bool
disclosure
Gray circle with a white 'X' in it - positioned to the right of the text field box
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
19. 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
20. 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
21. Another name for a 'button bar'
Isolate the functional components of an app
segmented control
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
count++;
22. Defines the functional building blocks (classes) that make iOS devices perform certain actions
graduationParty ... addAttendee:withDish
disclosure triangle
Object-oriented programming
Cocoa Touch
23. If you wish to 'echo print' breadcrumb info as you develop your app - this panel must be visible
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
The Console area of the Debug area
Size Inspector
Jump Bar
24. Key sequence to hide/show the Assistant Editor
alpha ... 0
ption+Command+Return
stub
Identity Inspector
25. 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
26. Directive to include other interface files that an application might need to access
NSURL
pound
import
ption+Command+Return
27. Given: [graduationParty addAttendee: @'Aunt Jane' withDish: @'deviled eggs']; The 'receiver' is _______; the 'selector' is _________
UIWindow
interface and implementation files
Size Inspector
graduationParty ... addAttendee:withDish
28. Key sequence to run an app in Xcode
protocols
Determine how controls resize/reposition themselves when a device changes orientation
Command+R
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.
29. Used to set up an outgoing connection from the implementation code to the view
Command+R
Object library
IBOutlet
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
30. What type of object does a web view expect as a parameter when loading a remote URL?
NSURLRequest
#import <UIKIT/UIKIT.h>
Single View Application
//blah blah blah
31. Symbol used for inheritance
storyboard
iOS Simulator
Objective-C
:
32. Class of strings that can be changed
x--;
NSMutableString
float
image view
33. What computer language is the storyboard written in?
XML
implementation file
[<object variable> <method name>: p1];
First Responder
34. The bar across the top of the Editor area that shows you the item you are editing
Jump Bar
label
xcodeproj
performance
35. The ________ class provided a container for the management and display of views
disclosure triangle
First Responder
performance
UIWindow
36. Scaling - rotation - and translation are the most commonly used manipulations supported by _____ transforms - but skewing is also possible.
2
affine
performance
viewDidLoad
37. 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?
disclosure
myImage@2x.png
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
nonatomic
38. Term used to describe each screen of an iPhone app
void
114 x 114
view
==
39. ______ enable applications to store multiple pieces of information in a single object
Collections
/*blah blah blah */
Commmand-R
bool
40. Document Apple uses to evaluate apps for the App Store
alpha
Human Interface Guide
-
UITextField
41. A fully opaque image has an _______ property value of ______
Size Inspector
alpha ... 1
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
nested message send
42. Class used to work with dates as objects
scene
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
onscreen 'widgets' a user can interact with
NSDate
43. Master class in iOS
NSObject
#import 'myFile.h'
segmented control
convenience
44. XML
eXtensible Markup Language
Cocoa Touch
boiler-plate
retain
45. To use a new class you need to _____ it
Collections
instantiate
Object-oriented programming
implicitly declare a matching instance variable
46. strong and nonatomic are examples of ...
instantiation
attributes
controller
!=
47. Syntax to include UIKIT in a class
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
NSLog
Object Library
#import <UIKIT/UIKIT.h>
48. _____ are methods that we can connect to events.
XML
Actions
implicitly declare a matching instance variable
com.basicversity
49. This element should 'always' accompany a slider to indicate its purpose
label
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
Group
workspace
50. The goal of the MVC design pattern
UITextView
Isolate the functional components of an app
iOS Simulator
control-dragging