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

AP Computer Science Principles Exam Questions with Correct Answers

Puntuación
-
Vendido
-
Páginas
15
Grado
A+
Subido en
29-10-2024
Escrito en
2024/2025

AP Computer Science Principles Exam Questions with Correct Answers Consider the following code segment, which uses the variables r, s, and t. r <-- 1 s <-- 2 t <-- 3 r <-- s s <-- t DISPLAY (r) DISPLAY (s) What is displayed as a result of running the code segment? (A) 1 1 (B) 1 2 ©EMILLECT 2024/2025 ACADEMIC YEAR. ALL RIGHTS RESERVED FIRST PUBLISH OCTOBER 2024 Page 2/15 (C) 2 3 (D) 3 2 - ANSWER-(C) Which of the following is a true statement about product documentation? (A) Program documentation should not be changed after it is first written. (B) Program documentation is only needed for programs in development; it is not needed after a program is completed. (C) Program documentation is useful when programmers collaborate but not when a programmer works individually on a project. (D) Program documentation is useful during initial program development and also when modifications are made to existing programs. - ANSWER-(D) Which of the following best explains what happens when a new device is connected to the Internet? (A) A device driver is assigned to the device. (B) An Internet Protocol (IP) address is assigned to the device. (C) A packet number is assigned to the device. (D) A Web site is assigned to the device. - ANSWER-(B) ©EMILLECT 2024/2025 ACADEMIC YEAR. ALL RIGHTS RESERVED FIRST PUBLISH OCTOBER 2024 Page 3/15 Consider the following code segment. j <-- 1 REPEAT UNTIL (<MISSING CONDITION>) (j <-- j + 2) Which of the following replacements for <MISSING CONDITION> will result in an infinite loop? (A) j = 6 (B) j ≥ 6 (C) j = 7 (D) j > 7 - ANSWER-(A) The algorithm below is used to simulate the results of flipping a coin 4 times. Consider the goal of determining whether the simulation resulted in an equal number of heads and tails. Step 1: Initialize the variables heads_counter and flip_counter to 0.

Mostrar más Leer menos
Institución
AP Computer Science
Grado
AP Computer Science









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

Escuela, estudio y materia

Institución
AP Computer Science
Grado
AP Computer Science

Información del documento

Subido en
29 de octubre de 2024
Número de páginas
15
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

Vista previa del contenido

©EMILLECT 2024/2025 ACADEMIC YEAR. ALL RIGHTS RESERVED

FIRST PUBLISH OCTOBER 2024




AP Computer Science Principles Exam

Questions with Correct Answers


Consider the following code segment, which uses the variables r, s, and t.


r <-- 1


s <-- 2


t <-- 3


r <-- s


s <-- t


DISPLAY (r)


DISPLAY (s)


What is displayed as a result of running the code segment?


(A) 1 1


(B) 1 2


Page 1/15

, ©EMILLECT 2024/2025 ACADEMIC YEAR. ALL RIGHTS RESERVED

FIRST PUBLISH OCTOBER 2024




(C) 2 3


(D) 3 2 - ANSWER✔✔-(C)


Which of the following is a true statement about product documentation?


(A) Program documentation should not be changed after it is first written.


(B) Program documentation is only needed for programs in development; it is not needed after a

program is completed.


(C) Program documentation is useful when programmers collaborate but not when a programmer works

individually on a project.


(D) Program documentation is useful during initial program development and also when modifications

are made to existing programs. - ANSWER✔✔-(D)


Which of the following best explains what happens when a new device is connected to the Internet?


(A) A device driver is assigned to the device.


(B) An Internet Protocol (IP) address is assigned to the device.


(C) A packet number is assigned to the device.


(D) A Web site is assigned to the device. - ANSWER✔✔-(B)




Page 2/15
$10.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


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.
Emillect West Virginia University
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
28
Miembro desde
1 año
Número de seguidores
2
Documentos
3004
Última venta
1 mes hace
GOLDEN ORCHIDS STORE.

On this page, you find all documents, package deals, and flashcards offered by seller Emillect.

3.0

4 reseñas

5
1
4
0
3
2
2
0
1
1

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