click below
click below
Normal Size Small Size show me how
DataTypes Program
Questions based on DataType program done in class
Question | Answer |
---|---|
What is a declaration? | Process of telling the compiler the name of a variable and the type of data to be stored in the memory location allocated to the variable. |
What is data? | Information formatted in a distinct way |
What is a data type? | classification that determines how data is stored, possible values for data, and the operations that can be performed on the data |
What is a primitive data type? | most basic data types provided by a language. |
What is a string? | class provided by Java that provides the ability to program with words |
What is a string literal? | character(s) enclosed in double quotation marks |
What is assignment? | the processes of storing a value at a variable's memory location using =(assignment operator) |
What is syntax? | grammar, structure, or order of the elements in a language statement. |
How many bits/bytes in an integer? | 32 bits to 8 bytes |
What is hard coding? | To use an explicit rather than a symbolic name for something that is likely to change at a later time. |