(CodeHS) Code High School Certifications Practice Test

▶

CodeHS Practice Test

Updated for October 2026
Home›CodeHS

High school students take CodeHS certification exams to show their skills in areas such as Python, Java, web design and cybersecurity, and adults in the workforce can take them too. This page explains the exam format and rules as CodeHS publishes them and matches each exam to our free practice sets. It also works through sample questions that we wrote ourselves. They are not taken from the real exam.

The CodeHS has 45 questions and takes about 1.5 hours[1] (CodeHS, verified Oct 25, 2026).

  • Each CodeHS certification exam contains 45 multiple-choice questions.[1]
  • CodeHS certification exams are timed at 90 minutes and must be completed in one sitting.[1]
  • The passing score on CodeHS certification exams is 60%, except for the Java exam, which has a 50% passing score.[2]
  • Each CodeHS certification exam attempt requires a purchased voucher, and pricing is available by contacting a CodeHS Customer Success Manager or sales@codehs.com.[2]
  • Students can retake a CodeHS certification exam as many times as needed, but each attempt requires a new voucher.[2]
  • A CodeHS certification certificate expires 10 years after it is earned.[2]
  • CodeHS certification exams are taken online, at home or at school, after the student receives a voucher code from their teacher.[1]
  • CodeHS certification exams have no specific prerequisites, and adults in the workforce may take any CodeHS certification.[2]
  • CodeHS certification exam results are shared within 36 hours of completing the exam on school days.[1]

Numbers in brackets link to the official sources listed under Sources & last verified. Dates that have passed are removed automatically.

CodeHS Exam at a Glance

ItemDetailSource · Verified
Number of questions45 multiple-choice questions[1]CodeHS · Oct 25, 2026
Time limit90 minutes, one sitting[1]CodeHS · Oct 25, 2026
Passing score60% (Java: 50%)[2]CodeHS · Oct 25, 2026
Exam feePurchased voucher required per attempt; price by quote from CodeHS sales[2]CodeHS · Oct 25, 2026
Retake policyUnlimited retakes; one voucher per attempt[2]CodeHS · Oct 25, 2026
ValidityCertificate expires after 10 years[2]CodeHS · Oct 25, 2026
DeliveryOnline, at home or at school, with a teacher-issued voucher[1]CodeHS · Oct 25, 2026
EligibilityNo prerequisites; adults in the workforce may also test[2]CodeHS · Oct 25, 2026
Score releaseWithin 36 hours, counting school days[1]CodeHS · Oct 25, 2026

What changed for CodeHS in 2026

What the CodeHS is and how it works

According to CodeHS, “Each exam is timed at 90 minutes and contains 45 multiple-choice questions.”[1]

CodeHS has a range of certification exams, and each one covers a single subject at a set level, such as Python, Java, web design or cybersecurity. Each exam lasts 90 minutes and has 45 multiple-choice questions. You must finish it in a single sitting. You take it online, at home or at school, with a voucher your teacher gives you. There are no specific prerequisites, so adults in the workforce can test as well as students.

To pass, you need 60% on every exam except Java, where the passing score is 50%. CodeHS shares results within 36 hours of finishing the exam, and only school days count toward that time. A test taken just before a weekend or holiday may therefore take longer to come back. You can retake an exam as many times as you need, but every attempt needs its own purchased voucher. CodeHS does not publish a list price. Schools get a quote from CodeHS sales. A certificate you earn expires after 10 years.

Some things vary by school: voucher pricing, which exams your school offers, and how your teacher schedules attempts. For anything not covered here, check the CodeHS Help Center articles on certification exam format and the certifications FAQ. Those are the official sources for the facts on this page.

CodeHS content outline and where to practise each area

The content areas below are copied from the official CodeHS content outline published by CodeHS. The right-hand column shows which of our practice sets covers it.

Official content areaPractice on this site
AI Level 1[1]CodeHS Artificial Intelligence and Machine...
Practise core AI and machine learning ideas such as training data, models, bias and how a system makes predictions.
Cybersecurity Level 1[1]CodeHS Cybersecurity and Ethical Hacking A...
Practise security basics such as passwords, authentication, types of malware, phishing and safe online habits.
Cybersecurity Level 2[1]CodeHS Cybersecurity and Ethical Hacking A...
Go further into network security, encryption, common attack methods and ethical hacking concepts.
Java Level 1[1]CodeHS Programming Language Accreditations
Practise Java syntax, data types, conditionals, loops, methods and basic classes and objects.
JavaScript Level 1[1]CodeHS Programming Language Accreditations
Practise JavaScript variables, functions, control flow, events and changing the content of a web page.
Python Level 1[1]CodeHS Programming Language Accreditations
Practise Python variables, conditionals, loops, functions and lists, and practise reading short code to predict what it prints.
Web Design Level 1[1]CodeHS Web Development Accreditations
Practise HTML structure, CSS styling, page layout and basic accessibility and design choices.
Web Development Level 1[1]CodeHS Web Development Accreditations
Practise using HTML, CSS and JavaScript together, including how pages are structured, styled and made interactive.

CodeHS Practice Test Questions

Prepare for the CodeHS - Code High School Certifications exam with our free practice test modules. Each quiz covers key topics to help you pass on your first try.

CodeHS Artificial Intelligence and Machine...
CodeHS Exam Questions covering Artificial Intelligence and Machine Learning Fundamentals. Master CodeHS Test concepts for certification prep.
CodeHS Assessment and Evaluation Methods
Free CodeHS Practice Test featuring Assessment and Evaluation Methods. Improve your CodeHS Exam score with mock test prep.
CodeHS Classroom Management Strategies
CodeHS Mock Exam on Classroom Management Strategies. CodeHS Study Guide questions to pass on your first try.
CodeHS Career and Technical Education Path...
CodeHS Test Prep for CodeHS Career and Technical Education Pathways. Practice CodeHS Quiz questions and boost your score.
CodeHS Computer Science Curriculum and Sta...
CodeHS Questions and Answers on CodeHS Computer Science Curriculum and Standards. Free CodeHS practice for exam readiness.
CodeHS Communication and Collaboration
CodeHS Mock Test covering Communication and Collaboration. Online CodeHS Test practice with instant feedback.
CodeHS Cybersecurity and Ethical Hacking A...
Free CodeHS Quiz on Cybersecurity and Ethical Hacking Accreditations. CodeHS Exam prep questions with detailed explanations.
CodeHS Data-Driven Decision Making
CodeHS Practice Questions for Data-Driven Decision Making. Build confidence for your CodeHS certification exam.
CodeHS Differentiated Instruction
CodeHS Test Online for Differentiated Instruction. Free practice with instant results and feedback.
CodeHS Educational Technology Integration
CodeHS Study Material on Educational Technology Integration. Prepare effectively with real exam-style questions.
CodeHS Professional Ethics in Education
Free CodeHS Test covering Professional Ethics in Education. Practice and track your CodeHS exam readiness.
CodeHS Programming Language Accreditations
CodeHS Exam Questions covering Programming Language Accreditations. Master CodeHS Test concepts for certification prep.
CodeHS Software Development and App Develo...
Free CodeHS Practice Test featuring Software Development and App Development Accreditations. Improve your CodeHS Exam score with mock test prep.
CodeHS Special Education Fundamentals
CodeHS Mock Exam on Special Education Fundamentals. CodeHS Study Guide questions to pass on your first try.
CodeHS Web Development Accreditations
CodeHS Test Prep for Web Development Accreditations. Practice CodeHS Quiz questions and boost your score.

Worked examples: how to reason through CodeHS questions

These are practice questions written for this site, not questions from the real exam. Each explanation shows why the right answer is right and why the others are wrong.

Example 1

Question: What does 'professional boundaries' mean in the context of a teacher-student relationship?

  1. Maintaining appropriate distance in all personal and digital communications
  2. Refusing to help students outside of class hours
  3. Only communicating through official school channels about grades
  4. Limiting instruction to exactly what is in the curriculum

Answer: A. Maintaining appropriate distance in all personal and digital communications

Explanation:

A is correct. Professional boundaries mean a teacher keeps an appropriate distance from students in every channel: in person, by email, in messages and on social media. The aim is to keep every interaction appropriate and transparent. It is not about holding back help.

Rule to remember: boundaries are about the nature of the relationship, not about how much help or content a student gets.

Example 2

Question: Which coding language is primarily taught in CodeHS's introductory Python curriculum?

  1. Python 3
  2. Python 2
  3. Jython
  4. MicroPython

Answer: A. Python 3

Explanation:

A, Python 3, is correct. CodeHS introductory Python courses teach Python 3. It is the actively maintained version of the language and the one new learners are expected to use.

Rule to remember: questions about modern introductory Python point to Python 3. Names like Jython or MicroPython describe implementations, not versions of the language.

Example 3

Question: Which action constitutes a breach of client confidentiality?

  1. Sharing client information with unauthorized parties without consent
  2. Discussing a case with a supervisor for consultation
  3. Documenting information in the secure client record
  4. Reporting suspected abuse as required by law

Answer: A. Sharing client information with unauthorized parties without consent

Explanation:

A is correct. Confidentiality is breached when client information reaches people who have no right to it and the client has not agreed.

Rule to remember: ask who received the information, and whether consent or legal authority covers that disclosure. The same reasoning applies to student records in a school.

How to use these practice tests

First, confirm with your teacher which CodeHS exam you are taking, because each subject has its own exam. Then read the official exam format and FAQ pages so you know about the 90-minute limit, the 45 questions and your passing score before test day.

  1. Do an untimed round in the matching practice set from the table above. Note every question you miss or guess.
  2. Go back to the related CodeHS course units and rework those topics. Write and run small programs instead of only rereading notes.
  3. Return to the set and retry the questions you missed until you can explain why each wrong option is wrong.
  4. Close to test day, take the practice test under timed conditions in a single sitting. This lets you practise the pace the real exam needs: 45 questions in 90 minutes.
  5. Before the real exam, check your device, your login and your voucher with your teacher.

If you do not pass, use your results to find your weakest topics. Then repeat the cycle and arrange a new voucher for the next attempt.

Start Practice Test

CodeHS FAQ

How many questions are on a CodeHS certification exam?

Each CodeHS certification exam has 45 multiple-choice questions and a time limit of 90 minutes. You must finish it in a single sitting, so you cannot pause and come back another day. Plan your pacing before you start, and leave a little time at the end to go back to any questions you were unsure about.

What score do I need to pass a CodeHS exam?

You need 60% to pass every CodeHS certification exam except Java, where the passing score is 50%. CodeHS gives these as percentages of the exam. It is better to aim at answering as many of the 45 questions correctly as you can than to aim at a specific raw count.

Can I retake a CodeHS certification exam if I fail?

Yes. CodeHS lets you retake an exam as many times as you need, but each attempt requires a purchased voucher. A retake therefore means getting a new voucher, usually through your teacher or school. Use your results to work on your weak topics before you try again, rather than retaking straight away.

How much does a CodeHS certification voucher cost?

CodeHS does not list a fixed price on its help pages. You need a purchased voucher for every attempt, and the price comes as a quote from CodeHS sales. A school or district usually arranges this. Ask your teacher whether your school has vouchers available before you plan an attempt.

How long does it take to get CodeHS exam results?

CodeHS shares results within 36 hours of finishing the exam, and only school days count toward that time. If you test just before a weekend or holiday, expect a longer wait in calendar days. If your results have not arrived after that time, ask your teacher to check.

Who can take a CodeHS certification exam, and how long does it last?

There are no specific prerequisites for CodeHS certification exams. Students can take them, and so can adults in the workforce. You take the exam online, at home or at school, with a voucher from your teacher. If you earn a credential, the certificate expires after 10 years.

Sources & last verified

  1. CodeHS — number of questions, time limit, delivery, score release (official source). “Each exam is timed at 90 minutes and contains 45 multiple-choice questions.” Verified Oct 28, 2026 · source checked Oct 22, 2026.
  2. CodeHS — passing score, exam fee, retake policy, validity (official source). “The passing score is 60% for all certification exams except Java, which has a 50% passing score.” Verified Oct 25, 2026 · source checked Oct 22, 2026.

How we verify: editorial & fact-checking policy. Report an error: contact us.

▶ Start Quiz