• ¿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 2 fuera de 8 páginas
Examen

Codehs Final Exam Questions With Answers

Document preview thumbnail
Vista previa 2 fuera de 8 páginas

CODEHS final exam QUESTIONS WITH ANSWERS

Vista previa del contenido

CODEHS final exam QUESTIONS |\ |\ |\ |\




WITH ANSWERS |\




A store has 20 apples in its inventory. How can you store
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\



this information in a JavaScript variable? - CORRECT
|\ |\ |\ |\ |\ |\ |\ |\



ANSWERS ✔✔var numApples = 20; |\ |\ |\ |\




You want to read input from the user to know how many
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\



apples they would like to buy. Which statement should
|\ |\ |\ |\ |\ |\ |\ |\ |\



you use to read in a number from the user? - CORRECT
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\



ANSWERS ✔✔var applesToBuy = readInt("How many|\ |\ |\ |\ |\ |\



apples would you like? ");
|\ |\ |\ |\




In a graphics canvas, what are the coordinates of the
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\



bottom right corner of the window? - CORRECT ANSWERS
|\ |\ |\ |\ |\ |\ |\ |\ |\



✔✔getWidth(), getHeight() |\




You are splitting up all of your apples equally between 3
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\



people. Which statement below will calculate how many
|\ |\ |\ |\ |\ |\ |\ |\



apples will be left over? - CORRECT ANSWERS ✔✔var
|\ |\ |\ |\ |\ |\ |\ |\ |\



leftOver = numApples % 3; |\ |\ |\ |\




What are the coordinates of the center of the window? -
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\



CORRECT ANSWERS ✔✔getWidth() / 2, getHeight() / 2
|\ |\ |\ |\ |\ |\ |\

, Which of the following choices is a properly formed
|\ |\ |\ |\ |\ |\ |\ |\ |\



JavaScript variable name, meaning it is both legal in the
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\



JavaScript language and considered good style -
|\ |\ |\ |\ |\ |\ |\



CORRECT ANSWERS ✔✔userAge
|\ |\




Who/What is Karel? - CORRECT ANSWERS ✔✔Karel is a
|\ |\ |\ |\ |\ |\ |\ |\ |\



dog


What DOES NOT belong in the start function? - CORRECT
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\



ANSWERS ✔✔Function definition
|\ |\




Which of these is a valid Karel command? - CORRECT
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\



ANSWERS ✔✔move() |\




Which of these commands does Karel NOT know? -
|\ |\ |\ |\ |\ |\ |\ |\ |\



CORRECT ANSWERS ✔✔turnCircle();
|\ |\




What commands does Super Karel know that regular Karel
|\ |\ |\ |\ |\ |\ |\ |\



does not? - CORRECT ANSWERS ✔✔turnAround( ) and
|\ |\ |\ |\ |\ |\ |\ |\ |\



turnRight( ) |\




Abstraction is ... - CORRECT ANSWERS ✔✔All of the above
|\ |\ |\ |\ |\ |\ |\ |\ |\

Información del documento

Subido en
20 de marzo de 2026
Número de páginas
8
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas
$18.49

¿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.
EXAMSTUDYPLUG
4.5
(242)
Vendido
394
Seguidores
107
Artículos
21100
Última venta
4 días 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