free diagnosticupgrade
  1. browse cram archives
  2. ap computer science principles
  3. AP CSP - Variables, Loops & Algorithms

ap csp - variables, loops & algorithms

originally streamed in 2021 with Marcy BoydTeacher
subscribe
Review AP Computer Science Principles concepts with this comprehensive study session covering variables, data types, loops, conditionals, and algorithms. Perfect for students preparing for the AP CSP exam who need to strengthen their understanding of ...more

covered in this stream

units
Unit 3 – Algorithms & Programming Fundamentals
topics
3.1 Variables and Assignments3.2 Data Abstraction3.3 Mathematical Expressions3.4 Strings3.5 Boolean Expressions3.6 Conditionals3.7 Nested Conditionals3.8 Iteration3.9 Developing Algorithms3.10 Lists3.11 Binary Search3.12 Calling Procedures3.13 Developing Procedures3.14 Libraries3.15 Random Values3.16 Simulations3.17 Algorithmic Efficiency3.18 Undecidable Problems

timestamps

  • 0:00

    Introduction and Setup

  • 0:50

    Waiting for Participants

  • 2:26

    Variables and Assignments

  • 4:00

    Data Types Overview

  • 6:09

    Assignment Code Segment

  • 7:44

    Data Abstraction Benefits

  • 10:20

    Lists and Indexes

  • 14:12

    Data Abstraction Code

  • 16:18

    Swapping Values

  • 19:24

    MOD Operator Poll

  • 21:12

    Math Expressions with MOD

  • 23:45

    Code Segment Execution

  • 26:57

    Strings and Concatenation

  • 30:36

    Boolean Expressions

  • 35:29

    Truth Values Review

  • 36:33

    Boolean Code Segment

  • 44:19

    Conditionals Introduction

  • 44:50

    Parking Garage Algorithm

  • 46:26

    If-Else Blocks

  • 48:01

    Nested Conditionals

  • 51:11

    Robot Iterations

  • 54:21

    Repeat Until Loops

  • 55:54

    Algorithms Overview

  • 58:13

    Nested Loops Sum

  • 59:50

    Lists and Elements

  • 1:02:25

    Even Numbers List

  • 1:04:02

    Binary Search Explanation

  • 1:07:10

    Binary Search Limitations

  • 1:08:10

    Calling Procedures

  • 1:10:56

    Developing Procedures

  • 1:13:00

    Procedural Abstraction

  • 1:14:39

    Library Procedures

  • 1:16:14

    Random Values Simulation

  • 1:19:35

    Simulations Benefits

  • 1:21:41

    Simulation Scenarios

  • 1:23:11

    Heuristic Techniques

  • 1:25:49

    Undecidable Problems

  • 1:27:23

    Vocabulary Kahoot

  • 1:28:30

    Upcoming Sessions

  • 1:29:31

    Closing Remarks

up next in ap computer science principles
AP Computer Science Principles - Q&A: Create Task & Exam

42:23

AP Computer Science Principles - Q&A: Create Task & Exam

2020 · Rachel Yuan

AP Computer Science Principles - Course Overview

43:00

AP Computer Science Principles - Course Overview

2020 · Kelly McNeil

more from Marcy Boyd
SAT - Q&A: Data Analysis & Statistical Reasoning

SAT - Q&A: Data Analysis & Statistical Reasoning

2021 · Marcy Boyd

ACT Math - Algebra, Geometry & Trigonometry

ACT Math - Algebra, Geometry & Trigonometry

2020 · Marcy Boyd

SAT Math - Algebra, Geometry & Functions Review

SAT Math - Algebra, Geometry & Functions Review

2020 · Marcy Boyd

Fiveable

Study Content & Tools

Study GuidesFRQs + AI ScoringAP Essay Grader for StudentsAI Grading for TeachersPractice QuestionsGlossaryScore Calculators

Company

What's New?PricingBulk DiscountsTestimonialsFAQsEmail us

Resources

AP Exam Schedule 2027AP Exam AccommodationsAP ClassesAP ClassroomEasiest AP ClassesHardest AP ClassesAP vs IBAP vs Dual EnrollmentAP vs Honors ClassesAP Scholar Awards

every AP exam is fiveable

history

🌎 ap world history🇺🇸 ap us history🇪🇺 ap european history

social science

✊🏿 ap african american studies🗳️ ap comparative government🚜 ap human geography💶 ap macroeconomics🤑 ap microeconomics🧠 ap psychology👩🏾‍⚖️ ap us government

english & capstone

✍🏽 ap english language📚 ap english literature🔍 ap research💬 ap seminar

arts

🎨 ap art & design🖼️ ap art history🎵 ap music theory

