SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
Objective C Programming Basics
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. In object-oriented programming a procedure that can be executed by an object.
cannot
compile time
cycles
method
2. 3 Common Float data types: float - _____ - CGFloat
Product>Profile>Leaks>Profile
double
structures
abstract class
3. A Cocoa framework that implements an application's user interface; provides a basic program structure for applications that draw on the screen and respond to events.
AppKit
delegate
Binary
inheritance hierarchy
4. This symbol denotes a method as being a class method
assign
properties
+
AppKit
5. Symbol used to denote a placeholder in a format string
encapsulation
%
binary
structures
6. In computer science the mathematical concept of 'order of operations' is known as the 'order of ______'
formal protocol
NSObject
comma-separated
precedence
7. All objects are created on the _____
procedures
printf( )
heap
AppKit
8. The general type for any kind of object regardless of class; defined as a pointer to an object data structure; can be used for both class objects and instances of a class.
id
heap
dynamic allocation
null
9. The most flexible C data type: ______
remote message
instance
struct
category
10. The part of an Objective-C class specification that declares its public interface which includes its superclass name & instances variables and public-method prototypes.
double
interface
C operators
[receiver message];
11. Property attribute that causes the setter to store a copy of the assigned value
mutex
copy
C operators
NSString
12. 7 Common Integer data types: BOOL - char- short - int - long - _____ - NSInteger
weak
long long
compile time
%@
13. The name of a method when it's used in a source-code message to an object or the unique identifier that replaces the name when the source code is compiled.
selector
designated
inheritance hierarchy
cycles
14. _____ allow indirect access and modification of a variable's value.
Pointers
null
double
inheritance
15. In object-oriented programming an expression that sends a message to an object. In the Objective-C language they are enclosed within square brackets and consist of a receiver followed by a message (method selector and parameters).
structures
encapsulation
message expression
polymorphism
16. In the Objective-C language an object that belongs to (is a member of) a particular class; created at runtime according to the specification in the class definition.
class object
-
instance
receiver
17. A protocol declared as a category usually as a category of the NSObject class.
fields
weak
assignment
informal protocol
18. A set of method definitions that is segregated from the rest of the class definition.
formal protocol
category
nonatomic
Smalltalk
19. An object id with a value of 0.
weak
factory
designated
nil
20. Any class that's one step below another class in the inheritance hierarchy.
readonly
subclass
receiver
remote message
21. Property attribute that causes the setter to store a zeroing weak reference to the assigned value
assign
printf( )
weak
AppKit
22. C-style strings always end with a ____ character
category
Smalltalk
null
method
23. An architecture that facilitates communication between objects in different address spaces.
floating-point
distributed objects
unitary
interface
24. An object that acts on behalf of another object.
[receiver message];
outlet
delegate
class
25. Objective-C binds methods and arguments at _____ instead of compile time
asterisk (*)
runtime
weak
ARC
26. Finding the method implementation to invoke in response to the message
NSObject
dynamic binding
unitary
-
27. ____ provide a concise & elegant method for defining a discrete set of values
category
Enumerations
null
subclass
28. The Objective-C runtime table that contains entries that associate method selectors with the class-specific addresses of the methods they identify.
dispatch table
dynamic binding
printf( )
procedures
29. Any variable that's part of the internal data structure of an instance; declared in a class definition and become part of all objects that are members of or inherit from the class.
id
ampersand (&)
runtime
instance variable
30. In the Objective-C language the declaration of a group of methods not associated with any particular class.
instance
Enumerations
-
protocol
31. A method that can operate on class objects rather than instances of the class.
class method
NSObject
developer intent
Pointers
32. The _____ function can be used to print a message to the console
readwrite
printf( )
Pointers
subclass
33. In a home building analogy a ____ is the blueprint and the object is the house
synchronous message
compile time
class
anonymous object
34. ______ operators take a single operand
readwrite
asynchronous message
Unitary
ARC
35. A programming technique that hides the implementation of an operation from its users behind an abstract interface; allows the implementation to be updated or changed without impacting the users of the interface.
factory object
encapsulation
comma-separated
static typing
36. Zeroing weak referencing should be used for _____ and data sources to prevent inadvertent retain cycles
delegates
anonymous object
class object
method
37. A way to package a logically related set of classes & protocols and functions together with localized strings & online documentation and other pertinent files.
framework
weak
pointers
init
38. In object-oriented programming - the method selector (name) and accompanying parameters that tell the receiving object in a message expression what to do.
namespace
NSString
remote message
message
39. A variable that points to the memory address of another value
pointer
floating-point
assignment
Enumerations
40. Property attribute where the setter stores the assigned value but does not perform any memory management.
encapsulation
memory leak
assign
heap
41. ______ data types are always zero or greate
receiver
class object
NSString
Unsigned
42. Data (like nouns) represent the information we are processing and in Objective-C this made up of the four elements of C types - _____ - enums and objects
cannot
pointer
cycles
structures
43. Any method that can be used by an instance of a class rather than by the class object.
protocol
instance method
conform
Encapsulation
44. A class that's defined solely so that other classes can inherit from it. Programs don't use instances of this; they use only instances of its subclasses.
abstract class
9
reference counting
inheritance hierarchy
45. A technique used in C-based languages where the operating system provides memory to a running application as it needs it instead of when it launches.
nil
adopt
message
dynamic allocation
46. Procedures (like verbs) are processes that manipulate or transform data and in Objective-C these 3 elements are _____ - functions and methods
C operators
Product>Profile>Leaks>Profile
class
implementation
47. _____ allow you to add new methods to existing classes
Categories
floating-point
factory
id
48. Protocols are adopted by adding a ____________ list of protocols inside angled brackets after the superclass declaration in a class's @interface block
comma-separated
struct
Protocols
delegates
49. An object in another application - one that's a potential receiver for a remote message.
message expression
zero
remote object
distributed objects
50. The time when source code is compiled; constrained by the amount and kind of information encoded in source files.
reference counting
Encapsulation
double
compile time
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