100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4.2 TrustPilot
logo-home
Examen

Absolute Java 6th Edition by Walter Savitch, Kenrick Mock

Puntuación
-
Vendido
-
Páginas
232
Grado
A
Subido en
14-02-2025
Escrito en
2024/2025

Absolute Java 6th Edition by Walter Savitch, Kenrick Mock

Institución
Grado











Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.

Escuela, estudio y materia

Grado

Información del documento

Subido en
14 de febrero de 2025
Número de páginas
232
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

Vista previa del contenido

COMPLETE TEST BANK
Absolute Java 6th Edition

by Walter Savitch, Kenrick Mock
C
on
fid
en
tia
l


LKJHGFD

, KJHGFDS
DF

Chapter 1 Getting Started 2

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
C
2) In Java, the equal sign is used as the operator.
(a) increment
on
(b) decrement
(c) assignment
(d) negation
Answer: C
fid
3) In Java, source code is compiled into object code called .
(a) Bit-code
(b) Class code
(c) Method code
(d) Byte-code
en
Answer: D

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

Answer: C
Copyright © 2016 Pearson Education, Inc., Hoboken NJ

,5) Identify the invalid Java identifier.
(a) 1Week
(b) Week1
(c) amount Due
(d) amount_due
Answer: A

6) What is the value of the variable amountDue?

double price = 2.50;

double quantity = 5;

double amountDue = 0;
C
amountDue = price * quantity;

(a) 12
on
(b) 12.25
(c) 12.5
(d) 13
Answer: C
fid
7) What is the value of 7.52e-5?
(a) 752000.0
(b) 0.0000752
(c) 0.000752
en
(d) 0.00752
Answer: B

8) What is the Java expression for 4a2 + 2b * c?
(a) (4 * a) + (2 * b) * c
tia
(b) (4 * a * a) + ((2 * b) * c)
(c) ((4 * a * a) + (2 * b)) * c
(d) (4 + a * a) + ((2 + b) * c)
Answer: B
l
9) What is the Java expression for 27xy?
(a) 27 + (x * y)
(b) 27 * (x + y)
(c) 27 * x * y
(d) 27x * y

, Chapter 1 Getting Started 4

10) The value of the expression (int) 27.6 evaluates to:
(a) 28
(b) 27
(c) 26
(d) None of the above.
Answer: B

11) Which operator is used to concatenate two strings?
(a) +
(b) –
(c) *
(d) /
C
Answer: A

12) Which operator returns the remainder of integer division?
(a) %
on
(b) /
(c) *
(d) none of the above
Answer: A
fid
13) What is the value of the variable c in the statements that follow?

String phrase = "Make hay while the sun is shining.";

char c = phrase.charAt(10);
en
(a) w
(b) h
(c) i
(d) None of the above
tia
Answer: B

14) The escape sequence the represents the new-line character is:
(a) \r
(b) \t
l
(c) \n
(d) \\
Answer: C




Answer: C
Copyright © 2016 Pearson Education, Inc., Hoboken NJ
$17.49
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Tanto en línea como en PDF
No estas atado a nada

Conoce al vendedor
Seller avatar
BOAZOWHITE

Conoce al vendedor

Seller avatar
BOAZOWHITE Devry University
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
0
Miembro desde
11 meses
Número de seguidores
0
Documentos
8
Última venta
-
PROF WHITE SCHOLARLY ASSISTANCE

Nursing Being my main profession line, My mission is to be your LIGHT in the dark. If you're worried or having trouble in nursing school. I really want my notes to be your guide! I know they have helped countless others get through and that's all I want for YOU! I have essential guides that are Almost A+ graded, I am a very friendly person

0.0

0 reseñas

5
0
4
0
3
0
2
0
1
0

Recientemente visto por ti

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