Introduction to Java Programming 8e - Chapter 1

Chapter 1 summary

72 cards   |   Total Attempts: 182
  

Cards In This Set

Front Back
What is a computer?
A computer is an electronic device that stores and processes data
A computer includes what two components
A computer includes both hardware and software
What are computer programs/software
Computer programs are the invisible instructions that control the hardware and make it perform tasks
What is computer programming?
Computer programming is the writing of instructions for computers to perform
The CPU in comparison to the human body is what?
The CPU can be compared to as the brain of the computer
What does the CPU do?
The CPU retrieves instructions from memory and executes them
Computers use 0's and 1's because
Computers use 0's and 1's because digital devices have two stable states, referred to by convention as zero and one
What is a bit?
A bit is a binary digit 0 or 1
What is a byte?
A byte is a sequence of 8 bits
A kilobyte is how many bytes?
A megabyte is how many bytes?
A gigabyte is how many bytes?
A terabyte is how many bytes?
A kilobyte is 1024 bytes.
A megabyte is about one million bytes.
A gigabyte is about one billion bytes.
A terabyte is 1024 gigabytes.
What is the purpose of memory?
Memory stores data and program instructions for the CPU to execute
What is a memory unit?
A memory unit is an ordered sequence of bytes
Why is memory volatile?
Memory is volatile because information is lost when the power is turned off
Where are programs and data permanently stored on?
Programs and data are permanently stored on storage devices. They are moved to memory when the computer actually uses them
What is machine language?
It is a set of primitive instructions built into every computer