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. If you wish to 'echo print' breadcrumb info as you develop your app - this panel must be visible
!
Program received signal: EXC_BAD_ACCESS
The Console area of the Debug area
Utility apps
2. Denotes a class method
Jump Bar
+
while(<boolean expression>){/*stuff to do here*/}
nonatomic
3. 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?
Command+1
myImage@2x.png
<>
%1.2f
4. 'plist' stands for...
Jump Bar
property list
nil
Command+R
5. ______ and ______ define the connections between scenes.
Seques .... relationships
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
Treats the field as a password - hiding each character as it is typed
bool
6. Shortcut for writing: y = y * 5;
First Responder
y *= 5;
Human Interface Guide
view controller
7. NS stands for...
NeXSTEP
Integrated Development Environment
attributes
Hold down the Option key and point to the other label. The distance will be shown
8. The Inspector you would access to gain access to various accessibility attributes
superclass
Identity Inspector
com.basicversity
Option+Command+4
9. Used to define a list of all methods and properties a class uses
NO
inspector and library
Application Programming Interface
interface file
10. Extension for interface file
NSMutableString
y *= 5;
h
import
11. What are data detectors?
ommand+Return
convenience
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
Jump Bar
12. Another name for format specification
320 x 480
Option+Command+4
NO
token
13. Closes an interface file
@end
@synthesize
#import 'myFile.h'
Scheme
14. Key sequence to hide/show Navigator View
token
Command+0
NSLog(@'%s' - __FUNCTION__);
detail disclosure
15. A class that implements a protocol is said to ____ to that protocol
affine
conform
'Software Development Kit'
Snapshot feature
16. What computer language is the storyboard written in?
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
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.
Objective-C
XML
17. Used to indicate any type of object
id
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
To provide a convenient way of setting the button's title in the code
%d
18. _____ are methods that we can connect to events.
<type> <variableName>;
do not
Command+1
Actions
19. Language used to write iOS apps
Objective-C
Command+R
The Console area of the Debug area
1024 x 768
20. Indicates a lack of any value at all
sending an object a message
nil
!
Objective-C
21. The Inspector you would use to control your layout in Interface Builder
==
nonatomic
boiler-plate
Size Inspector
22. 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
23. Dimensions of iPad (in points)
int
1024 x 768
model
NSURLRequest
24. Key sequence to open the Project Navigator (left panel)
retain - release - dealloc - autorelease
Command+1
UIApplication
Model-View-Controller
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
Command+1
segue
model
hasShrunk==YES && hasMoved == YES
26. 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?
Cocoa Touch
bool
com.basicversity
%
27. Syntax for sending an object a message with one parameter (p1)
iOS Simulator
57 x 57
[<object variable> <method name>: p1];
Utility apps
28. Return type indicating a method returns nothing
int
==
void
convenience
29. Data type for true/false type variables
NSDictionary
label
UIPicker
bool
30. Creates 'getters' and 'setters'
&&
Option+Command+ 0
NO
@synthesize directive
31. Files used to create a class
onscreen 'widgets' a user can interact with
contentSize
UIPicker
interface and implementation files
32. Syntax for declaring a variable
iOS Simulator
accessible apps
<type> <variableName>;
UITextView
33. Recommended image type for button graphics
Identity Inspector
png
Instruments
NSString *phrase = @'Hello World';
34. Purpose of 'Secure' attribute for text fields
Outlets ... pointer
Command + Tab
Treats the field as a password - hiding each character as it is typed
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
35. 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
36. iOS functional building blocks
Command+R
Document Outline Area or Outline View
Classes
inspector and library
37. Defines what an object can do
[[<class name> alloc] init];
nested message send
class
y *= 5;
38. An _______ is used to enable your code to talk to objects within views
Command+0
wrap
IBOutlet
web view
39. Extension for an iPhone/iPad app
void
float
xcodeproj
UITextView
40. The object currently in control and interacting with the user
switch
utility
First Responder
alpha ... 0
41. What do the Autosizing settings of the Size Inspector do?
Determine how controls resize/reposition themselves when a device changes orientation
NSDate
Identity Inspector
proxy
42. Calling a method is the same as...
Option+Command+ 0
modal views
sending an object a message
IBOutlet
43. This file contains the code that makes everything 'work'
convenience
Command+1
implementation file
retain - release - dealloc - autorelease
44. Storage place for a piece of information specific to a class
Object library
NSString
instance variable
114 x 114
45. The first method called when a user taps an application icon
main()
Double-click
@
strong
46. This type of app typically involves hierarchical data
@
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
segue
productivity
47. A file folder in the navigator panel is called a ________
web view
UIWindow
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
Group
48. @synthesize directives should be placed _____ (above or below) the @implementation directive in the implementation file
User Interface
Document Outline Area or Outline View
below
Treats the field as a password - hiding each character as it is typed
49. Which Apple project template creates a simple view/view controller application
%1.2f
Single View Application
Control-click on the View Controller's icon to bring up a Connections dialog
count++;
50. Key sequence to hide/show the Assistant Editor
ption+Command+Return
sending an object a message
Integrated Development Environment
control-dragging