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. What does autorelease mean?
count - objectAtIndex - makeObjectsPerformSelector - sortedArrayUsingSelector - lastObject
CGRect bounds
a single-array can contain objects of different types
wait until the loop finishes processing the event - at the end release it
2. 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
Maintenance of state
%d
first responder
view controller's initialization method
3. Just a floating point number - but we always use it for graphics.
(id)initWithFrame:(CGRect)aRect;
cannot be added to an array
alloc - singleton - informational utility method?
CGFloat
4. if you implemented both the setter and getter - the @synthesize method...
@synthesize
an object's property
will be ignored
safety - subclassability and makes code look more consistent with C structs
5. Variable names tend to start with a _ letter; class names tend to start with an _ letter.
they need to be defined in the implementation file
dealloc - is called on the object & the object's memory is returned to the heap
lowercase - uppercase
Is a placeholder object
6. A function in the objective c library that simply displays or logs it's argument
NSLog routine
class
array[class - NSMutableArray]
initializer
7. NSArray - class...
alloc - singleton - informational utility method?
ordered collection of objects - immutable
instance variables
type - name and value
8. The root view controller typically creates the next view controller - and the next _ creates the one after that
view controller
you must import the header file of that class
instance of UIView or one of its subclasses
receiver[message]
9. NSDictionary...
setPossessionName
Hash table - Look up objects using a key to get a value.
lowercase - uppercase
Continue
10. Class methods typically either create
Encapsulation of functionality
upper
new instances of the class or retrieve some global property of the class.
Model Objects[Factory Worker]
11. You use _ to implement the view
creates an instance of NSString that holds the character string
UIView
CGRect bounds
object
12. Execution of the break statement...
variable scope - if defined within a block
rectangular
view controller's initialization method
causes the program to immediately exit from the loop it is executing - whether its for - while or do
13. Proceed through the loop - jump back to the top and check again
storage
Continue
Object wrapper around primitive types like int - float - double - BOOl
they need to be defined in the implementation file
14. An instance is a device for maintaining state. It's a box for _ of data.
draw images
storage
CGRect
Model Objects[Factory Worker]
15. When an NSMutableArray is deallocated - it sends...
wait until the loop finishes processing the event - at the end release it
retain
the message release to all its entries
to give it someone else - or another object
16. 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 _.
ready-made instances - instantiation from scratch - and nib based instantiation
subview(s)
method
superclass's
17. In any application with UINavigationController - the navigation controller...
nil
has one root view controller
attributes - behavior
CGRect
18. 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.
superclass's
creating an initializer
you always return the newly initialized object(return self)
view controller's initialization method
19. Values to be supplied as the parameters to the method
view controller
arguments[message]
attributes - behavior
the instance variables
20. C struct with a CGPoint origin and a CGSize size - in other words two c structs.
CGRect
(id)initWithFrame:(CGRect)aRect;
pointer to an object
draw images
21. NSString objects are usually sent _ rather than _...
object
receiver[message]
implementation
copy - retain
22. id is a...
header files declare
instance
declaration and initialization of a variable
pointer to an object
23. A UITableView usually needs three different pieces...
define it in the implemenation file
rectangular
data source - delegate and view controller
they need to be defined in the implementation file
24. NSString *s = @'Hello - World'; is an example of...
viewWillDissapear: and viewWillAppear:
NSBundle
declaration and initialization of a variable
Continue
25. When an object is removed from an NSMutableArray - that object is sent the message release;...
the array relinquishes ownership of that object and no longer has a pointer to it
initializer
Object wrapper around primitive types like int - float - double - BOOl
draw images
26. 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
27. Order of the declarations for methods. _ come first - followed by _ - followed by any other methods...
alloc - singleton - informational utility method?
class methods - initializers
CGRect bounds - GCPoint center - CGRect frame
class's
28. Each _ has a 'designated' initializer method....
class
CGRect
superclass's
has one root view controller
29. Categories are an Objective C way to add _ to an existing class without subclassing
array[class - NSMutableArray]
methods
collection of collections - NSArray of an NSArray
class methods - initializers
30. Objective C only allows for single inheritance - so in regards to class you only ever see the following pattern
Is a placeholder object
@interface ClassName:SuperClassName
only the innermost loop in which the break is executed is terminated
pointer to an object
31. Prefixing a character string with an @ symbol [specific - NSString class]...
creates an instance of NSString that holds the character string
do so in viewDidLoad
dealloc - is called on the object & the object's memory is returned to the heap
only the innermost loop in which the break is executed is terminated
32. In Objective C arrays can hold only...
UIView
instance of UIView or one of its subclasses
references to objects
data source - delegate and view controller
33. UIView - designated initializer...
NSLog routine
selector[message]
(id)initWithFrame:(CGRect)aRect;
data
34. In a class method you cannot access...
the instance variables
creating an initializer
wait until the loop finishes processing the event - at the end release it
type - name and value
35. 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
variable scope - if defined within a block
calling code that does the instantiation for you
Functions
lowercase - uppercase
36. The integer prefix is...
%d
variable scope - if defined within a block
parentViewController
designated initializer
37. Keep view and model objects in sync - control the 'flow' of the application - and save the model objects out to the filesystem
Controller Objects[Managers]
Data Encapsulation
CF - Ref
Maintenance of state
38. When an object is added to a NSMutableArray - that object is sent the message to retain;...
causes the program to immediately exit from the loop it is executing - whether its for - while or do
Encapsulation of functionality
NSCoder
the array becomes an owner of that object and has a pointer to it.
39. If the view has no subviews - create it programmatically; if it has subviews
define it in the implemenation file
receiver[message]
create a XIB file
count - objectAtIndex - makeObjectsPerformSelector - sortedArrayUsingSelector - lastObject
40. Primitives and C Structures...
cannot be added to an array
creating an initializer
message
the message release to all its entries
41. Center and frame are used to _ your view
calling code that does the instantiation for you
Used to find the time right now or to store past or future time/dates
position
only the innermost loop in which the break is executed is terminated
42. Archiving works by creating an instance of _ - which is essentially just a container for data - and placing objects and their data inside it.
method
the message release to all its entries
only the class and subclasses can access
NSCoder
43. Any other initializer a class has calls the _ designated initializer....
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
44. @property - is using methods...
view controller's initialization method
instance
to get and set variables
C Functionn
45. class methods...
data source - view controller and delegate
calling code that does the instantiation for you
values
group of global functions already assigned to this class
46. 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
47. Why properties?
UIView
designated initializer
safety - subclassability and makes code look more consistent with C structs
its dataSource
48. A message is always contained in square brackets - and has three parts
UIViewController
receiver - selector - arguments
to give it someone else - or another object
instance variables
49. A class inherits all _ from its superclass and can add as many as it wants for its own purposes....
initializers
Used to find the time right now or to store past or future time/dates
You take ownership for an object you want to keep a pointer to
is an instance of that class
50. Hold data and know nothing about the user interface
C Functionn
Model Objects[Factory Worker]
unordered collection of objects - objects must be unique
view controller
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