Knowledge check

Completed

Check your knowledge

1.

A piece of code must store whole numeric values between negative and positive 1,000,000. Which is the best data type to be used?

2.

The code for a game needs to store lots of fractional values representing x, y, and z positions in a large 3D space. It will likely need to perform physics calculations for trajectories and so on. Absolute precision isn't required, but it's important that the program runs as efficiently as possible. Which data type is best?

3.

Which of the following statements is true?