CS 200 - Fall 2024. 10/23/2024


[Home]

Welcome to CS 200!

Video of the Day

Socratica Python videos:

Logical problem of the day

(From Car Talk) It is a little known fact, for the purposes of this puzzler, that potatoes are 99% water and only 1% potato. Or 1% dry matter, the stuff that makes a potato a potato.

So, imagine you were to take 100 pounds of potatoes and you set them out on your back porch to dry out. You leave them out in the sun. When you do this, they will start to dry out.

As they dry out, of course the water begins to evaporate. And after a while enough water has evaporated so that the potatoes are now 98% water.

If you were to weigh those potatoes at that moment, when they are 98% water, how much lighter would they be?

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 15: Data Structures .

Announcements

  • Qiskit Fall Fest, from Jeffrey Wei.
    The Yale Undergraduate Quantum Computing group is organizing the annual IBM Qiskit Fall Fest from October 25th to October 27th! Learn how to program on quantum computers, participate in a Yale-centric hackathon with cool prizes, network with industry professionals in quantum computing, and explore careers in the field. TL;DR: Prizes! Free food! Networking! No experience required! Jumpstart your entrance into quantum computing—we're excited to see you there.

    Flyer and Registration

  • Women and Gender Minorities in Computer Science at Yale
    My name is Madelyn and I am one of the co-presidents of Yale Women and Gender Minorities in CS (WGiCS) this year. WGiCS has a lot of resources and upcoming events aimed at helping our community navigate CS.

    I was wondering if you could send this link to your class: https://linktr.ee/wgicsyale to let your students know to join WGiCS's groupme and explore other potential resources.

    Thank you so much,
    Madelyn Mao

  • Technical Resume Workshop Office of Career Strategy, Monday October 28th, 3-4pm.

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

  • The Digital Ethics Center sponsors Director's Fellows research appointments, which pay $3,000 per semester. They collaborate with lots of departments and schools at Yale. The Director is Professor Luciano Floridi. He has his own chat bot: LuFlot, created by students who trained the LLM on Floridi's extensive writings.

  • Yale Information Society Project Free lunch. See "About | Mailing Lists" See ISP email today.

    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.

  • Homework assignments: [Assignments]. hw4 is available.

    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.

    Data Structures

    DataStructures.html (jupyter) Data Structures - hash tables

  • Iterators.html
  • Decorators.html
  • Exceptions.html

    Getting to know UNIX

    UNIX Introduction Principle 3.
    [Home]