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. Class methods typically either create
methods for generating an instance
CGFloat
new instances of the class or retrieve some global property of the class.
method
2. A callback is a function that is supplied in advance of an event - and...
upper
Instantiation from scratch
instance of UIView or one of its subclasses
is called every time the event occurs
3. @property declares - and _ implements the setter and getter...
@synthesize
instance
copy - retain
view controller
4. A _ handles touch events.
safety - subclassability and makes code look more consistent with C structs
methods for generating an instance
view
CGRect bounds - GCPoint center - CGRect frame
5. The integer prefix is...
NSCoder
methods for generating an instance
the array becomes an owner of that object and has a pointer to it.
%d
6. Files Owner...
count - objectAtIndex - makeObjectsPerformSelector - sortedArrayUsingSelector - lastObject
selector[message]
Is a placeholder object
message
7. NSDate - class...
ordered collection of objects - immutable
Generic object wrapper for other non-object data types
upper
Used to find the time right now or to store past or future time/dates
8. Asking a class or object to execute a method
the array relinquishes ownership of that object and no longer has a pointer to it
view
Ready-Made Instance
message
9. 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
type - name and value
methods for generating an instance
Ready-Made Instance
10. Any individual object belonging to any class...
is an instance of that class
type - name and value
causes the program to immediately exit from the loop it is executing - whether its for - while or do
Is a placeholder object
11. What does autorelease mean?
CGFloat
accessors - individually we call them 'getters' and 'setters'
wait until the loop finishes processing the event - at the end release it
will be ignored
12. How do I implement my drawRect?
Core Graphics Framework
arguments[message]
only the class and subclasses can access
receiver[message]
13. NSArray - class...
ordered collection of objects - immutable
instance of UIView or one of its subclasses
pointer to an object
causes the program to immediately exit from the loop it is executing - whether its for - while or do
14. NSSet...
viewWillAppear - viewDidAppear - viewWillDisappear & viewDidDisappear
data source - view controller and delegate
creates an instance of NSString that holds the character string
unordered collection of objects - objects must be unique
15. UITableViewController is a subclass of...
new instances of the class or retrieve some global property of the class.
view
UIViewController
Encapsulation of functionality
16. In Cocoa Touch - the table view asks another object _ what it should display...
is called every time the event occurs
Generic object wrapper for other non-object data types
its dataSource
creating an initializer
17. [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
arguments[message]
attributes - behavior
the array becomes an owner of that object and has a pointer to it.
18. A responder is responsible for...
message
only the class and subclasses can access
receiving and handling events that are associated with it
subview(s)
19. Values to be supplied as the parameters to the method
Anytime you call a method with new - alloc or copy. You own and must release that object.
to get and set variables
arguments[message]
Controller Objects[Managers]
20. We can use dot notation to reference...
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
21. Center and frame are used to _ your view
has one root view controller
position
instance variable of an object is valid
NSLog routine
22. When an object is added to a NSMutableArray - that object is sent the message to retain;...
alloc - singleton - informational utility method?
is called every time the event occurs
create a XIB file
the array becomes an owner of that object and has a pointer to it.
23. In a class method you cannot access...
the instance variables
receiver[message]
Encapsulation of functionality
NSBundle
24. Defining variables - three parts...
instance variables
UIView
Hash table - Look up objects using a key to get a value.
type - name and value
25. A view is a subclass of _
calling code that does the instantiation for you
UIView
header files declare
is an instance of that class
26. A UITableView usually needs three different pieces...
C Functionn
data source - delegate and view controller
has one root view controller
view
27. If you have extra work you want to do on the view...
only the innermost loop in which the break is executed is terminated
Model Objects[Factory Worker]
do so in viewDidLoad
Encapsulation of functionality
28. A collection object - an ordered list of objects that can be accesed by an index
Model Objects[Factory Worker]
is an instance of that class
instance variable of an object is valid
array[class - NSMutableArray]
29. Primitives and C Structures...
UIView
will be ignored
super - self
cannot be added to an array
30. A method in a _ is required unless its preceded by an @optional.
parentViewController
protocol
you always return the newly initialized object(return self)
Ready-Made Instance
31. Objective C only allows for single inheritance - so in regards to class you only ever see the following pattern
data
UIViewController
@interface ClassName:SuperClassName
(id)initWithFrame:(CGRect)aRect;
32. 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
33. if you implemented both the setter and getter - the @synthesize method...
Core Graphics Framework
will be ignored
superclass's
arguments[message]
34. Instance Variables by default are called @protected meaning...
only the class and subclasses can access
pointer - class
receiver
methods for generating an instance
35. Three ways instances are created...
the array relinquishes ownership of that object and no longer has a pointer to it
variable scope - if defined within a block
'getters' and 'setters'
ready-made instances - instantiation from scratch - and nib based instantiation
36. If the view has no subviews - create it programmatically; if it has subviews
array[class - NSMutableArray]
values
class's
create a XIB file
37. SomeClass* aVariable = [[SomeClass alloc] init]; is an example of what kind of instance?
lowercase - uppercase
declaration and initialization of a variable
nil
Instantiation from scratch
38. 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
a mechanism to enable specific callbacks
declaration and initialization of a variable
do so in viewDidLoad
to give it someone else - or another object
39. Execution of the break statement...
causes the program to immediately exit from the loop it is executing - whether its for - while or do
viewWillDissapear: and viewWillAppear:
CF - Ref
the array becomes an owner of that object and has a pointer to it.
40. initWithFrame: the designated initializer for UIView gives the view
class
size and position
declaration and initialization of a variable
Continue
41. After accessors have been defined in the header file...
a single-array can contain objects of different types
upper
you always return the newly initialized object(return self)
they need to be defined in the implementation file
42. Just a floating point number - but we always use it for graphics.
instance variables
CGFloat
size and position
Hash table - Look up objects using a key to get a value.
43. 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.
accessors - individually we call them 'getters' and 'setters'
first responder
@synthesize
superclass's
44. A command directed to an object is called an...
Object wrapper around primitive types like int - float - double - BOOl
message
UIView
size and position
45. You use _ to implement the view
method
to get and set variables
the array relinquishes ownership of that object and no longer has a pointer to it
CGRect bounds
46. Classes describe two things...
instance of UIView or one of its subclasses
super - self
attributes - behavior
cannot be added to an array
47. 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
Encapsulation of functionality
is an instance of that class
subview(s)
first responder
48. A view is an...
instance of UIView or one of its subclasses
the instance variables
Object wrapper around primitive types like int - float - double - BOOl
creating an initializer
49. UIView - designated initializer...
Core Graphics Framework
only the innermost loop in which the break is executed is terminated
delegates and dataSources
(id)initWithFrame:(CGRect)aRect;
50. A UITableViewController can fill all three roles of...
CGRect bounds - GCPoint center - CGRect frame
ready-made instances - instantiation from scratch - and nib based instantiation
data
data source - view controller and delegate
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