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. Synonym for interface file
Objective-C
utility
protocols
header
2. In a stepper control - when this attribute option is checked - the stepper's value is automatically set to the minimum value when the maximum value is exceeded (or vice versa).
instance variable
CGAffineTransform
count++;
wrap
3. Multiline text entry block
detail disclosure
UITextView
NSLog
debugger
4. Dimensions of iPad (in points)
1024 x 768
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
casting
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
5. If you wish to 'echo print' breadcrumb info as you develop your app - this panel must be visible
count++;
Actions
The Console area of the Debug area
retain
6. 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
retain
Outlets ... pointer
Program received signal: EXC_BAD_ACCESS
rand( )%21
7. Class used for image manipulations such as scaling - rotation and translation. Its data structure represents a matrix used for affine transformations.
[[<class name> alloc] init];
CGAffineTransform
!
nil
8. Key sequence to hide/show the Assistant Editor
Single View Application
Isolate the functional components of an app
Actions
ption+Command+Return
9. ______ and ______ define the connections between scenes.
Commmand-R
Seques .... relationships
Program received signal: EXC_BAD_ACCESS
detail disclosure
10. Class of collection data type which stores information as object/key pairs
Hold down the Option key and point to the other label. The distance will be shown
NSDictionary
mutators
pipe
11. To unroll or roll up a hierarchy of files - objects or classes - you click the ______ _______ at the root element
disclosure triangle
NSString *userName;
[[<class name> alloc] init];
implementation file
12. Symbol used for inheritance
:
@synthesize
attributes
interface file
13. Crash statement likely when an NSString is assigned a value with an incorrect format
NSDictionary
Program received signal: EXC_BAD_ACCESS
control-dragging
wrap
14. Tests to see whether two values are equal
segmented control
==
Treats the field as a password - hiding each character as it is typed
wrap
15. 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
16. Every iOS application implements a subclass of _________
alpha ... 1
header
320 x 480
UIApplication
17. 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
18. Syntax for sending an object a message with no parameters
Gray circle with a white 'X' in it - positioned to the right of the text field box
[<object variable> <method name>];
NeXSTEP
instance variable
19. Way to refer to an object within its own methods
self
below
UIViewController
Gray circle with a white 'X' in it - positioned to the right of the text field box
20. NS stands for...
NeXSTEP
NSDate
/*blah blah blah */
web view
21. 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
22. To use a new class you need to _____ it
instantiate
scene
Utility apps
Application Programming Interface
23. Used to display image file resources and show simple animations
pound
#import 'myFile.h'
2
image view
24. Precondition repetition structure syntax
Document Outline Area or Outline View
Option+Command+4
while(<boolean expression>){/*stuff to do here*/}
NSURL
25. Shortcut for writing: x = x - 1;
x--;
convenience
[<object variable> <method name>];
Model-View-Controller
26. A fully opaque image has an _______ property value of ______
[<object variable> <method name>];
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
!=
alpha ... 1
27. What computer language is the storyboard written in?
modal
strong
XML
protocols
28. An _______ is used to 'advertise' a method in your code that should be called when a certain event takes place
nested message send
Double-click
IBAction
114 x 114
29. Word used to indicate that a user can't interact with a given element
Home button
static
interface file
pound
30. 'plist' stands for...
workspace
count++;
instantiation
property list
31. RAM for iPhone
disclosure
web view
512MB
Command+1
32. An app has boolean variables 'hasShrunk' and 'hasMoved'. Write a boolean condition that checks if each are true
retain
hasShrunk==YES && hasMoved == YES
convenience
boiler-plate
33. Name of the '|' symbol
nested message send
interface and implementation files
@
pipe
34. IB
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
35. Given: #import <UIKit/UIKit.h> @interface WelcomeViewController : UIViewController @end The superclass for WelcomeViewController
UIViewController
inspector and library
superclass
Object library
36. What event do you use to detect a button tap?
immersive
eXtensible Markup Language
NSURLRequest
Touch Up Inside
37. OOP
conform
Isolate the functional components of an app
viewDidLoad
Object-oriented programming
38. The object currently in control and interacting with the user
com.basicversity
wrap
scene
First Responder
39. Resembles a slot machine display
UIPicker
Outlets ... pointer
YES
Control-click on the View Controller's icon to bring up a Connections dialog
40. Write a statement to declare and initialize a label object called 'myLabel'
switch
-
workspace
UILabel *myLabel = [[UILabel alloc] init];
41. Framework used to write iPhone apps
performance
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
%@
Cocoa Touch
42. Class that creates an array capable of being changed after it is create
ommand+Return
alpha ... 1
web view
NSMutableArray
43. Data type for highly precise numbers with huge numbers of decimal places
retain - release - dealloc - autorelease
User Interface
accessors
double
44. A class that implements a protocol is said to ____ to that protocol
[[<class name> alloc] init];
'Software Development Kit'
conform
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
45. 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?
myImage@2x.png
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
self
Size Inspector
46. Language used to write iOS apps
Objective-C
void
Classes
disclosure
47. getters
*
accessors
<type> <variableName>;
count++;
48. Shortcut for writing: count = count + 1;
@synthesize
count++;
alpha ... 1
rand( )%21
49. Other name for an *.xib file
Utility apps
UIApplication
nibfile
implementation file
50. @property directives should be placed ____ (above or below) any IBActions in the header file
Treats the field as a password - hiding each character as it is typed
count++;
above
UITextField