These flashcards are for Stephen Kochan's Programming in Objective C, Chapter 4. Enjoy and please leave comments! Thanks.

New

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

  • Every value (whether it's a char, int, or float) has _______ associated with it

    Range of Values

    The amount of memory allocated for the basic data types is?

    Machine (or implementation) dependent

    Under Mac OS X, you can compile an application as either 32-bit or 64-bit. What does this mean?

    An int takes up either 32 or 64 bits.

    To display a floating point using NSLog, ____ or ____ can be used.

    %f or %g

    To display a float in scientific notation use...

    %e

    To express something in scientic notation use this format

    3.14e4

    Use ___ to display the value of a char variable

    %c

    To display the value of a "long" variable

    the letter l is placed before the integer format characters (Do the same with short and long long and unsigned)

    The ____ data type is ued to stoare an object of any type

    id

    A leading zero in fornt of an int indates the constant is in ____ notation?

    Octal (base 8)

    A leading 0x indicates is in _____ notation

    Hexadecimal (base 16)

    The associative property of an operator determines?

    Whether the expression is evaluated from "left to right" or from "right to left"

    Whenever you divide two integer terms, the Objective-C system performs the operation...

    using integer division

    A ____ operator is one which operates on a single value

    unary

    What has the highest precedence of any arithmetic operator?

    unary minus and unary plus and a type case (float)

    What is the modulus operator?

    % Returns the remainder

    To display the "%" symbol using NSLog, type...

    %%

    Whenever a floating-point value is assigned to a an integer variable in Objective-C, the decimal portion of the float is?

    truncated

    How do you combine the arithmetic operators with the assignment operator?

    op= (ie += or -=)

    Change "count = count + 10" to take advantage of assingnment operators

    count += 10;

    What does this mean? a /= b + c

    a = a / (b+c)

    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

    Example:

    Reload the page to try again!

    Reload

    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