Question types

Start with

Question limit

of 12 available terms

Print test

12 Multiple choice questions

  1. A long long int will hold an int with a greater range
  2. A minus sign indicates that the value is negative. Commas can't be used and no embedded spaces should be put between the digits.
  3. You can use a char variable to store a single character. You have to enclose the character within a pair of single quotation marks e.g. 'e' or ';' or 'p'. %c can be used to display char variables.
  4. any literal number, single character, or character string
  5. couter += 10
    counter -= 5
    counter /= 2
  6. @"blah blah blah";
  7. Every value has a range of values associated with it. The range has to do with the amount of storage allocated to store a particular type of data. 64 bit systems can have a larger range than a 32 bit system.
  8. Forces one type of variable to become another
    (int) 29.55
  9. Used to store values containing decimal digits. The NSLog conversion characters %f or %g can be used to display floats.
  10. long, long long, short, signed, and unsigned
  11. long int factorial;

    The declared integer variable gets an extended range.

    To display a long int you must use %li
  12. double is the same as float except it has twice the range.