Html Python Worksheet - Pig Dice GameQuick View
jellyhonk

Html Python Worksheet - Pig Dice Game

(0)
Pig Dice Game: Functions & Subprograms Worksheet Students will master functions, parameters, return values, scope and trace tables - all through building a complete two-player dice game. This interactive HTML worksheet turns programming theory into a hands on coding project. Students work through 6 progressive sections, earning points as they go: Functions & return - def, return, DRY principle Parameters vs arguments - passing data into functions Trace tables - step by step variable tracking Full interactive simulator - play Pig Dice against a friend Scope & debugging - local vs global variables, spotting common errors Write your own functions - display_scores() coding task Why this works: Zero setup - opens in any browser Self marking Questions, fill in blanks, and trace tables Built n dice simulator lets students see the code in action Examples and model answers - unlock after students write their own Dark/light mode toggle Perfect for: Cover lessons, homework, revision, or independent study. Students learn by doing - not just reading. File: Single HTML file - extract and open. No login necessary.
Python Basics - HTML WorksheetQuick View
jellyhonk

Python Basics - HTML Worksheet

(0)
Interactive Python Basics Worksheet | OCR J277 GCSE Computer Science Master fundamental Python concepts with this interactive HTML worksheet! Students learn through coding challenges, trace tables, and an XP leveling system. Resource Overview This self-contained HTML5 interactive worksheet is designed specifically for GCSE Computer Science (OCR J277) but is suitable for any introductory Python course (KS3 or KS4). It eliminates the need for external software or VLE logins—simply download the file and open it in any web browser. Key Features Gamified Learning: Includes a built-in XP (Experience Points) system. Students earn points for correct answers, unlocking ranks from “Novice Coder” to “Computer Science Guru.” Automatic Feedback: Features instant validation for multiple-choice questions, fill-in-the-blanks, and trace tables. WAGOLL Solutions: “What A Good One Looks Like” sections are locked until students attempt a challenge, providing model answers and marking schemes for self-assessment. Dark & Light Mode: A sleek, modern UI with a toggle to suit different classroom lighting environments or student preferences. Printable Progress Report: Students can enter their name and generate a professional PDF/Print results certificate that breaks down their score by topic—perfect for evidence of learning or homework submission. Curriculum Coverage The worksheet is divided into five logical sections: Print & Variables: Basic output and naming conventions. Input & Data Types: Handling user input and mastering Type Casting (int, float, str). Programming Constructs: Sequence, Selection (IF/ELIF/ELSE), and Iteration (FOR/WHILE loops). Subprograms: The difference between Procedures and Functions, including parameters and return values. Review & Results: A final summary and XP breakdown. Teacher Benefits No Setup Required: No Python installation needed to use the worksheet—ideal for schools with restricted software environments. Active Revision: Includes “blurt” prompts and reflection tasks based on active recall principles. Trace Table Practice: Provides digital trace tables to help students practice the logic required for Paper 2 exam questions. How to Use Download the .html file. Distribute it to students via your school VLE (Teams, Google Classroom, etc.) or a shared drive. Students open the file in their browser and work through at their own pace. At the end of the lesson, students click “Print / Save as PDF” to submit their results to you. File Format: Single HTML File (Self-contained CSS/JS) Target Age: 14-16 (GCSE) Subject: Computer Science / Information Technology
Paper 2 -  Algorithm WritingQuick View
jellyhonk

Paper 2 - Algorithm Writing

(0)
This standalone HTML Interactive Worksheet features the topics Iteration, file handling and functions - from real exam format Paper 2 questions. This Worksheet Covers Paper 2 always includes questions where students must write or complete algorithms. These carry 5 - 8 marks each and separate top grades from average ones. This worksheet is built around OCR exam question styles: Section 1 - Iteration: the Tickets algorithm (while loops + conditionals) Section 2 -File handling in OCR ERL (open, read Line, close) Section 3 - Functions with parameters (move Character) Section 4 - Exam technique: how to increase marks