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. 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
2. UIView - designated initializer...
Used to find the time right now or to store past or future time/dates
rectangular
UIViewController
(id)initWithFrame:(CGRect)aRect;
3. When making a tableView always...
will be ignored
reuse your cells
you always return the newly initialized object(return self)
callbacks
4. Files Owner...
CF - Ref
Is a placeholder object
data source - view controller and delegate
view controller's initialization method
5. @property - is using methods...
lowercase - uppercase
Maintenance of state
the array relinquishes ownership of that object and no longer has a pointer to it
to get and set variables
6. 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
a mechanism to enable specific callbacks
instance of UIView or one of its subclasses
is called every time the event occurs
message
7. When overriding a method - all you need to is _ - you do not need to declare it in the header file because it has already been declared by the superclass....
define it in the implemenation file
storage
accessors - individually we call them 'getters' and 'setters'
implementation
8. NSString* s2 = [s uppercase String]; Is an example of what kind of instance?
receiver - selector - arguments
ordered collection of objects - immutable
methods for generating an instance
Ready-Made Instance
9. A callback is a function that is supplied in advance of an event - and...
define it in the implemenation file
is called every time the event occurs
the array relinquishes ownership of that object and no longer has a pointer to it
alloc - singleton - informational utility method?
10. Also - because arrays only hold a pointer to an object...
do so in viewDidLoad
a single-array can contain objects of different types
methods for generating an instance
is an instance of that class
11. Reference Counting...
You take ownership for an object you want to keep a pointer to
Controller Objects[Managers]
only the innermost loop in which the break is executed is terminated
implementation
12. All objects are accessed using...
pointers
nil
size and position
Hash table - Look up objects using a key to get a value.
13. A responder is responsible for...
Data Encapsulation
create a XIB file
receiving and handling events that are associated with it
the array becomes an owner of that object and has a pointer to it.
14. Whenever a UINavigationController is about to swap views - it sends out two messages
receiving and handling events that are associated with it
Continue
viewWillDissapear: and viewWillAppear:
Model Objects[Factory Worker]
15. Origin of a view's coordinate system is _ left
upper
Controller Objects[Managers]
superclass's
the array becomes an owner of that object and has a pointer to it.
16. id is a...
references to objects
pointer to an object
ordered collection of objects - immutable
message
17. Dynamic binding means that when we call a certain object's method - and there are several _ of that method - the right one is figured out at runtime.
implementation
calling code that does the instantiation for you
a mechanism to enable specific callbacks
you always return the newly initialized object(return self)
18. What happens when the last owner calls release?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
19. A set of variables and associated methods. An object can be sent messages to cause one of its methods to be executed.
array[class - NSMutableArray]
object
@interface ClassName:SuperClassName
viewWillAppear - viewDidAppear - viewWillDisappear & viewDidDisappear
20. In any application with UINavigationController - the navigation controller...
has one root view controller
data source - delegate and view controller
@interface ClassName:SuperClassName
accessors - individually we call them 'getters' and 'setters'
21. The only reason to temporarily own an object - is...
for inheritance - adopting the superclasses implementation
to give it someone else - or another object
collection of collections - NSArray of an NSArray
attributes - behavior
22. When an NSMutableArray is deallocated - it sends...
alloc - singleton - informational utility method?
the message release to all its entries
Ready-Made Instance
data source - delegate and view controller
23. A view is a subclass of _
delegates and dataSources
Data Encapsulation
UIView
creating an initializer
24. Name of the method to be executed
message
selector[message]
count - objectAtIndex - makeObjectsPerformSelector - sortedArrayUsingSelector - lastObject
collection of collections - NSArray of an NSArray
25. Prefixing a character string with an @ symbol [specific - NSString class]...
creates an instance of NSString that holds the character string
instance variable of an object is valid
nil
callbacks
26. Instance Variables by default are called @protected meaning...
Hash table - Look up objects using a key to get a value.
first responder
they need to be defined in the implementation file
only the class and subclasses can access
27. If you have extra work you want to do on the view...
CGRect bounds - GCPoint center - CGRect frame
cannot be added to an array
Instantiation from scratch
do so in viewDidLoad
28. Execution of the break statement...
causes the program to immediately exit from the loop it is executing - whether its for - while or do
CGFloat
superclass's
parentViewController
29. Objective C only allows for single inheritance - so in regards to class you only ever see the following pattern
view controller
@interface ClassName:SuperClassName
for inheritance - adopting the superclasses implementation
wait until the loop finishes processing the event - at the end release it
30. Name of the new class - it's superclass - the instance variables that each instance of this class has - and any methods this class implements
Continue
they need to be defined in the implementation file
header files declare
count - objectAtIndex - makeObjectsPerformSelector - sortedArrayUsingSelector - lastObject
31. If a class declares a _ that is different from its superclass - you must override the superclass' _ to call the new _...
the array becomes an owner of that object and has a pointer to it.
header files declare
Core Graphics Framework
designated initializer
32. A view represents a _ area
unordered collection of objects - objects must be unique
setPossessionName
rectangular
implementation
33. Each _ has a 'designated' initializer method....
class
an object's property
for inheritance - adopting the superclasses implementation
data source - view controller and delegate
34. Keep view and model objects in sync - control the 'flow' of the application - and save the model objects out to the filesystem
data source - delegate and view controller
upper
the instance variables
Controller Objects[Managers]
35. When an object is removed from an NSMutableArray - that object is sent the message release;...
to get and set variables
the array relinquishes ownership of that object and no longer has a pointer to it
Instantiation from scratch
CGFloat
36. Object Oriented based analogue to a function is called a...
method
@synthesize
data source - view controller and delegate
for inheritance - adopting the superclasses implementation
37. A function in the objective c library that simply displays or logs it's argument
CGRect bounds
ready-made instances - instantiation from scratch - and nib based instantiation
pointers
NSLog routine
38. Just a floating point number - but we always use it for graphics.
message
data
CGFloat
cannot be added to an array
39. You use _ to implement the view
is an instance of that class
CGRect bounds
selector[message]
type - name and value
40. In general - in Objective-C - a reference to an instance is a _ - and the name of the data type of what's at the far end of that pointer is the name of the instances's _.
UIViewController
alloc - singleton - informational utility method?
reuse your cells
pointer - class
41. NSArray - class...
has one root view controller
you must import the header file of that class
ordered collection of objects - immutable
Encapsulation of functionality
42. initWithFrame: the designated initializer for UIView gives the view
size and position
variable scope - if defined within a block
Controller Objects[Managers]
you always return the newly initialized object(return self)
43. Classes describe two things...
new instances of the class or retrieve some global property of the class.
alloc - singleton - informational utility method?
attributes - behavior
to give it someone else - or another object
44. Any individual object belonging to any class...
draw images
dealloc - is called on the object & the object's memory is returned to the heap
you always return the newly initialized object(return self)
is an instance of that class
45. 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
46. The root view controller typically creates the next view controller - and the next _ creates the one after that
view controller
ready-made instances - instantiation from scratch - and nib based instantiation
you always return the newly initialized object(return self)
@interface ClassName:SuperClassName
47. Use of class methods - there are three...
alloc - singleton - informational utility method?
you always return the newly initialized object(return self)
only the class and subclasses can access
instance variables
48. In Objective C - the name of a setter method is set plus the name of the instance variable it is changing - for example PossessionName would be...
setPossessionName
implementation
has one root view controller
to get and set variables
49. [Instance Variables] The code it gets from its class and in a sense is shared with all other instances of that class - but the _ belong to it alone.
data
ordered collection of objects - immutable
Generic object wrapper for other non-object data types
@synthesize
50. A _ handles touch events.
the array becomes an owner of that object and has a pointer to it.
NSLog routine
view
self
Can you answer 50 questions in 15 minutes?
Let me suggest you:
Browse all subjects
Browse all tests
Most popular tests
Major Subjects
Tests & Exams
AP
CLEP
DSST
GRE
SAT
GMAT
Certifications
CISSP go to https://www.isc2.org/
PMP
ITIL
RHCE
MCTS
More...
IT Skills
Android Programming
Data Modeling
Objective C Programming
Basic Python Programming
Adobe Illustrator
More...
Business Skills
Advertising Techniques
Business Accounting Basics
Business Strategy
Human Resource Management
Marketing Basics
More...
Soft Skills
Body Language
People Skills
Public Speaking
Persuasion
Job Hunting And Resumes
More...
Vocabulary
GRE Vocab
SAT Vocab
TOEFL Essential Vocab
Basic English Words For All
Global Words You Should Know
Business English
More...
Languages
AP German Vocab
AP Latin Vocab
SAT Subject Test: French
Italian Survival
Norwegian Survival
More...
Engineering
Audio Engineering
Computer Science Engineering
Aerospace Engineering
Chemical Engineering
Structural Engineering
More...
Health Sciences
Basic Nursing Skills
Health Science Language Fundamentals
Veterinary Technology Medical Language
Cardiology
Clinical Surgery
More...
English
Grammar Fundamentals
Literary And Rhetorical Vocab
Elements Of Style Vocab
Introduction To English Major
Complete Advanced Sentences
Literature
Homonyms
More...
Math
Algebra Formulas
Basic Arithmetic: Measurements
Metric Conversions
Geometric Properties
Important Math Facts
Number Sense Vocab
Business Math
More...
Other Major Subjects
Science
Economics
History
Law
Performing-arts
Cooking
Logic & Reasoning
Trivia
Browse all subjects
Browse all tests
Most popular tests