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

Programming Logic and Design Chapter 9 Review AND Vocabulary Complete Answers

Puntuación
-
Vendido
-
Páginas
7
Grado
A+
Subido en
22-03-2025
Escrito en
2024/2025

Programming Logic and Design Chapter 9 Review AND Vocabulary Complete Answers

Institución
Programming Logic And Design
Grado
Programming Logic and Design









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

Escuela, estudio y materia

Institución
Programming Logic and Design
Grado
Programming Logic and Design

Información del documento

Subido en
22 de marzo de 2025
Número de páginas
7
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

Vista previa del contenido

Programming Logic and Design
Chapter 9 Review AND Vocabulary
Complete Answers

7. When you use a variable name in a method call, it______________as the variable
in the method header.

a. can have the same name

b. cannot have the same name

c. must have the same name

d. cannot have the same data type - ANSWER-a. can have the same name

8. Assume that you have written a method with the header void myMethod(num a,
string b). Which of the following is a correct method call?

a. myMethod(12)

b. myMethod(12, "Hello")

c. myMethod("Goodbye")

d. It is impossible to tell. - ANSWER-b. myMethod(12, "Hello")

9. Assume that you have written a method with the header num yourMethod(string
name, num code). The method's type is__________.

a. num

b. string

c. num and string

d. void - ANSWER-a. num

10. Assume that you have written a method with the header string myMethod(num
score, string grade). Also assume that you have declared a numeric variable named
test. Which of the following is a correct method call?

a. myMethod()

b. myMethod(test)

, c. myMethod(test, test)

d. myMethod(test, "A") - ANSWER-d. myMethod(test, "A")

11. The value used in a method's return statement must__________.

a. be numeric

b. be variable

c. match the data type used before the method name in the header

d. two of the above - ANSWER-c. match the data type used before the method name
in the header

12. When a method receives a copy of the value stored in an argument used in the
method call, it means the variable was____________. b

a. unnamed

b. passed by value

c. passed by reference

d. assigned its original value when it was declared - ANSWER-b. passed by value

13. A void method_______________.

a. contains no statements

b. requires no parameters

c. returns nothing

d. has no name - ANSWER-c. returns nothing

14. When an array is passed to a method, it is____________.

a. passed by reference

b. passed by value

c. unnamed in the method

d. unalterable in the method - ANSWER-a. passed by reference

15. When you overload a method, you write multiple methods with the
same_________________.

a. name
$14.99
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


Documento también disponible en un lote

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.
lectknancy Boston University
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
285
Miembro desde
2 año
Número de seguidores
28
Documentos
26010
Última venta
1 semana hace

3.6

57 reseñas

5
23
4
10
3
11
2
3
1
10

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