Objective C Flashcards

1
Q

abstract class

A

A class defined to make creating subclasses easier.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

accessor method

A

A method that gets or sets the value of an instance variable.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Application Kit

A

A framework for developing an application’s user interface, which includes objects such as menus, toolbars, and windows. Part of Cocoa.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

archiving

A

Translating the representation of an object’s data into a format that can later be restored (unarchived).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

array

A

An ordered collection of values.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

automatic variable

A

A variable that is automatically allocated and released

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

autorelease pool

A

An object defined in the Foundation framework that keeps track of objects that are to be released when the pool itself is released.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

bitfield

A

A structure containing one or more integer fields of a specified bit width.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

category

A

A set of methods grouped together under a specified name.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

caharacter string

A

A null-terminated sequence of characters.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

class

A

A set of instance variables and methods that have access to those variables.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

class method

A

A method (defined with a leading + sign) that is invoked on class objects.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

class object

A

An object that identifies a particular class

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

cluster

A

An abstract class that groups a set of private concrete subclasses, providing a simplified interface to the user

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Cocoa

A

A development environment that consists of the Foundation and Application Kit frameworks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Cocoa Touch

A

A development environment that consists of the Foundation and UIKit frameworks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

collection

A

A Foundation framework object that is an array, a dictionary, or a set used for grouping and manipulating

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

compile time

A

The time during which the source code is analyzed and converted into a lower-level format known as object code.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

composite class

A

A class that is composed of objects from other classes; often it’s used as an alternative to subclassing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

concrete subclass

A

A subclass of an abstract class.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

conform

A

A class to a protocol if it adopts all the required methods in the protocol, either directly through

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

constant character string

A

A sequence of characters enclosed inside a pair of double quotation marks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

data encapsulation

A

The notion that the data for an object is stored in its

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

delegate

A

An object directed to carry out an action by another object.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

designated initializer

A

The method that all other initialization methods in the

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

dictionary

A

A collection of key/value pairs implemented under Foundation with the NSDictionary and NSMutableDictionary classes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

directive

A

In Objective-C, a special construct that begins with an at sign (@). @interface, @implementation, @end, and @class are examples of .

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

Distributed Objects

A

The capability of Foundation objects in one application

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

synamic binding

A

Determining the method to invoke with an object at runtime instead of at compile time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
30
Q

dynamic typing

A

Determining the class to which an object belongs at runtime instead of at compile time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
31
Q

formal protocol

A

A set of related methods grouped together under a name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
32
Q

forwarding

A

The process of sending a message and its associated argument(s) to another method for execution.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
33
Q

Foundation framework

A

A collection of classes, functions, and protocols that form the foundation for application development, providing basic facilities such as memory management, file and URL access, the tasks of archiving and working with collections, strings, and number and date objects.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
34
Q

framwork

A

A collection of classes, functions, protocols, documentation, and header files and other resources that are all related.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
35
Q

function

A

A block of statements identified by a name that can accept one or more arguments passed to it by value and

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
36
Q

garbage collection

A

A memory-management system that automatically releases the memory used by unreferenced objects. Not supported in the iPhone runtime environment.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
37
Q

gcc

A

The name of the compiler developed by the Free Software Foundation (FSF).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
38
Q

gdb

A

The standard debugging tool for programs compiled with gcc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
39
Q

getter method

A

An accessor method that retrieves the value of an instance variable.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
40
Q

global variable

A

A variable defined outside any method or function that can be accessed by any method or function in the same source file or from other source files that declare the variable as extern.

41
Q

header file

A

A file that contains common definitions, macros, and variable declarations that is included in a program

42
Q

id

A

The generic object type that can hold a pointer to any type of object.

43
Q

inmutable object

A

An object whose value cannot be modified. Examples from the Foundation framework include NSString, NSDictionary, and NSArray objects.

44
Q

implementation section

A

The section of a class definition that contains the

45
Q

informal protocol

A

A logically related set of methods declared as a category, often as a category of the root class.

46
Q

inheritance

A

The process of passing methods and instance variables from a class, starting with the root object, down to subclasses.

47
Q

instance

A

A concrete representation of a class.

48
Q

instance method

A

A method that can be invoked by an instance of a class. See

49
Q

instance variable

A

