Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 3 out of 17 pages
Class notes

AP CSP NOTES

Document preview thumbnail
Preview 3 out of 17 pages

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!

Content preview

​ ​ ​ 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

Document information

School year
3
Uploaded on
November 24, 2025
Number of pages
17
Written in
2024/2025
Type
Class notes
Professor(s)
Mr.hirdt
Contains
All classes
$6.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
1
Followers
0
Items
1
Last sold
8 months ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions