CODEHS Study Guide 2026
Everything you need to pass the CODEHS exam in one place: the exam format, every topic to study, real practice questions with explanations, flashcards, and full-length practice tests. Free, no sign-up needed.
📋 CODEHS Exam Format at a Glance
📚 CODEHS Topics to Study (69)
✍️ Sample CODEHS Questions & Answers
1. Which of the following best describes machine learning?
Machine learning is a subset of AI in which algorithms learn from data to improve performance on tasks without being explicitly programmed for each scenario.
2. What is the purpose of a README file in a shared code repository?
A README serves as the entry point for anyone viewing the repository, explaining what the project does and how to get started.
3. Which HTML element is used to create an ordered list?
The `` HTML element is used to create an ordered list, where each list item is numbered sequentially. This is ideal for presenting steps, rankings, or any sequence where the order of items is significant. Each individual item within the ordered list is defined using the `` (list item) tag.
4. A team member submits a pull request with unclear commit messages. What is the BEST response?
Requesting changes with constructive feedback helps the contributor improve while maintaining code quality and team communication norms.
5. What is a 'brute force' attack?
A brute force attack tries every possible combination of characters until the correct password or encryption key is found.
6. Which CodeHS tool allows a teacher to write custom coding exercises tailored to their local curriculum context?
The teacher dashboard includes a custom exercise builder where instructors can write their own coding prompts, test cases, and grading criteria.