Chapt 3 Flashcards
Char
Char is a data type that refers to a single character or a single-character variable.
____ is a data type that refers to a single character or a single-character variable.
Char
A char is equal to ? bytes
1
What data type is equivalent to one byte
Char
A ____ is a series of characters that is interpreted literally by a script
String
Definition of a string
A string is a series of characters that is interpreted literally by a script
Truncation definition
If a string has a length of 11 characters, but you attempt to enter more than 11 characters, the last characters will be left off. This is called truncation
An ________ is a positive or negative whole number , no decimal points or fractions
An integer (also known as int) is a positive or negative whole number , no decimal points or fractions
Int definition:
An integer (also known as int) is a positive or negative whole number , no decimal points or fractions
________ is a number that contains up to seven digits and has at least one decimal place
A float (also known as floating-point number) is a number that contains up to seven digits and has at least one decimal place
Float definition:
A float (also known as floating-point number) is a number that contains up to seven digits and has at least one decimal place
A float has a value of _____ bits
A float is a single-precision, floating-point, 32-bit value.
_______ is a single-precision, floating-point, 32-bit value.
A float is a single-precision, floating-point, 32-bit value.
Double definition:
Numbers with floating-point decimals that contain more than seven digits, up to 15 digits total, are known as doubles, or double-precision floating-point numbers. A double is a 64-bit double-precision data type.
A double has a value of _____ bits
Numbers with floating-point decimals that contain more than seven digits, up to 15 digits total, are known as doubles, or double-precision floating-point numbers. A double is a 64-bit double-precision data type.