310,315 views
10 votes
10 votes
Programming languages categorize data into different types. Identify the characteristics that match each of the following data types.

a. Can store fractions and numbers with decimal positions
b. Is limited to values that are either true or false (represented internally as one and zero).
c. Is limited to whole numbers (counting numbers 1, 2, 3, ...)

User Shamari
by
2.6k points

1 Answer

24 votes
24 votes

Answer:

a) Integer data type.

b) Real data type.

c) Boolean data type.

Step-by-step explanation:

a) Integer data type is limited to whole numbers (counting numbers 1, 2, 3…….).

b) Real data type can store fractions and numbers with decimal positions (such as dollar values like $10.95).

c) Boolean data type is limited to values that are either true or false (represented internally as 1 and 0 respectively).

User Jellby
by
3.1k points