Automate answering questions on smartrevise.online
-
Updated
Dec 13, 2020 - Python
Automate answering questions on smartrevise.online
Pseudocode Styled Programming Language - for A Level Computer Science (9618) - written in Python
A small repo for code that I write for my A-level Geography coursework/non-examined assessment (NEA)
CIE A Level CS (9618) Pseudocode Interpreter
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).
CAIE Computer Science A-Level Paper 4 Solution Code
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”.
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.
Computer science A-level NEA
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".
Write a program to simulate a Fruit Machine that displays three symbols at random from Cherry 🍒, Bell 🔔, Lemon 🍋, Orange 🍊, Star ⭐, Skull 💀.
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.
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)
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.
CIE past paper URL generator.
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.
Add a description, image, and links to the alevel topic page so that developers can more easily learn about it.
To associate your repository with the alevel topic, visit your repo's landing page and select "manage topics."