-
Quiz #3 posted!
Quiz #3 has been posted to Canvas, and is due Tuesday, March 10th at midnight. It is open book, open notes, closed other humans, closed AI, closed SQL, closed Python, and timed at 60 minutes. Good luck!
-
Bulk import example code posted
From today’s (and Monday’s) class, the bulk import example code for: the 10am’ers the 2pm’ers
-
Assignments 4 and 5 posted!
Assignments #4 and #5 have been posted! They are both due Thursday March 12th at midnight. You can do them in either order, but be advised that procrastination is doubly important in this case! Start both of them early and often.
-
XP ca$h out
If you’d like to cash in your XP cards mid-semester, there will be one opportunity to do so: Wednesday’s class (2/25). To redeem these, your XP cash must be: Stapled together with a staple, using a stapler. Have your name clearly printed on the back of the bottom-most card in the stack. Have the sum…
-
Halloween query solutions posted
Here are my solutions to the Halloween activity.
-
Tuesday’s (tomorrow’s) office hours
I’m going to see a specialist tomorrow morning about my back pain, and so might be late to my office hours. I’ll get there as soon as I can!
-
All systems go!
Class will be in person, on campus, at the usual time tomorrow. Dress warm!
-
“the current date”
To get the current date in Python, the best tool is the datetime package. Here’s a demo: from datetime import date today = date.today() valentines_day = date(2026, 2, 14) if valentines_day < today: print("Valentine's Day already happened.") elif valentines_day > today: print(“Valentine’s Day is coming up!”) else: print(“Valentine’s Day is TODAY!!! (Hope you remembered!)”)
-
B&J console app posted
From class yesterday, here are: The 10am version of the console app The 2pm version of the console app The SQLite database itself
-
Not necessarily bullet-proof
For assignment #3, you don’t have to worry too much about things like “what if they enter an invalid formatted date?” “What if they type ‘bob‘ for the number of tickets to purchase?” Etc. You do need to make sure to properly handle these two errors, though: attempts to (1) an attempt to purchase a…
-
Answers to in-class B&J practice queries
Here are Stephen’s solutions to the practice Ben & Jerry’s queries from this week’s class.
-
Assignment #3 posted!
Assignment #3 has been posted, and is due next Wednesday at midnight. Happy Python coding!
-
B&J query solutions
The solutions to the B&J example SQL queries we did in class today.
-
Assignment #2 rubric
I’ve started grading the assignment #2’s, and if you’re interested in this level of detail, I’m using this rubric to assign points.
-
Quiz #2 posted!
Quiz #2 has been posted to Canvas, and is due this Friday by midnight. It is open-book, open-notes, closed-other-humans, closed-AI, and timed at 45 minutes. Good luck!
-
B&J schema handout
Here’s today’s handout if you had to miss class.
-
Runways and reservations
I got a good question about runways and reservations today, specifically about why I’m saying that a flight can only have one runway reserved at a time. Here’s my justification. Admittedly I’m making up stuff about runways here, since I’m not in the airline industry. But my idea was as follows: only one aircraft can…
-
.mode table
If you’d like your SQLite terminal to show tables in the “prettier” format I demo’d in class yesterday, type this command before running your select * from tablename command: sqlite> .mode table If you like the way this displays, and want it to permanently be that way for you, create a file in your home…
-
Assignment #2 posted!
Assignment #2 has been posted, and is due next Thursday. Happy flying!
-
Stephen’s assignment #1 solution posted
For your reference, here’s my own solution to assignment #1 (click on the figure to enlarge):
-
Campus open tomorrow; assignment #1 due tomorrow
They’ve just announced that UMW campus will be open as usual tomorrow (Monday, Feb. 2nd) and so as promised, assignment #1 will be due tomorrow by 5pm.
-
Office hours tweak next Tuesday
I have a short meeting at 10am next Tuesday (2/3), so office hours will be 10:30am-11:30am that day.
-
Weirdly imbalanced attendance issues
So, our first week of Zoom is now done. (Hopefully it’s our only week of Zoom, but who knows.) Here’s what I observed: Morning section (10am): Monday ‐ near perfect attendance today ‐ near perfect attendance Afternoon section (2pm): Monday ‐ about half the students showed up today ‐ about half the students (the same…
-
Campus closed all week (!!)
Apparently, they just closed campus for the rest of the week. For us, this means: Class will be on Zoom tomorrow, just as it was yesterday (same Zoom link). Office hours will be at the usual times, but on Zoom (same Zoom link). Assignment #1 is now due Monday, Feb. 2nd, at 5pm. Stay warm!
-
Quiz #1 posted!
Quiz #1 has been posted to Canvas, and must be taken before midnight on Friday, Jan. 30th. It is open book, open notes, closed AI, closed other humans, and timed at 30 minutes. Good luck! Reminder to those with accommodations: you must remind me before you take each and every quiz that you need your…
-
Assignment #1 hint
Remember that your database must know who the pilot was, and who the co-pilot was, for each individual flight. It is not sufficient for it to know that “these two people were the crew members, but I don’t know which one was the pilot and which one was the co-pilot that day.” (Hint: instead of…
-
Virtual office hours Tuesday
I just saw that campus was closed again for tomorrow (Tues), so office hours will be over Zoom tomorrow (at the usual time).
-
B&J conceptual model
Here’s the UML diagram for reference during today’s Zoom class.
-
Virtual office hours Monday
I’ll be available via Zoom on Monday at the usual office hours time. (See the “Office” tab, above.) My Zoom link is the same one we use for class tomorrow (and the only link I ever use), and is in a Canvas announcement.
-
*Possible* extension to assignment #1
If campus is open on Wednesday (Jan 28), assignment #1 will be due 5pm that day, as scheduled. If campus remains closed through Wednesday, it will instead be due at 5pm the next day after that that campus is re-opened.
-
Monday class reminder
Just a friendly reminder: we WILL have class on Monday, at the usual time, and it will be on Zoom. (The Zoom meeting ID and link are in Canvas, in the Announcements section.)
-
Assignment #1 posted!
Assignment #1 has been posted, and is due next Wednesday (Jan 28). Note that this is earlier than assignment #0 is due! That’s because assignment #0 is the Python practice stuff, which isn’t as urgent, since we won’t be actually touching Python for a couple more weeks. Assignment #1, however, is due next week. Also,…
-
Lab aide / tutor hours posted
I’ve added this semester’s lab aide / tutor hours to the “Office” link on this website. Feel free to drop-in and take advantage of these excellent 350 alumni!
-
Get on the scoreboard!
To earn any points for anything this semester, you first have to be on the class scoreboard! Click on the “New Student” tab, and provide: Your real full name (do use any nickname you’re commonly known by — i.e., put “Lizzie Bennet” not “Elizabeth Bennet” if you go by Lizzie) A super secret screen name…
-
Welcome!
Hey everybody, welcome back from winter break, and welcome to the spring 2026 edition of DATA/CPSC 350: Applications of Databases! This site is gonna be hip-hoppin’ with all kinds of great stuff real soon, so stay tuned!