{"id":87752,"date":"2026-04-01T08:41:27","date_gmt":"2026-04-01T13:41:27","guid":{"rendered":"https:\/\/www.albert.io\/blog\/?p=87752"},"modified":"2026-05-12T02:39:14","modified_gmt":"2026-05-12T07:39:14","slug":"mathematical-expressions-ap-computer-science-principles-review","status":"publish","type":"post","link":"https:\/\/www.albert.io\/blog\/mathematical-expressions-ap-computer-science-principles-review\/","title":{"rendered":"Mathematical Expressions: AP Computer Science Principles Review"},"content":{"rendered":"<p>Every line of code that processes data \u2014 calculating a bill, filtering a list, checking a condition \u2014 relies on mathematical expressions. The AP Computer Science Principles exam tests expressions throughout: multiple-choice questions ask you to evaluate them, free-response questions ask you to write them, and code-tracing problems require you to track how values change through them. Master five operators, understand order of operations, and you&#8217;ll handle expression-based questions quickly and accurately.<\/p>\n<h2>Arithmetic Operators and Their Meaning in Programming<\/h2>\n<p>Programming languages support five core arithmetic operators. They look familiar from math class but have important behaviors in code:<\/p>\n<ul>\n<li><strong>Addition (+)<\/strong>: combines two values. <code>5 + 3<\/code> evaluates to <code>8<\/code>. In loops, you&#8217;re always adding the <em>current<\/em> value of a variable, not its original value.<\/li>\n<li><strong>Subtraction (\u2212)<\/strong>: finds the difference. Order matters: <code>10 \u2212 4<\/code> is <code>6<\/code>, but <code>4 \u2212 10<\/code> is <code>\u22126<\/code>. Watch for errors when subtraction appears mid-expression with other operators.<\/li>\n<li><strong>Multiplication (*)<\/strong>: in AP pseudocode, the asterisk represents multiplication. <code>6 * 4<\/code> evaluates to <code>24<\/code>. Don&#8217;t confuse it with the \u00d7 symbol from standard math notation.<\/li>\n<li><strong>Division (\/)<\/strong>: splits a quantity. The result depends on whether you&#8217;re dividing integers or floating-point numbers \u2014 covered below.<\/li>\n<li><strong>Modulo (MOD)<\/strong>: returns the remainder after division. <code>17 MOD 5<\/code> evaluates to <code>2<\/code> (because 17 \u00f7 5 = 3 remainder 2). MOD is the operator the AP exam uses most creatively \u2014 it appears in divisibility checks, cycle patterns, and data-processing algorithms.<\/li>\n<\/ul>\n<p>The exam tests these operators in context, not in isolation. You&#8217;ll calculate costs, check conditions, process data in loops, and trace how variable values evolve across lines of code.<\/p>\n<h2>Integer vs. Floating-Point Division and the MOD Operator<\/h2>\n<p>Division is where most students stumble. The result depends on the types of numbers involved:<\/p>\n<table>\n<thead>\n<tr>\n<th><strong>Division Type<\/strong><\/th>\n<th><strong>Example<\/strong><\/th>\n<th><strong>Result<\/strong><\/th>\n<th><strong>When to Use It<\/strong><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>Floating-point division<\/strong><\/td>\n<td><code>17 \/ 5<\/code><\/td>\n<td><code>3.4<\/code><\/td>\n<td>When you need the full decimal quotient \u2014 true division as in math class<\/td>\n<\/tr>\n<tr>\n<td><strong>Integer division<\/strong><\/td>\n<td><code>17 \/ 5<\/code> (both integers)<\/td>\n<td><code>3<\/code><\/td>\n<td>When you need only whole-number results. Truncates the decimal without rounding. Some languages use <code>\/\/<\/code> explicitly.<\/td>\n<\/tr>\n<tr>\n<td><strong>Modulo (MOD)<\/strong><\/td>\n<td><code>17 MOD 5<\/code><\/td>\n<td><code>2<\/code><\/td>\n<td>When you need the remainder. Together with integer division, these decompose any division completely: quotient = 3, remainder = 2.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Integer division is also called <strong>truncating division<\/strong> because it cuts off the decimal rather than rounding. <code>11 \/ 4<\/code> gives <code>2<\/code>, not <code>3<\/code>, even though 2.75 rounds to 3. This distinction catches students who expect rounding behavior.<\/p>\n<p>MOD has practical applications far beyond simple odd\/even checks:<\/p>\n<ul>\n<li><strong>Odd\/even check<\/strong>: <code>n MOD 2 = 0<\/code> \u2192 n is even; <code>n MOD 2 = 1<\/code> \u2192 n is odd<\/li>\n<li><strong>Divisibility check<\/strong>: <code>n MOD 3 = 0<\/code> \u2192 n is divisible by 3<\/li>\n<li><strong>Cycling through a range<\/strong>: <code>index MOD length<\/code> wraps an index back to 0 when it reaches the end of a list \u2014 the basis for circular patterns in loops<\/li>\n<li><strong>Extracting digits<\/strong>: <code>n MOD 10<\/code> extracts the ones digit of any integer<\/li>\n<\/ul>\n<p>Understanding MOD as a cycle-and-pattern tool \u2014 not just a remainder calculator \u2014 is what separates strong AP CSP students from those who can only compute it mechanically.<\/p>\n<h2>Order of Operations in Programming<\/h2>\n<p>When an expression contains multiple operators, programming languages evaluate them in a specific order \u2014 the same hierarchy as algebra, with one important clarification: equal-precedence operators evaluate left-to-right.<\/p>\n<table>\n<thead>\n<tr>\n<th><strong>Precedence (High \u2192 Low)<\/strong><\/th>\n<th><strong>Operators<\/strong><\/th>\n<th><strong>Rule<\/strong><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1 (highest)<\/td>\n<td>Parentheses <code>( )<\/code><\/td>\n<td>Evaluate innermost parentheses first<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>Exponents (rare on AP CSP)<\/td>\n<td>Evaluate before multiplication\/division if present<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td><code>*<\/code>, <code>\/<\/code>, <code>MOD<\/code><\/td>\n<td>Equal precedence \u2014 evaluate left-to-right<\/td>\n<\/tr>\n<tr>\n<td>4 (lowest)<\/td>\n<td><code>+<\/code>, <code>\u2212<\/code><\/td>\n<td>Equal precedence \u2014 evaluate left-to-right<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The left-to-right rule is critical and often overlooked. For <code>10 \/ 2 * 3<\/code>: division comes first (it&#8217;s leftmost among same-tier operators), giving <code>5 * 3 = 15<\/code>. If you incorrectly multiplied first, you&#8217;d get <code>10 \/ 6 \u2248 1.67<\/code> \u2014 a completely different answer.<\/p>\n<p>Practical rule: when writing expressions on the exam, use parentheses to make your intent explicit. <code>10 \/ (2 * 3)<\/code> and <code>(10 \/ 2) * 3<\/code> produce different results, and parentheses make both unambiguous.<\/p>\n<h2>Evaluating Expressions Step by Step Using AP Pseudocode Notation<\/h2>\n<p>AP pseudocode uses <code>+<\/code>, <code>\u2212<\/code>, <code>*<\/code>, <code>\/<\/code>, and <code>MOD<\/code> for operators; plain text for variable names; and <code>&larr;<\/code> (left arrow) for assignment. When you see <code>x &larr; expression<\/code>, evaluate the entire right side first, then assign the result to x.<\/p>\n<p><strong>Example 1 \u2014 Order of operations:<\/strong><\/p>\n<pre><code>x &larr; 10\ny &larr; 3\nresult &larr; x + y * 2<\/code><\/pre>\n<p>Step 1: Multiply first (higher precedence). <code>y * 2 = 3 * 2 = 6<\/code><br \/>\nStep 2: Add. <code>x + 6 = 10 + 6 = 16<\/code><br \/>\n<strong>result = 16<\/strong><\/p>\n<p><strong>Example 2 \u2014 Parentheses override:<\/strong><\/p>\n<pre><code>a &larr; 7\nb &larr; 4\nresult &larr; (a + b) * 2 - 5<\/code><\/pre>\n<p>Step 1: Parentheses first. <code>a + b = 11<\/code><br \/>\nStep 2: Multiply. <code>11 * 2 = 22<\/code><br \/>\nStep 3: Subtract. <code>22 - 5 = 17<\/code><br \/>\n<strong>result = 17<\/strong><\/p>\n<p><strong>Example 3 \u2014 MOD in context:<\/strong><\/p>\n<pre><code>num &larr; 23\nresult &larr; num MOD 5<\/code><\/pre>\n<p>Long division: 23 \u00f7 5 = 4 remainder 3. <strong>result = 3<\/strong><\/p>\n<p>For code-tracing questions where variables change across multiple lines or loop iterations, write down every variable&#8217;s current value after each step. Tracking mentally without writing is the most common source of tracing errors on the AP exam.<\/p>\n<h2>Common Exam Question Patterns<\/h2>\n<p>Mathematical expressions appear in five recognizable question types:<\/p>\n<ul>\n<li><strong>Direct evaluation:<\/strong> &#8220;What does this expression evaluate to?&#8221; Follow order of operations systematically. Watch for integer division and parentheses effects. Typical time: 30\u201345 seconds.<\/li>\n<li><strong>Expression construction:<\/strong> &#8220;Write an expression that checks if <code>n<\/code> is divisible by 3.&#8221; Translate the description into code, then verify with a test value. For divisibility: <code>n MOD 3 = 0<\/code>.<\/li>\n<li><strong>Code tracing with expressions:<\/strong> Track variable changes across a multi-line snippet. Write values explicitly after every line \u2014 right answers require zero mistakes across all steps.<\/li>\n<li><strong>Comparison of results:<\/strong> &#8220;Which expression gives a larger result?&#8221; Evaluate each option using order of operations. Tests precedence rules through concrete comparison.<\/li>\n<li><strong>Real-world applications:<\/strong> &#8220;A store packs 157 items into boxes of 12. How many full boxes?&#8221; \u2192 Integer division: <code>157 \/ 12 = 13<\/code>. &#8220;How many items remain?&#8221; \u2192 MOD: <code>157 MOD 12 = 1<\/code>. Context clues tell you whether to use quotient or remainder.<\/li>\n<\/ul>\n<h2>Test-Taking Strategies<\/h2>\n<p>Use <strong>PODMAS<\/strong> to remember operator precedence: <strong>P<\/strong>arentheses, <strong>O<\/strong>rder (exponents, rarely tested), <strong>D<\/strong>ivision\/<strong>M<\/strong>ultiplication\/<strong>M<\/strong>odulo (equal tier, left-to-right), <strong>A<\/strong>ddition\/<strong>S<\/strong>ubtraction (left-to-right). Mentally run through PODMAS before evaluating any complex expression to prevent ordering errors.<\/p>\n<p>Two more anchors: <strong>&#8220;MOD = remainder, always&#8221;<\/strong> \u2014 perform long division mentally, take the leftover, ignore the decimal. <strong>&#8220;Integer division truncates, never rounds&#8221;<\/strong> \u2014 <code>7 \/ 2 = 3<\/code> (not 3.5), <code>11 \/ 4 = 2<\/code> (not 3). Know both cold before test day.<\/p>\n<p><strong>Cross-topic connections:<\/strong><\/p>\n<ul>\n<li><strong>Topic 3.1 (Variables and Assignments):<\/strong> The right side of <code>x &larr; expression<\/code> evaluates completely before anything is stored. Mathematical expressions are what the right side usually contains.<\/li>\n<li><strong>Topic 3.5 (Conditional Statements):<\/strong> Conditions like <code>IF (x + 5) &gt; 10<\/code> evaluate the arithmetic first, then compare. Master expressions and conditionals become straightforward.<\/li>\n<li><strong>Topic 3.8 (Iteration\/Loops):<\/strong> Counter updates like <code>count &larr; count + 1<\/code> are expressions, and MOD creates cycle patterns that define many loop behaviors. Expect free-response questions combining all three topics.<\/li>\n<\/ul>\n<p><strong>Common question formats and how to handle them:<\/strong><\/p>\n<ul>\n<li><strong>Evaluate an expression:<\/strong> Apply PODMAS, evaluate left-to-right at each tier, write intermediate results.<\/li>\n<li><strong>Write an expression for a condition:<\/strong> Translate the description literally \u2014 &#8220;remainder when divided by 7&#8221; \u2192 <code>n MOD 7<\/code>. Test with one or two values to verify.<\/li>\n<li><strong>Trace code with an expression loop:<\/strong> Build a variable-tracking table. Update every column after every line. Never skip a step.<\/li>\n<\/ul>\n<p><strong>Mistakes that cost students points:<\/strong><\/p>\n<ul>\n<li><strong>Wrong order of operations:<\/strong> Evaluating <code>2 + 3 * 4<\/code> as <code>(2 + 3) * 4 = 20<\/code> instead of <code>2 + 12 = 14<\/code>. Fix: multiplication and division before addition and subtraction, always.<\/li>\n<li><strong>Confusing MOD with decimal division:<\/strong> Writing <code>17 MOD 5 = 3.4<\/code>. Fix: MOD gives the remainder, not the quotient. <code>17 MOD 5 = 2<\/code>.<\/li>\n<li><strong>Expecting rounding from integer division:<\/strong> Expecting <code>11 \/ 4 = 3<\/code> when the answer is <code>2<\/code>. Fix: integer division truncates toward zero, never rounds.<\/li>\n<li><strong>Left-to-right errors with same-tier operators:<\/strong> Evaluating <code>10 \/ 2 * 3<\/code> as <code>10 \/ 6<\/code>. Fix: same-precedence operators resolve strictly left-to-right \u2014 division happens first here because it appears first.<\/li>\n<\/ul>\n<p><strong>Test-day shortcuts:<\/strong> Write parentheses liberally when constructing expressions \u2014 they eliminate ambiguity at zero cost. Verify expressions by substituting simple test values (use n = 4 for even checks, n = 3 for odd checks). For code tracing, draw a two-column table (variable name | current value) and update it line by line.<\/p>\n<p><strong>Time management:<\/strong> Direct evaluation: 30\u201360 seconds. Expression construction: 60 seconds to think, 30 seconds to write. Code tracing (5-line snippet): 3\u20135 minutes \u2014 budget this honestly. If you&#8217;re stuck on a single expression after 90 seconds, mark it and return. Revisiting with fresh eyes often reveals the error immediately.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Every line of code that processes data \u2014 calculating a bill, filtering a list, checking a condition \u2014 relies on mathematical expressions. The AP&hellip;<\/p>\n","protected":false},"author":29,"featured_media":103767,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_lmt_disableupdate":"","_lmt_disable":"","albert_practice_url":"","albert_lit_section":"analysis","albert_lit_sort_order":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-87752","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"acf":{"post_id":null},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Mathematical Expressions: AP Computer Science Principles Review | Albert Blog &amp; Resources<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.albert.io\/blog\/mathematical-expressions-ap-computer-science-principles-review\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Mathematical Expressions: AP Computer Science Principles Review | Albert Blog &amp; Resources\" \/>\n<meta property=\"og:description\" content=\"Every line of code that processes data \u2014 calculating a bill, filtering a list, checking a condition \u2014 relies on mathematical expressions. The AP&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.albert.io\/blog\/mathematical-expressions-ap-computer-science-principles-review\/\" \/>\n<meta property=\"og:site_name\" content=\"Albert Blog &amp; Resources\" \/>\n<meta property=\"article:published_time\" content=\"2026-04-01T13:41:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-05-12T07:39:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.albert.io\/blog\/wp-content\/uploads\/2026\/04\/albert-cover-mathematical-expressions-ap-computer-science-principles-review-1776958546751.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Ashlee Skelton\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ashlee Skelton\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.albert.io\/blog\/mathematical-expressions-ap-computer-science-principles-review\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.albert.io\/blog\/mathematical-expressions-ap-computer-science-principles-review\/\"},\"author\":{\"name\":\"Ashlee Skelton\",\"@id\":\"https:\/\/www.albert.io\/blog\/#\/schema\/person\/506ad67ada2dee8cc701b9cd3f8959a6\"},\"headline\":\"Mathematical Expressions: AP Computer Science Principles Review\",\"datePublished\":\"2026-04-01T13:41:27+00:00\",\"dateModified\":\"2026-05-12T07:39:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.albert.io\/blog\/mathematical-expressions-ap-computer-science-principles-review\/\"},\"wordCount\":1165,\"image\":{\"@id\":\"https:\/\/www.albert.io\/blog\/mathematical-expressions-ap-computer-science-principles-review\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.albert.io\/blog\/wp-content\/uploads\/2026\/04\/albert-cover-mathematical-expressions-ap-computer-science-principles-review-1776958546751.png\",\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.albert.io\/blog\/mathematical-expressions-ap-computer-science-principles-review\/\",\"url\":\"https:\/\/www.albert.io\/blog\/mathematical-expressions-ap-computer-science-principles-review\/\",\"name\":\"Mathematical Expressions: AP Computer Science Principles Review | Albert Blog &amp; Resources\",\"isPartOf\":{\"@id\":\"https:\/\/www.albert.io\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.albert.io\/blog\/mathematical-expressions-ap-computer-science-principles-review\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.albert.io\/blog\/mathematical-expressions-ap-computer-science-principles-review\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.albert.io\/blog\/wp-content\/uploads\/2026\/04\/albert-cover-mathematical-expressions-ap-computer-science-principles-review-1776958546751.png\",\"datePublished\":\"2026-04-01T13:41:27+00:00\",\"dateModified\":\"2026-05-12T07:39:14+00:00\",\"author\":{\"@id\":\"https:\/\/www.albert.io\/blog\/#\/schema\/person\/506ad67ada2dee8cc701b9cd3f8959a6\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.albert.io\/blog\/mathematical-expressions-ap-computer-science-principles-review\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.albert.io\/blog\/mathematical-expressions-ap-computer-science-principles-review\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.albert.io\/blog\/mathematical-expressions-ap-computer-science-principles-review\/#primaryimage\",\"url\":\"https:\/\/www.albert.io\/blog\/wp-content\/uploads\/2026\/04\/albert-cover-mathematical-expressions-ap-computer-science-principles-review-1776958546751.png\",\"contentUrl\":\"https:\/\/www.albert.io\/blog\/wp-content\/uploads\/2026\/04\/albert-cover-mathematical-expressions-ap-computer-science-principles-review-1776958546751.png\",\"width\":1200,\"height\":630},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.albert.io\/blog\/mathematical-expressions-ap-computer-science-principles-review\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.albert.io\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mathematical Expressions: AP Computer Science Principles Review\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.albert.io\/blog\/#website\",\"url\":\"https:\/\/www.albert.io\/blog\/\",\"name\":\"Albert Blog &amp; Resources\",\"description\":\"Free resources and practice materials for students and teachers!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.albert.io\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.albert.io\/blog\/#\/schema\/person\/506ad67ada2dee8cc701b9cd3f8959a6\",\"name\":\"Ashlee Skelton\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.albert.io\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1d4630a9ee486ba30944d727ae651f8f4439cd122b15c0e6de10586d483844fa?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1d4630a9ee486ba30944d727ae651f8f4439cd122b15c0e6de10586d483844fa?s=96&d=mm&r=g\",\"caption\":\"Ashlee Skelton\"},\"url\":\"https:\/\/www.albert.io\/blog\/author\/ashleeatalbert\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Mathematical Expressions: AP Computer Science Principles Review | Albert Blog &amp; Resources","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.albert.io\/blog\/mathematical-expressions-ap-computer-science-principles-review\/","og_locale":"en_US","og_type":"article","og_title":"Mathematical Expressions: AP Computer Science Principles Review | Albert Blog &amp; Resources","og_description":"Every line of code that processes data \u2014 calculating a bill, filtering a list, checking a condition \u2014 relies on mathematical expressions. The AP&hellip;","og_url":"https:\/\/www.albert.io\/blog\/mathematical-expressions-ap-computer-science-principles-review\/","og_site_name":"Albert Blog &amp; Resources","article_published_time":"2026-04-01T13:41:27+00:00","article_modified_time":"2026-05-12T07:39:14+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.albert.io\/blog\/wp-content\/uploads\/2026\/04\/albert-cover-mathematical-expressions-ap-computer-science-principles-review-1776958546751.png","type":"image\/png"}],"author":"Ashlee Skelton","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Ashlee Skelton","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.albert.io\/blog\/mathematical-expressions-ap-computer-science-principles-review\/#article","isPartOf":{"@id":"https:\/\/www.albert.io\/blog\/mathematical-expressions-ap-computer-science-principles-review\/"},"author":{"name":"Ashlee Skelton","@id":"https:\/\/www.albert.io\/blog\/#\/schema\/person\/506ad67ada2dee8cc701b9cd3f8959a6"},"headline":"Mathematical Expressions: AP Computer Science Principles Review","datePublished":"2026-04-01T13:41:27+00:00","dateModified":"2026-05-12T07:39:14+00:00","mainEntityOfPage":{"@id":"https:\/\/www.albert.io\/blog\/mathematical-expressions-ap-computer-science-principles-review\/"},"wordCount":1165,"image":{"@id":"https:\/\/www.albert.io\/blog\/mathematical-expressions-ap-computer-science-principles-review\/#primaryimage"},"thumbnailUrl":"https:\/\/www.albert.io\/blog\/wp-content\/uploads\/2026\/04\/albert-cover-mathematical-expressions-ap-computer-science-principles-review-1776958546751.png","inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.albert.io\/blog\/mathematical-expressions-ap-computer-science-principles-review\/","url":"https:\/\/www.albert.io\/blog\/mathematical-expressions-ap-computer-science-principles-review\/","name":"Mathematical Expressions: AP Computer Science Principles Review | Albert Blog &amp; Resources","isPartOf":{"@id":"https:\/\/www.albert.io\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.albert.io\/blog\/mathematical-expressions-ap-computer-science-principles-review\/#primaryimage"},"image":{"@id":"https:\/\/www.albert.io\/blog\/mathematical-expressions-ap-computer-science-principles-review\/#primaryimage"},"thumbnailUrl":"https:\/\/www.albert.io\/blog\/wp-content\/uploads\/2026\/04\/albert-cover-mathematical-expressions-ap-computer-science-principles-review-1776958546751.png","datePublished":"2026-04-01T13:41:27+00:00","dateModified":"2026-05-12T07:39:14+00:00","author":{"@id":"https:\/\/www.albert.io\/blog\/#\/schema\/person\/506ad67ada2dee8cc701b9cd3f8959a6"},"breadcrumb":{"@id":"https:\/\/www.albert.io\/blog\/mathematical-expressions-ap-computer-science-principles-review\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.albert.io\/blog\/mathematical-expressions-ap-computer-science-principles-review\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.albert.io\/blog\/mathematical-expressions-ap-computer-science-principles-review\/#primaryimage","url":"https:\/\/www.albert.io\/blog\/wp-content\/uploads\/2026\/04\/albert-cover-mathematical-expressions-ap-computer-science-principles-review-1776958546751.png","contentUrl":"https:\/\/www.albert.io\/blog\/wp-content\/uploads\/2026\/04\/albert-cover-mathematical-expressions-ap-computer-science-principles-review-1776958546751.png","width":1200,"height":630},{"@type":"BreadcrumbList","@id":"https:\/\/www.albert.io\/blog\/mathematical-expressions-ap-computer-science-principles-review\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.albert.io\/blog\/"},{"@type":"ListItem","position":2,"name":"Mathematical Expressions: AP Computer Science Principles Review"}]},{"@type":"WebSite","@id":"https:\/\/www.albert.io\/blog\/#website","url":"https:\/\/www.albert.io\/blog\/","name":"Albert Blog &amp; Resources","description":"Free resources and practice materials for students and teachers!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.albert.io\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.albert.io\/blog\/#\/schema\/person\/506ad67ada2dee8cc701b9cd3f8959a6","name":"Ashlee Skelton","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.albert.io\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1d4630a9ee486ba30944d727ae651f8f4439cd122b15c0e6de10586d483844fa?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1d4630a9ee486ba30944d727ae651f8f4439cd122b15c0e6de10586d483844fa?s=96&d=mm&r=g","caption":"Ashlee Skelton"},"url":"https:\/\/www.albert.io\/blog\/author\/ashleeatalbert\/"}]}},"modified_by":"The Albert Team","_links":{"self":[{"href":"https:\/\/www.albert.io\/blog\/wp-json\/wp\/v2\/posts\/87752","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.albert.io\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.albert.io\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.albert.io\/blog\/wp-json\/wp\/v2\/users\/29"}],"replies":[{"embeddable":true,"href":"https:\/\/www.albert.io\/blog\/wp-json\/wp\/v2\/comments?post=87752"}],"version-history":[{"count":4,"href":"https:\/\/www.albert.io\/blog\/wp-json\/wp\/v2\/posts\/87752\/revisions"}],"predecessor-version":[{"id":105417,"href":"https:\/\/www.albert.io\/blog\/wp-json\/wp\/v2\/posts\/87752\/revisions\/105417"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.albert.io\/blog\/wp-json\/wp\/v2\/media\/103767"}],"wp:attachment":[{"href":"https:\/\/www.albert.io\/blog\/wp-json\/wp\/v2\/media?parent=87752"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.albert.io\/blog\/wp-json\/wp\/v2\/categories?post=87752"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.albert.io\/blog\/wp-json\/wp\/v2\/tags?post=87752"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}