000 - Introduction to the Java Technology Flashcards

1
Q

Which ten buzzwords can be used to describe the Java programming language?

A
Simple
Object oriented
Distributed
Multithreaded
Dynamic
Architecture neutral
Portable
High performance
Robust
Secure
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Java is __________ so it can be programmed without extensive programmer training while being attuned to current software practices and programmers can be productive from the very beginning.

A

simple

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

Java is _________, so that current developers can easily learn the Java programming language

A

familiar

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

Java is _________, to take advantage of modern software development methodologies and to fit into distributed client-server applications

A

object oriented

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

Java is _________, for high performance in applications that need to perform multiple concurrent activities, such as multimedia;

A

multithreaded

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

Java is _________, for maximum portability and dynamic capabilities.

A

interpreted

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

Java is _________ because it provides extensive compile-time checking, followed by run-time checking.

The memory management model is extremely simple: objects are created with a new operator.

There are no explicit programmer-defined pointer data types, no pointer arithmetic, and automatic garbage collection.

A

Robust

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

Java is designed to operate in distributed environments, it has security features designed into the language and run-time system,
Java applications are _________ from intrusion.

A

secure

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

the Java Compiler TM product generates bytecodes–an _________ intermediate format designed to transport code efficiently to multiple hardware and software platforms.

A

architecture neutral

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

Java is ________ , so it solves both the binary distribution problem and the version problem. Also it is
strict in its definition of the basic language: it specifies the sizes of its basic data types and the behavior of its arithmetic operators.

A

Portable

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

The architecture-neutral and portable language platform of Java technology is known as __________

A

the Java virtual machine.

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

Java technology is both a ___________________ and a __________

A

Java technology is both a programming language and a platform.

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

The Java virtual machine is based primarily on which interface specification?

A

The POSIX specification–an industry-standard definition of a portable system interface.

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

Java has __________ by adopting a scheme by which the interpreter can run at full speed without needing to check the run-time environment.

A

high performance

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

The __________ runs as a low-priority background thread, ensuring a high probability that memory is available when required

A

automatic garbage collector

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

The _________ can execute __________ directly on any machine to which it and the _________ system have been ported.

A

Java interpreter
Java bytecodes
run-time

17
Q

While the Java Compiler is strict in its compile-time static checking, the language and run-time system are _________ in their linking stages. Classes are linked only as needed. New code modules can be linked in on demand from a variety of sources, even from sources across a network.

A

dynamic

18
Q

In Java, how do you obtain the effects of #define?

A

by using constants.

19
Q

In Java how do you obtain the effects of typedef?

A

by declaring classes–after all, a class effectively declares a new type.

20
Q

Why don’t you need header files in Java?

A

You don’t need header files because the Java compiler compiles class definitions into a binary form that retains all the type information through to link time.

21
Q

In the Java programming language, all source code is first written in plain text files ending with the _________ extension.

A

.java

22
Q

.java source files are compiled into _________ files by __________.

A
.class
the javac compiler
23
Q

A .class file does not contain code that is native to your processor; it instead contains _________ — the machine language of the Java Virtual Machine (Java VM).

A

bytecodes

24
Q

The Java platform has two components:

A

The Java Virtual Machine

The Java Application Programming Interface (API)

25
Q

__________ is a large collection of ready-made software components that provide many useful capabilities.

A

The API

26
Q

The API is grouped into libraries of related classes and interfaces; these libraries are known as _________

A

packages

27
Q

The _________ provide everything you’ll need for compiling, running, monitoring, debugging, and documenting your applications.

A

development tools

28
Q

_________ spans everything from basic objects, to networking and security, to XML generation and database access, and more.

A

The API

29
Q

JavaFX, Swing, and Java 2D toolkits make it possible to create sophisticated ________.

A

Graphical User Interfaces (GUIs)

30
Q

_________ such as the Java IDL API, JDBC API, Java Naming and Directory Interface (JNDI) API, Java RMI, and Java Remote Method Invocation over Internet Inter-ORB Protocol Technology (Java RMI-IIOP Technology) enable database access and manipulation of remote objects.

A

Integration libraries

31
Q

After compiling the IDE invokes the _________, which uses the Java virtual machine to run your application.

A

Java application launcher tool (java)