|
Chapter 1 Introduction to Computers, Programs, and Java
1. A computer is an electronic device that stores and processes data. A computer includes both hardware and software. In general, hardware is the physical aspect of the computer that can be seen, and software is the invisible instructions that control the hardware and make it work.
2. The hardware of a computer consists of a CPU, cache, memory, hard disk, floppy disk, monitor, printer, and communication devices.
3.The machine language is a set of primitive instructions built into every computer. Assembly language is a low-level programming language in which a mnemonic is used to represent each of the machine language instructions. The high-level languages are English-like and easy to learn and program.
4.Source program means the original program written in a high-level language. A compiler is a program that translates source program into executable code.
5.Java source programs are compiled into bytecode. The JVM is the interpreter that interprets Java bytecode.
完整答案请下载附件,回复本帖子即可查看解压密码
|
|