{"product_id":"ap-csp-pseudocode-reference-sheet","title":"AP CSP Pseudocode Reference Sheet (PDF)","description":"\u003cstyle\u003e\n.product__description,.product__description--full-width,.product__info-wrapper,.product__info-wrapper--full-width{max-width:100%!important;width:100%!important;padding:0 40px!important;position:static!important;top:auto!important}\n.product{grid-template-columns:1fr!important;display:block!important}\n.product__media-wrapper{display:none!important}\n#MainContent .product__info-wrapper{float:none!important;position:relative!important}\n\u003c\/style\u003e\u003cstyle\u003e\n#ap-csp-pseudocode-reference-sheet{all:initial!important;display:block!important;font-family:'Georgia',serif!important;color:#1a202c!important;-webkit-text-fill-color:#1a202c!important;box-sizing:border-box!important;max-width:860px!important;margin:0 auto!important;padding:0 8px!important}\n#ap-csp-pseudocode-reference-sheet *{box-sizing:border-box!important}\n#ap-csp-pseudocode-reference-sheet h1,#ap-csp-pseudocode-reference-sheet h2,#ap-csp-pseudocode-reference-sheet h3{color:#1a202c!important;-webkit-text-fill-color:#1a202c!important;font-family:'Georgia',serif!important;margin:0!important;padding:0!important;line-height:1.25!important}\n#ap-csp-pseudocode-reference-sheet p,#ap-csp-pseudocode-reference-sheet li,#ap-csp-pseudocode-reference-sheet span,#ap-csp-pseudocode-reference-sheet td{color:#2d3748!important;-webkit-text-fill-color:#2d3748!important;font-family:'Georgia',serif!important}\n#ap-csp-pseudocode-reference-sheet a:link,#ap-csp-pseudocode-reference-sheet a:visited{color:#2563eb!important;-webkit-text-fill-color:#2563eb!important}\n#ap-csp-pseudocode-reference-sheet .pd-hero{background:linear-gradient(135deg,#1e3a8a 0%,#2563eb 100%)!important;border-radius:12px!important;padding:36px 30px!important;margin-bottom:28px!important;text-align:center!important}\n#ap-csp-pseudocode-reference-sheet .pd-eyebrow{display:inline-block!important;background:rgba(255,255,255,.2)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:11px!important;font-weight:700!important;letter-spacing:2px!important;text-transform:uppercase!important;padding:4px 14px!important;border-radius:20px!important;margin-bottom:14px!important;font-family:'Georgia',serif!important}\n#ap-csp-pseudocode-reference-sheet .pd-hero h1{color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:clamp(20px,3.5vw,28px)!important;margin-bottom:10px!important;line-height:1.2!important}\n#ap-csp-pseudocode-reference-sheet .pd-hero p{color:#e2e8f0!important;-webkit-text-fill-color:#e2e8f0!important;font-size:15px!important;max-width:580px!important;margin:0 auto!important;line-height:1.6!important}\n#ap-csp-pseudocode-reference-sheet .pd-stats{display:flex!important;flex-wrap:wrap!important;gap:12px!important;justify-content:center!important;margin-bottom:28px!important}\n#ap-csp-pseudocode-reference-sheet .pd-stat{background:#f7fafc!important;border:1px solid #e2e8f0!important;border-radius:8px!important;padding:14px 18px!important;text-align:center!important;flex:1!important;min-width:120px!important}\n#ap-csp-pseudocode-reference-sheet .pd-stat-num{font-size:24px!important;font-weight:700!important;color:#2563eb!important;-webkit-text-fill-color:#2563eb!important;display:block!important;line-height:1!important}\n#ap-csp-pseudocode-reference-sheet .pd-stat-lbl{font-size:11px!important;color:#718096!important;-webkit-text-fill-color:#718096!important;display:block!important;margin-top:4px!important;line-height:1.4!important}\n#ap-csp-pseudocode-reference-sheet .pd-section-title{font-size:18px!important;font-weight:700!important;color:#1a202c!important;-webkit-text-fill-color:#1a202c!important;margin:0 0 16px 0!important;padding-bottom:8px!important;border-bottom:3px solid #2563eb!important}\n#ap-csp-pseudocode-reference-sheet .pd-includes{margin-bottom:28px!important}\n#ap-csp-pseudocode-reference-sheet .pd-check-list{list-style:none!important;margin:0!important;padding:0!important}\n#ap-csp-pseudocode-reference-sheet .pd-check-list li{padding:8px 0!important;font-size:14px!important;color:#2d3748!important;-webkit-text-fill-color:#2d3748!important;display:flex!important;align-items:flex-start!important;gap:10px!important;line-height:1.5!important;border-bottom:1px solid #f0f4f8!important}\n#ap-csp-pseudocode-reference-sheet .pd-check-list li:last-child{border-bottom:none!important}\n#ap-csp-pseudocode-reference-sheet .pd-check{color:#2563eb!important;-webkit-text-fill-color:#2563eb!important;font-weight:700!important;flex-shrink:0!important;font-size:15px!important}\n#ap-csp-pseudocode-reference-sheet .pd-grid{display:grid!important;grid-template-columns:repeat(2,1fr)!important;gap:14px!important;margin-bottom:28px!important}\n#ap-csp-pseudocode-reference-sheet .pd-card{background:#f7fafc!important;border:1px solid #e2e8f0!important;border-radius:8px!important;padding:16px!important}\n#ap-csp-pseudocode-reference-sheet .pd-card h3{font-size:12px!important;font-weight:700!important;letter-spacing:1px!important;text-transform:uppercase!important;color:#2563eb!important;-webkit-text-fill-color:#2563eb!important;margin-bottom:6px!important}\n#ap-csp-pseudocode-reference-sheet .pd-card p{font-size:13px!important;color:#4a5568!important;-webkit-text-fill-color:#4a5568!important;line-height:1.6!important}\n#ap-csp-pseudocode-reference-sheet .pd-tip{background:#eff6ff!important;border-left:4px solid #2563eb!important;border-radius:0 8px 8px 0!important;padding:14px 18px!important;margin-bottom:24px!important;font-size:14px!important;color:#2d3748!important;-webkit-text-fill-color:#2d3748!important;line-height:1.6!important}\n#ap-csp-pseudocode-reference-sheet .pd-tip strong{color:#1a202c!important;-webkit-text-fill-color:#1a202c!important}\n#ap-csp-pseudocode-reference-sheet .pd-bundle{background:#f7fafc!important;border:1px solid #e2e8f0!important;border-radius:8px!important;padding:18px 20px!important;margin-bottom:24px!important}\n#ap-csp-pseudocode-reference-sheet .pd-bundle-title{font-size:13px!important;font-weight:700!important;color:#1a202c!important;-webkit-text-fill-color:#1a202c!important;margin-bottom:8px!important}\n#ap-csp-pseudocode-reference-sheet .pd-bundle-list{list-style:none!important;margin:0!important;padding:0!important}\n#ap-csp-pseudocode-reference-sheet .pd-bundle-list li{font-size:13px!important;color:#4a5568!important;-webkit-text-fill-color:#4a5568!important;padding:4px 0!important;display:flex!important;gap:8px!important}\n#ap-csp-pseudocode-reference-sheet .pd-guarantee{background:linear-gradient(135deg,#eff6ff 0%,#fff 100%)!important;border:2px solid #2563eb!important;border-radius:10px!important;padding:22px 24px!important;text-align:center!important;margin-bottom:20px!important}\n#ap-csp-pseudocode-reference-sheet .pd-guarantee h3{font-size:16px!important;color:#1a202c!important;-webkit-text-fill-color:#1a202c!important;margin-bottom:6px!important}\n#ap-csp-pseudocode-reference-sheet .pd-guarantee p{font-size:13px!important;color:#4a5568!important;-webkit-text-fill-color:#4a5568!important;line-height:1.6!important;max-width:520px!important;margin:0 auto!important}\n#ap-csp-pseudocode-reference-sheet .pd-fine{font-size:12px!important;color:#a0aec0!important;-webkit-text-fill-color:#a0aec0!important;text-align:center!important;margin-top:16px!important}\n\u003c\/style\u003e\u003cdiv id=\"ap-csp-pseudocode-reference-sheet\" style=\"display:block!important;max-width:860px!important;margin:0 auto!important\"\u003e\n\u003cdiv class=\"pd-hero\"\u003e\n  \u003cdiv class=\"pd-eyebrow\"\u003eAP CSP — Pseudocode Reference\u003c\/div\u003e\n  \u003ch1\u003ePseudocode Reference Sheet\u003c\/h1\u003e\n  \u003cp\u003eEvery AP pseudocode command on 2 pages. Variables, lists, loops, conditionals, procedures — with examples and the exact syntax College Board uses.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"pd-stats\"\u003e\n\u003cdiv class=\"pd-stat\"\u003e\n\u003cspan class=\"pd-stat-num\"\u003e2\u003c\/span\u003e\u003cspan class=\"pd-stat-lbl\"\u003ePages\u003c\/span\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"pd-stat\"\u003e\n\u003cspan class=\"pd-stat-num\"\u003e100%\u003c\/span\u003e\u003cspan class=\"pd-stat-lbl\"\u003eExam Syntax\u003c\/span\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"pd-stat\"\u003e\n\u003cspan class=\"pd-stat-num\"\u003ePDF\u003c\/span\u003e\u003cspan class=\"pd-stat-lbl\"\u003eInstant Download\u003c\/span\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"pd-includes\"\u003e\n\u003cp class=\"pd-section-title\"\u003eWhat's Included\u003c\/p\u003e\n\u003cul class=\"pd-check-list\"\u003e\n\u003cli\u003e\n\u003cspan class=\"pd-check\"\u003e✓\u003c\/span\u003e \u003cspan\u003eVariable assignment: \u003ccode\u003ex ← 5\u003c\/code\u003e syntax and all arithmetic operators (+, -, *, \/, MOD)\u003c\/span\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cspan class=\"pd-check\"\u003e✓\u003c\/span\u003e \u003cspan\u003eConditionals: IF \/ ELSE IF \/ ELSE syntax with Boolean operators (AND, OR, NOT)\u003c\/span\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cspan class=\"pd-check\"\u003e✓\u003c\/span\u003e \u003cspan\u003eLoops: REPEAT N TIMES and REPEAT UNTIL with examples\u003c\/span\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cspan class=\"pd-check\"\u003e✓\u003c\/span\u003e \u003cspan\u003eLists: creating, accessing by index (1-based), FOR EACH loop, LENGTH(), INSERT, APPEND, REMOVE\u003c\/span\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cspan class=\"pd-check\"\u003e✓\u003c\/span\u003e \u003cspan\u003eProcedures: PROCEDURE name(params) syntax, RETURN, calling procedures\u003c\/span\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cspan class=\"pd-check\"\u003e✓\u003c\/span\u003e \u003cspan\u003eRobot grid commands: MOVE_FORWARD, ROTATE_LEFT, ROTATE_RIGHT, CAN_MOVE\u003c\/span\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cspan class=\"pd-check\"\u003e✓\u003c\/span\u003e \u003cspan\u003eDisplay and input commands used in AP exam questions\u003c\/span\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"pd-tip\"\u003e\n\u003cstrong\u003eCritical reminder:\u003c\/strong\u003e AP CSP pseudocode lists are \u003cstrong\u003e1-indexed\u003c\/strong\u003e (first element = index 1, not 0). This is different from Java and Python. This distinction appears on multiple exam questions every year.\u003c\/div\u003e\n\u003cdiv class=\"pd-guarantee\"\u003e\n\u003ch3\u003e7-Day Money-Back Guarantee\u003c\/h3\u003e\n\u003cp\u003eNot satisfied? Email us within 7 days for a full refund.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cp class=\"pd-fine\"\u003ePDF delivered instantly after purchase. For personal study use only; not for resale.\u003c\/p\u003e\n\u003c\/div\u003e","brand":"APCSExamPrep","offers":[{"title":"Default Title","offer_id":48385369047255,"sku":null,"price":1.99,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0778\/8403\/1191\/files\/csp-pseudocode-ref.png?v=1773762061","url":"https:\/\/www.apcsexamprep.com\/products\/ap-csp-pseudocode-reference-sheet","provider":"AP CS Exam Prep","version":"1.0","type":"link"}