![]() |
![]() Fall Semester 2004 |
Mon-Tue Oct 18-19
Jason will be proctoring the exam, closed-book, individual work.
Wed Oct 13
Sat-Tue Oct 9-12
Fri Oct 8
Date: Thu, 7 Oct 2004 11:05:31 -0500 (EST) From: Adrian German <dgerman@cs.indiana.edu> To: A114 Fall 2004 Distr. List <dgerman@indiana.edu> Subject: A114/I111 Update Dear A114/I111 friends, Just a reminder that next week we will have individual appointments. The gradebook will be updated before class today. Please make an appointment for next week by using the link posted on the What's New? page under Wed -Thu Oct 6-7 entry or directly at: http://burrowww.cs.indiana.edu:9760/cgi-bin/fall2004/schedule Thanks and please let me know if you have questions or need any help. ... Adrian
Wed-Thu Oct 6-7
Assume a chess tournament with 6 players.
Four rounds have been played thus far. Here are the results:
Round one: Jordan - Barkley 1 - 0 Miller - Bird 0 - 1 Kukoc - Duncan 1/2 - 1/2 Round two: Duncan - Barkley 1/2 - 1/2 Kukoc - Bird 0 - 1 Miller - Jordan 1/2 - 1/2 Round three: Bird - Jordan 1 - 0 Kukoc - Barkley 1 - 0 Duncan - Miller 1/2 - 1/2 Round four: Miller -Barkley 1/2 - 1/2 Duncan - Bird 0 - 1 Jordan - Kukoc 1 - 0
Write a query that shows you the current standings in the tournament.
Turn it into OnCourse by the end of the lecture instead of minute paper.
Also be ready to review this old(er) practical exam into account (and practice with it).
Script for individual appointments
next week.
Sun-Tue Oct 3-5
Fri-Sat Oct 1-2
Wed-Thu Sep 29-30
Tue Sep 28
Fri-Mon Sep 24-27
Wed-Thu Sep 22-23
Midterm exam in SB221 this Thu at 2:30pm.
Sat-Tue Sep 18-21
Fri Sep 17
Wed-Thu Sep 15-16
Let's do the problem in stages.
First, can we identify the books with co-authors?
The answer is: yes.
That was good practice. Let's use this ability:select bookcode from wrote where sequence >= 2 group by bookcode
That was the list of all titles and prices of books like the ones we want.select title, price from book where bookcode in (select bookcode from wrote where sequence >= 2 group by bookcode)
Could we print the authors, in order?
Great! Then we're almost done.select title, price, authorfirst, authorlast from book, wrote, author where book.bookcode = wrote.bookcode and wrote.authornum = author.authornum order by book.bookcode, sequence
This produces the following answer:select title, price, authorfirst, authorlast from book, wrote, author where book.bookcode = wrote.bookcode and wrote.authornum = author.authornum and book.bookcode in (select bookcode from wrote where sequence >= 2 group by bookcode) order by book.bookcode, sequence
(Well, OK, perhaps it's exactly backwards - use
title price authorfirst authorlast Treasure Chests 24.46 Lon Schleining Treasure Chests 24.46 Randy O'Rourke Van Gogh and Gaugain 21.00 Bradley Collins, Jr. Van Gogh and Gaugain 21.00 Bradley Collins Black House 18.81 Stephen King Black House 18.81 Peter Straub
DESC
). Now my question to you is this: can you make a report out of it?
A nice, clean report?
Mon-Tue Sep 13-14
OnCourse contains new information about grades.
Sat-Sun Sep 11-12
Thu-Fri Sep 9-10
Wed Sep 8
Tue Sep 7
More data to be used in class today.
Lecture meets in SB221 (Student Building) from now on.
Mon-Fri Aug 31-Sep 3
A114/I111