• ¿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 3 fuera de 17 páginas
Notas de lectura

Ap Csp Notes

Document preview thumbnail
Vista previa 3 fuera de 17 páginas

This document will help you pass your exams in APCSA also prep you for your ap exam! If you need hit me up! I will send you my codes and free everything! I made a final project about a dunkin menu and what you would like to order!

Vista previa del contenido

​ ​ ​ AP Computer Science Principles
​ ​ ​ ​ 2024-2025
​ ​ ​ Mr.Hirdt


Chapter 1...................................................................................................................................... 2



​ ​ ​ ​ ​

,​ ​ ​


​ ​ ​ ​ ​ Chapter 1
Pseudocode: A representation of code used to demonstrate the
implementation of an algorithm without actually coding it. This
often acts as a rough draft.

Note: This pseudocode should be clear to everyone regardless
of ability.

Abstraction: Hiding details . Being able to do something without
needing to know without all the fine specific details behind the
science.

Examples:
-​ Baking a cookie or cake and not needing to know about
the chemistry
-​ Driving a car and not needing to know how the car actually
functions
-​ Getting dressed and not thinking about every possible
combination

Note : Computer coding is Abstraction. Without Abstraction we
would need to know and speak binary in order to code a
computer. With abstraction I can learn a language like Python
and the computer can convert my Python to Binary so the
computer can understand.

Psuedocode Using the AP CSP Reference Sheet

Challenge #1 : Ask a user for two different numbers , then add
the numbers together and respond with the answer.

, None
DISPLAY ( Please enter a number )
num1 ← INPUT ()
DISPLAY ( Please enter another number )
num2 ← INPUT ()
ans ← num1 + num2
DISPLAY(ans)


Challenge #2 : Roll a dice , let the user know what number they rolled.


None
dice ← RANDOM (1,6)
DISPLAY(dice)


Challenge #3 : Roll two dice. Add the numbers on the dice up. Let the user know the total of
their roll.


None
dice1 ← RANDOM (1,6)
dice2 ← RANDOM (1,6)
ans ← dice1 +dice2
DISPLAY (ans)




Iterative Development Process (Cycle):

●​ Planning/Figuring out the Requirements
●​ Analyze and Design a Solution
●​ Implementation (Code)
●​ Testing (Run the Code)
●​ Review/Evaluate

●​ Pros
-​ Increased adaptability
-​ Cost Effective Method
-​ Allows for users to work in parallel
-​ Reduces project level risk
-​ Increase positive/reliability user feedback

●​ Cons
-​ Increases Risk of Scope Creep

Información del documento

Año escolar
3
Subido en
24 de noviembre de 2025
Número de páginas
17
Escrito en
2024/2025
Tipo
Notas de lectura
Profesor(es)
Mr.hirdt
Contiene
Todas las clases
$6.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

Vendido
1
Seguidores
0
Artículos
1
Última venta
1 año 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