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 computer science the mathematical concept of 'order of operations' is known as the 'order of ______'
static typing
anonymous object
dynamic binding
precedence
2. 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.
dynamic binding
null
runtime
-
3. Objective-C borrows much of its syntax from ______ one of the earliest object-oriented languages
remote object
inheritance
Smalltalk
dynamic binding
4. _____ operators take 2 operands
object
protocol
Binary
abstract superclass
5. 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.
binary
instance variable
nil
NSObject
6. Pointers are declared by placing a(n) ___ between the type declaration and the variable name
inheritance hierarchy
square brackets
null
asterisk (*)
7. a+b; is an example of using a _____ operator
AppKit
precedence
adopt
binary
8. Procedures (like verbs) are processes that manipulate or transform data and in Objective-C these 3 elements are _____ - functions and methods
C operators
cycles
asterisk (*)
dangling pointer
9. A protocol declared as a category usually as a category of the NSObject class.
pointer
static typing
informal protocol
floating-point
10. In object-oriented programming the ability of different objects to respond each in its own way - to the same message.
framework
memory leak
distributed objects
polymorphism
11. C-style strings are stored in an array of _____
dynamic typing
message
chars
framework
12. An architecture that facilitates communication between objects in different address spaces.
distributed objects
assignment
id
AppKit
13. Objective-C's protocols are really about communicating _____ _______
chars
developer intent
binary
class object
14. _____ is one of the main advantages of object-oriented code and allows objects to 'hide away' much of their complexity operating at times like a proverbial 'black-box'.
Encapsulation
anonymous object
protocol
-
15. A class that's one step above another class in the inheritance hierarchy; the class through which a subclass inherits methods and instance variables.
implementation
dangling pointer
superclass
category
16. This symbol denotes a method as being an instance method
long long
method
-
namespace
17. In the Objective-C language the declaration of a group of methods not associated with any particular class.
dispatch table
Signed
nil
protocol
18. Discovering the class of an object at runtime rather than at compile time.
dynamic typing
delegates
Interface Builder
Unitary
19. The most flexible C data type: ______
framework
struct
protocol
Cocoa
20. An object that acts on behalf of another object.
designated initializer
cannot
delegate
pointers
21. In object-oriented programming - the method selector (name) and accompanying parameters that tell the receiving object in a message expression what to do.
message
designated initializer
@interface
selector
22. In object-oriented programming the object that is sent a message.
message expression
instance
dynamic binding
receiver
23. Objective-C binds methods and arguments at _____ instead of compile time
@interface
AppKit
selector
runtime
24. In a home building analogy a ____ is the blueprint and the object is the house
dispatch table
method
message
class
25. Xcode sequence to examine an app for memory leaks or retain cycles
runtime
anonymous object
formal protocol
Product>Profile>Leaks>Profile
26. A class is said to do this when it declares that it implements all the methods in the protocol.
assign
doubles
interface
adopt
27. A way to package a logically related set of classes & protocols and functions together with localized strings & online documentation and other pertinent files.
polymorphism
framework
Signed
factory object
28. A message sent from one application to an object in another application.
Categories
cycles
zero
remote message
29. Property attribute that causes the setter to store a zeroing weak reference to the assigned value
abstract class
9
event
weak
30. ARC is susceptible to retain _____
cycles
long long
Unitary
memory leak
31. The direct or indirect report of external activity especially user activity on the keyboard and mouse.
message
event
readwrite
object
32. Objective-C methods are called using ____ _____
Interface Builder
asterisk (*)
%@
square brackets
33. Any method that can be used by an instance of a class rather than by the class object.
9
event
instance method
formal protocol
34. Property attribute that synthesizes only a getter for the property
outlet
id
readonly
instance
35. Symbol used to denote a placeholder in a format string
class
%
framework
instance method
36. An advanced object-oriented development platform in Mac OS X; a set of frameworks whose primary programming interfaces are in Objective-C.
dereference (dereferencing)
memory leak
Cocoa
struct
37. A method that can operate on class objects rather than instances of the class.
runtime
%@
class method
binary
38. Three main categories of more complicated data structures:_______ - arrays and structs
factory
pointers
designated
instance variable
39. A class is said to do this to a protocol if it (or a superclass) implements the methods declared in the protocol. An instance does this to a protocol if its class does. Thus an instance that does this to a protocol can perform any of the instance met
asynchronous message
Signed
Pointers
conform
40. The 6 main categories of operators are: ____ - arithmetic - comparison - logical - bitwise and membership
assignment
dangling pointer
chars
framework
41. 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.
cannot
deprecated
id
instance method
42. A memory-management technique in which each entity that claims ownership of an object increments the object's reference count and later decrements it; allows one instance of an object to be safely shared among several other objects.
-
reference counting
pointers
chars
43. If you are compiling an application with ARC (Automatic reference Counting) you _______ store Objective-C objects inside a struct
cannot
class
superset
+
44. Objective-C is a _____ of the C language
square brackets
superset
class method
superclass
45. 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.
framework
struct
adopt
instance
46. 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.
assignment
Pointers
selector
comma-separated
47. _____ allow you to add new methods to existing classes
asterisk (*)
factory object
Categories
remote message
48. In object-oriented programming the ability of a superclass to pass its characteristics (methods and instance variables) on to its subclasses.
NSObject
inheritance
comma-separated
binary
49. A programming unit that groups together a data structure (instance variables) and the operations (methods) that can use or affect that data; the principal building blocks of object-oriented programs.
factory
object
dangling pointer
Enumerations
50. Instance variables are optional in iOS if ________ are used
properties
+
abstract class
Pointers
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