CS 200 - Fall 2024. 10/30/2024


[Home]

Welcome to CS 200!

Video of the Day

Socratica Python videos:

Bit about Bytes: Understanding Python Bytecode See James BennettWriting more efficient Python code.

I hereby solicit suggestions for the video of the day. Please email me your ideas with explanations. Selected entries will win 5 homework points. If your video is played at the beginning of class, you must also briefly explain something about the video and something about yourself — in person.

Logical problem of the day

The average gait of a pedestrian in a given city can predict which of the following urban statistics: the number of libraries, the length of electrical conduit, or the number of patents filed in that city?

https://pollev.com/slade You may also download the app to your phone. Use the "slade" poll id.

Canvas Quiz of the Day (need daily password)

Most days, there will be a simple canvas quiz related to the lecture. You need a password to activate the quiz, which I will provide in class. These quizzes will count toward your class participation grade. The quiz is available only during class.

Click for today's quiz.

Lecture 17: Computer Architecture and Python Virtual Machine .

Announcements

  • If you have an upcoming performance or athletic event, I am happy to promote it during class. Just send me a note.

    Administrivia

  • I am available for lunch on Mondays at 1pm (not noon) at Franklin College Dining Hall.

  • I have office hours Wednesdays from 4-6 pm, on zoom, id 459 434 2854.

  • ULA office hours are found at in Ed Discussions.

    Midterm Exam II: Thursday November 7th, 7pm, ML 211

    The second midterm will similar to the first. You will have 2 hours. Here is a sample midterm exam. (solutions) There will also be a question on data structures.

    There will be a UNIX question, as in the first midterm. Here is a sample UNIX transcript (solutions) UNIX will cover through principle 3.

    Review session: Probably Sunday 6pm - depending on room availability. Check Ed Discussions.

    Python Virtual Machine

    PVM.html jupyter notebook - Python Virtual Machine and hw5. - PVM-lite

    The version of Python on the zoo is 3.10. That is the version used by this assignment and the autograder. There were some major changes to byte codes in version 3.11, and for that matter, in version 3.9. See dis.html and specify version 3.10.

  • bytecode.py
  • pvm.py
  • byterun github code repository
  • byterun - the code.

  • Recorded lecture 10/26/24 covered Iterators and Decorators:
  • Exceptions.html

    Getting to know UNIX

    UNIX Introduction Principle 3. - id
    [Home]