Java Concepts 1 - Intro to Hardware and Software Flashcards

1
Q

applet

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
2
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
3
Q

comment

A

An explanation to help the human reader understand a section of a program; ignored by the compiler

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

compile-time error

A

An error that is detected when a program is compiled

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
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
6
Q

debugger

A

A program that lets a user run another program one or a few steps at a time, stop execution, an inspect the variables in order to analyze it for bugs.

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

directories

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
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
9
Q

extension

A

The last part of a file name, which specifies the file type. For example, the extension .java denotes a Java file.

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

IDE (integrated development environment)

A

A programming environment that includes an editor, compiler, and debugger

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
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
12
Q

JVM

A

The Java Virtual Machine

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

logic error

A

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

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

method

A

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

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

random-access memory (RAM)

A

Electronic circuits in a computer that can store code and data of running programs.

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

run-time error

A

Same as logic error: an error in a syntactically correct program that causes it to act differently from its specifications

17
Q

shell window

A

A window for interacting with an operation system through textual commands

18
Q

source code

A

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

19
Q

source file

A

A file containing instructions in a programming language such as Java

20
Q

Swing

A

A Java toolkit for implementing graphical user interfaces

21
Q

syntax error

A

An instruction that does not follow the programming language rules and is rejected by the compiler