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. Inside a method - _ is an implicit local variable. Typically - _ is used so that an object can send a message to itself....
self
storage
UIViewController
Controller Objects[Managers]
2. Origin of a view's coordinate system is _ left
data source - view controller and delegate
subview(s)
upper
is called every time the event occurs
3. 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.
pointer - class
CGRect bounds - GCPoint center - CGRect frame
creating an initializer
the instance variables
4. Objective C only allows for single inheritance - so in regards to class you only ever see the following pattern
instance variable of an object is valid
@interface ClassName:SuperClassName
you always return the newly initialized object(return self)
initializer
5. NSString *s = @'Hello - World'; is an example of...
do so in viewDidLoad
declaration and initialization of a variable
Maintenance of state
method
6. 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 _.
Encapsulation of functionality
pointer - class
CGRect
only the innermost loop in which the break is executed is terminated
7. In a class method you cannot access...
view
group of global functions already assigned to this class
is called every time the event occurs
the instance variables
8. C struct with a CGPoint origin and a CGSize size - in other words two c structs.
data
CGRect
methods for generating an instance
initializer
9. To get the full path for a directory in the sandbox - you use the _ NSSearchPathForDirectoriesInDomains.
data source - delegate and view controller
you always return the newly initialized object(return self)
creates an instance of NSString that holds the character string
C Functionn
10. A view is an...
instance of UIView or one of its subclasses
CGRect bounds - GCPoint center - CGRect frame
Continue
Anytime you call a method with new - alloc or copy. You own and must release that object.
11. When making a tableView always...
reuse your cells
Ready-Made Instance
the instance variables
dealloc - is called on the object & the object's memory is returned to the heap
12. @property - is using methods...
position
subview(s)
to get and set variables
copy - retain
13. A function in the objective c library that simply displays or logs it's argument
NSLog routine
Used to find the time right now or to store past or future time/dates
Anytime you call a method with new - alloc or copy. You own and must release that object.
the array becomes an owner of that object and has a pointer to it.
14. Just a floating point number - but we always use it for graphics.
unordered collection of objects - objects must be unique
method
CF - Ref
CGFloat
15. A UITableView usually needs three different pieces...
super - self
initializer
receiving and handling events that are associated with it
data source - delegate and view controller
16. A message is always contained in square brackets - and has three parts
receiver - selector - arguments
data source - delegate and view controller
copy - retain
size and position
17. NSDictionary...
define it in the implemenation file
Hash table - Look up objects using a key to get a value.
attributes - behavior
storage
18. Each _ has a 'designated' initializer method....
dealloc - is called on the object & the object's memory is returned to the heap
%d
class
to give it someone else - or another object
19. Only exists within the statement block there defined - outside of the block is fine
new instances of the class or retrieve some global property of the class.
instance variable of an object is valid
variable scope - if defined within a block
dealloc - is called on the object & the object's memory is returned to the heap
20. A view represents a _ area
nil
for inheritance - adopting the superclasses implementation
rectangular
attributes - behavior
21. At the top of any implementation file...
group of global functions already assigned to this class
instance variables
you must import the header file of that class
You take ownership for an object you want to keep a pointer to
22. 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
23. A _ handles touch events.
view
count - objectAtIndex - makeObjectsPerformSelector - sortedArrayUsingSelector - lastObject
methods for generating an instance
Controller Objects[Managers]
24. In any application with UINavigationController - the navigation controller...
designated initializer
Model Objects[Factory Worker]
has one root view controller
attributes - behavior
25. Values to be supplied as the parameters to the method
Maintenance of state
CGRect bounds
Used to find the time right now or to store past or future time/dates
arguments[message]
26. NSDate - class...
ordered collection of objects - immutable
Used to find the time right now or to store past or future time/dates
is an instance of that class
creates an instance of NSString that holds the character string
27. Execution of the break statement...
causes the program to immediately exit from the loop it is executing - whether its for - while or do
you must import the header file of that class
the instance variables
instance variables
28. Class methods typically either create
you always return the newly initialized object(return self)
new instances of the class or retrieve some global property of the class.
methods for generating an instance
%d
29. Asking a class or object to execute a method
methods for generating an instance
instance
message
to give it someone else - or another object
30. Also if you send the NSObject the _ message - you own that object.
retain
instance variables
causes the program to immediately exit from the loop it is executing - whether its for - while or do
CGRect bounds
31. class methods...
CF - Ref
draw images
group of global functions already assigned to this class
object
32. Property List...
define it in the implemenation file
receiver - selector - arguments
UIView
collection of collections - NSArray of an NSArray
33. NSString objects are usually sent _ rather than _...
copy - retain
creates an instance of NSString that holds the character string
You take ownership for an object you want to keep a pointer to
subview(s)
34. 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
Used to find the time right now or to store past or future time/dates
Functions
Encapsulation of functionality
Ready-Made Instance
35. Three ways instances are created...
Encapsulation of functionality
Ready-Made Instance
ready-made instances - instantiation from scratch - and nib based instantiation
data source - delegate and view controller
36. Class methods do not operate on an _ or have any access to _ variables....
Anytime you call a method with new - alloc or copy. You own and must release that object.
calling code that does the instantiation for you
instance
Hash table - Look up objects using a key to get a value.
37. NSSet...
Encapsulation of functionality
you always return the newly initialized object(return self)
draw images
unordered collection of objects - objects must be unique
38. The class is responsible for what instance variables the instance has - but not the _ of those variables.
receiving and handling events that are associated with it
is called every time the event occurs
Ready-Made Instance
values
39. 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
superclass's
position
40. 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
41. NSNumber - class...
Encapsulation of functionality
initializers
new instances of the class or retrieve some global property of the class.
Object wrapper around primitive types like int - float - double - BOOl
42. Designated initializer makes sure that every...
methods
instance variable of an object is valid
Model Objects[Factory Worker]
designated initializer
43. 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...
rectangular
setPossessionName
receiver - selector - arguments
data source - view controller and delegate
44. 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
45. What does autorelease mean?
they need to be defined in the implementation file
wait until the loop finishes processing the event - at the end release it
UIView
Controller Objects[Managers]
46. NSString* s2 = [s uppercase String]; Is an example of what kind of instance?
message
delegates and dataSources
storage
Ready-Made Instance
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
instance variable of an object is valid
size and position
delegates and dataSources
Encapsulation of functionality
48. Each class picks one _ as it's designated initializer....
initializer
selector[message]
collection of collections - NSArray of an NSArray
Used to find the time right now or to store past or future time/dates
49. if you implemented both the setter and getter - the @synthesize method...
will be ignored
creates an instance of NSString that holds the character string
parentViewController
collection of collections - NSArray of an NSArray
50. If a class declares a _ that is different from its superclass - you must override the superclass' _ to call the new _...
methods
instance of UIView or one of its subclasses
callbacks
designated initializer
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