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. A file folder in the navigator panel is called a ________
Group
disclosure
immersive
Scheme
2. What computer language is the storyboard written in?
Option+Command+ 0
UILabel *myLabel = [[UILabel alloc] init];
XML
wrap
3. This type of app is mostly custom controllers and graphics
immersive
NSLog(@'%s' - __FUNCTION__);
NSLog
@
4. To zoom between an overview of the entire storyboard and the actual size view - ______ the storyboard background.
Double-click
xcodeproj
UIWindow
protocols
5. The Inspector you would use to tweak the way interface objects appear
token
Attributes Inspector
detail disclosure
immersive
6. Boolean for 'true' in Objective-C
interface file
@synthesize
YES
iOS Simulator
7. Class used for creating image views
UIImageView
NSLog(@'%s' - __FUNCTION__);
control-dragging
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
8. strong and nonatomic are examples of ...
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
Outlets ... pointer
attributes
Command + Tab
9. A tool in Xcode to help fix broken code
control-dragging
debugger
protocols
alpha
10. Scaling factor to make an image suitable for retina display
2
Home button
modal views
NSArray
11. 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?
Object Library
[<object variable> <method name>];
com.basicversity
attributes
12. Term used to describe each screen of an iPhone app
:
instantiate
view
CGAffineTransform
13. 'Build and run' keyboard shortcut
graduationParty ... addAttendee:withDish
@end
NSDictionary
Commmand-R
14. Character used to show an element as a literal string
interface file
m
do not
@
15. Two-way selection logic block
NSLog(@'%s' - __FUNCTION__);
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
eXtensible Markup Language
do{/*stuff to do here*/}while(<boolean expression>);
16. _____ are methods that we can connect to events.
Gray circle with a white 'X' in it - positioned to the right of the text field box
Model-View-Controller
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
Actions
17. Language used to write iOS apps
view
YES
Hold down the Option key and point to the other label. The distance will be shown
Objective-C
18. Used to indicate any type of object
instance variable
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
eXtensible Markup Language
id
19. Class of collection data type which stores information as object/key pairs
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
NSDictionary
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
sending an object a message
20. Tests to see whether two values are not equal
strong
mutators
NSString *phrase = @'Hello World';
!=
21. 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.
controller
retain - release - dealloc - autorelease
inspector and library
NSString *userName;
22. Used to receive an event in code and trigger something
IBAction
Instruments
NSLog
Outlets ... pointer
23. Key sequence on a Mac to select between open application
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
attributes
bool
Command + Tab
24. Single line text field
instance variable
UITextField
CGAffineTransform
C
25. Master class in iOS
segmented control
NSObject
Option+Command+4
&&
26. IDE for iPhone Development
Commmand-R
view
Xcode
Identity Inspector
27. 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
28. Denotes an instance method
Outlets ... pointer
convenience
-
NSString *phrase = @'Hello World';
29. The Round Rect Button is found in this library
attributes
ption+Command+Return
Object Library
'Interface Builder'
30. An _______ is used to 'advertise' a method in your code that should be called when a certain event takes place
Object Library
segmented control
IBAction
%
31. Which Apple project template creates a simple view/view controller application
header
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
variable
Single View Application
32. You have created some 'breadcrumbs' using NSLog to trace the path of your code - and the debug area is open - yet you see no information in the panel. What's the problem and what is the solution?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
33. Data type for highly precise numbers with huge numbers of decimal places
||
UIPicker
NSLog
double
34. Another name for format specification
graduationParty ... addAttendee:withDish
token
[<object variable> <method name>];
To provide a convenient way of setting the button's title in the code
35. @property directives should be placed ____ (above or below) any IBActions in the header file
above
Utility apps
/*blah blah blah */
Classes
36. 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
37. Document Apple uses to evaluate apps for the App Store
Classes
scene
@2x
Human Interface Guide
38. Syntax for block-comment
/*blah blah blah */
segue
+
UITextField
39. Purpose of 'Secure' attribute for text fields
scene
Treats the field as a password - hiding each character as it is typed
NSURL
Actions
40. An app has boolean variables 'hasShrunk' and 'hasMoved'. Write a boolean condition that checks if each are true
hasShrunk==YES && hasMoved == YES
nil
57 x 57
@end
41. 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
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
@end
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
42. Prior to ARC - you used these terms alot
Collections
retain
retain - release - dealloc - autorelease
IBAction)moveMe:(id)sender;
43. Formatting placeholder for a floating point value with one digit on the left of the decimal and two digits on the right
*
onscreen 'widgets' a user can interact with
view
%1.2f
44. A class that implements a protocol is said to ____ to that protocol
Actions
alpha ... 0
UILabel *myLabel = [[UILabel alloc] init];
conform
45. Property affecting an element's transparency
view
Integrated Development Environment
alpha
Object library
46. For a text field - what does the 'Clear Button' look like?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
47. Method used to print information in an output panel
nibfile
NSLog
%d
Objective-C
48. 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
IBAction
disclosure
viewDidLoad
retain
49. Any 'directive' statement begins with this symbol
Command+R
@
detail disclosure
Commmand-R
50. A ______ is where you edit a view and assign a controller to it.
Classes
UIApplication
scene
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'