/CS50X

exercises of Harvard CS50X - Introduction to Computer Science

Primary LanguageC

CS50X

exercises of Harvard CS50X - Introduction to Computer Science

#################################################################################

lecture 0 using analise b.sb3 file. You can download the Scratch Desktop App in your Computer, and donwload the "analise b.sb3" file and play in this simple game. You are a blue car and will win if avoid hit in the bicycles and fix the car a just a few times, every penality is on "penalide" variable, every time you fix the car you see "contador" variable incresed in one commands a: speed up d : speed down up: move forward down: move backward right: turn right left: turn left space bar: release the car and start the game

#################################################################################

lecture 1 using sandbox.cs50.io or ide.cs50.io Simple hello world in C, using hello.c file. Printing blocks in Mario Game, using mario.c file. Printing blocks2 in Mario Game, using mario2.c file. Giving change Greedy Algorithm (minimum of coins) in real life, using cash.c file. Check Credit Card Luhn's Algorithm (mod 10) using credit.c file.

##################################################################################

lecture 2 readability and Coleman-Liau index using readability.c file. Caesar’s cipher (key-> number positive) using caesar.c file. substitution cipher (key -> 26 alphabetic characters) using substitution.c file.

##################################################################################

lecture 3 plurality election using plurality.c file. Runoff election using runoff.c file.