Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For the following values, what data type would a variable need to be in order to hold it. Choose from: Integer, Decimal, Date/Time, Or String

For the following values, what data type would a variable need to be in order to hold it. Choose from: Integer, Decimal, Date/Time, Or String. Note that string should only be identified if the value cannot be stored in a variable of one of the other data types and decimal should only be identified if the value cannot be stored in an integer variable.

1.) 1000000 - Integer

2.) July 4, 1776 Date/Time

3.) Integer - String

4.) 1000000.01- Decimal

5.) asdf1234 - String

6.) 0.01 - Decimal

7.) 8:00 PM - String

8.) 1000000.00 - Integer

9) Ninety - String

Just checking to see if my answers are correct.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Accidental Data Scientist

Authors: Amy Affelt

1st Edition

1573877077, 9781573877077

More Books

Students also viewed these Databases questions

Question

grep runs using fixed - string comparison by default.

Answered: 1 week ago