Java Test 2

¡Supera tus tareas y exámenes ahora con Quizwiz!

All of the following are benefits of using a terminal I/O interface EXCEPT ____. a. In Java, it is easier to implement than GUI. b. It is more common and familiar. c. Some programming situations require a terminal I/O interface. d. Terminal-oriented programs are similar to programs that process files of sequentially organized data.

B

Which of the following is NOT true about Java? a. Java is an object-based language. b. Java creates programs that are portable. c. The Java compiler translates into machine language. d. Java supports threads.

C

A DOS development environment combines an editor, Java compiler, debugger, and a JVM.

F

In Java, as in algebra, addition and subtraction have a higher precedence than multiplication and division .

F

The main factor affecting a program's readability is misspelled words.

F

The terminal I/O user interface is familiar to all PC users

F, GUI

GUI is the machine language for an imaginary Java computer.

F, byte code

The main advantage of a compiler is that any computer can run it.

F, interpretor

Familiar interface for PC users.

GUI

Eclipse is an example.

IDE

To run Java byte code, you must install a(n) ____. a. GUI c. IDE b. JIT d. JVM

JVM

____________________ is the fastest growing programming language in the world.

Java

Graphics and GUI programs in Java can run either as stand-alone applications or as applets.

T

Java applets have little risk of infecting your computer with a virus.

T

Java bears a superficial resemblance to C++

T

Java is ideally suited to developing distributed, network-based applications.

T

Java programs accomplish many tasks by sending messages to objects.

T

Parameters are used to share information between objects.

T

Source code is the bulk of the instructions of a program.

T

Syntax errors is another term for compile-time errors.

T

UNIX is available on any Macintosh computer that runs MacOS X.

T

A(n) ____ has a container or pane that can be filled with other objects. a. JFrame c. window b. panel d. IDE

a

A(n) ____ is a program that behaves like a computer. a. interpreter c. terminal I/O b. compiler d. applet

a

Java is all of the following EXCEPT ____. a. fast c. robust b. secure d. portable

a

Jeremiah is a C++ programmer who has been asked by a client to create a program using Java. 36. Jeremiah knows that Java is ____. a. better suited to the Internet than C++ b. more error-prone than C++ c. the world's most popular industrial-strength programming language d. superficially very different from C++

a

Lucia decides to use the ____ development environment so that she can increase her productivity. a. JGrasp c. DOS b. Notepad d. UNIX

a

The main factor affecting a program's readability is its ____. a. layout c. language b. spelling d. development environment

a

The string of characters that appears between the parentheses following the message in Java code is called a(n) ____. a. parameter c. variable b. statement d. thread

a

A comical animated character on a Web page is likely run using a program called a(n) ____________________.

applet

An example could be a continuous stream of stock quotes.

applet

A(n) ____ is a process that can run concurrently with other processes. a. applet c. interpreter b.thread d. parameter

b

Colors in most computer systems use the ____ scheme. a. color class c. CMYK b. RGB d. GUI

b

Jeremiah will incorporate ____ into his Java program in order to allow multiple processes to occur at once, such as an image being transferred from one machine to another across a network, while another process simultaneously interacts with the user. a. variables c. panels b. threads d. applets

b

Some JVMs translate byte code instructions into machine language when they are first encountered, using the ____ technique. a. IDE c. variable b. JIT d. interpreter

b

SomeClass someObject = new SomeClass (some parameters); is an example of ____. a. assignment c. byte code b. instantiation d. interpretation

b

In the ____________________ layout, the default layout manager for frames, you can arrange up to five objects.

border

To run this, you must install a JVM on the computer.

byte code

All of the following are examples of integrated development environments, EXCEPT ____. a. BlueJ c. JFrame b. Eclipse d. JGrasp

c

Lucia is editing a program using Java. She has to install a development environment on her computer before she can get started. 38. Lucia considers using the ____ development environment, which has the most widespread use. a. JGrasp c. DOS b. Notepad d. UNIX

c

The three steps to writing and running a program, in order, are ____. a. enter, edit, compile c. edit, compile, execute b. edit, execute, compile d. enter, interpret, compile

c

____ is an assignment operator. a. + c. = b. * d. All of the above.

c

A ____ is used to mark the end of each statement in a program. a. comma (,) c. period (.) b. slash (/) d. semicolon (;)

d

A(n) ____ is a small Java program that runs on Web pages. a. JIT c. JVM b. parameter d. applet

d

____ is an editor available with Microsoft Windows. a. Linux c. BlueJ b. UNIX d. Notepad

d

In the ____________________ layout, objects are arranged in rows and columns.

grid

A(n) ____________________ is a programmer who breaks into computer systems in an unauthorized way.

hacker

Windows are often organized into many of these.

pane


Conjuntos de estudio relacionados

Unit 7: Promulgated Addenda, Notices, and Other Forms TEST

View Set

The Economist September 8th-14th 2018 (412)

View Set

Economic Globalization Instruction/Quiz

View Set

sc cases quiz (engel v. vitale, wisconsin v. yoder, etc.)

View Set