science

🧬 ap biology🧪 ap chemistry♻️ ap environmental science🎡 ap physics 1🧲 ap physics 2💡 ap physics c: e&m⚙️ ap physics c: mechanics

math & computer science

🧮 ap calculus ab♾️ ap calculus bc📐 ap precalculus📊 ap statistics💻 ap computer science a⌨️ ap computer science p

world languages

🇨🇳 ap chinese🇫🇷 ap french🇩🇪 ap german🇮🇹 ap italian🇯🇵 ap japanese🏛️ ap latin🇪🇸 ap spanish language💃🏽 ap spanish literature

career kickstart

💼 ap business with personal finance🔒 ap cybersecurity

go beyond AP

high school exams

✏️ PSAT🎓 Digital SAT🎒 ACT

honors classes

🍬 honors algebra II🫀 honors anatomy🐇 honors biology👩🏽‍🔬 honors chemistry💲 honors economics📐 honors geometry⚾️ honors physics📏 honors pre-calculus📊 honors statistics🗳️ honors us government🇺🇸 honors us history🌎 honors world history

college classes

👩🏽‍🎤 arts👔 business🎤 communications🏗️ engineering📓 humanities➗ math🧑🏽‍🔬 science💶 social science

hs classes

🏛️ alabama history⛰️ appalachian studies🌴 california history🌍 earth science🌐 ethnic studies🐊 florida history🍑 georgia history🌎 global studies🌺 hawaiian studies📰 journalism🪶 native american studies🌵 new mexico history🤠 oklahoma history⚗️ physical science🎙️ speech and debate🤝 texas government🤠 texas history🌲 washington state history🕊️ world religions

RefundsTermsPrivacyCCPAAI TransparencySchool Data Privacy

© 2026 Fiveable Inc. All rights reserved.

AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.

every AP exam is fiveable

Fiveable

Study Content & Tools

Study GuidesFRQs + AI ScoringAP Essay Grader for StudentsAI Grading for TeachersPractice QuestionsGlossaryScore Calculators

Company

What's New?PricingBulk DiscountsTestimonialsFAQsEmail us

Resources

AP Exam Schedule 2027AP Exam AccommodationsAP ClassesAP ClassroomEasiest AP ClassesHardest AP ClassesAP vs IBAP vs Dual EnrollmentAP vs Honors ClassesAP Scholar Awards

history

🌎 ap world history🇺🇸 ap us history🇪🇺 ap european history

social science

✊🏿 ap african american studies🗳️ ap comparative government🚜 ap human geography💶 ap macroeconomics🤑 ap microeconomics🧠 ap psychology👩🏾‍⚖️ ap us government

english & capstone

✍🏽 ap english language📚 ap english literature🔍 ap research💬 ap seminar

arts

🎨 ap art & design🖼️ ap art history🎵 ap music theory

science

🧬 ap biology🧪 ap chemistry♻️ ap environmental science🎡 ap physics 1🧲 ap physics 2💡 ap physics c: e&m⚙️ ap physics c: mechanics

math & computer science

🧮 ap calculus ab♾️ ap calculus bc📐 ap precalculus📊 ap statistics💻 ap computer science a⌨️ ap computer science p

world languages

🇨🇳 ap chinese🇫🇷 ap french🇩🇪 ap german🇮🇹 ap italian🇯🇵 ap japanese🏛️ ap latin🇪🇸 ap spanish language💃🏽 ap spanish literature

career kickstart

💼 ap business with personal finance🔒 ap cybersecurity

go beyond AP

high school exams

✏️ PSAT🎓 Digital SAT🎒 ACT

honors classes

🍬 honors algebra II🫀 honors anatomy🐇 honors biology👩🏽‍🔬 honors chemistry💲 honors economics📐 honors geometry⚾️ honors physics📏 honors pre-calculus📊 honors statistics🗳️ honors us government🇺🇸 honors us history🌎 honors world history

college classes

👩🏽‍🎤 arts👔 business🎤 communications🏗️ engineering📓 humanities➗ math🧑🏽‍🔬 science💶 social science

hs classes

🏛️ alabama history⛰️ appalachian studies🌴 california history🌍 earth science🌐 ethnic studies🐊 florida history🍑 georgia history🌎 global studies🌺 hawaiian studies📰 journalism🪶 native american studies🌵 new mexico history🤠 oklahoma history⚗️ physical science🎙️ speech and debate🤝 texas government🤠 texas history🌲 washington state history🕊️ world religions
RefundsTermsPrivacyCCPAAI TransparencySchool Data Privacy

© 2026 Fiveable Inc. All rights reserved.

AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.