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. When an object is removed from an NSMutableArray - that object is sent the message release;...
methods for generating an instance
the array relinquishes ownership of that object and no longer has a pointer to it
safety - subclassability and makes code look more consistent with C structs
array[class - NSMutableArray]
2. A class inherits all _ from its superclass and can add as many as it wants for its own purposes....
viewWillDissapear: and viewWillAppear:
initializers
you always return the newly initialized object(return self)
will be ignored
3. 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
4. Name of the method to be executed
selector[message]
Generic object wrapper for other non-object data types
callbacks
viewWillDissapear: and viewWillAppear:
5. A callback is a function that is supplied in advance of an event - and...
you always return the newly initialized object(return self)
is called every time the event occurs
nil
only the innermost loop in which the break is executed is terminated
6. 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
7. Reducing details to focus on the core concepts
they need to be defined in the implementation file
Abstraction
the message release to all its entries
rectangular
8. A message is always contained in square brackets - and has three parts
super - self
upper
class's
receiver - selector - arguments
9. Order of the declarations for methods. _ come first - followed by _ - followed by any other methods...
Continue
CGFloat
has one root view controller
class methods - initializers
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
wait until the loop finishes processing the event - at the end release it
a mechanism to enable specific callbacks
create a XIB file
the instance variables
11. Inside a method - _ is an implicit local variable. Typically - _ is used so that an object can send a message to itself....
Maintenance of state
class's
self
methods
12. Archiving works by creating an instance of _ - which is essentially just a container for data - and placing objects and their data inside it.
storage
creates an instance of NSString that holds the character string
is an instance of that class
NSCoder
13. At the top of any implementation file...
designated initializer
callbacks
methods for generating an instance
you must import the header file of that class
14. Classes describe two things...
accessors - individually we call them 'getters' and 'setters'
attributes - behavior
viewWillAppear - viewDidAppear - viewWillDisappear & viewDidDisappear
parentViewController
15. 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.
position
nil
calling code that does the instantiation for you
implementation
16. 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.
viewWillAppear - viewDidAppear - viewWillDisappear & viewDidDisappear
they need to be defined in the implementation file
creating an initializer
is an instance of that class
17. UIViewController has several methods that get called at certain times...
viewWillAppear - viewDidAppear - viewWillDisappear & viewDidDisappear
new instances of the class or retrieve some global property of the class.
Hash table - Look up objects using a key to get a value.
rectangular
18. Only exists within the statement block there defined - outside of the block is fine
creates an instance of NSString that holds the character string
viewWillAppear - viewDidAppear - viewWillDisappear & viewDidDisappear
callbacks
variable scope - if defined within a block
19. Class methods do not operate on an _ or have any access to _ variables....
the instance variables
Data Encapsulation
has one root view controller
instance
20. To get the full path for a directory in the sandbox - you use the _ NSSearchPathForDirectoriesInDomains.
data
C Functionn
@synthesize
a single-array can contain objects of different types
21. Categories are an Objective C way to add _ to an existing class without subclassing
nil
view
C Functionn
methods
22. 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
23. [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
header files declare
is an instance of that class
self
24. Defining variables - three parts...
receiver[message]
type - name and value
Model Objects[Factory Worker]
in the dealloc - or when a Controller's view is 'unloaded'
25. Each _ has a 'designated' initializer method....
methods for generating an instance
creates an instance of NSString that holds the character string
class
storage
26. When an object is added to a NSMutableArray - that object is sent the message to retain;...
the array becomes an owner of that object and has a pointer to it.
collection of collections - NSArray of an NSArray
the instance variables
CGFloat
27. UIView - designated initializer...
declaration and initialization of a variable
nil
(id)initWithFrame:(CGRect)aRect;
Used to find the time right now or to store past or future time/dates
28. Three ways instances are created...
selector[message]
in the dealloc - or when a Controller's view is 'unloaded'
group of global functions already assigned to this class
ready-made instances - instantiation from scratch - and nib based instantiation
29. Use of class methods - there are three...
declaration and initialization of a variable
(id)initWithFrame:(CGRect)aRect;
instance
alloc - singleton - informational utility method?
30. If a class declares a _ that is different from its superclass - you must override the superclass' _ to call the new _...
setPossessionName
Anytime you call a method with new - alloc or copy. You own and must release that object.
designated initializer
view controller's initialization method
31. In a class method you cannot access...
instance variable of an object is valid
class methods - initializers
class
the instance variables
32. Hold data and know nothing about the user interface
Model Objects[Factory Worker]
%d
receiver
setPossessionName
33. Asking a class or object to execute a method
message
instance variables
implementation
calling code that does the instantiation for you
34. Objective C only allows for single inheritance - so in regards to class you only ever see the following pattern
@interface ClassName:SuperClassName
collection of collections - NSArray of an NSArray
size and position
Data Encapsulation
35. Property List...
only the class and subclasses can access
collection of collections - NSArray of an NSArray
size and position
designated initializer
36. NSString *s = @'Hello - World'; is an example of...
declaration and initialization of a variable
for inheritance - adopting the superclasses implementation
(id)initWithFrame:(CGRect)aRect;
@synthesize
37. UIImageView is used to...
values
Anytime you call a method with new - alloc or copy. You own and must release that object.
draw images
collection of collections - NSArray of an NSArray
38. Keep view and model objects in sync - control the 'flow' of the application - and save the model objects out to the filesystem
the array relinquishes ownership of that object and no longer has a pointer to it
Controller Objects[Managers]
creates an instance of NSString that holds the character string
Instantiation from scratch
39. 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
you must import the header file of that class
receiving and handling events that are associated with it
Functions
CGRect bounds
40. A method in a _ is required unless its preceded by an @optional.
reuse your cells
protocol
Model Objects[Factory Worker]
do so in viewDidLoad
41. Core foundation classes are prefixed with _ and suffixed with _
method
new instances of the class or retrieve some global property of the class.
CF - Ref
calling code that does the instantiation for you
42. Number one use of protocols in iOS...
delegates and dataSources
you always return the newly initialized object(return self)
to get and set variables
Data Encapsulation
43. Execution of the break statement...
causes the program to immediately exit from the loop it is executing - whether its for - while or do
setPossessionName
receiving and handling events that are associated with it
NSCoder
44. Values to be supplied as the parameters to the method
has one root view controller
class methods - initializers
Instantiation from scratch
arguments[message]
45. In the last line of an init method...
CGRect bounds
implementation
data source - view controller and delegate
you always return the newly initialized object(return self)
46. Proceed through the loop - jump back to the top and check again
Continue
CF - Ref
Ready-Made Instance
ordered collection of objects - immutable
47. Whenever a UINavigationController is about to swap views - it sends out two messages
implementation
NSCoder
viewWillDissapear: and viewWillAppear:
class
48. id is a...
new instances of the class or retrieve some global property of the class.
pointer to an object
Hash table - Look up objects using a key to get a value.
to give it someone else - or another object
49. SomeClass* aVariable = [[SomeClass alloc] init]; is an example of what kind of instance?
has one root view controller
CGFloat
Instantiation from scratch
class's
50. Files Owner...
collection of collections - NSArray of an NSArray
its dataSource
Data Encapsulation
Is a placeholder object
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