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. Define a collection of methods to perform a task
Program received signal: EXC_BAD_ACCESS
@synthesize
png
protocols
2. 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
3. A file folder in the navigator panel is called a ________
'Interface Builder'
<>
Group
debugger
4. An _______ is used to enable your code to talk to objects within views
modal
myImage@2x.png
IBOutlet
Command + Tab
5. Typical header syntax for a button that will be applying the 'moveMe' action in an app
*
debugger
parameter
IBAction)moveMe:(id)sender;
6. Term used to describe each screen of an iPhone app
view
nibfile
parameter
Xcode
7. Method used to print information in an output panel
NSLog
protocols
Model-View-Controller
NSURLRequest
8. Defines what an object can do
nil
Size Inspector
Touch Up Inside
class
9. Class used to work with dates as objects
UITextField
modal views
NSDate
convenience
10. Given: [graduationParty addAttendee: @'Aunt Jane' withDish: @'deviled eggs']; The 'receiver' is _______; the 'selector' is _________
graduationParty ... addAttendee:withDish
1024 x 768
protocols
Scheme
11. Shortcut for writing: count = count + 1;
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.
UIApplication
count++;
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
12. Data type for true/false type variables
UILabel *myLabel = [[UILabel alloc] init];
NSURL
+
bool
13. Apps written to assist users with special disabilities
[<object variable> <method name>: p1];
above
accessible apps
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
14. Calling a method is the same as...
Integrated Development Environment
sending an object a message
import
superclass
15. 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
Actions
NeXSTEP
To provide a convenient way of setting the button's title in the code
16. An example of a common collection data type
NSString *userName;
detail disclosure
NSArray
NSURL
17. IB
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
18. In the UK - the '#' symbol is often called the ____ symbol
hash
do{/*stuff to do here*/}while(<boolean expression>);
png
[<object variable> <method name>];
19. 'Build and run' keyboard shortcut
Commmand-R
alpha ... 1
Isolate the functional components of an app
NSDictionary
20. Syntax for reserving memory and initializing an object
Option+Command+4
segue
[[<class name> alloc] init];
attributes
21. An app has boolean variables 'hasShrunk' and 'hasMoved'. Write a boolean condition that checks if each are true
The Console area of the Debug area
hasShrunk==YES && hasMoved == YES
view controller
bool
22. This type of app is typically one screen - and gives you the basics with minimal interaction
Human Interface Guide
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
utility
@2x
23. 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
24. 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
25. In the US - the '#' symbol is often called the ____ symbol
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
pound
modal
IBOutlet
26. Postcondition repetition structure syntax
do{/*stuff to do here*/}while(<boolean expression>);
pound
Double-click
@
27. You have two labels in Interface Builder. One is selected (You clicked on it). How can you tell the distance between it and the other label?
eXtensible Markup Language
&&
Hold down the Option key and point to the other label. The distance will be shown
Model-View-Controller
28. The library that contains the objects you can add to a view or XIB file
Object library
control-dragging
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
bool
29. A class that manages the user's interaction with the iDevice
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
Cocoa Touch - Media - Core Services - Core OS
/*blah blah blah */
view controller
30. ______ and ______ define the connections between scenes.
Single View Application
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
Seques .... relationships
NSString *userName;
31. What do the Autosizing settings of the Size Inspector do?
nested message send
Home button
count++;
Determine how controls resize/reposition themselves when a device changes orientation
32. Syntax to include the fictitious user-created file 'myFile.h'
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
33. Used to display image file resources and show simple animations
@end
proxy
image view
disclosure triangle
34. Directive to include other interface files that an application might need to access
storyboard
Object library
Instruments
import
35. Closes an interface file
@end
NO
ommand+Return
IBOutlet
36. If you wish to 'echo print' breadcrumb info as you develop your app - this panel must be visible
||
The Console area of the Debug area
y *= 5;
self
37. The first method called when a user taps an application icon
boiler-plate
UIApplication
Option+Command+ 0
main()
38. Denotes a class method
protocols
h
+
UILabel *myLabel = [[UILabel alloc] init];
39. What event do you use to detect a button tap?
IBOutlet
IBOutlet
Touch Up Inside
NeXSTEP
40. Framework used to write iPhone apps
segmented control
Cocoa Touch
Xcode
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
41. This file contains the code that makes everything 'work'
NSMutableString
implementation file
[<object variable> <method name>: p1];
==
42. The Inspector you would use to tweak the way interface objects appear
Attributes Inspector
implementation file
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
Size Inspector
43. Scaling - rotation - and translation are the most commonly used manipulations supported by _____ transforms - but skewing is also possible.
affine
m
workspace
The Console area of the Debug area
44. This Xcode utility allows you to check CPU usage - memory allocation and network/file access (among other things)
Instruments
segmented control
while(<boolean expression>){/*stuff to do here*/}
sending an object a message
45. Syntax for declaring a variable
float
header
<type> <variableName>;
nonatomic
46. Size of iPhone retina icon image in pixels
Treats the field as a password - hiding each character as it is typed
Classes
Hold down the Option key and point to the other label. The distance will be shown
114 x 114
47. Files used to create a class
NO
interface and implementation files
pipe
/*blah blah blah */
48. A view that is displayed on top of an original view when user interactions are required
modal views
Single View Application
114 x 114
alpha ... 1
49. Expression to create a random number in [0 -20];
C
Cocoa Touch
Command + Tab
rand( )%21
50. This file contains the scene - segue and relationship definitions for your project
Attributes Inspector
Application Programming Interface
storyboard
IBAction