• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 4 fuera de 737 páginas
Examen

Test bank for Big Java Early Objects, Enhanced eText 7th Edition by Cay Horstmann | All Chapters

Document preview thumbnail
Vista previa 4 fuera de 737 páginas

Test bank for Big Java Early Objects, Enhanced eText 7th Edition by Cay Horstmann | All Chapters

Vista previa del contenido

TEST BANK


Big Java Early Objects, Enhanced eText 7th Edition


By Cay Horstmann
Ma
fi
ad
oc
s


Mafiadocs

,Name Class Dat
: : e:

testbank-bj-7-ch1

Indicate the answer choice that best completes the statement or answers the question.

1. Which statement best describes a computer program?
a. A program is a sequence of comments.
b. A program can decide what task it is to perform.
c. A program is a sequence of instructions and decisions that the computer carries out.
d. A program can only perform one simple task.

2. Which statement regarding computer programs is correct?
a. Computer programs can decide what task to perform.
Ma
b. Large and complex computer programs are generally written by only one programmer.
c. Computer programs are composed of extremely primitive operations.
d. Small computer programs are not documented.

3. What is an example of a typical instruction in a computer program?
a. Add up two numbers.
fi
b. Lay out a term paper.
c. Drive a car.
d. Display a fancy font.

4. What does CPU stand for?
ad
a. Computer Programming Unit
b. Computer Processing Unit
c. Central Processing Unit
d. Central Programming Unit

5. Which one of the following is NOT a function of a CPU?
oc
a. Performing arithmetic operations
b. Processing data and controlling programs
c. Querying a database
d. Fetching and storing data from storage and input devices

6. Which type of storage is made from electronic circuits that can store data?
s
a. compact disk (CD)
b. hard disk
c. primary storage
d. secondary storage

7. Which one of the following memory types provides storage that persists without electricity?
a. primary storage
b. RAM
c. memory
d. secondary storage

Powered by Cognero Page 1


Mafiadocs

,Name Class Dat
: : e:

testbank-bj-7-ch1
8. Which one of the following memory types provides storage that is slower and less expensive?
a. primary storage
b. secondary storage
c. peripheral device
d. the transistor

9. Which type of secondary storage consists of rotating platters coated with a magnetic material?
a. hard disk
b. solid state drive
c. compact disk (CD)
Ma
d. memory

10. Some computers are self-contained units; others are interconnected through what?
a. bus
b. networks
fi
c. peripheral devices
d. power lines

11. Which is an example of a peripheral device?
a. the CPU
b. primary storage
ad
c. motherboard
d. speakers

12. Which memory type does not provide persistent storage?
a. secondary storage
b. hard disk
oc
c. primary storage
d. DVD

13. Where must program instructions and data reside in order for the CPU to directly read and execute them?
a. memory
b. bus
s
c. hard disk
d. somewhere on the computer network

14. What term is used to refer to the computer instructions that are executed by a CPU?
a. virtual machine
b. machine code
c. high-level code
d. instruction set

15. What is the Java Virtual Machine?
a. A CPU that runs compiled Java code.
Powered by Cognero Page 2


Mafiadocs

, Name Class Dat
: : e:

testbank-bj-7-ch1

b. A library that makes it possible to write portable programs.
c. A program that simulates a real CPU running compiled Java code.
d. A program that translates Java code into machine instructions.

16. What is the term used to refer to Java code that runs in a browser?
a. applet
b. script
c. html
d. class
Ma
17. What term is used to refer to languages that allow programmers to describe tasks at a higher conceptual level than
machine code?
a. virtual
b. high-level
c. sophisticated
fi
d. conceptual

18. What tool translates high-level instructions into low level machine code?
a. debugger
b. assembler
c. compiler
ad
d. linker

19. What tool translates Java source code into files that contain instructions for the Java Virtual Machine?
a. linker
b. compiler
c. assembler
oc
d. interpreter

20. Which statement is true about running a Java program on a different CPU?
a. You need different Java source code for each CPU.
b. You can take code that has been generated by the Java compiler and run it on different CPUs.
c. You need to compile the Java program for each CPU.
s
d. You cannot run the program on a different CPU because Java, being a high-level programming language, is
machine dependent.

21. When was Java officially introduced?
a. 1991
b. 1995
c. 2000
d. 2005

22. Which statement best describes the portability characteristic of Java?
a. The same already-compiled Java programs will run on Windows, UNIX, Linux, or Macintosh operating
Powered by Cognero Page 3


Mafiadocs

Información del documento

Subido en
29 de octubre de 2026
Número de páginas
737
Escrito en
2026/2027
Tipo
Examen
Contiene
Preguntas y respuestas
$20.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
Testbanksmafia
4.3
(20)
Vendido
225
Seguidores
13
Artículos
607
Última venta
9 horas hace



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes