Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Examen

Absolute Java 6th Edition - Complete Solutions and Practice Guide by Walter Savitch

Puntuación
-
Vendido
-
Páginas
225
Grado
A+
Subido en
27-07-2025
Escrito en
2024/2025

Comprehensive study resource for Absolute Java 6th Edition by Walter Savitch, including multiple choice, true/false, short answer, and programming exercises with detailed answers from Chapters 1 to 6. Ideal for Java programming revision and exam preparation.

Mostrar más Leer menos
Institución
Absolute Java 6th Edition
Grado
Absolute Java 6th Edition

Vista previa del contenido

D?
VE
RO
PP
_A
IA
UV
ST

, Chapter 1 Getting Started 1




Chapter 1
ST
Getting Started
UV

◼ Multiple Choice
1) Java is an object-oriented programming language. An object-oriented language
(a) Uses structured programming.
IA
(b) Views a program as consisting of objects which communicate through interactions.
(c) Functionally breaks down problems into smaller, more manageable problems.
(d) All of the above.
_A
Answer: B

2) In Java, the equal sign is used as the ___________ operator.
(a) increment
PP
(b) decrement
(c) assignment
(d) negation
Answer: C
RO
3) In Java, source code is compiled into object code called ______________.
(a) Bit-code
(b) Class code
(c) Method code
VE
(d) Byte-code
Answer: D

4) The hardest kind of error to detect in a computer program is a:
D?
(a) Syntax error
(b) Run-time error
(c) Logic error
(d) All of the above
Answer: C


Copyright © 2016 Pearson Education, Inc., Hoboken NJ

, Chapter 1 Getting Started 2


5) Identify the invalid Java identifier.
(a) 1Week
(b) Week1
(c) amountDue
(d) amount_due
Answer: A
ST
6) What is the value of the variable amountDue?

double price = 2.50;
UV
double quantity = 5;

double amountDue = 0;

amountDue = price * quantity;
IA
(a) 12
(b) 12.25
_A
(c) 12.5
(d) 13
Answer: C

7) What is the value of 7.52e-5?
PP
(a) 752000.0
(b) 0.0000752
(c) 0.000752
(d) 0.00752
RO
Answer: B

8) What is the Java expression for 4a 2 + 2b * c?
(a) (4 * a) + (2 * b) * c
VE
(b) (4 * a * a) + ((2 * b) * c)
(c) ((4 * a * a) + (2 * b)) * c
(d) (4 + a * a) + ((2 + b) * c)
Answer: B
D?
9) What is the Java expression for 27xy?
(a) 27 + (x * y)
(b) 27 * (x + y)
(c) 27 * x * y
(d) 27x * y
Answer: C
Copyright © 2016 Pearson Education, Inc., Hoboken NJ

, Chapter 1 Getting Started 3


10) The value of the expression (int) 27.6 evaluates to:
(a) 28
(b) 27
(c) 26
(d) None of the above.
Answer: B
ST
11) Which operator is used to concatenate two strings?
(a) +
(b) –
UV
(c) *
(d) /
Answer: A

12) Which operator returns the remainder of integer division?
IA
(a) %
(b) /
(c) *
_A
(d) none of the above
Answer: A

13) What is the value of the variable c in the statements that follow?
PP
String phrase = "Make hay while the sun is shining.";

char c = phrase.charAt(10);
(a) w
RO
(b) h
(c) i
(d) None of the above
Answer: B
VE
14) The escape sequence the represents the new-line character is:
(a) \r
(b) \t
(c) \n
D?
(d) \\
Answer: C




Copyright © 2016 Pearson Education, Inc., Hoboken NJ

Escuela, estudio y materia

Institución
Absolute Java 6th Edition
Grado
Absolute Java 6th Edition

Información del documento

Subido en
27 de julio de 2025
Número de páginas
225
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

$20.49
Accede al documento completo:

¿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

Conoce al vendedor

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.
Libgen New York University College Of Nursing
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
417
Miembro desde
3 año
Número de seguidores
239
Documentos
1539
Última venta
1 semana hace
Libgen: Your Academic Repository for Solutions Manual & Test Banks

Welcome to Libgen – Your Proven Path to Academic Excellence! Looking for high-quality, reliable, and exam-ready study materials? You’re in the right place. Our shop specializes in original publisher content, including solutions manuals, test banks, and comprehensive study guides that are ideal for university and college students across various subjects. Our resources are designed to help you grasp complex topics faster, retain essential information, and excel in your exams with confidence. - Instantly downloadable PDFs - Trusted by thousands of students worldwide - Expert-curated content from original publishers across a range of subjects Whether you\'re prepping for finals, catching up on coursework, or looking for a more effective way to study—Libgen is your proven strategy for academic success. Recommend us to your peers and help them study smarter too. Start reaching your academic goals with Libgen today!

Lee mas Leer menos
4.1

36 reseñas

5
22
4
2
3
7
2
3
1
2

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