College Board
2009 AP® Computer Science A Free-Response Questions
Coding and decoding is part of the work. Pupils and teachers use the released questions from 2009 to gather information on how topics show up on the AP Computer Science exam. The four questions range from the array data structure to...
College Board
2004 AP® Computer Science A Free-Response Questions
What is important from the instruction? Using the questions, pupils and teachers see how the AP® Computer Science exam addresses topics. Scholars realize the importance of the case studies from the course. The released questions range...
Khan Academy
Challenge: Moles in Holes
Move the moles to the holes in this simple coding exercise on using parameters in function calls. The task is broken down for you and the function that draws the mole is already provided. Your job is to add JavaScript code to call the...
Institute of Electrical and Electronics Engineers
Arduino Blink Challenge
Emerging engineers read about Arduino software and how it can be used. Then they follow a nine-step tutorial to connect an Arduino board to a computer and put it to work! The objective is to code a program that will cause an LED to...
Khan Academy
Challenge: Say Your Name
Practice creating and using functions in a simple JavaScript coding exercise. Move code inside the function definition and then add lines to call the simple function. Adding function parameters and return values are covered later in this...
Khan Academy
Challenge: Bouncy Ball
Create your own bouncing ball program with this guided activity. Java Script code that sends a ball down the screen is provided. The task is to fix the code to make it bounce up when it hits the bottom of the screen and then down again...
Khan Academy
Challenge: Your First Painting App
Ever wonder how those neat painting applications work? Completing this coding activity will give you some insight. First, starting with a simple function that draws a small circle as the mouse moves around the screen, adjust the function...
Khan Academy
Challenge: Flashy Flash Card
Create your own flash card in this JavaScript coding activity. Modify the given code so that the answer is revealed when the mouse is pressed. Provides good practice of conditional if-else statements.
Khan Academy
Challenge: Constellation Maker
Populate your own universe with constellations and stars. Modify the existing JavaScript code to use the push method of arrays, and mouseX and mouseY to draw a star based on the click and position of the mouse.
Khan Academy
Challenge: Picture Painter
Your young coding students will love the result of this programming activity and will be amazed at what they can make the computer do. Using objects and their properties, they will create a paint brush that will redraw an object across...
Khan Academy
Project: What's for Dinner?
This creative project may make your young programmers hungry as they practice their Java Script coding. The task is fairly open ended: add shapes using different shape functions, including the fill and stroke functions to add color and...
Curated OER
Challenge: Tasty Tomato
Take a big bite out of the red tomato by practicing your use of the variables mouseX and mouseY in a JavaScript coding task. The activity will guide you step-by-step and will help young coders understand how to draw objects based on the...
Khan Academy
Challenge: Recipe Card
Anyone hungry? Create a recipe object in this coding activity. Include a title, number of servings, and ingredients. All of this adds up to one delicious practice opportunity for your programming students who are just learning how to use...
Khan Academy
Challenge: Movie Reviews
Create an array of objects in a JavaScript coding practice activity. Movie titles and reviews for multiple movies are collected in an array of objects and then printed out with a looping construct.
Khan Academy
Challenge: Exploding Sun
Animating an object by moving it across a computer screen can be accomplished by drawing the object repetitively, each time adjusting some aspect of the drawing slightly. This activity is an easy introduction to animation in JavaScript,...
Google
Code for Equality
It's my belief that all learners should have equal access to computer science projects! Young computer scientists learn about variables, encapsulation, sequences, and objects in block-based coding. They create a collage by first...
College Board
Strategies for Teaching AP Computer Science
Implement strategies from the beginning to the end. A collection of strategies and lessons span from the first day of school to after the exam. Resources cover basic information such as computer ethics and top 10 tips to a lesson on how...
DiscoverE
Coding Without Computers
See what it feels like to be a robot. Scholars use programming vocabulary to program a human robot and test out their codes by acting them out. The code should result in stacking six cups into a pyramid.
Microsoft
Events and Event-Driven Programming
Make the lesson an event to remember. The first of nine installments in the Intro to CS with MakeCode series looks at events and event handlers in computer coding. Pupils learn about cause and effect from an offline lesson, then use...
Google
Wonder Woman
Training for battle is really a set of sequences, just like computer science. Scholars program a code that guides Diana from Wonder Woman through a path that avoids her enemies. They learn about how sequences play a role in computer...
Khan Academy
Challenge: Funny Face
A simple face can draw on the computer canvas using four lines of code each containing slightly different parameters to the ellipse function. Learners are guided through making changes to certain features such as making the mouth or eyes...
Khan Academy
Challenge: Simple Shapes!
Now practice drawing a rectangle, ellipse, circle, and line by writing your own JavaScript code. Don't know where to start? No problem, you will be guided through creating every line of code. Getting an error message? Again, no problem,...
TryEngineering
Arduino Blink Challenge
Who knew turning a light on and off could be so complicated? In the instructional activity, pupils use Arduino boards to learn about computer codes and programs. They program an Arduino to make a light turn on and off at certain time...
Google
Fashion and Design: Fashion Walk
Strut your stuff, just on a computer and not on a fashion runway. Scholars program a fashion show animation using block-based computer coding. They learn how to apply different code blocks in writing their programs.