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
super - self
viewWillDissapear: and viewWillAppear:
parentViewController
draw images
2. To load a Xib file manually - you use _
cannot be added to an array
methods
NSBundle
message
3. super - is used...
CF - Ref
safety - subclassability and makes code look more consistent with C structs
for inheritance - adopting the superclasses implementation
CGRect bounds - GCPoint center - CGRect frame
4. @property - is using methods...
instance variables
to get and set variables
object
safety - subclassability and makes code look more consistent with C structs
5. 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...
protocol
its dataSource
setPossessionName
UIViewController
6. A callback is a function that is supplied in advance of an event - and...
Used to find the time right now or to store past or future time/dates
Maintenance of state
accessors - individually we call them 'getters' and 'setters'
is called every time the event occurs
7. How do I implement my drawRect?
data source - delegate and view controller
Core Graphics Framework
group of global functions already assigned to this class
references to objects
8. 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
Continue
wait until the loop finishes processing the event - at the end release it
protocol
Functions
9. NSString *s = @'Hello - World'; is an example of...
draw images
viewWillDissapear: and viewWillAppear:
pointers
declaration and initialization of a variable
10. Views have three properties related to their location and size: @property _ _;
unordered collection of objects - objects must be unique
wait until the loop finishes processing the event - at the end release it
CGRect bounds - GCPoint center - CGRect frame
data
11. A collection object - an ordered list of objects that can be accesed by an index
data source - view controller and delegate
array[class - NSMutableArray]
Controller Objects[Managers]
message
12. 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
13. 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
14. 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.
is called every time the event occurs
callbacks
instance variables
count - objectAtIndex - makeObjectsPerformSelector - sortedArrayUsingSelector - lastObject
15. Each _ has a 'designated' initializer method....
Model Objects[Factory Worker]
view
to get and set variables
class
16. What does autorelease mean?
Is a placeholder object
its dataSource
cannot be added to an array
wait until the loop finishes processing the event - at the end release it
17. NSDictionary...
UIViewController
array[class - NSMutableArray]
arguments[message]
Hash table - Look up objects using a key to get a value.
18. Defining variables - three parts...
type - name and value
will be ignored
callbacks
%d
19. NSArray - class...
viewWillAppear - viewDidAppear - viewWillDisappear & viewDidDisappear
variable scope - if defined within a block
ordered collection of objects - immutable
to give it someone else - or another object
20. UIViewController has several methods that get called at certain times...
Used to find the time right now or to store past or future time/dates
reuse your cells
viewWillAppear - viewDidAppear - viewWillDisappear & viewDidDisappear
@synthesize
21. 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 _.
pointer - class
is called every time the event occurs
initializer
Controller Objects[Managers]
22. Just a floating point number - but we always use it for graphics.
to give it someone else - or another object
CGFloat
the message release to all its entries
class
23. A view exists within a hierarchy. The window (an instance of UIWindow) is a view and the root of the hierarchy. It has _ (that appear on the window). Those views can also have _.
subview(s)
methods for generating an instance
in the dealloc - or when a Controller's view is 'unloaded'
creating an initializer
24. Instance Variables by default are called @protected meaning...
CGRect bounds - GCPoint center - CGRect frame
data source - delegate and view controller
initializer
only the class and subclasses can access
25. 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.
instance variables
UIView
message
creating an initializer
26. Class methods do not operate on an _ or have any access to _ variables....
receiver - selector - arguments
Core Graphics Framework
for inheritance - adopting the superclasses implementation
instance
27. A method in a _ is required unless its preceded by an @optional.
data source - delegate and view controller
group of global functions already assigned to this class
protocol
class's
28. Each class picks one _ as it's designated initializer....
for inheritance - adopting the superclasses implementation
initializer
method
setPossessionName
29. NSString* s2 = [s uppercase String]; Is an example of what kind of instance?
size and position
Ready-Made Instance
is an instance of that class
Core Graphics Framework
30. Values to be supplied as the parameters to the method
calling code that does the instantiation for you
super - self
Maintenance of state
arguments[message]
31. Also if you send the NSObject the _ message - you own that object.
methods for generating an instance
NSLog routine
retain
the array becomes an owner of that object and has a pointer to it.
32. Name of the method to be executed
designated initializer
selector[message]
receiving and handling events that are associated with it
is an instance of that class
33. In a class method you cannot access...
pointer to an object
Instantiation from scratch
the instance variables
instance
34. In Cocoa Touch - the table view asks another object _ what it should display...
retain
NSBundle
its dataSource
data source - delegate and view controller
35. NSValue - class...
first responder
Generic object wrapper for other non-object data types
is an instance of that class
dealloc - is called on the object & the object's memory is returned to the heap
36. A UITableView usually needs three different pieces...
data source - delegate and view controller
initializers
viewWillAppear - viewDidAppear - viewWillDisappear & viewDidDisappear
for inheritance - adopting the superclasses implementation
37. A responder is responsible for...
methods
size and position
receiving and handling events that are associated with it
instance variables
38. Reducing details to focus on the core concepts
object
Anytime you call a method with new - alloc or copy. You own and must release that object.
methods for generating an instance
Abstraction
39. At the top of any implementation file...
accessors - individually we call them 'getters' and 'setters'
CGFloat
CGRect bounds
you must import the header file of that class
40. @property declares - and _ implements the setter and getter...
instance of UIView or one of its subclasses
nil
methods for generating an instance
@synthesize
41. Hold data and know nothing about the user interface
a single-array can contain objects of different types
only the class and subclasses can access
Model Objects[Factory Worker]
Anytime you call a method with new - alloc or copy. You own and must release that object.
42. NSArray - important methods...
reuse your cells
draw images
a mechanism to enable specific callbacks
count - objectAtIndex - makeObjectsPerformSelector - sortedArrayUsingSelector - lastObject
43. Core foundation classes are prefixed with _ and suffixed with _
CF - Ref
causes the program to immediately exit from the loop it is executing - whether its for - while or do
receiver
receiver - selector - arguments
44. If a break statement is executed from within a set of nested loops...
only the innermost loop in which the break is executed is terminated
header files declare
attributes - behavior
instance variable of an object is valid
45. Objective C only allows for single inheritance - so in regards to class you only ever see the following pattern
group of global functions already assigned to this class
@interface ClassName:SuperClassName
Core Graphics Framework
Generic object wrapper for other non-object data types
46. Categories are an Objective C way to add _ to an existing class without subclassing
arguments[message]
methods
@synthesize
is called every time the event occurs
47. If the view has no subviews - create it programmatically; if it has subviews
in the dealloc - or when a Controller's view is 'unloaded'
Core Graphics Framework
count - objectAtIndex - makeObjectsPerformSelector - sortedArrayUsingSelector - lastObject
create a XIB file
48. Inside a method - _ is an implicit local variable. Typically - _ is used so that an object can send a message to itself....
UIView
size and position
Is a placeholder object
self
49. A command directed to an object is called an...
is an instance of that class
UIView
causes the program to immediately exit from the loop it is executing - whether its for - while or do
message
50. Use of class methods - there are three...
instance of UIView or one of its subclasses
@interface ClassName:SuperClassName
alloc - singleton - informational utility method?
accessors - individually we call them 'getters' and 'setters'
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