CS50: Week 1 , Fall 2012

My Experience (Till now)

CS50 is Harvard’s most famous course and the institutes first course to be featured in edX. There are literally no pre-requisites other than a computer and a working net connection.It’s specifically targets people who are new to the field of computer science. After completing Week0 , I am battling pset1 now , which is about generating half-pyramids, just like in mario.

.png)

But we’ve got to use hashes and the output will ask for pyramid height and it has to look something like this -

Height: 8
       ##
      ###
     ####
    #####
   ######
  #######
 ########
 #########

Even though it seems like a child’s play , believe me its not (Edit: For beginners), atleast not for beginners like me! , the main problem is/are the loops and nesting , and after that you also need to find a logic b/w the no. of spaces , sharps and new lines.

Dunno how am I supposed to solve it ?! ,but anyway I’ll keep on trying…thinking to pull off an all nighter now :P

BTW the lectures , shorts and sections are just superb ! They take programming to just another level.Trust me if you are interested in CS then you definitely need to check out this course , and if you complete it and submit all the psets on time , then you are also awarded a certificate , signed by David J. Malan , that too for free. ;)

PS:- There is one more problem in this pset , called “Greedy” in which we have to code a program which returns out minimum change for an amount of money, but more on that later, gotta code now ;P !

Comments