Here's the list of the tasks I've made for the course.
Task: Implement a program that prints out a simple greeting to the user, per the below.
$ ./hello
hello, world
Task: Implement a program that prints out a half-pyramid of a specified height, per the below.
$ ./mario
Height: 5
##
###
####
#####
######
Task: Implement a program that prints out a double half-pyramid of a specified height, per the below.
$ ./mario
Height: 4
# #
## ##
### ###
#### ####
Task: Implement a program that calculates the minimum number of coins required to give a user change.
$ ./cash
Change owed: 0.41
4
Task: Implement a program that determines whether a provided credit card number is valid according to Luhn’s algorithm.
$ ./credit
Number: 378282246310005
AMEX
Task: Implement a program that encrypts messages using Caesar’s cipher, per the below.
$ ./caesar 13
plaintext: HELLO
ciphertext: URYYB
Task: Implement a program that encrypts messages using Vigenère cipher, per the below.
$ ./vigenere ABC
plaintext: HELLO
ciphertext: HFNLP
Task: Implement a program that cracks passwords, per the below.
$ ./crack 50fkUxYHbnXGw
rofl
Task:
- Learn to read sheet music.
- Learn to read code.
- Convert musical notes to frequencies.
- Synthesize songs.
Task: Answer some questions and then implement a program that reveals a hidden message in a BMP, per the below.
$ ./whodunit clue.bmp verdict.bmp
Task: Implement a program that resizes BMPs, per the below.
$ ./resize 4 small.bmp large.bmp
Task: Implement a program that resizes BMPs, per the below.
$ ./resize .25 large.bmp small.bmp
$ ./resize 4 small.bmp large.bmp
Task: Implement a program that recovers JPEGs from a forensic image, per the below.
$ ./recover
Usage: ./recover image
$ echo $?
1
$ ./recover card.raw
$ echo $?
0
Task: Implement a program that spell-checks a file, per the below.
$ ./speller texts/lalaland.txt
MISSPELLED WORDS
[...]
AHHHHHHHHHHHHHHHHHHHHHHHHHHHT
[...]
Shangri
[...]
fianc
[...]
Sebastian's
[...]
WORDS MISSPELLED:
WORDS IN DICTIONARY:
WORDS IN TEXT:
TIME IN load:
TIME IN check:
TIME IN size:
TIME IN unload:
TIME IN TOTAL:
Task: Implement the below exactly as specified but in Python
Task:
- Implement a program that compares two files for similarities.
- Implement a website that highlights similarities across files, a la the below.
Task:
- Implement a program that measures the edit distance between two strings.
- Implement a web app that depicts the costs of transforming one string into another.
Task: Implement a website via which users can "buy" and "sell" stocks.
Task: Implement a website that lets users search for articles atop a map.