Alteryx Foundation Micro-Credential Practice Exam

Disable ads (and more) with a membership for a one time $4.99 payment

Prepare for the Alteryx Micro-Credential Exam. Engage with flashcards, multiple-choice questions, and insightful hints to enhance your readiness. Ace your test with ease!

Practice this question and more.


What is the range of the Int64 datatype?

  1. -(2^63) to (2^63) -1

  2. -2147483648 to 2147483647

  3. -1024 to 1024

  4. 0 to 2^64

The correct answer is: -(2^63) to (2^63) -1

The Int64 datatype is designed to store 64-bit signed integers, which allows for a specific range of values. The correct range for Int64 is from -(2^63) to (2^63) - 1. This is because one bit is used to represent the sign (positive or negative), while the remaining 63 bits are used for the magnitude of the number. To clarify, when computing the range, you take 2 raised to the power of 63, which gives you 9,223,372,036,854,775,808. Therefore, the minimum value (when the sign bit is set to negative) is -9,223,372,036,854,775,808, and the maximum value (when all other bits are set to 1) is 9,223,372,036,854,775,807. This results in a range of values spanning from -(2^63) to (2^63) - 1. The other choices do not accurately reflect the range of the Int64 datatype. The second option describes the range of a 32-bit signed integer (Int32), the third option provides a very limited range that does not pertain to the Int64