Test: Programming in Objective C (Chapter 4) | Quizlet

NAME

Print test 21 Multiple choice questions
%e To express something in scientic notation use this format A leading 0x indicates is in _____ notation To display a float in scientific notation use... To display a floating point using NSLog, ____ or ____ can be used. unary minus and unary plus and a type case (float) The associative property of an operator determines? What is the modulus operator? What has the highest precedence of any arithmetic operator? What does this mean? a /= b + c Range of Values A leading 0x indicates is in _____ notation What has the highest precedence of any arithmetic operator? Every value (whether it's a char, int, or float) has _______ associated with it The ____ data type is ued to stoare an object of any type using integer division The ____ data type is ued to stoare an object of any type Whenever you divide two integer terms, the Objective-C system performs the operation... What has the highest precedence of any arithmetic operator? How do you combine the arithmetic operators with the assignment operator? %c Use ___ to display the value of a char variable What is the modulus operator? What does this mean? a /= b + c To display the value of a "long" variable unary Use ___ to display the value of a char variable A ____ operator is one which operates on a single value What is the modulus operator? What does this mean? a /= b + c count += 10; The ____ data type is ued to stoare an object of any type Change "count = count + 10" to take advantage of assingnment operators What has the highest precedence of any arithmetic operator? How do you combine the arithmetic operators with the assignment operator? Octal (base 8) To display a float in scientific notation use... A ____ operator is one which operates on a single value A leading 0x indicates is in _____ notation A leading zero in fornt of an int indates the constant is in ____ notation? An int takes up either 32 or 64 bits. The amount of memory allocated for the basic data types is? The associative property of an operator determines? To express something in scientic notation use this format Under Mac OS X, you can compile an application as either 32-bit or 64-bit. What does this mean? Hexadecimal (base 16) A leading 0x indicates is in _____ notation To display a float in scientific notation use... What is the modulus operator? What does this mean? a /= b + c Whether the expression is evaluated from "left to right" or from "right to left" The associative property of an operator determines? What is the modulus operator? The ____ data type is ued to stoare an object of any type Use ___ to display the value of a char variable Machine (or implementation) dependent A leading 0x indicates is in _____ notation To display a float in scientific notation use... The amount of memory allocated for the basic data types is? The associative property of an operator determines? op= (ie += or -=) Change "count = count + 10" to take advantage of assingnment operators How do you combine the arithmetic operators with the assignment operator? The associative property of an operator determines? What has the highest precedence of any arithmetic operator? 3.14e4 To express something in scientic notation use this format What does this mean? a /= b + c To display a float in scientific notation use... A leading 0x indicates is in _____ notation % Returns the remainder The associative property of an operator determines? What is the modulus operator? Use ___ to display the value of a char variable What does this mean? a /= b + c id Use ___ to display the value of a char variable The associative property of an operator determines? The ____ data type is ued to stoare an object of any type What does this mean? a /= b + c the letter l is placed before the integer format characters (Do the same with short and long long and unsigned) To display the value of a "long" variable To display a float in scientific notation use... Use ___ to display the value of a char variable To display the "%" symbol using NSLog, type... truncated The ____ data type is ued to stoare an object of any type Whenever a floating-point value is assigned to a an integer variable in Objective-C, the decimal portion of the float is? To display a floating point using NSLog, ____ or ____ can be used. Use ___ to display the value of a char variable %% What is the modulus operator? To display a float in scientific notation use... To display the value of a "long" variable To display the "%" symbol using NSLog, type... %f or %g To display a floating point using NSLog, ____ or ____ can be used. To display the "%" symbol using NSLog, type... To display a float in scientific notation use... To display the value of a "long" variable a = a / (b+c) Use ___ to display the value of a char variable What is the modulus operator? A leading 0x indicates is in _____ notation What does this mean? a /= b + c