Programs made in Python, C and SQL for the CS50 course. My Portfolio
1. Filter
Takes in an input image and output image names and flags for different image manipulation operations. These include:
a. Grayscale: Setting RGB values to the average of their sums for each pixel.
b. Reflect: Swapping RGB values of pixels on diametrically opposite sides of the vertical central axis of reflection for each line.
c. Blur: Applying a square Gaussian blur operator on each pixel to smoothen it relative to neighbouring pixels.
d. Edge Detection: Using Sobel operators to calculate new RGB values for each pixel based on any horizontal or vertical boundaries.
2. Recover
Takes files as input. Reads input file and checks for jpeg files. If jpeg files found, it recovers the data and writes it into new files for each jpg header.
3. Plurality
Takes in command line arguments as candidate names. Then takes in number of votes and takes in the candidate name for each vote. Tallies each candidates votes, compares and prints out the candidate/s with the maximum vote.
4. Substitution
Takes in a case sensitive 26 character alphabetical encryption key as an arguments to process substitution encryption and produce a reversible ciphertext.
5. Readability
Gets text input from user and outputs the readability according to Coleman-Liau index equivalent to U.S Grade Level.
6. Speller
Takes in a dictionary file and text file. Stores the words from dictionary in a hash table. Compares each word in text with words in dictionary; if a match is not found it is added in the misspelled words array. Then returns all the misspelled words, total words and runtimes for each functions to test efficiency.
1. DNA
Takes in a dna sequence and a csv database of gene values. Counts each gene repeat value and checks the database for matches.
2. Houses
import.py: Takes a csv file as an input. Processes the entries in the file and saves it in a database under respective column.
roster.py: Takes in a housename as input and executes an SQL query that outputs the students in the house
3. Movies
SQL queries developed for the IMDB movie database.
1. Homepage
A basic, static About Me page developed in HTML, JS and CSS (also deployed at itsmubeen.web.app)