These are flashcards for Chapters 1 through 3 of David Kochan's "Programming in Objective C." Please let me know what you think or if you have any suggestions. Thanks!!! :-)


Long-Term Learning

Learn efficiently and remember over time.

Start Long-Term Learning

Get personalized study reminders at intervals optimized for better retention.
Track your progress on this set by creating a folder
Or add to an existing folder

Add this set to a folder

  • procedural programming language

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

    integral values

    values without decimal places

    Add an int to a NSString Object?

    (@"The integer is %i", number)

    newline character

    \n (backslash n)

    What means a program ends normally?


    A constant NSString Object?

    @"Strings Rule" (The "@" symbol indicates an NSString object)

    What is an object?

    A set of variables and associated methods. An object can be sent messages to cause one of it methods to be executed.

    Print stuff in objective C?



    A special name that indicates precisely where the program begins execution

    Import a system file?

    #import <Foundation/Foundation.h>

    Import a file you created?

    #import "myprog.h"

    Compile at Command Line?

    gcc -framework Foundation filename -o progname

    Look in current directory?

    ./ (period backslash)

    GNU objective-c compiler?


    Stop Sign

    Fatal Error

    Yellow exclamation mark



    object file (compiled file)


    perl source file


    OBJECTIVE C++ source file


    OBJECTIVE C source file


    header file

    .cc .cpp

    c++ language source file


    C language source file

    Who pioneered the C programming language?

    Dennis Ritchie @ Bell Labs

    The range of value associated with each data type is???

    machine depenedent

    Data Encapsulation

    Data for an object is sotred in its instance variables and is accessed only by the object's methods. This maintains data integrity.

    How to combine alloc and init?

    ClassName *newInstance = [ClassName new];

    Setters and Getters are referred to as?

    accessor methods

    Reference (pointer)

    Holds a memory address "pointing" to the location of the object's data in memory


    indicates it is creating a reference (or pointer) to an object

    Free memory of an object?

    [instanceName release];

    Combine three-line sequence to declare, allocate, and initialize?

    ClassName *newInstance = [[ClassName alloc] init];

    Initialize an object?

    newInstance = [newInstance init];

    Create a new instance? (allocate new memory space for object)

    newInstance = [ClassName alloc];

    Define a new variable for a new instance of class?

    ClassName newInstanceName;

    In the @implementation section you?

    Define the Methods

    In the @interface section you?

    Declare the Methods

    + before method indicates?

    Class Method

    - before method indicates?

    Instance Method

    Method declarations in interface?

    -(returnType) methodName: (argType) argName;

    Syntax for using methods in Objective-C

    [ClassOrInstance method]; [receiver message]; [receiver message: input];

    Applying a method to an object?

    affects the "state" of that object


    The actions performed on the instance


    A unique occurence of class. A concrete representation of a class. Instances are objects, typically created by sending an "alloc" or "new" message to a class object


    A set of instance variable and methods that have access to those variables. After a class is defined, instances of the class (that is objects) can be created. A blueprint.

    Please allow access to your computer’s microphone to use Voice Recording.

    Having trouble? Click here for help.

    We can’t access your microphone!

    Click the icon above to update your browser permissions above and try again


    Reload the page to try again!


    Press Cmd-0 to reset your zoom

    Press Ctrl-0 to reset your zoom

    It looks like your browser might be zoomed in or out. Your browser needs to be zoomed to a normal size to record audio.

    Please upgrade Flash or install Chrome
    to use Voice Recording.

    For more help, see our troubleshooting page.

    Your microphone is muted

    For help fixing this issue, see this FAQ.

    Star this term

    You can study starred terms together

    NEW! Voice Recording

    This is a Plus feature