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 Objective C
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. Property List...
collection of collections - NSArray of an NSArray
group of global functions already assigned to this class
Instantiation from scratch
you always return the newly initialized object(return self)
2. A message is always contained in square brackets - and has three parts
viewWillAppear - viewDidAppear - viewWillDisappear & viewDidDisappear
position
receiver - selector - arguments
only the class and subclasses can access
3. The class is responsible for what instance variables the instance has - but not the _ of those variables.
values
reuse your cells
for inheritance - adopting the superclasses implementation
Continue
4. To load a Xib file manually - you use _
Maintenance of state
NSBundle
pointers
object
5. A class inherits all _ from its superclass and can add as many as it wants for its own purposes....
initializers
the message release to all its entries
'getters' and 'setters'
the array becomes an owner of that object and has a pointer to it.
6. After accessors have been defined in the header file...
initializers
(id)initWithFrame:(CGRect)aRect;
they need to be defined in the implementation file
methods
7. Values to be supplied as the parameters to the method
Data Encapsulation
instance
receiver
arguments[message]
8. NSSet...
do so in viewDidLoad
copy - retain
causes the program to immediately exit from the loop it is executing - whether its for - while or do
unordered collection of objects - objects must be unique
9. We can use dot notation to reference...
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
10. A delegate is a pointer to an object with a set of methods the delegate-holder knows how to call. In other words - it's _ from a later created object
instance variables
position
a mechanism to enable specific callbacks
reuse your cells
11. UIImageView is used to...
draw images
a mechanism to enable specific callbacks
accessors - individually we call them 'getters' and 'setters'
Core Graphics Framework
12. Class methods typically either create
pointer - class
class's
view controller's initialization method
new instances of the class or retrieve some global property of the class.
13. Archiving works by creating an instance of _ - which is essentially just a container for data - and placing objects and their data inside it.
selector[message]
NSCoder
storage
pointer - class
14. Delegation is an object oriented approach to
to give it someone else - or another object
callbacks
group of global functions already assigned to this class
Object wrapper around primitive types like int - float - double - BOOl
15. Instance Variables by default are called @protected meaning...
will be ignored
only the class and subclasses can access
nil
position
16. Also if you send the NSObject the _ message - you own that object.
Instantiation from scratch
retain
a mechanism to enable specific callbacks
Ready-Made Instance
17. NSValue - class...
lowercase - uppercase
Ready-Made Instance
pointers
Generic object wrapper for other non-object data types
18. Use of class methods - there are three...
storage
header files declare
alloc - singleton - informational utility method?
class methods - initializers
19. When an object is added to a NSMutableArray - that object is sent the message to retain;...
causes the program to immediately exit from the loop it is executing - whether its for - while or do
NSCoder
selector[message]
the array becomes an owner of that object and has a pointer to it.
20. Asking a class or object to execute a method
setPossessionName
create a XIB file
message
Model Objects[Factory Worker]
21. Reference Counting...
You take ownership for an object you want to keep a pointer to
they need to be defined in the implementation file
creating an initializer
view controller
22. Origin of a view's coordinate system is _ left
Controller Objects[Managers]
Continue
dealloc - is called on the object & the object's memory is returned to the heap
upper
23. Typically the designated initializer has parameters for the most important and frequently used _ of an object
methods for generating an instance
receiver - selector - arguments
instance variables
an object's property
24. Only exists within the statement block there defined - outside of the block is fine
method
variable scope - if defined within a block
to give it someone else - or another object
create a XIB file
25. Object Oriented based analogue to a function is called a...
to give it someone else - or another object
Model Objects[Factory Worker]
method
Encapsulation of functionality
26. The designated initializer calls the _ designated initializer....
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
27. It's class is sent the message alloc - which creates an instance of that class and returns a pointer to it - and then that instance is sent the message init - which gives its instance variables initial values.
creating an initializer
C Functionn
only the class and subclasses can access
viewWillAppear - viewDidAppear - viewWillDisappear & viewDidDisappear
28. UIViewController has several methods that get called at certain times...
viewWillAppear - viewDidAppear - viewWillDisappear & viewDidDisappear
Generic object wrapper for other non-object data types
references to objects
Core Graphics Framework
29. When you send a message to _ - you are sending a message to _ - but demanding that the search for the method begin at the superclass....
Used to find the time right now or to store past or future time/dates
super - self
instance variables
for inheritance - adopting the superclasses implementation
30. When an NSMutableArray is deallocated - it sends...
to give it someone else - or another object
the message release to all its entries
values
create a XIB file
31. An instance is a device for maintaining state. It's a box for _ of data.
viewWillAppear - viewDidAppear - viewWillDisappear & viewDidDisappear
object
storage
for inheritance - adopting the superclasses implementation
32. NSArray - important methods...
for inheritance - adopting the superclasses implementation
NSCoder
count - objectAtIndex - makeObjectsPerformSelector - sortedArrayUsingSelector - lastObject
CGRect bounds - GCPoint center - CGRect frame
33. When the message endEditing: is sent to a view - if it or any of its subviews or currently the _ - it will resign its first responder statues - and the keyboard will be dismissed.
Object wrapper around primitive types like int - float - double - BOOl
instance variable of an object is valid
receiver - selector - arguments
first responder
34. In object oriented languages - we call methods that get and set instance variables
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
35. A view represents a _ area
implementation
Core Graphics Framework
creates an instance of NSString that holds the character string
rectangular
36. Core foundation classes are prefixed with _ and suffixed with _
Ready-Made Instance
creates an instance of NSString that holds the character string
CF - Ref
to give it someone else - or another object
37. Class methods do not operate on an _ or have any access to _ variables....
they need to be defined in the implementation file
instance variable of an object is valid
draw images
instance
38. A _ handles touch events.
view
unordered collection of objects - objects must be unique
Model Objects[Factory Worker]
CGFloat
39. Keep view and model objects in sync - control the 'flow' of the application - and save the model objects out to the filesystem
Controller Objects[Managers]
Data Encapsulation
instance
rectangular
40. SomeClass* aVariable = [[SomeClass alloc] init]; is an example of what kind of instance?
creates an instance of NSString that holds the character string
attributes - behavior
receiver[message]
Instantiation from scratch
41. The notion that the data for an object is stored in it's instance variables and is accessed only by the objects methods. This maintains the integrity of the data.
implementation
Data Encapsulation
pointer to an object
view
42. Defining variables - three parts...
type - name and value
Encapsulation of functionality
methods for generating an instance
NSCoder
43. To get the full path for a directory in the sandbox - you use the _ NSSearchPathForDirectoriesInDomains.
C Functionn
pointers
class methods - initializers
protocol
44. C struct with a CGPoint origin and a CGSize size - in other words two c structs.
creates an instance of NSString that holds the character string
CGRect
parentViewController
viewWillDissapear: and viewWillAppear:
45. A responder is responsible for...
receiver[message]
Functions
superclass's
receiving and handling events that are associated with it
46. When an object is removed from an NSMutableArray - that object is sent the message release;...
only the innermost loop in which the break is executed is terminated
causes the program to immediately exit from the loop it is executing - whether its for - while or do
the array relinquishes ownership of that object and no longer has a pointer to it
You take ownership for an object you want to keep a pointer to
47. Primitives and C Structures...
You take ownership for an object you want to keep a pointer to
cannot be added to an array
pointer to an object
copy - retain
48. Each individual instance is a bundle of data that it maintains. Typically that data is private - which means that it's encapsulated as well; no other object knows what that data is or in what form it is kept. The only way to discover from outside wha
Maintenance of state
header files declare
arguments[message]
pointer to an object
49. Each class picks one _ as it's designated initializer....
receiver
initializer
first responder
Data Encapsulation
50. A UITableView usually needs three different pieces...
Is a placeholder object
retain
data source - delegate and view controller
Model Objects[Factory Worker]