
CodeHS Practice Test
Updated October 2026Facts verified Oct 28, 2026 against 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
| Item | Detail | Source · Verified |
|---|---|---|
| Number of questions | 45 multiple-choice questions[1] | CodeHS · Oct 25, 2026 |
| Time limit | 90 minutes, one sitting[1] | CodeHS · Oct 25, 2026 |
| Passing score | 60% (Java: 50%)[2] | CodeHS · Oct 25, 2026 |
| Exam fee | Purchased voucher required per attempt; price by quote from CodeHS sales[2] | CodeHS · Oct 25, 2026 |
| Retake policy | Unlimited retakes; one voucher per attempt[2] | CodeHS · Oct 25, 2026 |
| Validity | Certificate expires after 10 years[2] | CodeHS · Oct 25, 2026 |
| Delivery | Online, at home or at school, with a teacher-issued voucher[1] | CodeHS · Oct 25, 2026 |
| Eligibility | No prerequisites; adults in the workforce may also test[2] | CodeHS · Oct 25, 2026 |
| Score release | Within 36 hours, counting school days[1] | CodeHS · Oct 25, 2026 |
What changed for CodeHS in 2026
- Oct 25, 2026: Eligibility changed to No prerequisites; adults in the workforce may also test (previously No prerequisites; adults may also test).[2]
- Oct 25, 2026: Exam fee changed to Purchased voucher required per attempt; price by quote from CodeHS sales (previously Purchased voucher per attempt; price by quote).[2]
- Oct 25, 2026: Passing score changed to 60% (Java: 50%) (previously 60% (Java Level 1: 50%)).[2]
- Oct 25, 2026: Retake policy changed to Unlimited retakes; one voucher per attempt (previously Unlimited retakes, one voucher per attempt).[2]
- Oct 25, 2026: Score release changed to Within 36 hours, counting school days (previously Within 36 hours on school days).[1]
- Oct 25, 2026: Validity changed to Certificate expires after 10 years (previously 10 years).[2]
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 area | Practice 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.
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?
- Maintaining appropriate distance in all personal and digital communications
- Refusing to help students outside of class hours
- Only communicating through official school channels about grades
- 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.
- B is wrong: Helping students outside class hours through approved routes is normal and does not cross a boundary.
- C is wrong: It shrinks boundaries down to grades and official channels. A teacher can talk about many topics and still keep boundaries, and can break them even on an official channel.
- D is wrong: It mixes up boundaries with how much of the curriculum gets taught.
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?
- Python 3
- Python 2
- Jython
- 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.
- B is wrong: Python 2 is an older version that is no longer supported. It also differs in details, for example print is a statement rather than a function.
- C is wrong: Jython is an implementation of Python that runs on the Java Virtual Machine. It is a way of running Python, not the version taught in an intro course.
- D is wrong: MicroPython is a slimmed-down Python for microcontrollers. Some hardware projects use it, but it is not a main teaching language.
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?
- Sharing client information with unauthorized parties without consent
- Discussing a case with a supervisor for consultation
- Documenting information in the secure client record
- 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.
- B is not a breach: Asking a supervisor for advice is an accepted, need-to-know use of information within the professional relationship.
- C is not a breach: A secure client record is exactly where confidential information is meant to be stored.
- D is not a breach: Reporting suspected abuse when the law requires it is a legal exception to confidentiality.
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.
- Do an untimed round in the matching practice set from the table above. Note every question you miss or guess.
- Go back to the related CodeHS course units and rework those topics. Write and run small programs instead of only rereading notes.
- Return to the set and retry the questions you missed until you can explain why each wrong option is wrong.
- 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.
- 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.


CodeHS FAQ
Sources & last verified
- 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.
- 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.
How this page was made: written with AI tools and published by Nathan Beja, founder of Practice Test Geeks, who is responsible for its content. Exam facts are checked against the official sources listed below. Not reviewed by a subject-matter expert. Editorial policy
Sources & references
Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy
- help.codehs.com — Eligibility, fees, passing score, retake policy, score validity, test delivery, exam format, score release, time limit · verified Oct 2026