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. This file contains the code that makes everything 'work'
implementation file
prototyping
com.basicversity
The Console area of the Debug area
2. Resembles a slot machine display
label
productivity
UIPicker
NSMutableString
3. What property needs to be set before a scroll view (UIScrollView) will scroll?
int
parameter
workspace
contentSize
4. Calling a method is the same as...
detail disclosure
ommand+Return
sending an object a message
Application Programming Interface
5. Key sequence to open the Project Navigator (left panel)
[myLabel setText:@'Howdy'];
||
2
Command+1
6. 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.
superclass
eXtensible Markup Language
viewDidLoad
do{/*stuff to do here*/}while(<boolean expression>);
7. Shortcut for writing: x = x - 1;
x--;
inspector and library
nonatomic
Classes
8. 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
9. 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?
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
myImage@2x.png
interface file
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
10. A view that is displayed on top of an original view when user interactions are required
disclosure
UIWindow
instantiation
modal views
11. An array of background images called 'bgImages' has been declared as an instance variable in your header file. You have created a set of 5 background images stored in UIImage variables wp1 through wp5. Write a line of code that initializes the array.
graduationParty ... addAttendee:withDish
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
property list
segue
12. Language used to write iOS apps
NSURLRequest
Objective-C
count++;
detail disclosure
13. Data type for true/false type variables
UILabel *myLabel = [[UILabel alloc] init];
320 x 480
1024 x 768
bool
14. Used to define a list of all methods and properties a class uses
disclosure triangle
interface file
subclass
Program received signal: EXC_BAD_ACCESS
15. 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.
retain
IBAction)moveMe:(id)sender;
storyboards
modal
16. Proper way to pronounce a *.xib file
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
17. To unroll or roll up a hierarchy of files - objects or classes - you click the ______ _______ at the root element
mutators
NSDictionary
png
disclosure triangle
18. XML
eXtensible Markup Language
UITextView
nonatomic
Cocoa Touch
19. SDK
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
20. Synonym for interface file
:
header
Actions
rand( )%21
21. Class that creates an array capable of being changed after it is create
disclosure
NSString *phrase = @'Hello World';
NSMutableArray
detail disclosure
22. The first method called when a user taps an application icon
wrap
[myLabel setText:@'Howdy'];
main()
UIApplication
23. Collection of interface elements and data storage elements etc you can access from your applications
Cocoa Touch
above
label.text=@'Hello World!';
!=
24. Purpose of the 'Auto-enable Return Key' attribute for text fields
/*blah blah blah */
alpha
UITextField
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
25. Key sequence to hide/show Utilities View
mutators
Option+Command+ 0
Single View Application
UIViewController
26. Closes an interface file
CGAffineTransform
Classes
NSString *userName;
@end
27. Denotes a class method
Document Outline Area or Outline View
To provide a convenient way of setting the button's title in the code
+
int
28. The Utilities area has two sections: ______ and ______
workspace
scene
Option+Command+ 0
inspector and library
29. Dimensions of iPad (in points)
Gray circle with a white 'X' in it - positioned to the right of the text field box
x--;
[[<class name> alloc] init];
1024 x 768
30. A class that implements a protocol is said to ____ to that protocol
productivity
header
nil
conform
31. 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
32. Attribute that informs Xcode not to worry about different parts of the application using a property at the same time
controller
nonatomic
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
512MB
33. Syntax for declaring a variable
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
wrap
Application Programming Interface
<type> <variableName>;
34. Define a collection of methods to perform a task
protocols
UIWindow
wrap
Utility apps
35. Used to indicate any type of object
id
alpha ... 0
NSObject
nil
36. Typical header syntax for a button that will be applying the 'moveMe' action in an app
<>
IBAction)moveMe:(id)sender;
NSDate
Command+R
37. Implements a logical OR condition
||
modal views
Option+Command+4
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
38. 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
39. These define to which messages the datasource and delegate respond
Command+R
protocols
detail disclosure
void
40. Class that another class inherits from
superclass
workspace
interface file
controller
41. Class of strings that can be changed
proxy
IBOutlet
Home button
NSMutableString
42. The '@' symbol is shorthand for creating one of these
Cocoa Touch
NSString
Jump Bar
nested message send
43. Class of collection data type which stores information as object/key pairs
UITextField
detail disclosure
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
NSDictionary
44. This type of app typically involves hierarchical data
The Console area of the Debug area
productivity
boiler-plate
while(<boolean expression>){/*stuff to do here*/}
45. Denotes an instance method
Collections
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
UITextView
-
46. A ______ is where you edit a view and assign a controller to it.
proxy
C
scene
Cocoa Touch - Media - Core Services - Core OS
47. Size of iPhone retina icon image in pixels
Cocoa Touch - Media - Core Services - Core OS
class
114 x 114
subclass
48. Two-way selection logic block
[[<class name> alloc] init];
segue
boiler-plate
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
49. The ________ class provided a container for the management and display of views
UIWindow
alpha
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
nil
50. 'plist' stands for...
!
NSObject
NSURL
property list