Chapter 1 slides Flashcards
what is memory ordered in?
sequences of bytes
how much does a byte of memory hold?
8 bits
true or false, a memory byte is never empty
true
machine language
set of primitive instructions built into every computer
machine language characteristics
in the form of binary, difficult to read, tedious process to program
assembly language
developed to make programming easier; uses an assembler to convert assembly language programs into machine code
high-level language characteristics
English-like, easy to learn and program. Ex. Java, C++
source program/source code
a program written in a high-level language
what must be done for a computer to execute a source program?
run through an interpreter/compiler, which reads one statement from the source code, translated it to machine code, then executes it
true or false, a word processor or other program can run without an operating system?
false
why Java?
Java is the internet programming language, general purpose programming language, and enables the user to develop and deploy applications on the internet
what can be made with Java?
standalone applications; apps running from a browser, for handheld devices, or for web servers
Java characteristics
simple, distributed, robust, secure, portable, dynamic, interpreted, architecture-neutral…
what is Java modeled on?
C++, but with more functionality and fewer negative aspects; sometimes called C++–
What does it mean by Java is interpreted?
Java contains the Java Virtual Machine code called bytecode, which compiles programs into the JVM. bytecode is machine-independent, and runs on any machine with a Java interpreter