Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
12 Cards in this Set
- Front
- Back
- 3rd side (hint)
What type of variable is an "Integer"?
|
A "Scaler" type.
Now define scaler type... |
A scaler is a type of variable that can contain a range of values. Hence, they scale.
|
|
Define: int
|
A 32-bit integer value (+/- values)
|
A round 'Whole' number
|
|
Define: unsigned int
|
A 32-bit integer value (+ values only)
|
A round 'Whole' number
|
|
Define: float
|
A 16-bit floating point value
|
The term floating point refers to the fact that the radix point (decimal point, or, more commonly in computers, binary point) can "float"; that is, it can be placed anywhere relative to the significant digits of the number.
|
|
Define: double
|
A 32-bit floating point value
|
The term floating point refers to the fact that the radix point (decimal point, or, more commonly in computers, binary point) can "float"; that is, it can be placed anywhere relative to the significant digits of the number.
|
|
Define: long
|
Depends on Architecture: 32 or 64 bit
|
|
|
Define: long long
|
Twice the size of a long
|
|
|
Define: NSInteger
|
Biggest Pointer size for your architecture
|
Should be used for controlled variables for loops
|
|
Define: NSUInteger
|
Biggest Pointer size for your architecture.
Same asNSInteger, but unsigned. |
Should be used for controlled variables for loops
|
|
Define: char
|
A single character. Technically represented as an int. 'a'
|
|
|
Define: BOOL
|
A boolean value.
Should only be set to a YES or NO (Sometimes you can use a TRUE or FALSE, or a 1 or 0) |
|
|
Define: SEL
|
A selector or method signature. Typically gotten via @selector(methodName:)
|
Can be used to pass method signatures around from class to class and perform operations.
|