• ¿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 402 páginas
Examen

Introduction to Java Programming and Data Structures: Comprehensive Version (12th Edition) by Daniel Liang – Test Bank – Practice Questions with Answers

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

Introduction to Java Programming and Data Structures: Comprehensive Version (12th Edition) by Daniel Liang – Test Bank – Practice Questions with AnswersThis document contains a comprehensive test bank for Introduction to Java Programming and Data Structures: Comprehensive Version (12th Edition) by Daniel Liang. It includes a wide range of practice questions with answers designed to assess understanding of Java programming fundamentals, object-oriented programming, and data structures. The material covers core programming concepts such as variables, data types, operators, control statements, methods, arrays, strings, and file input/output, followed by detailed exploration of object-oriented programming with classes, objects, inheritance, polymorphism, and interfaces. It also addresses exception handling, generics, collections, recursion, and algorithm development. Additional content covers fundamental data structures such as lists, stacks, queues, trees, heaps, and hash tables, along with sorting and searching techniques, providing broad coverage for Java programming and data-structures coursework.

Vista previa del contenido

TEST BANK FOR bg bg




INTRODUCTION TO J bg bg




AVA PROGRAMMINGbg




AND DATA STRUCTU
bg bg bg




RES COMPREHENSIV
bg




E VERSION, 12TH EDIT
bg bg bg




ION,Y.DANIEL LIANG bg bg bg

,Chapter 1 Introduction to Computers, Programs, and Java
bg bg bg bg bg bg bg




Section 1.2 What is a Computer?
bg bg bg bg bg



1. is the physical aspect of the computer that can be seen.
bg bg bg bg bg bg bg bg bg bg



a. Hardware
b. Software
c. Operating system bg



d. Application program bg



Key:a See the first paragraph in Section 1.2.
bg bg bg bg bg bg bg




#
Section 1.2.1 What is a Computer?
bg bg bg bg bg



2. is the brain of a computer. bg bg bg bg bg



a. Hardware
b. CPU
c. Memory
d. Disk
Key:b See the first paragraph in Section 1.2.1.
bg bg bg bg bg bg bg




#
3. The speed of the CPU may be measured in
bg bg . bg bg bg bg bg bg



a. megabytes
b. gigabytes
c. megahertz
d. gigahertz
Key:cd See the third paragraph in Section 1.2.1. 1 megahertz equals 1 million pulses per second and 1 gigahertz is 100
bg bg bg bg bg bg bg bg bg bg bg bg bg bg bg bg bg bg bg bg



0 megahertz.
bg




#
Section 1.2.2 Bits and Bytes
bg bg bg bg



4. Why do computers use zeros and ones?
bg bg bg bg bg bg



a. because combinations of zeros and ones can represent any numbers and characters.
bg bg bg bg bg bg bg bg bg bg bg



b. because digital devices have two stable states and it is natural to use one state for 0 and the other for 1.
bg bg bg bg bg bg bg bg bg bg bg bg bg bg bg bg bg bg bg bg bg



c. because binary numbers are simplest.
bg bg bg bg



d. because binary numbers are the bases upon which all other number systems are built.
bg bg bg bg bg bg bg bg bg bg bg bg bg bg



Key:b See the second paragraph in Section 1.2.2.
bg bg bg bg bg bg bg




#
5. One byte has bg bits. bg



a. 4
b. 8
c. 12
d. 16
Key:b See the thrid paragraph in Section 1.2.2.
bg bg bg bg bg bg bg




#
5. One gigabyte is approximately
bg bytes. bg bg



a. 1 million
bg



b. 10 million
bg



c. 1 billion
bg



d. 1 trillion
bg



Key:c See the fifth paragraph in Section 1.2.2.
bg bg bg bg bg bg bg

,#
Section 1.2.3 Memory bg bg



6. A program and its data must be moved into the computer's
bg bg bg bg bg bg bg bg bg bg before they can be executed by the CPU.
bg bg bg bg bg bg bg



a. memory
b. hard disk bg



c. CPU
d. CD-ROM
Key:a See the first paragraph in Section 1.2.3.
bg bg bg bg bg bg bg




#
Section 1.2.4 Storage Devices
bg bg bg



6. A computer's
bg bg is volatile; that is, any information stored in it is lost when the system's power is turned off.
bg bg bg bg bg bg bg bg bg bg bg bg bg bg bg bg bg



