https://pollev.com/slade You may also download the app to your phone. Use the "slade" poll id.
In 2022, the New Yorker ran the above cartoon. At first, I thought it referred to our exams.
The midterm will be Thursday October 9 at 7pm in DL 220. It will be a 2 hour hand written exam. No computers. No notes. No books. No kidding. Students registered with Student Accessbility Services will take the exam in room ML 211, across the street.
Here is a practice exam. (solutions). Practice UNIX script. (solutions). mt.py code for practice midterm
Here is a great resource to practice regular expressions https://regex101.com/ Also, see www.regular-expressions.info which has a tutorial as well as useful examples, including HTML tags, email addresss, IP addresses, dates, credit cards, and lots more.
Also, the paper Music and Computation, discussed below, is also in scope, up to but not including Music. There will be true/false questions about binary encodings of numbers, text, images, and sound. No questions about music.
Here is the document without the music section: Binary Encoding. Try this prompt with your favorite AI bot: Using the document found at https://zoo.cs.yale.edu/classes/cs200/lectures/BinaryEncoding.pdf please generate 20 sample true or false exam questions. Note: today the bots complain that they cannot load web files. Let me know if you find a way around this. In the mean time, I sent you 100 sample T/F questions on Friday and today!
Review session: Saturday, October 4, 10am - Noon. AKW (51 Prospect Street) Room 200, Sophia Dai. Review slides (without answers) Review slides (with answers)
I have decided not to include an object-oriented programming question in the first midterm. Also, the true/false questions regarding binary encoding are taken from the 200 questions generated by Gemini. I sent you 100 sample T/F questions on Friday and another 100 on Monday.
emojis = ["💖", "💘", "💝", "💞", "❣️", "✨"]
import qrcode
e = ''.join(emojis)
img = qrcode.make(e)
img.save("qremoji.png")
Review hw3.