








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Material Type: Notes; Professor: Brooks; Class: Artificial Intelligence Prog; Subject: Computer Science; University: University of San Francisco (CA); Term: Spring 2005;
Typology: Study notes
1 / 14
This page cannot be seen from the preview
Don't miss anything!
Chris Brooks Department of Computer Science University of San Francisco Department of Computer Science — University of San Francisco – p.1/
Office Hours Course Text Prerequisites Test Dates & Testing Policies Check dates now! Grading Policies Department of Computer Science — University of San Francisco – p.2/
You’ll have a series of lab assignments to do Done in-class Satisfactory/unsatisfactory grade You’ll also have four programming projects Larger; 2 weeks apiece Plus two midterms and a final In class, closed notes I believe that the best way to learn a topic likeprogramming is to do it. Department of Computer Science — University of San Francisco – p.4/
Come to class. Pay attention. Ask questions. Department of Computer Science — University of San Francisco – p.5/
Come to class. Pay attention. Ask questions. A question as vague as “I don’t get it” is perfectlyacceptable. If you’re confused, at least half the class is also. Don’t wait until after class to ask! Come by my office I am very available to students. You can also talk with Jason Department of Computer Science — University of San Francisco – p.7/
Come to class. Pay attention. Ask questions. A question as vague as “I don’t get it” is perfectlyacceptable. If you’re confused, at least half the class is also. Don’t wait until after class to ask! Come by my office I am very available to students. You can also talk with Jason Start the homework assignments and projects early Waiting until the last minute to start projects is a badidea. Department of Computer Science — University of San Francisco – p.8/
“90% of life is showing up.” – Woody Allen “Just keep swimming.” – Finding Nemo “Never mistake activity for achievement.” – John Wooden “Teachers open the door. You must step through on yourown.” – Chinese Proverb. Department of Computer Science — University of San Francisco – p.10/
“90% of life is showing up.” – Woody Allen “Just keep swimming.” – Finding Nemo “Never mistake activity for achievement.” – John Wooden “Teachers open the door. You must step through on yourown.” – Chinese Proverb. “Do I contradict myself? Very well, then. I contradictmyself. I am large; I contain multitudes.” - Walt Whitman Department of Computer Science — University of San Francisco – p.11/
(L & L 2.13) - Write a Java applet that draws the OlympicLogo. The circles in the logo should be colored (L to R):blue, yellow, black, green, red. Department of Computer Science — University of San Francisco – p.13/
Write a program that creates an array of 50 integers. Usea for loop and an if statement to place a 1 in all cellswhere the index is even, and a 0 in all cells where theindex is odd. (the first index is 0.) For example, a[3]should contain a 0, and a[2] should contain a 1. Print outthe array after filling it in. Department of Computer Science — University of San Francisco – p.14/