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. Companion to the @property directive
NSDate
//blah blah blah
:
@synthesize
2. 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
3. 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.
Option+Command+4
ommand+Return
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
debugger
4. RAM for iPhone
Cocoa Touch
IBOutlet
prototyping
512MB
5. This Xcode utility allows you to check CPU usage - memory allocation and network/file access (among other things)
Instruments
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
!
Seques .... relationships
6. Typical header syntax for a button that will be applying the 'moveMe' action in an app
inspector and library
1024 x 768
IBAction)moveMe:(id)sender;
Command+S
7. Apps written to assist users with special disabilities
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
UIWindow
accessible apps
Size Inspector
8. Single line text field
XML
UITextField
NSMutableString
Objective-C
9. 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).
Hold down the Option key and point to the other label. The distance will be shown
NSURL
wrap
XML
10. What are data detectors?
YES
Control-click on the View Controller's icon to bring up a Connections dialog
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
pipe
11. Modulus (remainder) operator
NSMutableArray
%
iOS Simulator
nonatomic
12. Data type for true/false type variables
xcodeproj
||
bool
proxy
13. ______ are variables that can store a ____ to an object.
Gray circle with a white 'X' in it - positioned to the right of the text field box
Outlets ... pointer
UITextField
NSLog
14. IDE
==
Model-View-Controller
Utility apps
Integrated Development Environment
15. Development approach (design pattern) to structure iOS applications
[<object variable> <method name>];
prototyping
Model-View-Controller
@synthesize directive
16. You have an instance variable called 'myLabel' that is a member of UILabel. In an app - you set it's text property to 'Howdy' with the correctly-written command: myLabel.text = @'Howdy'; Re-write this command using [ ] message-sending syntax
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
17. SDK
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
18. Resembles a slot machine display
scene
Integrated Development Environment
Cocoa Touch
UIPicker
19. Opens the Xcode Quick Help Assistant
conform
[myLabel setText:@'Howdy'];
Option-click a symbol
storyboard
20. 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
21. Key sequence to save an Xcode file
token
@
Command+S
xcodeproj
22. Calling a method is the same as...
h
@
sending an object a message
protocols
23. Storage place for a piece of information specific to a class
nested message send
NSLog(@'%s' - __FUNCTION__);
conform
instance variable
24. Files used to create a class
interface and implementation files
Command+0
NO
'Interface Builder'
25. Term used to describe each screen of an iPhone app
@
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
view
subclass
26. Declaring a method in an interface file - before it is actually implemented is called _______ the method
prototyping
web view
nil
Objective-C
27. 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?
The Console area of the Debug area
scene
com.basicversity
storyboard
28. The ________ class provided a container for the management and display of views
hash
UIWindow
graduationParty ... addAttendee:withDish
Integrated Development Environment
29. Prior to ARC - you used these terms alot
h
scene
-
retain - release - dealloc - autorelease
30. 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
31. 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
32. The Round Rect Button is found in this library
C
NSLog(@'%s' - __FUNCTION__);
Object Library
%
33. A common button type that indicates additional information is available
UITextField
detail disclosure
hash
Touch Up Inside
34. Precondition repetition structure syntax
storyboards
while(<boolean expression>){/*stuff to do here*/}
Object Library
Cocoa Touch - Media - Core Services - Core OS
35. A tool in Xcode to help fix broken code
alpha
debugger
attributes
%d
36. The files that contain all the scenes you will use in a project.
nonatomic
storyboards
<>
Model-View-Controller
37. This type of app is mostly custom controllers and graphics
immersive
Home button
[[<class name> alloc] init];
bool
38. Key sequence to open the Attributes Inspector
Option+Command+4
import
control-dragging
h
39. A class that manages the user's interaction with the iDevice
view
nibfile
view controller
114 x 114
40. The object currently in control and interacting with the user
First Responder
Seques .... relationships
1024 x 768
retain
41. A fully transparent image has an _____ property value of _____
Object library
alpha
detail disclosure
alpha ... 0
42. Although it is possible to declare an instance variable and then define a corresponding property - you may also use @property alone to...
implicitly declare a matching instance variable
//blah blah blah
Treats the field as a password - hiding each character as it is typed
Human Interface Guide
43. Word used to indicate that a user can't interact with a given element
static
UIImageView
productivity
switch
44. Process of creating an active object from a class
@synthesize directive
IBOutlet
instantiation
Treats the field as a password - hiding each character as it is typed
45. 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
46. Class that creates an array capable of being changed after it is create
detail disclosure
NSMutableArray
XML
nonatomic
47. Class used for creating image views
C
UIImageView
+
Utility apps
48. A class that implements a protocol is said to ____ to that protocol
@
Gray circle with a white 'X' in it - positioned to the right of the text field box
conform
Utility apps
49. XML
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
First Responder
onscreen 'widgets' a user can interact with
eXtensible Markup Language
50. 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