nerdexam
Microsoft

98-361 · Question #47

You are creating the necessary variables for an application. The data you will store in these variables has the following characteristics: - Consists of numbers - Includes numbers that have decimal…

The correct answer is B. double. The double keyword signifies a simple type that stores 64-bit floating-point values. Precision: 15-16 digits Not D: The float keyword signifies a simple type that stores 32-bit floating-point values. Precision: 7 digits

Understanding Core Programming

Question

You are creating the necessary variables for an application. The data you will store in these variables has the following characteristics:

  • Consists of numbers
  • Includes numbers that have decimal points
  • Requires more than seven digits of precision

You need to use a data type that will minimize the amount of memory that is used. Which data type should you use?

Options

  • Adecimal
  • Bdouble
  • Cbyte
  • Dfloat

How the community answered

(31 responses)
  • A
    3% (1)
  • B
    77% (24)
  • C
    13% (4)
  • D
    6% (2)

Explanation

The double keyword signifies a simple type that stores 64-bit floating-point values. Precision: 15-16 digits Not D: The float keyword signifies a simple type that stores 32-bit floating-point values. Precision: 7 digits

Topics

#data types#floating point#precision#memory optimization

Community Discussion

No community discussion yet for this question.

Full 98-361 Practice