Chapter 1: Introduction Flashcards

1
Q

computer program

A

A sequence of instructions that is executed by a computer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

hardware

A

The physical equipment for a computer or another device.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

software

A

The intangible instructions and data that are necessary for operating a computer or another device.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

programming

A

The act of designing and implementing computer programs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

central processing unit (CPU)

A

The part of a computer that executes the machine instructions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Secondary storage

A

Storage that persists without electricity, e.g., a hard disk.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

hard disk

A

A device that stores information on rotating platters with magnetic coating.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

networks

A

An interconnected system of computers and other devices.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

high-level programming languages

A

A programming language that provides an abstract view of a computer and allows programmers to focus on their problem domain.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

compiler

A

A program that translates code in a high-level language (such as Java) to machine instructions (such as bytecode for the Java virtual machine).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

machine code

A

Instructions that can be executed directly by the CPU.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

applets

A

A graphical Java program that executes inside a web browser or applet viewer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

library

A

A set of precompiled classes that can be included in programs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

virtual machine

A

A program that simulates a CPU that can be implemented efficiently on a variety of actual machines. A given program in Java bytecode can be executed by any Java virtual machine, regardless of which CPU is used to run the virtual machine itself.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

editor

A

A program for writing and modifying text files.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

case sensitive

A

Distinguishing upper- and lowercase characters.

17
Q

source files

A

A file containing instructions in a programming language such as Java.

18
Q

source code

A

Instructions in a programming language that need to be translated before execution on a computer.

19
Q

files

A

A sequence of bytes that is stored on disk.

20
Q

folders (directory)

A

A structure on a disk that can hold files or other directories; also called a folder.

21
Q

class

A

A programmer-defined data type.

22
Q

method

A

A sequence of statements that has a name, may have parameter variables, and may return a value. A method can be invoked any number of times, with different values for its parameter variables.

23
Q

main method

A

The method that is first called when a Java application executes.

24
Q

statements

A

A syntactical unit in a program. In Java a statement is either a simple statement,
a compound statement, or a block.

25
Q

argument

A

A value supplied in a method call, or one of the values combined by an operator.

26
Q

string

A

A sequence of characters.

27
Q

compile-time error

A

An error that is detected when a program is compiled.

28
Q

syntax errors

A

An instruction that does not follow the programming language rules and is rejected by the compiler. (A form of compile-time error.)

29
Q

run-time error

A

An error in a syntactically correct program that causes it to act differently from its specification.

30
Q

logic errors

A

An error in a syntactically correct program that causes it to act differently from its specification. (A form of run-time error.)

31
Q

exception

A

A class that signals a condition that prevents the program from continuing normally. When such a condition occurs, an object of the exception class is thrown.

32
Q

algorithm

A

An unambiguous, executable, and terminating specification of a way to solve a problem.