CS 200 - Fall 2024. 11/20/2024


[Home]

Welcome to CS 200!

Video of the Day

Crypto! Mark Stamp.

  • Chapter 2, part 1, Information Security: Principles and Practice
  • Chapter 2, part 2, Crypto Basics --- Simple Substitution
  • Chapter 2, part 3, Crypto Basics --- double transposition, one-time pad
  • Chapter 2, part 4, Crypto Basics --- VENONA, codebook cipher, Zimmerman telegram
  • Chapter 2, part 5, Crypto Basics --- crypto history, ciphers of election of 1876
  • Chapter 2, part 6, Crypto Basics --- crypto history, Claude Shannon
  • Chapter 2, part 7, Crypto Basics --- taxonomy of cryptography, taxonomy of cryptanalysis

    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

    What does the following series represent? What is the next number?

    1994, 1998, 2000, 2006, 2016, 2022, ...

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

    Image of the Day

    Answers to hw7

    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 23: Cryptography.

    Announcements

  • The Percentage Project at Yale. (Ramya Reddy)

    We are working with The Percentage Project, which is an upcoming nonprofit organization and leader in data-driven advocacy with the goal of helping inform departments and students in the country about the status of diversity and inclusion in their CS and Engineering departments. It is similar to CRA's Data Buddies program but we focus more on student involvement, social advocacy, and collaboration across schools.

    This semester, the Percentage Project will be conducting a brief anonymous survey for students at Yale who are studying computer science and related fields, and we would love to have CPSC 200 and 201 students in the survey.

    The survey is completed with the following general survey link: https://bit.ly/ppyale24 . Additionally, any student who completes the survey has the opportunity to win free coffee/tea/boba of their choice.

  • Data Buddies
    The annual nationwide survey of CS departments (a.k.a. “Data Buddies”) is now live: https://cerp.co1.qualtrics.com/jfe/form/SV_e42au8zqmjbYvVI/?id=yale_cs

    This survey measures retention and persistence among CS students, including undergraduate majors, non-majors, and graduate students. It is the main tool that the department will be using to both gauge our educational efforts, and compare against peer CS departments.

    It is run externally by the Computing Research Association, which only provides aggregate data. At no point will we have access to individual answers or identities.

    We will be using the survey results to set and prioritize future department initiatives, so this is a great chance to have your voice heard. Please fill it out!

    Note: in other classes, students are given late day extensions as incentive to complete the survey. Here, that is like bringing coals to Newcastle. Just do the right thing. Your voice matters.

    If you fill out this survey, then you will also be given the opportunity to enter a raffle to win one of five hundred $25.00 Amazon gift cards!

  • 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.

  • Homework assignments: [Assignments]. hw6 and hw7 are available. For hw6, you can access the Hamlet example files:

  • hamlet.py
  • hamletf.py uses f strings

    Note that hw7 has two autograders: hw7a for questions 1-3 and hw7b for questions 4-6.

    Final Exam

    Wednesday December 18th, 9am. RTBA.

    Here is a practice final exam and practice final solutions.

    Here are the important concepts from Stamp:

    Plus concepts from hw7 including xor, base64, shell scripts.

    Shell scripts: I might ask you to write a shell script. You should know the for loop.

    The following topics were part of this course and are in scope for the final:

    If your grade on the final exam is higher than your lower midterm grade, it will replace that grade. The quality of mercy is not strained.

    Alas, we did not get to machine learning. See scikit learn aka, sklearn. Python module for machine learning. Machine learning jupyter notebook

    Cryptography

    Google to Replace the Padlock Icon in Chrome Version 117

    2024 CrowdStrike-related IT outages

    Cryptography notebook Chapter 2.

    See hw7hints.py You may need to install the module: wordsegment.

    pip install wordsegment
      

    Getting to know UNIX

    UNIX Introduction Principle 5. alias
    [Home]