Question

You have a filed in your data with the following types of values: -2, 0, 10....

You have a filed in your data with the following types of values: -2, 0, 10. There are no decimal values and minimum value is -255 and the maximum value is +255. What data type is the best fit for this field?

Option 1: Byte

Option 2: Double

Option 3: Fixed Decimal

Option 4: Float

Option 5: Int16

Option 6: Int32

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Solution to your problem is below:

Answer : Option 5: Int16 because it has range of -32,768 to 32,767 and it fulfill all the requirements mentioned is question as it can store -255 and +255 and it doesn't store decimal value . it takes minimum space in memory and also fulfill needs.

IF YOU HAVE ANY QUERY PLEASE COMMENT DOWN BELOW.
PLEASE GIVE A THUMBS UP

Add a comment
Know the answer?
Add Answer to:
You have a filed in your data with the following types of values: -2, 0, 10....
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT