Please enable JavaScript to use CodeHS

CodeHop by CodeHS

California Computer Science: 4th Grade

This course belongs to the CodeHS Computer Science Standards for California Public Schools pathway. This course is designed to provide computer science instruction for California 4th grade students, and it is aligned to the Computer Science Standards for California Public Schools.

4th Grade
8 Units
37 Lessons

What Students Will Learn

See the full syllabus for all topics and activities, or explore the course to try it out.

UNITS - 8 (37 lessons)

  • Optional Review

    Students review foundational CS vocabulary, navigate the coordinate plane, and use drawing tools to prepare for the year's programming units.

  • Sequences & Events

    Students design and compare algorithms, collaborate through pair programming, and use broadcast messages to build event-driven programs like a band and a joke-telling sketch.

  • Loops

    Students use different loop types to build a simple game and debug maze programs by decomposing code.

  • Conditionals & Operators

    Students build maze and drawing-app programs using keyboard and mouse inputs, loops, and if/then conditionals to control program behavior.

  • Variables & Lists

    Students use variables, lists, and classes/objects with randomizers to track score and build games such as a spelling bee and a pong game.

  • Clones & Functions

    Students create animations and drawings using clones and functions with boolean and number inputs.

  • Culmination Projects

    Students apply lists, variables, operators, and conditionals to build capstone projects including an AI chatbot and a music player, and use design thinking to improve accessibility.

  • Digital Literacy

    Students explore digital literacy topics spanning technology history, online safety, computing systems, file management, source attribution, networking and data packets, data analysis, digital footprints, etiquette, cyberbullying, emerging technology, and effective AI prompting.

Lesson Previews

Explore a sample lesson from this course!

FAQ

Frequently Asked Questions

What's the entry point for a student who's never coded before?

There are no prerequisites. The course supports every learner, and an optional 4-lesson intro unit covers basic CS vocabulary before students start building programs.

Which coding tool does this course use?

CodeHop, a block-based language where students write, save, and debug programs directly in the platform.

What makes this course more advanced than earlier grades?

Students move into clones, functions with boolean and number inputs, classes and objects, and randomizers — concepts that go beyond the sequences and loops taught in K–3.

Is student understanding checked along the way?

Yes, through short two-question quizzes at the end of some units, available digitally, as a QuizBuzz activity, or on paper.

How big a role does digital citizenship play?

A substantial one — a 14-lesson unit covers online safety, digital footprints, cyberbullying, digital etiquette, and secure communication, alongside data and networks.