Welcome to the Scavenger Hunt! Complete tasks to get as many points as possible before Sunday, April 6th at 4pm. Unless specified, you can use whichever programming language you want. Once you have completed a task, check in with one of the Coding&&Community volunteers and we will keep track of the number of points you earned. You will need to be able to explain your code to prove that you wrote it yourself. Whoever scores the most points will win the Scavenger Hunt Award!
- Find the sum of the first 123,456 integers without code. For a bonus 10 points, write a program that does the calculation for you.
- Code a Celsius to Fahrenheit converter.
- Code a Fahrenheit to Celsius converter.
- Write a program that adds random numbers between 0 and 1 until their sum is greater than 1.
- Print “hello, world” in 4 different programming languages.
- Write a program to return a random number from 1 (inclusive) to 10 (inclusive).
- Write a program to return a random number from two user input values (both inclusive).
- Create a calculator with the four operations. Allow the user to input an expression, like “1+2” and print out the correct result.
- Write a program that thinks of a random number and allows the user to guess the number. If the actual number is lower than the guessed number, then the program outputs “lower.” If the actual number is higher than the guessed number, then the program outputs “higher.”
- Code a binary to decimal converter.
- Code a decimal to binary converter.
- Write a program to count the number of vowels in an input sentence.
- Write a program that returns the complement of an input color. Hardcoding earns 20 points. Using RGB values earns 50 points.
- Write a program that prints the numbers 1-100. If the number is divisible by 5, also print “fizz”. If the number is divisible by 3, also print “buzz”.
- Write a program to play rock, paper, scissors against the computer.
- Write a program to find the LCM of two input numbers.
- Program a mad libs generator. Create a story with some blank spaces, and each time it comes across a space, ask the user for a word of that part of speech. Print out the result.
- Write a program to calculate the factorial of a number.
- Write a program to sort an array of integers in ascending order using bubble sort.
- Write a program to sort an array of integers in ascending order using selection sort.
- Write a program to sort an array of integers in ascending order using merge sort.
- Write a program to output all the prime factors of a given input number.
- Write a program to find the millionth Fibonacci number. What is it?
- Write a program that prints the amount of days, hours, minutes, and seconds until the start of the 2028 Olympics.
- Given two lists of numbers, write a program that prints the numbers that are in both lists.
- Write a program that determines if a given date is closer to April Fools’ day (April 1st) or closer to the fall equinox (September 22nd).
- Write a program that takes in a string as input, and outputs the string reversed.
- Write a program to determine if an input string is a palindrome.
- Write a program that returns the hexadecimal representation of a number for inputs from 0-16.
- Neptune completes one orbit every 165 years (= 60,255 days). Write a program to determine on what day Neptune will complete its 13th orbit since January 1st, 1337 (Don’t worry about leap days).
- Write a program to remove duplicates from a list.
- In Formula 1 races, drivers are awarded points if they place in the top 10 (25 for 1st place, 18 for 2nd, 15, 12, 10, 8, 6, 4, 2 and 1 points for positions 3 through 10). Given a list of places, write a program to determine the number of points a driver has scored in a season.
- Write a program that prints the current weather.
- Write a program that prints the current weather in a location the user provides.
- Write a program that finds the Greatest Common Divisor of two numbers using the Euclidean Algorithm.
- Given three points, write a program that finds the area of the triangle defined by three points.
- Write a program that determines if a point is within a circle of known center and radius.
- Write a program that returns the hexadecimal representation of a number for inputs from 0-256.
- Build a basic web page in HTML. Include 3 images, 3 links, and 3 different kinds of text.
- Write a program that finds the determinant of a matrix.
- Write a program that multiplies two matrices together.
- Write a program that determines the number of unique words in a sentence.
- Write a simulation of Conway’s Game of Life using a fixed-size board.
- Write a program that determines whether a 3x3 grid is a valid sudoku solution (each column and row contains the numbers 1-3 exactly once).
- Write a program that prints out every valid sudoku solution for a 3x3 grid (each column and row contains the numbers 1-3 exactly once).