Computer Programming (1)


administrivia

Web Page - http://www.cs.tau.ac.il/~efif/courses/ComputerProgramming


Hardware

components

Basic model


understanding computers


what can computers do well?


that's about it


computer numbers


human numbers


binary


terminology


why all these powers of 2?


other numbering systems


other numbering systems

Number: Radix: Number:

byte


word


inside the computer…


computer instructions


what kinds of numbers do computers work with?


what is a computer program?


machine language


computer languages

  • Assembly
  • Compiled languages
  • Interpreted languages
  • most languages were designed with one or the other mechanism in mind

    why more than one?


    meet different needs


    tradeoffs


    different approaches


    special features


    programming computers


    things we might want to do


    computer operations


    getting from operations to programs


    so what's with this driving thing?


    car controls


    car operations


    car operations continued


    and just a couple more


    (yawn) so what's yer point?


    lets go a little deeper into this analogy


    directions?


    interpreting directions


    but even these arent useful!


    stay in my lane


    details


    so where does C come in?


    doesnt that get boring?


    functions


    so (finally!) lets talk about C


    a simple example

    Simple Example - Power Point Show

    lectures top next
    Maintained by Efi Fogel. Last modified: October 29 2002.