CGI & PHP Enhance your site with CGi, PHP and ASP scripts

  Subscribe via RSS

  Follow @XavierMedia

Lecture 2 | Programming Paradigms (Stanford)

March 4th, 2010 by CGI & PHP.com


Lecture by Professor Jerry Cain for Programming Paradigms (CS107) in the Stanford University Computer Science department. In this lecture, Prof. Cain discusses C and C++ programming codes, as well as binary addition and subtraction. Programming Paradigms (CS107) introduces several programming languages, including C, Assembly, C++, Concurrent Programming, Scheme, and Python. The class aims to teach students how to write code for each of these individual languages and to understand the programming paradigms behind these languages. Complete Playlist for the Course: www.youtube.com CS 107 Course Website: www.CS107.stanford.edu Stanford University: www.stanford.edu Stanford University Channel on youtube: www.youtube.com

Popularity: 4% [?]


Subscribe to new posts from this blog
You may also be interested in...
Lecture 1 | Programming Paradigms (Stanford)
Lecture 2 | Programming Methodology (Stanford)
Lecture 1 | Programming Methodology (Stanford)
Lecture 3 | Programming Methodology (Stanford)
Lecture 3 | Programming Abstractions (Stanford)
Lecture 1 | Programming Abstractions (Stanford)

25 Responses to “Lecture 2 | Programming Paradigms (Stanford)”

  1. SuperU2tube Says:

    I think hexadecimal (0-255), say "character" and write "Char" for one language, "C" for another, UTF-16 for another, string for another, etc. That, sadly, s the nature of computer languages without earlier standards. But when I say car, I mean those things with 4 wheels that consume vast natural resources, and cause wars – but think that we cannot do without anymore – just like mobile phones that I have now not used for 6 years or so without the slightest problem !

  2. mfnickster Says:

    I had a math professor once who said, "if I make a mistake, just shout out, because I'm at that age where it's possible to think 2, say 4 and write 6!" :)

  3. mfnickster Says:

    How do you pronounce 'char', as in 'charcoal' or like 'care' as in 'character' ? I have worked with professional programmers who pronounced it all three ways. There is no authoritative rule for how to pronounce it.

  4. SuperU2tube Says:

    you DON'T PRONOUNCE IT (to make any sense) – you use the full word in speech i.e. "character".
    It is also perfectly OK to SAY one thing and WRITE another on the board (as in "example"/ "eg", "that is"/"i.e.", , "hash"/"#", "dollar"/"$"

  5. andrew8833 Says:

    If your working with PHP, PHP is very clever at working out the best data type for working out what the result is.

    But then with SQL you must decare that obviously lol.

  6. UnowMe00 Says:

    I guess "does it compile?" still scares beginners…

  7. pinochet222 Says:

    Wow.
    Ok, now find a video that is at least 50 minutes long and was uploaded in 2008!
    Just kidding… :)

  8. devo85x Says:

    I'm sure, here is a 1080p video that works fine (don't worry about watching it, just an example)

    watch?v=vK355fXaCv4

  9. pinochet222 Says:

    u sure? could be youtube's fault….

  10. devo85x Says:

    because that was the upload res.

  11. pinochet222 Says:

    why is 480p the highest resolution?

  12. chelvan2 Says:

    LOL, he forget the % representation of the short.. for printf, so do i, that's why programmers bring books with them or google the signs..

  13. chelvan2 Says:

    it will not if you are not major in computer science..

  14. ZxSkyLineKidxZ Says:

    this is very good. My major is Information Technology and I am currently in my 1st semester of college. I learned about binary numbers in Pre-Calc in College (base 2) its pretty cool working with these numbers and also hex values (characters) I'm not even up to this since C/C++ will be included in my 3rd semester lol

    some things you just have to learn from outside sources. Cool stuff. Great Video!

  15. shadows090 Says:

    He hasn't made anything here complicated, he's just explaining why things are the way they are from the beginning.

  16. bombbombtube Says:

    makes you wonder how much cents he is making everytime he said sense

  17. bombbombtube Says:

    how many little zeros does it take to fill a chark board lol

  18. ComeLeVent Says:

    what doesn't make sense is constantly asking whether something makes sense. argh…

  19. SuperU2tube Says:

    This lecturer makes really simple stuff really complicated. His description of 'binary' bits and bytes is entirely ludicrous. His pronunciation of 'char' as car (rather than character) is so laughable its sad!

    No wonder computer science graduates know so little these days !

  20. poseeley Says:

    Well of course he has to say something. He is teaching a class and has to make sure everyone is keeping up.

    This instructor is capable of speaking such high level tech speak that he could easily lose this 100 level class if he isn't careful.

  21. kmurphy00288 Says:

    "does that make sense to people"

  22. will48n Says:

    36:38 how about saying that it is a fixed point and has a lot of unused bits and not enough precision for small values, and that's why _floating_ point would be better.

  23. Akshaylive Says:

    The lecturer is good at it

  24. pacers721 Says:

    @Rexamallion cs106a and cs106b. this is cs107

  25. paultreselli Says:

    What's great about programming and mathematics is that it's concept based and you can learn ALOT by "doing." All these binary operations are very simple. Once you get it it's routine, all he's really trying to get across is the sizing of types so you don't end up truncating your data. It's funny cuz I go to a community college and this is parallel to a CPS 101 class.
    Binary operations is like entry point stuff you just HAVE to know.

Leave a Reply

Powered by WP Status.net plugin.

CommentLuv Enabled


Fantastic web hosting at cheap prices
© Copyright 1996-2010 Xavier Media®. All rights reserved.
Contact us | Support/help | Privacy Policy | About Xavier Media
The World According to Xavier | Powered by Yahoo! Answers