7
AssignmentMultiple Select

Variables and Data Types

Question 7 • Introduction to Information Technology - EL3701

Which of the following statements are true of an integer data type? Check all that apply.

Answer
A
It can be a whole number.
B
It can be a negative number.
C
It uses TRUE/FALSE statements.
D
It represents temporary locations.
E
It cannot hold a fraction or a decimal number.

Explanation

An integer is a number with no fractional or decimal part. Integers include whole numbers such as 0 and 8, as well as negative numbers such as −3, so A and B are true. Because an integer cannot hold a fraction or decimal number, E is also true; TRUE/FALSE values and temporary locations describe other concepts.

AI-written and checked against the verified answer.

Previous
Next