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. 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
%@
float
graduationParty ... addAttendee:withDish
2. Size of iPhone 'lo-res' icon image in pixels
Cocoa Touch
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
scene
57 x 57
3. UI
Nib (but a few call it 'zib' but that's not preferred)
Control-click on the View Controller's icon to bring up a Connections dialog
C
User Interface
4. Used to indicate any type of object
id
#import <UIKIT/UIKIT.h>
parameter
Isolate the functional components of an app
5. 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
6. The first method called when a user taps an application icon
main()
Option+Command+ 0
[<object variable> <method name>];
//blah blah blah
7. Attribute that informs the system that the object referred to needs to be kept around and not discarded from memory
strong
attributes
segue
hasShrunk==YES && hasMoved == YES
8. @synthesize directives should be placed _____ (above or below) the @implementation directive in the implementation file
attributes
NSObject
web view
below
9. In the US - the '#' symbol is often called the ____ symbol
pound
view
NSArray
-
10. Implements a logical AND condition
NSMutableArray
&&
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
NSDate
11. Apps written to assist users with special disabilities
accessible apps
count++;
[myLabel setText:@'Howdy'];
instantiate
12. The Inspector you will need if you want to connect a custom class to an object in Interface Builder
Model-View-Controller
#import 'myFile.h'
interface file
Identity Inspector
13. Used to display image file resources and show simple animations
Treats the field as a password - hiding each character as it is typed
eXtensible Markup Language
The Console area of the Debug area
image view
14. 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
15. A unique combination of view controller and view
Attributes Inspector
scene
[myLabel setText:@'Howdy'];
==
16. 'plist' stands for...
IBOutlet
property list
below
Option+Command+ 0
17. Which Apple project template creates a simple view/view controller application
Single View Application
||
variable
myImage@2x.png
18. What do the Autosizing settings of the Size Inspector do?
The Console area of the Debug area
stub
Determine how controls resize/reposition themselves when a device changes orientation
NSURLRequest
19. Given: [graduationParty addAttendee: @'Aunt Jane' withDish: @'deviled eggs']; The 'receiver' is _______; the 'selector' is _________
NSString *phrase = @'Hello World';
graduationParty ... addAttendee:withDish
Program received signal: EXC_BAD_ACCESS
IBAction
20. The name of the panel to the left of the Interface Builder Editor panel
NSDictionary
Document Outline Area or Outline View
controller
ommand+Return
21. @property directives should be placed ____ (above or below) any IBActions in the header file
implementation file
<>
above
below
22. An _______ is used to 'advertise' a method in your code that should be called when a certain event takes place
bool
double
sending an object a message
IBAction
23. Syntax for reserving memory and initializing an object
nonatomic
!
[[<class name> alloc] init];
[myLabel setText:@'Howdy'];
24. A view has a 'Shrink' button whose label needs to change once it is clicked to 'Grow'. Write a 'message' type command to change it's label to 'Grow'
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
25. 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
interface and implementation files
@end
model
do{/*stuff to do here*/}while(<boolean expression>);
26. iPhone and iPad ____ support .png transparency
accessible apps
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
do not
NO
27. What are data detectors?
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
Application Programming Interface
Double-click
proxy
28. In the UK - the '#' symbol is often called the ____ symbol
detail disclosure
IBAction
hash
NSString *phrase = @'Hello World';
29. Name of the '|' symbol
y *= 5;
NSMutableArray
float
pipe
30. Way to refer to an object within its own methods
disclosure triangle
self
%d
switch
31. Every iOS application implements a subclass of _________
C
pound
sending an object a message
UIApplication
32. 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
33. A common button type that indicates additional information is available
detail disclosure
Model-View-Controller
nil
Hold down the Option key and point to the other label. The distance will be shown
34. ______ are variables that can store a ____ to an object.
token
debugger
Outlets ... pointer
%1.2f
35. Synonym for interface file
Program received signal: EXC_BAD_ACCESS
header
retain
parameter
36. Any 'directive' statement begins with this symbol
The Console area of the Debug area
Cocoa Touch
x--;
@
37. XML
114 x 114
Cocoa Touch
eXtensible Markup Language
1024 x 768
38. Extension for an iPhone/iPad app
Size Inspector
xcodeproj
Instruments
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
39. Symbol used for inheritance
Cocoa Touch
:
Outlets ... pointer
UIPicker
40. 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
41. Framework used to write iPhone apps
controller
Identity Inspector
320 x 480
Cocoa Touch
42. Method used to print information in an output panel
NSLog
sending an object a message
header
Object Library
43. Syntax for sending an object a message with no parameters
NeXSTEP
NSArray
[<object variable> <method name>];
Command+S
44. What type of object does a web view expect as a parameter when loading a remote URL?
proxy
YES
property list
NSURLRequest
45. MVC
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
affine
main()
Model-View-Controller
46. An _______ is used to enable your code to talk to objects within views
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
IBOutlet
Model-View-Controller
NSString *phrase = @'Hello World';
47. Term used to describe each screen of an iPhone app
NSLog
label.text=@'Hello World!';
view
debugger
48. 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
49. Under what circumstances would you need an outlet for a button if it's just needed to trigger an action?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
50. A tool in Xcode to help fix broken code
%@
debugger
Identity Inspector
NSMutableArray