A variable declared in the interface section (or inherited

50
Q

Interface Builder

A

A tool under Mac OS X for building a graphical user interface for an application.

51
Q

interface section

A

The section for declaring a class, its superclass, instance

52
Q

isa

A

A special instance variable defined in the root object that all objects inherit.

53
Q

linking

A

The process of converting one or more object files into a program that can be executed.

54
Q

local variable

A

A variable whose scope is limited to the block in which it is defined.

55
Q

localization

A

The process of making a program suitable for execution within a particular geographic region, typically by

56
Q

message

A

The method and its associated arguments that are sent to an object (the receiver).

57
Q

message expression

A

An expression enclosed in square brackets that specifies

58
Q

method

A

A procedure that belongs to a class and can be executed by sending a message to a class object or to instances from the class.

59
Q

mutable object

A

An object whose value can be changed.

60
Q

nil

A

An object of type id, which is used to represent an invalid object. Its value is defined as 0.

61
Q

notification

A

The process of sending a message to objects that have registered to be alerted when a specific event occurs.

62
Q

NSObject

A

The root object under the Foundation framework.

63
Q

null character

A

A character whose value is 0.

64
Q

null pointer

A

An invalid pointer value, normally defined as 0.

65
Q

object

A

A set of variables and associated methods.

66
Q

object-oriented programming

A

A method of programming based on classes and objects, and performing actions on those objects.

67
Q

parent class

A

A class from which another class inherits.

68
Q

pointer

A

A value that references another object or data type. .

69
Q

polymorphism

A

The capability of objects from different classes to accept

70
Q

preprocessor

A

A program that makes a first pass through the source code processing lines that begin with a #, which presumably contain special preprocessor statements. Common uses are for defining macros with #define, including other source files with #import and #include, and conditionally including source lines with #if, #ifdef, and #ifndef.

71
Q

procedural programming language

A

A language in which programs are defined by procedures and functions that operate on a set of data.

72
Q

property declaration

A

A way to specify attributes for instance variables that

73
Q

property list

A

A representation of different types of objects in a standardized format. Property lists are typically stored

74
Q

protocol

A

A list of methods that a class must implement to conform to or adopt

75
Q

receiver

A

The object to which a message is sent.The receiver can be referred to as self from inside the method that is

76
Q

retaint counter

A

A count of the number of times an object is referenced. It’s incremented by sending a retain message to the object, and it’s decremented by sending a release message to it.

77
Q

root object

A

The top most object in the inheritance hierarchy that has no parent.

78
Q

runtime

A

The time when a program is executing; also the mechanism responsible for executing a program’s instructions.

79
Q

selector

A

The name used to select the method to execute for an object.

80
Q

self

A

A variable used inside a method to refer to the receiver of the message.

81
Q

set

A

An unordered collection of unique objects implemented under Foundation with the NSSet, NSMutableSet, and

82
Q

setter method

A

An accessor method that sets the value of an instance variable.

83
Q

statement

A

One or more expressions terminated by a semicolon.

84
Q

statement block

A

One or more statements enclosed in a set of curly braces.

85
Q

static function

A

A function declared with the static keyword that can be

86
Q

static typing

A

Explicitly identifying the class to which an object belongs at compile time.

87
Q

static variable

A

A variable whose scope is limited to the block or module in which it is defined. Static variables have default initial values of 0 and retain their values through method or function invocations.

88
Q

structure

A

An aggregate data type that can contain members of varying types.

89
Q

subclass

A

Also known as a child class.

90
Q

super

A

A keyword used in a method to refer to the parent class of the receiver.

91
Q

super class

A

The parent class of a particular class.

92
Q

synthesized method

A

A setter or getter method that the compiler automatically

93
Q

UIKit

A

A framework for developing applications on the iPhone and iTouch. In addition to providing classes for working

94
Q

Unicode character

A

A standard for representing characters from sets containing up to millions of characters.

95
Q

union

A

An aggregate data type, such as a structure containing members that share the same storage area. Only one of those members can occupy the storage area at any point in time.

96
Q

Xcode

A

A compiling and debugging tool for program development with Mac OS X.

97
Q

XML

A

Extensible Markup Language. The default format for property lists generated on Mac OS X.

98
Q

zone

A

A designated area of memory for allocating data and objects.