Software correct answers _______ refers to a collection of programs that a computer executes
execute programs correct answers Computers are machines that ______
in secondary storage correct answers Programs that are not running are usually stored ______
is moved to the CPUs memory correct answers When a program begins to run it ______
the hard disk & secondary storage correct answers What provides data persistence without
electricity? (there are 2)
independent of the underlying hardware correct answers High-level programming languages are
_____
the compiler correct answers What translates high-level descriptions into machine code?
applets correct answers Small applications written in the Java programming language that can be
located anywhere on the internet are called _____
Problems solved in high-level languages are independent of the underlying computer hardware
correct answers what is one benefit of using a high-level programming language like Java?
an editor and a compiler correct answers An integrated development environment (IDE) bundles
tools for programming into a unified application. What kind of tools are usually included? (2)
1. a certain amount of technical machinery is necessary to write basic, simple programs. 2. there
are many extensions. 3. there is a large number of extensive libraries in Java correct answers
What are some reasons why Java is good, but not perfect, for beginners? (3)
, Printer.java correct answers A Java class with the name "Printer" has to be saved using the source
file name:
Compiler-timer error correct answers What kind of error is when your program has a syntax
error?
The compiler continues and may report other errors but does not produce a Java class file correct
answers When a compiler finds a syntax error in a program, what happens?
Logic error: the program does not produce the desired result correct answers What kind of error
is created by the following code snippet? System.out.print("the sum of 8 and 12 is ");
System.out.println(8*12);
an error that occurs when a program is running because, for example, the wrong operator was
used correct answers What is a logic error?
by running the program with a variety of input values correct answers How do programmers find
exceptions and run-time errors?
Run-time errors correct answers The programmer, not the compiler, is responsible for testing a
program to identify ____
the programmer correct answers Who or what is responsible for inspecting and testing the
program to guard against logic errors?
Pseudocode correct answers What methodology is a sequence of steps formulated in English for
solving a problem?
virtual machine correct answers In order to run Java programs on a computer, the computer
needs to have software called a(n):