Unit 2 Flashcards
algorithm
lists the steps that you can follow to solve a problem
pseudocode
natural language combined with some programming code to explain the solution to a problem (often a brainstorming step)
coding
translating an algorithm into a program
declaring variables
allocates space in memory
variable
a storage location in computer memory where a value can be used
data type
the kind of data that is stored in a variable (ex: integers, characters, strings, etc)
int keyword
declares an integer number
double keyword
floating point number
identifier
name of a variable, method or class (they are case sensitive in Java)
string concatenation
when strings are stapled together
“Hello” + “World” = “HelloWorld”
Scanner class
used to get user input through the keyboard
System
refers to standard input and output devices
System.out
refers to standard output
System.in
refers to standard input
import
used for specific importing of programs