Library Lady

Computer Science Education Book List

Blog Title graphic with words Book List, the Library Lady log and decorative graphics

Looking to add to your collection? Here is a list of books about the computer science

Links in this post may be affiliate links. Purchases made using these links will not cost you more but may pay me an affiliate fee.

We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and related sites. Thank you for using my links

Computer Science Education Week is the perfect time to spark curiosity about how technology works and inspire future creators, problem-solvers, and innovators. Whether you’re introducing basic coding concepts to young learners or exploring big ideas like algorithms and artificial intelligence with teens, books are a wonderful way to make computer science approachable and fun. This booklist offers engaging titles for every grade level—plus quick activity prompts that connect reading to hands-on learning.

Primary (Pre-K — K)

 🧩 Activity: Have students “program” a friend or stuffed animal by giving step-by-step directions (e.g., “move forward two steps, turn left, pick up the block”). Emphasize sequence and debugging when directions go wrong!

 🏖️ Activity: Build simple “sandcastles” with blocks or cups. Ask students to describe their building process using words like repeat, if, and then. Introduce the idea of loops (repeating actions).

🔁 Activity: Create a “coding path” on the floor with arrows or tape. Children follow the arrows using commands like “forward,” “turn left,” and “turn right.”

🛠️ Activity: Provide recycled materials and invite students to design a simple invention. Discuss how trial and error — just like debugging in coding — helps us learn.

Elementary (Grades 1—5)

 🎢 Activity: Use LEGOs or paper tracks to build a “rollercoaster.” Write or draw a short algorithm describing the order of actions (build track → add car → test → adjust).

 💻 Activity: After reading, create a “code vocabulary wall” with new words from the book (algorithm, program, hardware). Students draw a matching picture or example.

 🎮 Activity: Let students remix an existing Scratch project or make a “library maze” game. Encourage them to plan their code on paper before building it digitally.

 🧪 Activity: Have students test a simple question like “Which paper airplane flies farthest?” Discuss how Ada’s curiosity connects to computational thinking — asking, testing, analyzing, and improving.

Middle (Grades 6—8)

 💬 Activity: Challenge students with logic puzzles or binary code riddles inspired by the story. They can also write secret “coded” messages using 0s and 1s.

 🤝 Activity: Start a mini coding club where students use Scratch or Hour of Code tutorials. Encourage teamwork like the book characters — each student can “own” one task in a group project.

 🐍 Activity: Write a simple Python program that prints favorite books or generates random reading suggestions. For offline practice, “trace” code with index cards labeled if, else, and print.

 🎲 Activity: Students code a digital dice roller or quiz game that asks questions about their favorite subjects — combining creativity and logic.

High School (Grades 9—12)

 📂 Activity: Encourage students to brainstorm everyday school tasks they could automate (e.g., renaming files, grading forms). Discuss how automation improves efficiency and ethics of its use.

 💡 Activity: Use Morse code or binary code to spell students’ names. Show how early communication systems evolved into modern computing.

 🌍 Activity: Facilitate a short debate: “Should algorithms make decisions for humans?” Students research real examples of algorithms in hiring, policing, or healthcare.

 📚 Activity: Ask students to apply an algorithmic principle (like “optimal stopping” or “sorting”) to a daily problem — choosing a college, managing time, or organizing notes — then share their reasoning.

From picture books that introduce sequencing and logic to thought-provoking reads on ethics and algorithms, these titles show that computer science is about much more than computers—it’s about creativity, curiosity, and critical thinking. Try pairing one of these stories with a simple unplugged activity or coding challenge to bring the ideas to life in your library. However you celebrate, you’ll be helping students see that anyone can think like a computer scientist!

I have not read these books, so please read them for yourself to make sure they are appropriate for your library.

Read more Bibliography and Book List posts.

Check out my lists on Benable

Did you enjoy this post? Be sure to click the like button to help others find it.

Want to help support this blog? You can leave a tip here. Or make any purchase on Amazon with my link.

Exit mobile version