Chapter 1 Flashcards
What are the 5 components of a computer?
The CPU, main memory, secondary memory, input devices, output devices
Negative numbers are encoded using what technique?
Two’s complement
Real numbers are encoded using what?
Floating point technique
The CPU only understands instructions writen in ______
Machine language
In what process does the CPU read the next set of instructions?
Fetch
Process in which CPU dtermines which operation it should perform
Decode
CPU performs the operation in this process
Execute
A comouter can only execute programs writen in…
Machine language
This language uses short words instead of binary
Assembly language
What are mnemonics?
Words used in assembly language in place of binary
What is an assembler?
Program used to translate assembly language to machine language
Words that make up high level programming launguages are called
Keywords or reserved words
What do operators do in programming languages?
Perform operations on data such as add, subtract, ect.
Individual instructions in a program are called
Statements
A compiler does what?
Translates high level language programs into separate machine language programs