click below
click below
Normal Size Small Size show me how
Data Types Program
Questions based on data type program done in class
| Question | Answer |
|---|---|
| What is main method? | The beginning of a program |
| What is a program block? | code between { }s |
| What are naming conventions? | rules for naming variables |
| What is a declaration? | the process of naming a variable as a storage location |
| What is data? | information formatted for the computer |
| What is a data type? | classification of how data is stored |
| What is a string? | a class that allows Java to program with words |
| What is an assignment? | the process of storing a value at a variable |
| What is syntax? | the rules that a language must follow, including programing languages |
| What is an integer variable? | a class that allows Java to store whole numbers exp: 77 |
| What is a double variable? | a class that allows Java to store real numbers exp: 3.2 |
| What is a boolean variable? | a class that allows Java to store true and false values |
| What is a character variable? | a class that allows Java to store any keyboard character exp: 'k' |
| What is a String variable? | a class that allows Java to store literal Strings exp: "Hello world." |
| What are primitive data types? | the most basic data types provide by a language |
| katie palmer | katie palmer |