Programming in Objective C (Chapter 4)
About this set
Created by:
GoatFeather on December 5, 2011
Subjects:
iOS, Objective C, Programming, iPhone, iPad
Description:
These flashcards are for Stephen Kochan's Programming in Objective C, Chapter 4. Enjoy and please leave comments! Thanks.
Log in to favorite or report as inappropriate.
Order by
21 terms
Terms | Definitions |
|---|---|
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) |
First Time Here?
Welcome to Quizlet, a fun, free place to study. Try these flashcards, find others to study, or make your own.