An open API service providing repository metadata for many open source software ecosystems.

GitHub / CodingChallengesBooklet 10 Repositories

A collection of solutions to the OCR GCSE/A-level coding challenges booklet. Each solution is explained and in multiple languages!

CodingChallengesBooklet/Hack-proof

Create a program that will only open a text document if the correct password is entered. The user should choose the username and password first and it should also verify the password before allowing it.

Size: 6.84 KB - Last synced at: about 1 year ago - Pushed at: almost 3 years ago - Stars: 0 - Forks: 0

CodingChallengesBooklet/CreditCardValidator

Takes in a credit card number from a common credit card vendor (Visa, MasterCard, American Express, Discoverer) and validates it to make sure that it is a valid number (look into how credit cards use a checksum).

Language: Python - Size: 16.6 KB - Last synced at: about 1 year ago - Pushed at: almost 3 years ago - Stars: 1 - Forks: 0

CodingChallengesBooklet/CodeChallengeTemplate

A GitHub repository template for creating the code challenges. Includes, Issues templates, Topics, Code of Conduct, Contributing guidelies, and funding details. This is for easy set up of code challenges.

Size: 12.7 KB - Last synced at: about 1 year ago - Pushed at: almost 3 years ago - Stars: 0 - Forks: 0

CodingChallengesBooklet/FruitMachine

Write a program to simulate a Fruit Machine that displays three symbols at random from Cherry :cherries:, Bell :bell:, Lemon :lemon:, Orange :orange:, Star :star:, Skull :skull:.

Language: Python - Size: 18.6 KB - Last synced at: about 1 year ago - Pushed at: almost 3 years ago - Stars: 0 - Forks: 0

CodingChallengesBooklet/Thief

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.

Language: Python - Size: 17.6 KB - Last synced at: about 1 year ago - Pushed at: almost 3 years ago - Stars: 0 - Forks: 0

CodingChallengesBooklet/UnitConverter

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.

Language: Python - Size: 18.6 KB - Last synced at: about 1 year ago - Pushed at: almost 3 years ago - Stars: 0 - Forks: 0

CodingChallengesBooklet/SpeedTracker

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.

Language: Python - Size: 24.4 KB - Last synced at: about 1 year ago - Pushed at: almost 3 years ago - Stars: 0 - Forks: 0

CodingChallengesBooklet/FactorialFinder

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.

Language: Python - Size: 20.5 KB - Last synced at: about 1 year ago - Pushed at: almost 3 years ago - Stars: 0 - Forks: 2

CodingChallengesBooklet/Palindromes

Write a program that checks if a string entered by the user is a palindrome. A palindrome is a word that reads the same forwards as backwards like “racecar" or "hannah".

Language: Python - Size: 9.77 KB - Last synced at: about 1 year ago - Pushed at: almost 3 years ago - Stars: 0 - Forks: 0

CodingChallengesBooklet/Classification

A simple classification system asks a series of Yes/No questions in order to work out what type of animal is being looked at. Carry out some simple research on classification trees, then write a program to help the user decide between the following: horse, cow, sheep, pig, dog, cat, lion, tiger, whale, dolphin, seal, penguin, ostrich, sparrow, spider, ant, bee, wasp, termite, octopus, squid.

Size: 10.7 KB - Last synced at: about 1 year ago - Pushed at: almost 3 years ago - Stars: 0 - Forks: 0

CodingChallengesBooklet/.github

Repository README to show information on GitHub Organisation profile picture.

Size: 14.6 KB - Last synced at: about 1 year ago - Pushed at: almost 3 years ago - Stars: 0 - Forks: 0

CodingChallengesBooklet/CasearCipher

Implement a Caesar cipher, both encoding and decoding. The key is an integer from 1 to 25. This cipher rotates the letters of the alphabet (A to Z). The encoding replaces each letter with the 1st to 25th next letter in the alphabet (wrapping Z to A). So key 2 encrypts “HI” to “JK”, but key 20 encrypts “HI” to “BC”.

Language: Python - Size: 11.7 KB - Last synced at: about 1 year ago - Pushed at: almost 3 years ago - Stars: 0 - Forks: 0

CodingChallengesBooklet/Ordering

Create a program that allows entry of 10 numbers and then sorts them into ascending or descending order, based on user input. The user can input a word or string, and it arranges the string into alphabetical order. E.g. My Rabbit would be shown as “abbimty “. (Punctuation placement is not essential)

Language: Python - Size: 8.79 KB - Last synced at: 21 days ago - Pushed at: almost 3 years ago - Stars: 0 - Forks: 1