a. memory
b. hard disk bg



c. flash stick bg



d. CD-ROM
Key:a See the first paragraph in Section 1.2.4.
bg bg bg bg bg bg bg




#
6. Which of the following are storage devices?
bg bg bg bg bg bg



a. portable disk bg



b. hard disk bg



c. flash stick bg



d. CD-ROM
Key:abcd See the second paragraph in Section 1.2.4.
bg bg bg bg bg bg bg




#
Section 1.2.5 Input and Output Devices
bg bg bg bg bg



7. The specifies the number of pixels in horizontal and vertical dimensions of the display device. bg bg bg bg bg bg bg bg bg bg bg bg bg



a. screen resolution bg



b. pixel
c. dot pitch bg



d. monitor
Key:a See the third last paragraph in Section 1.2.5.
bg bg bg bg bg bg bg bg




#
Section 1.2.6 Communications Devices
bg bg bg



7. is a device to connect a computer to a local area network (LAN). bg bg bg bg bg bg bg bg bg bg bg bg



a. Regular modem bg



b. DSL
c. Cable modem bg



d. NIC
Key:d See the bullet items in Section 1.2.6.
bg bg bg bg bg bg bg




#
Section 1.3 Program Languages
bg bg bg



8. are instructions to the computer. bg bg bg bg



a. Hardware
b. Software
c. Programs
d. Keyboards
Key:bc See the Key Point in Section 1.3.
bg bg bg bg bg bg bg bg




#

© 2020 Pearson Education, Inc., Hoboken, NJ. All rights reserved. This material is protected under all copyright laws as they currently exist.
bg bg bg bg bg bg bg bg bg bg bg bg bg bg bg bg bg bg bg bg bg

, 9. Computer can execute the code in bg bg bg bg bg .
a. machine language bg



b. assembly language bg



c. high-level language bg



d. none of the above bg bg bg



Key:a See the first paragraph in Section 1.3.1.
bg bg bg bg bg bg bg




#
10. translates high-level language program into machine language program. bg bg bg bg bg bg bg



a. An assembler bg



b. A compiler bg



c. CPU
d. The operating system bg bg



Key:b See the first paragraph after Table 1.1 in Section 1.3.3.
bg bg bg bg bg bg bg bg bg bg




#
Section 1.4 Operating Systems bg bg bg



11. is an operating system. bg bg bg



a. Java
b. C++
c. Windows
d. Visual Basic bg



e. Ada
Key:c See the first paragraph in Section 1.4.
bg bg bg bg bg bg bg




#
12. is a program that runs on a computer to manage and control a computer's activities.
bg bg bg bg bg bg bg bg bg bg bg bg bg bg



a. Operating system bg



b. Java
c. Modem
d. Interpreter
e. Compiler
Key:a See the first paragraph in Section 1.4.
bg bg bg bg bg bg bg




#
Section 1.5 Java, World Wide Web, and Beyond
bg bg bg bg bg bg bg



14. Due to security reasons, Java
bg bg cannot run from a Web browser in the new version of Java.
bg bg bg bg bg bg bg bg bg bg bg bg bg



a. applications
b. applets
c. servlets
d. Micro Edition programs bg bg



Key:b See the last paragraph in Section 1.5.
bg bg bg bg bg bg bg




#
15. bg is not an object-oriented programming language.
bg bg bg bg bg



a. Java
b. C++
c. C
d. C#
e. Python
Key:c See Table 1.1 in Section 1.3.1.
bg bg bg bg bg bg




#
16. bg is interpreted.
bg




© 2020 Pearson Education, Inc., Hoboken, NJ. All rights reserved. This material is protected under all copyright laws as they currently exi
bg bg bg bg bg bg bg bg bg bg bg bg bg bg bg bg bg bg bg bg bg





st.

Libro relacionado
 image
Editorial: 2007 ISBN: 9780132237383 Edición: Desconocido

Información del documento

Subido en
2 de septiembre de 2026
Número de páginas
402
Escrito en
2026/2027
Tipo
Examen
Contiene
Preguntas y respuestas
$21.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.
SkillForge
3.6
(8)
Vendido
134
Seguidores
14
Artículos
1023
Última venta
1 mes 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