Quiz
2
belongs to the ____ data type.
2
is a number without a decimal point, i.e., an integer.2.0
belongs to the ____ data type.
2.0
is a number with a decimal point, i.e., a float."The Cat in the Hat"
belongs to the ____ data type.
""
belongs to the ____ data type.
""
is an empty string."1"
belongs to the ____ data type.
1
is an integer, "1"
is a string due to the enclosing quotation marks."nil"
belongs to the ____ data type.
nil
belongs to the Nil data type, "nil"
is a string due to the enclosing quotation marks.nil
belongs to the ____ data type.
nil
is the sole instance of the Nil data type.true
and false
are ____.
true
and false
are the only booleans."true"
and "false"
are ____.
true
and false
are booleans, but "true"
and "false"
are strings due to the enclosing quotation marks.