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 the hierarchy of classes that's defined by the arrangement of superclasses and subclasses. Every class (except root classes such as NSObject) has a superclass and any class may have an unlimited number of subclasses.
inheritance hierarchy
NSString
9
Enumerations
2. A method that can operate on class objects rather than instances of the class.
@interface
abstract superclass
class method
floating-point
3. An architecture that facilitates communication between objects in different address spaces.
Smalltalk
message expression
distributed objects
instance variable
4. A compiler feature that provides automated memory management
doubles
class
class method
ARC
5. Each class should have a ______ initializer a single method responsible for performing all of the object's setup and initialization.
dangling pointer
procedural programming language
delegates
designated
6. Instance variables are optional in iOS if ________ are used
factory
comma-separated
doubles
properties
7. A class that's one step above another class in the inheritance hierarchy; the class through which a subclass inherits methods and instance variables.
method
mutex
superclass
dynamic typing
8. Procedures (like verbs) are processes that manipulate or transform data and in Objective-C these 3 elements are _____ - functions and methods
factory object
C operators
asterisk (*)
pointers
9. A protocol declared as a category usually as a category of the NSObject class.
class
informal protocol
object
encapsulation
10. 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.
comma-separated
abstract class
abstract superclass
+
11. 3 Common Float data types: float - _____ - CGFloat
long long
double
asynchronous message
memory leak
12. A tool that lets you graphically specify your application's user interface. It sets up the corresponding objects for you and makes it easy for you to establish connections between these objects and your own code where needed.
Enumerations
Unitary
Interface Builder
superclass
13. Two additional foundational building blocks of Objective-C distinct from data and procedure type foundations: ________ and Categories/Extensions
assignment
Binary
selector
Protocols
14. A remote message that returns immediately without waiting for the application that receives the message to respond. The sending application and the receiving application act independently and are therefore not in sync.
namespace
formal protocol
asynchronous message
Edit>Refactor>Convert to Objective-C ARC
15. Property attribute that synthesizes only a getter for the property
procedures
Protocols
printf( )
readonly
16. A class is said to do this when it declares that it implements all the methods in the protocol.
conform
doubles
factory
adopt
17. An advanced object-oriented development platform in Mac OS X; a set of frameworks whose primary programming interfaces are in Objective-C.
class object
Cocoa
Pointers
nonatomic
18. A struct may contain multiple ____ consisting of different data types
message
fields
factory
[receiver message];
19. In Objective-C floats are more commonly used than ______
doubles
9
class
binary
20. An object id with a value of 0.
asterisk (*)
nil
weak
Interface Builder
21. Pointers are declared by placing a(n) ___ between the type declaration and the variable name
asterisk (*)
link time
fields
pointer
22. 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).
message expression
unitary
delegate
ampersand (&)
23. The init... method that has primary responsibility for initializing new instances of a class. Each class defines or inherits its own. Through messages to self other init... methods in the same class directly or indirectly invoke it and then it - thro
dangling pointer
designated initializer
Enumerations
reference counting
24. Property attribute where the setter stores the assigned value but does not perform any memory management.
readonly
event
assign
nonatomic
25. The nine fundamental building blocks of Objective-C can be dividing into 2 categories: data and _______
assign
synchronous message
dispatch table
procedures
26. Protocols are adopted by adding a ____________ list of protocols inside angled brackets after the superclass declaration in a class's @interface block
instance variable
runtime
printf( )
comma-separated
27. A way to package a logically related set of classes & protocols and functions together with localized strings & online documentation and other pertinent files.
framework
object
Cocoa
reference counting
28. Same as class object. (first way to say it.)
init
struct
assign
factory
29. A message sent from one application to an object in another application.
nil
zero
remote message
precedence
30. An instance variable that points to another object; _____ instance variables are a way for an object to keep track of the other objects to which it may need to send messages.
outlet
readwrite
@implementation
protocol
31. In computer science the mathematical concept of 'order of operations' is known as the 'order of ______'
adopt
protocol
precedence
assignment
32. In the Objective-C language the declaration of a group of methods not associated with any particular class.
developer intent
protocol
value
-
33. Created by the compiler - lacks instance variables and can't be statically typed but otherwise behave like all other objects. As the receiver in a message expression - a it is represented by the class name.
class object
dynamic typing
outlet
inheritance hierarchy
34. Short for mutual exclusion semaphore. An object used to synchronize thread execution.
Unitary
nil
mutex
instance
35. In object-oriented programming the ability of a superclass to pass its characteristics (methods and instance variables) on to its subclasses.
receiver
struct
inheritance
runtime
36. A set of method definitions that is segregated from the rest of the class definition.
doubles
class object
category
+
37. Data types are divided into two main categories: integer and ______
floating-point
Enumerations
asynchronous message
value
38. The time after a program is launched and while it's running. Decisions made at during this time can be influenced by choices the user makes.
abstract superclass
+
properties
runtime
39. C-style strings always end with a ____ character
Enumerations
namespace
null
Binary
40. In a home building analogy a ____ is the blueprint and the object is the house
id
subclass
class
chars
41. When creating a class implementation file you begin with the _____ keyword and close with the @end keyword
superset
@implementation
delegate
encapsulation
42. When creating a class header file you begin with the _____ keyword and close with the @end keyword
unitary
dispatch table
@interface
init
43. An object that acts on behalf of another object.
protocol
framework
delegate
abstract superclass
44. In object-oriented programming the ability of different objects to respond each in its own way - to the same message.
delegates
dynamic allocation
polymorphism
structures
45. 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.
inheritance
class
@implementation
id
46. The 6 main categories of operators are: ____ - arithmetic - comparison - logical - bitwise and membership
assignment
Protocols
-
@interface
47. 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.
runtime
instance
copy
AppKit
48. There are ____ fundamental building blocks in Objective-C
Categories
fields
abstract superclass
9
49. The direct or indirect report of external activity especially user activity on the keyboard and mouse.
event
@implementation
class
remote message
50. 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.
procedural programming language
AppKit
class method
outlet
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