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. If you have extra work you want to do on the view...
do so in viewDidLoad
receiver[message]
NSBundle
receiver
2. Values to be supplied as the parameters to the method
accessors - individually we call them 'getters' and 'setters'
arguments[message]
size and position
declaration and initialization of a variable
3. Categories are an Objective C way to add _ to an existing class without subclassing
first responder
methods
header files declare
CGFloat
4. 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.
arguments[message]
creating an initializer
its dataSource
cannot be added to an array
5. Core foundation classes are prefixed with _ and suffixed with _
CF - Ref
superclass's
methods
implementation
6. Name of the method to be executed
first responder
selector[message]
retain
is an instance of that class
7. Delegation is an object oriented approach to
Core Graphics Framework
callbacks
data
pointer to an object
8. The integer prefix is...
lowercase - uppercase
a mechanism to enable specific callbacks
the array relinquishes ownership of that object and no longer has a pointer to it
%d
9. A pointer to the object being asked to execute a method
receiver[message]
subview(s)
self
(id)initWithFrame:(CGRect)aRect;
10. 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
11. NSValue - class...
Used to find the time right now or to store past or future time/dates
methods for generating an instance
class
Generic object wrapper for other non-object data types
12. Typically the designated initializer has parameters for the most important and frequently used _ of an object
instance variables
declaration and initialization of a variable
the array becomes an owner of that object and has a pointer to it.
initializers
13. id is a...
pointer to an object
object
implementation
NSCoder
14. A view represents a _ area
NSCoder
wait until the loop finishes processing the event - at the end release it
rectangular
alloc - singleton - informational utility method?
15. NSArray - important methods...
count - objectAtIndex - makeObjectsPerformSelector - sortedArrayUsingSelector - lastObject
CGFloat
receiver
causes the program to immediately exit from the loop it is executing - whether its for - while or do
16. A block of statements identified by a name that can accept one or more arguments passed to it by value and can optionally return a value
rectangular
for inheritance - adopting the superclasses implementation
Functions
dealloc - is called on the object & the object's memory is returned to the heap
17. Designated initializer makes sure that every...
Used to find the time right now or to store past or future time/dates
copy - retain
will be ignored
instance variable of an object is valid
18. A method in a _ is required unless its preceded by an @optional.
Is a placeholder object
protocol
viewWillDissapear: and viewWillAppear:
storage
19. After accessors have been defined in the header file...
@synthesize
Abstraction
they need to be defined in the implementation file
selector[message]
20. Object Oriented based analogue to a function is called a...
Core Graphics Framework
method
methods
cannot be added to an array
21. If the view has no subviews - create it programmatically; if it has subviews
create a XIB file
callbacks
Ready-Made Instance
Is a placeholder object
22. Reference Counting...
arguments[message]
class's
You take ownership for an object you want to keep a pointer to
NSLog routine
23. Each class picks one _ as it's designated initializer....
to give it someone else - or another object
CGRect
only the class and subclasses can access
initializer
24. NSString* s2 = [s uppercase String]; Is an example of what kind of instance?
define it in the implemenation file
its dataSource
Ready-Made Instance
calling code that does the instantiation for you
25. Instance Variables by default are called @protected meaning...
only the class and subclasses can access
accessors - individually we call them 'getters' and 'setters'
the array becomes an owner of that object and has a pointer to it.
pointer - class
26. 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
'getters' and 'setters'
a mechanism to enable specific callbacks
You take ownership for an object you want to keep a pointer to
receiver[message]
27. Any other initializer a class has calls the _ designated initializer....
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
28. Each object does its own job - and presents to the rest of the world - to other objects - and indeed in a sense to the programmer - an opaque wall whose only entrances are the methods to which it promises to respond and the actions it promises to per
class's
instance variable of an object is valid
implementation
Encapsulation of functionality
29. Just a floating point number - but we always use it for graphics.
super - self
in the dealloc - or when a Controller's view is 'unloaded'
receiving and handling events that are associated with it
CGFloat
30. The root view controller typically creates the next view controller - and the next _ creates the one after that
array[class - NSMutableArray]
references to objects
view controller
Functions
31. NSSet...
receiving and handling events that are associated with it
super - self
subview(s)
unordered collection of objects - objects must be unique
32. In any application with UINavigationController - the navigation controller...
Ready-Made Instance
collection of collections - NSArray of an NSArray
methods
has one root view controller
33. Three ways instances are created...
to get and set variables
designated initializer
ready-made instances - instantiation from scratch - and nib based instantiation
pointer - class
34. In Cocoa Touch - the table view asks another object _ what it should display...
the message release to all its entries
its dataSource
superclass's
CGRect bounds - GCPoint center - CGRect frame
35. At the top of any implementation file...
class's
reuse your cells
CF - Ref
you must import the header file of that class
36. A class inherits all _ from its superclass and can add as many as it wants for its own purposes....
initializers
instance variable of an object is valid
instance
nil
37. 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....
@synthesize
define it in the implemenation file
a single-array can contain objects of different types
you must import the header file of that class
38. To load a Xib file manually - you use _
delegates and dataSources
nil
NSBundle
@synthesize
39. Origin of a view's coordinate system is _ left
upper
C Functionn
Data Encapsulation
instance of UIView or one of its subclasses
40. Use of class methods - there are three...
data source - delegate and view controller
alloc - singleton - informational utility method?
setPossessionName
to get and set variables
41. UIView - designated initializer...
pointer to an object
superclass's
(id)initWithFrame:(CGRect)aRect;
CGRect bounds - GCPoint center - CGRect frame
42. A _ handles touch events.
view
data
causes the program to immediately exit from the loop it is executing - whether its for - while or do
methods
43. Proceed through the loop - jump back to the top and check again
safety - subclassability and makes code look more consistent with C structs
they need to be defined in the implementation file
superclass's
Continue
44. Primitives and C Structures...
pointer - class
'getters' and 'setters'
cannot be added to an array
only the class and subclasses can access
45. Asking a class or object to execute a method
rectangular
count - objectAtIndex - makeObjectsPerformSelector - sortedArrayUsingSelector - lastObject
Object wrapper around primitive types like int - float - double - BOOl
message
46. Ready-made instances...
arguments[message]
calling code that does the instantiation for you
Hash table - Look up objects using a key to get a value.
only the innermost loop in which the break is executed is terminated
47. Center and frame are used to _ your view
instance of UIView or one of its subclasses
accessors - individually we call them 'getters' and 'setters'
view controller
position
48. C struct with a CGPoint origin and a CGSize size - in other words two c structs.
a single-array can contain objects of different types
CGRect
calling code that does the instantiation for you
instance
49. Files Owner...
dealloc - is called on the object & the object's memory is returned to the heap
cannot be added to an array
Is a placeholder object
parentViewController
50. Keep view and model objects in sync - control the 'flow' of the application - and save the model objects out to the filesystem
instance
Controller Objects[Managers]
object
NSBundle
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