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. NSArray - important methods...
count - objectAtIndex - makeObjectsPerformSelector - sortedArrayUsingSelector - lastObject
view controller
initializer
Encapsulation of functionality
2. What does autorelease mean?
data source - view controller and delegate
instance
unordered collection of objects - objects must be unique
wait until the loop finishes processing the event - at the end release it
3. Reducing details to focus on the core concepts
Abstraction
variable scope - if defined within a block
the array relinquishes ownership of that object and no longer has a pointer to it
instance variables
4. 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
5. Variable names tend to start with a _ letter; class names tend to start with an _ letter.
the message release to all its entries
(id)initWithFrame:(CGRect)aRect;
count - objectAtIndex - makeObjectsPerformSelector - sortedArrayUsingSelector - lastObject
lowercase - uppercase
6. NSValue - class...
ordered collection of objects - immutable
NSCoder
first responder
Generic object wrapper for other non-object data types
7. What happens when the last owner calls release?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
8. A UITableView usually needs three different pieces...
references to objects
data source - delegate and view controller
the array becomes an owner of that object and has a pointer to it.
initializer
9. Core foundation classes are prefixed with _ and suffixed with _
viewWillAppear - viewDidAppear - viewWillDisappear & viewDidDisappear
initializers
ready-made instances - instantiation from scratch - and nib based instantiation
CF - Ref
10. 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.
@interface ClassName:SuperClassName
selector[message]
implementation
pointer to an object
11. Class methods typically either create
(id)initWithFrame:(CGRect)aRect;
new instances of the class or retrieve some global property of the class.
to give it someone else - or another object
creating an initializer
12. A responder is responsible for...
class methods - initializers
CGRect bounds
receiving and handling events that are associated with it
storage
13. A view is a subclass of _
causes the program to immediately exit from the loop it is executing - whether its for - while or do
UIView
array[class - NSMutableArray]
superclass's
14. Inside a method - _ is an implicit local variable. Typically - _ is used so that an object can send a message to itself....
is an instance of that class
group of global functions already assigned to this class
self
wait until the loop finishes processing the event - at the end release it
15. The class is responsible for what instance variables the instance has - but not the _ of those variables.
the message release to all its entries
values
super - self
new instances of the class or retrieve some global property of the class.
16. How do I implement my drawRect?
a single-array can contain objects of different types
Functions
values
Core Graphics Framework
17. Name of the new class - it's superclass - the instance variables that each instance of this class has - and any methods this class implements
nil
viewWillAppear - viewDidAppear - viewWillDisappear & viewDidDisappear
header files declare
Instantiation from scratch
18. class methods...
%d
values
lowercase - uppercase
group of global functions already assigned to this class
19. To get the full path for a directory in the sandbox - you use the _ NSSearchPathForDirectoriesInDomains.
view
callbacks
instance
C Functionn
20. NSString* s2 = [s uppercase String]; Is an example of what kind of instance?
the instance variables
copy - retain
ready-made instances - instantiation from scratch - and nib based instantiation
Ready-Made Instance
21. After accessors have been defined in the header file...
CGRect
they need to be defined in the implementation file
values
Model Objects[Factory Worker]
22. Defining variables - three parts...
instance of UIView or one of its subclasses
to get and set variables
type - name and value
pointer to an object
23. Also if you send the NSObject the _ message - you own that object.
class
a mechanism to enable specific callbacks
retain
Hash table - Look up objects using a key to get a value.
24. 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
25. A set of variables and associated methods. An object can be sent messages to cause one of its methods to be executed.
protocol
object
NSBundle
they need to be defined in the implementation file
26. UITableViewController is a subclass of...
Encapsulation of functionality
Continue
(id)initWithFrame:(CGRect)aRect;
UIViewController
27. A class inherits all _ from its superclass and can add as many as it wants for its own purposes....
first responder
initializers
variable scope - if defined within a block
Generic object wrapper for other non-object data types
28. 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.
you always return the newly initialized object(return self)
self
for inheritance - adopting the superclasses implementation
first responder
29. If a break statement is executed from within a set of nested loops...
delegates and dataSources
only the innermost loop in which the break is executed is terminated
instance variables
view
30. Designated initializer makes sure that every...
instance variables
data
instance variable of an object is valid
CGRect bounds - GCPoint center - CGRect frame
31. A message is always contained in square brackets - and has three parts
receiver
receiver - selector - arguments
NSLog routine
only the innermost loop in which the break is executed is terminated
32. Asking a class or object to execute a method
rectangular
reuse your cells
class's
message
33. The integer prefix is...
message
to give it someone else - or another object
%d
new instances of the class or retrieve some global property of the class.
34. @property - is using methods...
group of global functions already assigned to this class
variable scope - if defined within a block
they need to be defined in the implementation file
to get and set variables
35. Each individual instance is a bundle of data that it maintains. Typically that data is private - which means that it's encapsulated as well; no other object knows what that data is or in what form it is kept. The only way to discover from outside wha
Abstraction
Maintenance of state
viewWillDissapear: and viewWillAppear:
unordered collection of objects - objects must be unique
36. 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)
data
size and position
class
37. 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
38. Delegation is an object oriented approach to
callbacks
implementation
CGFloat
CGRect
39. An instance is a device for maintaining state. It's a box for _ of data.
UIViewController
CGRect bounds
method
storage
40. When an object is added to a NSMutableArray - that object is sent the message to retain;...
count - objectAtIndex - makeObjectsPerformSelector - sortedArrayUsingSelector - lastObject
instance
methods for generating an instance
the array becomes an owner of that object and has a pointer to it.
41. Typically the designated initializer has parameters for the most important and frequently used _ of an object
group of global functions already assigned to this class
initializers
instance variables
class's
42. The root view controller typically creates the next view controller - and the next _ creates the one after that
pointers
has one root view controller
Model Objects[Factory Worker]
view controller
43. [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.
instance variables
(id)initWithFrame:(CGRect)aRect;
designated initializer
data
44. Property List...
in the dealloc - or when a Controller's view is 'unloaded'
viewWillDissapear: and viewWillAppear:
ready-made instances - instantiation from scratch - and nib based instantiation
collection of collections - NSArray of an NSArray
45. 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
Functions
message
upper
class methods - initializers
46. A _ handles touch events.
initializer
receiver[message]
view
define it in the implemenation file
47. 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
48. A method in a _ is required unless its preceded by an @optional.
protocol
do so in viewDidLoad
initializer
CGRect bounds
49. super - is used...
for inheritance - adopting the superclasses implementation
class's
receiver
'getters' and 'setters'
50. Object Oriented based analogue to a function is called a...
view controller
lowercase - uppercase
do so in viewDidLoad
method
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