Chapter 1 Flashcards

1
Q

________ provides an integrated development environment (IDE) for rapidly developing Java programs. Editing, compiling, building, debugging, and online help are integrated in one graphical user interface.

A

Java IDE

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

One byte has ________ bits.

A

8

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

_______ contains predefined classes and interfaces for developing Java programs.

A

Java API

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

_______ is a software that interprets Java bytecode.

A

Java virtual machine

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

_______ is architecture-neutral.

A

Java

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

The extension name of a Java bytecode file is

A

.class

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

Computer can execute the code in ____________.

A

machine language

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

The JDK command to compile a class in the file Test.java is

A

javac Test.java

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

_______ is an operating system

A

Windows

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

Java was developed by ____________.

A

Sun Microsystems

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

Which JDK command is correct to run a Java application in ByteCode.class?

A

java ByteCode

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

If you forget to put a closing quotation mark on a string, what kind of error will be raised?

A

a compile error

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

_______ is interpreted.

A

Java

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

The extension name of a Java source code file is

A

.java

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

______ is a technical definition of the language that includes the syntax and semantics of the Java programming language.

A

Java language specification

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

______ is the brain of a computer.

A

CPU

17
Q

Java compiler translates Java source code into _________.

A

Java bytecode

18
Q

__________ translates high-level language program into machine language program.

A

A compiler

19
Q

______ is the physical aspect of the computer that can be seen.

A

Hardware

20
Q

________ is a program that runs on a computer to manage and control a computer’s activities.

A

Operating System