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. Whenever a UINavigationController is about to swap views - it sends out two messages
Controller Objects[Managers]
class methods - initializers
viewWillDissapear: and viewWillAppear:
pointer to an object
2. 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.
references to objects
first responder
viewWillDissapear: and viewWillAppear:
copy - retain
3. At the top of any implementation file...
you must import the header file of that class
Anytime you call a method with new - alloc or copy. You own and must release that object.
selector[message]
viewWillAppear - viewDidAppear - viewWillDisappear & viewDidDisappear
4. A collection object - an ordered list of objects that can be accesed by an index
viewWillDissapear: and viewWillAppear:
array[class - NSMutableArray]
instance variable of an object is valid
pointers
5. 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
reuse your cells
only the innermost loop in which the break is executed is terminated
6. Also - because arrays only hold a pointer to an object...
@interface ClassName:SuperClassName
setPossessionName
'getters' and 'setters'
a single-array can contain objects of different types
7. NSArray - important methods...
count - objectAtIndex - makeObjectsPerformSelector - sortedArrayUsingSelector - lastObject
instance variable of an object is valid
the array becomes an owner of that object and has a pointer to it.
size and position
8. Hold data and know nothing about the user interface
position
Functions
receiving and handling events that are associated with it
Model Objects[Factory Worker]
9. Proceed through the loop - jump back to the top and check again
is an instance of that class
Continue
subview(s)
message
10. Center and frame are used to _ your view
viewWillAppear - viewDidAppear - viewWillDisappear & viewDidDisappear
position
receiver[message]
UIViewController
11. When a view controller presents a modal view controller - the _ of the modal view controller is set to be the parent of the presenting controller
the message release to all its entries
parentViewController
group of global functions already assigned to this class
creates an instance of NSString that holds the character string
12. Asking a class or object to execute a method
unordered collection of objects - objects must be unique
viewWillAppear - viewDidAppear - viewWillDisappear & viewDidDisappear
message
instance
13. NSSet...
ordered collection of objects - immutable
Anytime you call a method with new - alloc or copy. You own and must release that object.
unordered collection of objects - objects must be unique
instance variables
14. Only exists within the statement block there defined - outside of the block is fine
message
alloc - singleton - informational utility method?
variable scope - if defined within a block
is an instance of that class
15. In Cocoa Touch - the table view asks another object _ what it should display...
instance of UIView or one of its subclasses
its dataSource
data source - view controller and delegate
size and position
16. UITableViewController is a subclass of...
UIViewController
receiver[message]
selector[message]
lowercase - uppercase
17. 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.
view controller
Maintenance of state
Data Encapsulation
the instance variables
18. If a break statement is executed from within a set of nested loops...
viewWillAppear - viewDidAppear - viewWillDisappear & viewDidDisappear
creating an initializer
wait until the loop finishes processing the event - at the end release it
only the innermost loop in which the break is executed is terminated
19. For view controllers that are closely related - like a table view controller and its detail view controller - you can simply give them _ that point to each other.
instance variables
view controller
instance
array[class - NSMutableArray]
20. 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.
wait until the loop finishes processing the event - at the end release it
implementation
group of global functions already assigned to this class
instance of UIView or one of its subclasses
21. A set of variables and associated methods. An object can be sent messages to cause one of its methods to be executed.
creates an instance of NSString that holds the character string
only the innermost loop in which the break is executed is terminated
object
viewWillAppear - viewDidAppear - viewWillDisappear & viewDidDisappear
22. Order of the declarations for methods. _ come first - followed by _ - followed by any other methods...
copy - retain
designated initializer
class methods - initializers
CGRect bounds - GCPoint center - CGRect frame
23. Classes describe two things...
view
retain
attributes - behavior
alloc - singleton - informational utility method?
24. If a class declares a _ that is different from its superclass - you must override the superclass' _ to call the new _...
designated initializer
retain
alloc - singleton - informational utility method?
copy - retain
25. Class methods do not operate on an _ or have any access to _ variables....
UIView
instance
receiver - selector - arguments
a single-array can contain objects of different types
26. class methods...
collection of collections - NSArray of an NSArray
view controller
pointers
group of global functions already assigned to this class
27. Three ways instances are created...
ready-made instances - instantiation from scratch - and nib based instantiation
@synthesize
CGRect
instance of UIView or one of its subclasses
28. Typically the designated initializer has parameters for the most important and frequently used _ of an object
instance variables
(id)initWithFrame:(CGRect)aRect;
Controller Objects[Managers]
pointer to an object
29. Ready-made instances...
they need to be defined in the implementation file
designated initializer
calling code that does the instantiation for you
Ready-Made Instance
30. Just a floating point number - but we always use it for graphics.
CGFloat
Used to find the time right now or to store past or future time/dates
reuse your cells
Anytime you call a method with new - alloc or copy. You own and must release that object.
31. 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
an object's property
delegates and dataSources
arguments[message]
Functions
32. Any individual object belonging to any class...
type - name and value
nil
is an instance of that class
dealloc - is called on the object & the object's memory is returned to the heap
33. A pointer to the object being asked to execute a method
ready-made instances - instantiation from scratch - and nib based instantiation
receiver[message]
Abstraction
variable scope - if defined within a block
34. Values to be supplied as the parameters to the method
arguments[message]
count - objectAtIndex - makeObjectsPerformSelector - sortedArrayUsingSelector - lastObject
callbacks
(id)initWithFrame:(CGRect)aRect;
35. To get the full path for a directory in the sandbox - you use the _ NSSearchPathForDirectoriesInDomains.
pointer - class
C Functionn
causes the program to immediately exit from the loop it is executing - whether its for - while or do
initializers
36. A _ handles touch events.
view
count - objectAtIndex - makeObjectsPerformSelector - sortedArrayUsingSelector - lastObject
will be ignored
a single-array can contain objects of different types
37. @property declares - and _ implements the setter and getter...
instance variable of an object is valid
(id)initWithFrame:(CGRect)aRect;
object
@synthesize
38. if you implemented both the setter and getter - the @synthesize method...
instance
will be ignored
calling code that does the instantiation for you
parentViewController
39. C struct with a CGPoint origin and a CGSize size - in other words two c structs.
Instantiation from scratch
CGRect
type - name and value
ready-made instances - instantiation from scratch - and nib based instantiation
40. A UITableView usually needs three different pieces...
nil
data source - delegate and view controller
'getters' and 'setters'
delegates and dataSources
41. Use of class methods - there are three...
define it in the implemenation file
CGFloat
CGRect bounds
alloc - singleton - informational utility method?
42. 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 _.
causes the program to immediately exit from the loop it is executing - whether its for - while or do
pointer - class
data
delegates and dataSources
43. When an object is added to a NSMutableArray - that object is sent the message to retain;...
nil
%d
attributes - behavior
the array becomes an owner of that object and has a pointer to it.
44. An instance is a device for maintaining state. It's a box for _ of data.
storage
instance of UIView or one of its subclasses
methods for generating an instance
receiver
45. UIView - designated initializer...
alloc - singleton - informational utility method?
Generic object wrapper for other non-object data types
lowercase - uppercase
(id)initWithFrame:(CGRect)aRect;
46. 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...
superclass's
in the dealloc - or when a Controller's view is 'unloaded'
setPossessionName
creating an initializer
47. Each class picks one _ as it's designated initializer....
You take ownership for an object you want to keep a pointer to
initializer
rectangular
you always return the newly initialized object(return self)
48. The root view controller typically creates the next view controller - and the next _ creates the one after that
view controller
ordered collection of objects - immutable
C Functionn
CGRect
49. Reducing details to focus on the core concepts
Abstraction
receiving and handling events that are associated with it
storage
parentViewController
50. Core foundation classes are prefixed with _ and suffixed with _
CF - Ref
you always return the newly initialized object(return self)
only the class and subclasses can access
the instance variables
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