This organisation is a collection of solutions to the OCR GCSE/A-level Computer Science Coding Challenges Booklet. Each coding challenge in the booklet has it's own repoistory within this organisation. Each repository will include a README explaining the code challenge and the solution. Repositories may have multiple solutions stored in folders by the language used.
If you would like to search through the code challenges, I would recommend clicking on the repositories button next to "Overview" in the top row of button and using the search bar there. You can search using the name of the challenge, the difficulty Easy, Medium, Hard, the language such as Python, Rust, C, Java, or by searching for a key word to do with the challenge such as Recursion or Game.
Challenge | Repository | Languages | Difficulty | Description |
---|---|---|---|---|
Factorial Finder | Click Here | Python, Rust | Easy | The Factorial of a positive integer, n, is defined as the product of the sequence n, n-1, n-2, ...1 and the factorial of zero, 0, is defined as being 1. Solve this using both loops and recursion. |
Speed Tracker | Click Here | Python | Easy | Create a program that takes a time for a car going past a speed camera, the time going past the next one and the distance between them to calculate the average speed for the car in mph. The cameras are one mile apart. |
Thief | Click Here | Python | Easy | Design and write a program that displays all the possible combinations for any four numerical digits entered by the user. The program should avoid displaying the same combination more than once. |
Classification | Click Here | Python | Easy | A simple classification system asks a series of Yes/No questions in order to work out what type of animal is being looked at. |
Fruit Machine | Click Here | Python | Easy | Write a program to simulate a Fruit Machine that displays three symbols at random from Cherry 🍒, Bell 🔔, Lemon 🍋, Orange 🍊, Star ⭐, Skull 💀. |
Unit Converter | Click Here | Python | Easy | Converts various units between one another. The user enters the type of unit being entered, the type of unit they want to convert to and then the value. The program will then make the conversion . |