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

Test Bank for Absolute Java 6th Edition (Walter Savitch, 2015), Chapter 1-20 | All Chapters

Puntuación
-
Vendido
-
Páginas
384
Grado
A+
Subido en
02-09-2025
Escrito en
2025/2026

Test Bank for Absolute Java 6th Edition (Walter Savitch, 2015), Chapter 1-20 | All Chapters

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

Vista previa del contenido

Chapter #xc1 # x c 1
# x c Getting #xcStarted




Chapter 1
Getting Started


◼ Multiple Choice
1) Java is an object-oriented programming language. An object-oriented language
(a) Uses structured programming.
(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.
Answer: B

2) In Java, the equal sign is used as the operator.
(a) increment
(b) decrement
(c) assignment
(d) negation
Answer: C

3) In Java, source code is compiled into object code called .
(a) Bit-code
(b) Class code
(c) Method code
(d) Byte-code
Answer: D

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


Copyright # x c © # x c 2016 # x c Pearson # x c Education, # x c Inc., # x c Hoboken # x c NJ




TestBanksAdept

, Chapter #xc1 # x c 2
# x c Getting #xcStarted



5) Identify #xcthe #xcinvalid #xcJava #xcidentifier.
(a) 1Week
(b) Week1
(c) amountDue
(d) amount_due
#xc Answer: # x c A

6) What #xcis #xcthe #xcvalue #xcof #xcthe #xcvariable #xcamountDue?

double #xcprice #xc= #xc2.50;

#xc double #xcquantity #xc=

#xc 5; #xcdouble

amountDue #xc= #xc0;
#xc



amountDue #xc= #xcprice #xc* #xcquantity;

(a) 12
(b) 12.25
(c) 12.5
(d) 13
Answer: # x c C

7) What #xcis #xcthe #xcvalue #xcof #xc7.52e-5?
(a) 752000.0
(b) 0.0000752
(c) 0.000752
(d) 0.00752
Answer: # x c B

8) What #xcis #xcthe #xcJava #xcexpression #xcfor #xc4a2 #xc+ #xc2b #xc* #xcc?
(a) (4 #xc * #xca) #xc+ #xc(2 #xc* #xcb) #xc* #xcc
(b) (4 #xc * #xca #xc* #xca) #xc+ #xc((2 #xc * #xcb) #xc* #xcc)
(c) ((4 #xc* #xca #xc* #xca) #xc+ #xc(2 #xc* #xcb)) #xc* #xcc
(d) (4 #xc+ #xca #xc* #xca) #xc+ #xc((2
#xc + #xcb) #xc* #xcc) #xcAnswer:
# xc B

9) What #xcis #xcthe #xcJava #xcexpression #xcfor #xc27xy?
(a) 27 #xc+ #xc(x #xc* #xcy)
(b) 27 #xc* #xc(x #xc+ #xcy)
(c) 27 #xc* #xcx #xc * #xcy
(d) 27x #xc*



TestBanksAdept

, Chapter #xc1 # x c 3
# x c Getting #xcStarted
y
#xc


#xc Answer:
#xc C
Copyright # x c © # x c 2016 # x c Pearson # x c Education, # x c Inc., # x c Hoboken # x c NJ




TestBanksAdept

, Chapter #xc1 # x c 4
# x c Getting #xcStarted



10) The #xcvalue #xcof #xcthe #xcexpression #xc(int) #xc27.6 #xcevaluates #xcto:
(a) # x c 28
(b) # x c 27
(c) # x c 26
(d) # x c None #xcof #xcthe
above. #xcAnswer:
#xc # xc B

11) Which #xcoperator #xcis #xcused #xcto #xcconcatenate #xctwo #xcstrings?
(a) # x c +
(b) # x c –
(c) # x c *
(d) # x c /
#xc Answer:
#xc A

12) Which #xcoperator #xcreturns #xcthe #xcremainder #xcof #xcinteger #xcdivision?
(a) # x c %
(b) # x c /
(c) # x c *
(d) # x c none #xcof #xcthe
#xc above #xcAnswer: #xc A

13) What #xcis #xcthe #xcvalue #xcof #xcthe #xcvariable #xcc #xcin #xcthe #xcstatements #xcthat #xcfollow?

String #xcphrase #xc= #xc"Make #xchay #xcwhile #xcthe #xcsun #xcis #xcshining.";

char #xcc #xc= #xcphrase.charAt(10);
(a) # x c w
(b) # x c h
(c) # x c i
(d) # x c None #xcof #xcthe
above #xcAnswer: # x c B
#xc




14) The #xcescape #xcsequence #xcthe #xcrepresents #xcthe #xcnew-line #xccharacter #xcis:
(a) # x c \r
(b) # x c \t
(c) # x c \n
(d) # x c \\
#xc Answer:
#xc C




TestBanksAdept

Libro relacionado

Escuela, estudio y materia

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

Información del documento

Subido en
2 de septiembre de 2025
Número de páginas
384
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

$18.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.
TestBanksAdept Michigan State University
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
26
Miembro desde
1 año
Número de seguidores
0
Documentos
317
Última venta
1 día hace
TestBanksAdept Educational Center | Top-Rated Study Guides, Test Banks & Solution Manuals for Nursing, Accounting, Chemistry, Statistics, Biology & Other Subjects

Struggling with tough courses? TestBanksAdept has your back. Why waste time on ineffective study methods when you can rely on expertly crafted guides and solution manuals? Our resources are created by professionals to help you study smarter, retain more, and ace your exams. From Nursing and Accounting to Statistics and Chemistry, TestBanksAdept offers a wide selection of high-quality test banks and solution manuals — all available as instant PDF downloads from original publishers. Join thousands of students taking the smart route to academic success. Start scoring A+ results with TestBanksAdept. Know someone who needs better study tools? Share TestBanksAdept with your mates and help them succeed too.

Lee mas Leer menos
3.0

2 reseñas

5
0
4
1
3
0
2
1
1
0

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