• ¿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 7 páginas
Examen

AP Computer Science Exam with Verified Answers

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

The variable isOpen is to be used to indicate whether or not a store is currently open. Which of the following is the most appropriate data type for isOpen ? - boolean A teacher is writing a code segment that will use variables to represent a student's name and whether or not the student is currently absent. Which of the following variables are most appropriate for the code segment? - a string variable named StudentName and a boolean variable named isAbsent. r ← 1 s ← 2 t ← 3 r ← s s ← t DISPLAY (r) DISPLAY (s) - 2 3 start--1 end-- end

Vista previa del contenido

AP Computer Science Exam with
Verified Answers
The variable isOpen is to be used to indicate whether or not a store is currently open. Which of
the following is the most appropriate data type for isOpen ? - ✔✔boolean


A teacher is writing a code segment that will use variables to represent a student's name and
whether or not the student is currently absent. Which of the following variables are most
appropriate for the code segment? - ✔✔a string variable named StudentName and a boolean
variable named isAbsent.


r←1
s←2
t←3
r←s
s←t
DISPLAY (r)

DISPLAY (s) - ✔✔2 3


start<--1
end<-- end
current<-- 3
start<--current
Current<-- current+1
Display(start)

Display (current) - ✔✔3 4


Value of input1 Value of input2 Value of expression

, true true false
true false true
false true true

false false true - ✔✔(NOT input1) OR (NOT input2) and NOT (input1 AND input2)



Internet - ✔✔network of interconnected networks


Which of the following Boolean expressions are equivalent to the expression

? num ≥15 - ✔✔num > 15 OR num = 15 and NOT(num<15)



World Wide Web - ✔✔a system of linked pages, programs, and files, accessed via the internet



up down down down up down down down - ✔✔repeat 2 times

display up
repeat 3 times
display down


Which of the following best exemplifies the use of multifactor authentication to protect an
online banking system? - ✔✔After entering a password for an online bank account, a user must
also enter a code that is sent to the user's phone via text message.


A game is played by moving a game piece left or right along a horizontal game board. The board
consists of spaces of various colors, as shown. The circle represents the initial location of the
game piece. - ✔✔4


Which of the following best describes a direct benefit in using redundant routing on the
Internet? - ✔✔Redundancy often allows messages to be sent on the network even if some
network devices or connections have failed.

Información del documento

Subido en
5 de octubre de 2025
Número de páginas
7
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas
$8.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.
Vendido
12
Seguidores
0
Artículos
12760
Última venta
3 meses 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