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. Formatting placeholder for strings
alpha ... 1
%@
NSLog
Document Outline Area or Outline View
2. Data type for numbers with 'tame' numbers of decimal points
float
inspector and library
Command+S
parameter
3. IB
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
4. iOS functional building blocks
UILabel *myLabel = [[UILabel alloc] init];
segue
Classes
rand( )%21
5. 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).
wrap
do not
NSString
The Console area of the Debug area
6. In the MVC design pattern for iOS apps - this aspect is responsible for receiving user input and acting accordingly - and serves as a 'bridge' between the other two components. It is the backbone of the app.
NSMutableString
controller
:
superclass
7. Two-way selection logic block
int
nil
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
Command+0
8. Precondition repetition structure syntax
viewDidLoad
mutators
while(<boolean expression>){/*stuff to do here*/}
static
9. 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.
@end
viewDidLoad
sending an object a message
productivity
10. 'plist' stands for...
property list
NSMutableString
%@
accessible apps
11. Multiline text entry block
UITextView
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
Isolate the functional components of an app
CGAffineTransform
12. Class of collection data type which stores information as object/key pairs
IBAction
count++;
NSDictionary
Cocoa Touch
13. Expression to create a random number in [0 -20];
Determine how controls resize/reposition themselves when a device changes orientation
rand( )%21
Attributes Inspector
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
14. Class used for creating image views
Seques .... relationships
double
UIImageView
hash
15. Class that another class inherits from
protocols
superclass
view controller
productivity
16. These define to which messages the datasource and delegate respond
UITextField
static
IBOutlet
protocols
17. A class that manages the user's interaction with the iDevice
view controller
storyboard
strong
Double-click
18. An app has boolean variables 'hasShrunk' and 'hasMoved'. Write a boolean condition that checks if each are true
hasShrunk==YES && hasMoved == YES
contentSize
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
NSArray
19. 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?
double
#import 'myFile.h'
Hold down the Option key and point to the other label. The distance will be shown
eXtensible Markup Language
20. Storage place for a piece of information specific to a class
rand( )%21
protocols
instance variable
Commmand-R
21. A fully transparent image has an _____ property value of _____
label.text=@'Hello World!';
alpha ... 0
Model-View-Controller
Command+R
22. 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
23. The Inspector you would use to control your layout in Interface Builder
productivity
Scheme
Size Inspector
bool
24. This Xcode utility allows you to check CPU usage - memory allocation and network/file access (among other things)
double
header
prototyping
Instruments
25. Data type for whole numbers
ommand+Return
int
nil
Object Library
26. A common button type that indicates additional information is available
[<object variable> <method name>];
accessors
:
detail disclosure
27. The Utilities area has two sections: ______ and ______
iOS Simulator
alpha ... 1
inspector and library
UIViewController
28. Formatting placeholder for integers
[[<class name> alloc] init];
@2x
'Software Development Kit'
%d
29. A skeleton (holding place) or framework of code that will be completed in the future; provided initially so code will compile (but it may not function)
y *= 5;
Hold down the Option key and point to the other label. The distance will be shown
stub
proxy
30. In the UK - the '#' symbol is often called the ____ symbol
alpha ... 0
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
storyboards
hash
31. Shortcut for writing: x = x - 1;
count++;
IBAction)moveMe:(id)sender;
graduationParty ... addAttendee:withDish
x--;
32. Word used to indicate that a user can't interact with a given element
png
y *= 5;
static
self
33. The first method called when a user taps an application icon
main()
do not
NSLog(@'%s' - __FUNCTION__);
pipe
34. 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.
Program received signal: EXC_BAD_ACCESS
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
import
storyboard
35. 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
36. Class that builds upon another class
Seques .... relationships
convenience
subclass
nil
37. Calling a method is the same as...
:
sending an object a message
m
above
38. This element should 'always' accompany a slider to indicate its purpose
scene
do{/*stuff to do here*/}while(<boolean expression>);
label
interface file
39. What do the Autosizing settings of the Size Inspector do?
IBOutlet
Determine how controls resize/reposition themselves when a device changes orientation
implementation file
512MB
40. Attribute that informs Xcode not to worry about different parts of the application using a property at the same time
nonatomic
mutators
!=
57 x 57
41. Single line text field
instantiation
UITextField
count++;
UIViewController
42. A tool in Xcode to help fix broken code
debugger
!
retain - release - dealloc - autorelease
/*blah blah blah */
43. 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
44. XML
Control-click on the View Controller's icon to bring up a Connections dialog
114 x 114
Object library
eXtensible Markup Language
45. 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
46. Key sequence to run an app in Xcode
Command+R
Command+0
disclosure
modal
47. Symbol used for inheritance
Command+1
:
1024 x 768
property list
48. Given: #import <UIKit/UIKit.h> @interface WelcomeViewController : UIViewController @end The superclass for WelcomeViewController
!
parameter
UITextField
UIViewController
49. What property needs to be set before a scroll view (UIScrollView) will scroll?
com.basicversity
label
contentSize
header
50. 'Build and run' keyboard shortcut
Commmand-R
hash
contentSize
!=