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. Archiving works by creating an instance of _ - which is essentially just a container for data - and placing objects and their data inside it.
nil
collection of collections - NSArray of an NSArray
NSCoder
subview(s)
2. The root view controller typically creates the next view controller - and the next _ creates the one after that
data source - delegate and view controller
view controller
a single-array can contain objects of different types
receiver[message]
3. 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.
self
creating an initializer
delegates and dataSources
ready-made instances - instantiation from scratch - and nib based instantiation
4. Only exists within the statement block there defined - outside of the block is fine
in the dealloc - or when a Controller's view is 'unloaded'
Continue
Is a placeholder object
variable scope - if defined within a block
5. 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
6. A view is an...
instance of UIView or one of its subclasses
copy - retain
ordered collection of objects - immutable
header files declare
7. NSString* s2 = [s uppercase String]; Is an example of what kind of instance?
new instances of the class or retrieve some global property of the class.
CGRect
viewWillAppear - viewDidAppear - viewWillDisappear & viewDidDisappear
Ready-Made Instance
8. Core foundation classes are prefixed with _ and suffixed with _
arguments[message]
draw images
CF - Ref
callbacks
9. if you implemented both the setter and getter - the @synthesize method...
ready-made instances - instantiation from scratch - and nib based instantiation
will be ignored
for inheritance - adopting the superclasses implementation
@interface ClassName:SuperClassName
10. The class is responsible for what instance variables the instance has - but not the _ of those variables.
creates an instance of NSString that holds the character string
pointers
view controller's initialization method
values
11. A message is always contained in square brackets - and has three parts
data source - view controller and delegate
receiver - selector - arguments
a mechanism to enable specific callbacks
calling code that does the instantiation for you
12. A _ handles touch events.
data source - delegate and view controller
draw images
selector[message]
view
13. A UITableView usually needs three different pieces...
data source - delegate and view controller
the message release to all its entries
Is a placeholder object
methods
14. 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.
viewWillAppear - viewDidAppear - viewWillDisappear & viewDidDisappear
array[class - NSMutableArray]
implementation
collection of collections - NSArray of an NSArray
15. Property List...
retain
causes the program to immediately exit from the loop it is executing - whether its for - while or do
collection of collections - NSArray of an NSArray
lowercase - uppercase
16. When an NSMutableArray is deallocated - it sends...
viewWillDissapear: and viewWillAppear:
array[class - NSMutableArray]
the message release to all its entries
Ready-Made Instance
17. Values to be supplied as the parameters to the method
its dataSource
arguments[message]
ordered collection of objects - immutable
Functions
18. Hold data and know nothing about the user interface
instance
a single-array can contain objects of different types
Generic object wrapper for other non-object data types
Model Objects[Factory Worker]
19. A command directed to an object is called an...
first responder
unordered collection of objects - objects must be unique
storage
message
20. NSDictionary...
cannot be added to an array
Hash table - Look up objects using a key to get a value.
NSLog routine
size and position
21. Delegation is an object oriented approach to
callbacks
CGRect bounds
the array relinquishes ownership of that object and no longer has a pointer to it
calling code that does the instantiation for you
22. After accessors have been defined in the header file...
'getters' and 'setters'
they need to be defined in the implementation file
a single-array can contain objects of different types
retain
23. Classes describe two things...
a single-array can contain objects of different types
reuse your cells
UIView
attributes - behavior
24. Designated initializer makes sure that every...
an object's property
instance variable of an object is valid
view
for inheritance - adopting the superclasses implementation
25. [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
array[class - NSMutableArray]
variable scope - if defined within a block
methods
26. Also - because arrays only hold a pointer to an object...
self
a single-array can contain objects of different types
initializer
lowercase - uppercase
27. NSValue - class...
Generic object wrapper for other non-object data types
count - objectAtIndex - makeObjectsPerformSelector - sortedArrayUsingSelector - lastObject
instance variables
data source - view controller and delegate
28. NSString *s = @'Hello - World'; is an example of...
you must import the header file of that class
Used to find the time right now or to store past or future time/dates
declaration and initialization of a variable
object
29. A UITableViewController can fill all three roles of...
they need to be defined in the implementation file
data source - view controller and delegate
unordered collection of objects - objects must be unique
its dataSource
30. A function in the objective c library that simply displays or logs it's argument
NSBundle
receiver[message]
NSLog routine
values
31. Asking a class or object to execute a method
superclass's
message
will be ignored
upper
32. Name of the new class - it's superclass - the instance variables that each instance of this class has - and any methods this class implements
CGRect
header files declare
they need to be defined in the implementation file
super - self
33. In object oriented languages - we call methods that get and set instance variables accessors - individually we call them...
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
34. A method in a _ is required unless its preceded by an @optional.
protocol
viewWillAppear - viewDidAppear - viewWillDisappear & viewDidDisappear
position
UIViewController
35. C struct with a CGPoint origin and a CGSize size - in other words two c structs.
Object wrapper around primitive types like int - float - double - BOOl
CGRect
variable scope - if defined within a block
rectangular
36. Order of the declarations for methods. _ come first - followed by _ - followed by any other methods...
new instances of the class or retrieve some global property of the class.
only the innermost loop in which the break is executed is terminated
receiver
class methods - initializers
37. Inside a method - _ is an implicit local variable. Typically - _ is used so that an object can send a message to itself....
receiver - selector - arguments
an object's property
do so in viewDidLoad
self
38. Keep view and model objects in sync - control the 'flow' of the application - and save the model objects out to the filesystem
cannot be added to an array
arguments[message]
Controller Objects[Managers]
'getters' and 'setters'
39. You use _ to implement the view
safety - subclassability and makes code look more consistent with C structs
CGRect bounds
Continue
method
40. @property - is using methods...
Continue
to get and set variables
do so in viewDidLoad
an object's property
41. 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.
safety - subclassability and makes code look more consistent with C structs
references to objects
data source - delegate and view controller
first responder
42. class methods...
view
instance variables
ordered collection of objects - immutable
group of global functions already assigned to this class
43. When do you take ownership?...
rectangular
Anytime you call a method with new - alloc or copy. You own and must release that object.
receiving and handling events that are associated with it
self
44. If a class declares a _ that is different from its superclass - you must override the superclass' _ to call the new _...
Ready-Made Instance
designated initializer
is called every time the event occurs
instance variables
45. Never access a view controller's view in that...
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
46. Center and frame are used to _ your view
NSCoder
retain
the array relinquishes ownership of that object and no longer has a pointer to it
position
47. When do we need to release our outlets?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
48. In Cocoa Touch - the table view asks another object _ what it should display...
its dataSource
pointer to an object
Abstraction
create a XIB file
49. 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
'getters' and 'setters'
Instantiation from scratch
Maintenance of state
declaration and initialization of a variable
50. Defining variables - three parts...
view controller
implementation
type - name and value
header files declare
Sorry!:) No result found.
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