.Open CS201: Introduction to Computer Science . 2008-03-20 Thu Mar 20 10:03 Preliminary Final Grades Posted I've posted my first final and course grades .See ./grading/ for you to check. They may change if any errors come to light or bonusses are earned. Currently we have .Table Distribution A/A- B+/B/B- C+/C/C- D+/D/D- F W .Row Frequency 5 11 2 2 1 1 .Close.Table If you have scored less than 300 points prior to the final you can make up these points by attending seminars in the labs on Friday 21st and getting an essay -- one per presentation -- to me by EMail, or into my dept office box -- by 12noon on Monday. . 2008-03-18 Tue Mar 18 14:03 Project 9 Grades Posted I've got the grades upto the final posted, including scores on the final project -- see .See ./grading/ and check for errors. About half-a-dozen students can benefit by going to seminars and giving me essays about them -- by monday afternoon at the latest. I'm not sure when I will have the final scores posted. Monday at the latest and Thursday afternoon at the earliest. . 2008-03-17 Mon Mar 17 12:03 Grades posted Grades have been posted showing points up to and including the last class. See .See ./grading/ for details. Most people have hit the 300 points limit but some could benefit from attending and writing a short essay on one of the 8 seminars .See ../seminar/ scheduled for Friday. The final is from 12-1:50 tomorrow. You may bring a single "cheat sheet" of paper -- 8.5><11 inches. You can write anything you want on this sheet. You can write on both sides. You print stuff.... Best of luck.... and I hope you won't need it. . 2008-03-15 Sat Mar 15 09:03 Question from 20 online .See ./20.html . 2008-03-12 Wed Mar 12 15:03 Questions and Tic-tac-toe Online I posted answer to your questions in .See ./19.html , and your quiz and project can be collected at my office JBH339. Meanwhile, Justin has got the Tic-tac-toe design to run .See ./lab10/ttt.cpp by dint of making main a friend of the classes...... Any improvements? . 2008-03-07 Fri Mar 7 14:03 Grades and questions posted .See ./grading/ .See ./18.html#Questions Next: .See ./19.html with project and quiz. . 2008-03-04 Tue Mar 4 09:03 Errors and comments on reading and next projects I've just added a note to .See ./17.html , on an error on page 245 of the text book. I've also expanded my notes on the next project: .See ./projects.html#P8 where you need to develop and test a class of objects. . 2008-03-03 Mon Mar 3 12:03 Grades Coff Posted Sneeze .See ./grading/ . 2008-02-29 Fri Feb 29 08:02 Off sick I put your answers to your questions on line at .See ./16.html#Questions but won't be posting grades until Monday. . 2008-02-27 Wed Feb 27 12:02 Questions online Your questions have been put online in .See ./15.html#Questions and I will be putting your graded quizzes and projects on my door when I get in after lunch. . 2008-02-26 Tue Feb 26 13:02 Dia UML Example in class 15 .Image 15UML.png Example in class today .See ./15UML.dia (Dia file) and .See ./15UML.png (graphic file) . 2008-02-22 Fri Feb 22 16:02 Questions answered + grades posted +notes ready Your questions on Thursday have answer .See ./14.html#Questions on the web and linked into the search engine. The .See ./grading/ is ready to be checked. And I've complete the notes .See ./15.html on object-oriented programming and the UML ready for the next class.... no podcast:-( The next project is to write and use a function. See .See ./projects.html#P6 and make sure you actually have declared a function and have a separate `main` function that calls it. Otherwise you may lose points. I'm still working on the notes for next Thursday.... . 2008-02-20 Wed Feb 20 18:02 Pointed questions answered .See ./13.html Next .See ./14.html wind up chapter 5. Next project .See ./projects.html#P6 requires tyou to develop a and test a function and is due at the start of Tuesdays class. . 2008-02-20 Wed Feb 20 09:02 Updated Subjects for Quizzes Please check .See ./schedule.html#Quizzes so that you no what topics I will be testing in future quizzes. . 2008-02-15 Fri Feb 15 16:02 No podcasts this week Given the lack of storage and the fact I'm short of time.... I won't be posting the usual podcast. I will have a short introduction on the web page and would like you to study the whole page for the class first .See ./13.html .See ./14.html . 2008-02-15 Fri Feb 15 14:02 Grades and Questions online I've posted written answer to the questions on .See ./12.html and the lastest .See ./grading/ grades. Shortly I'll be working on the notes for next weeks classes: .See ./13.html (pointers) and .See ./14.html (first data structures). Note: The poscasts are going to have to real short in future. See below. . 2008-02-14 Thu Feb 14 15:02 Computer Problem in Class Today You saw what happens if a disk fills up on UNIX. Since it was blocking student's compilations and edits I've worked hard to remove all large files that I don't need. I'm now down to the podcasts for this class. I may have to remove the old ones until we get a larger disk drive on the CSE server. I'm starting to type in questions and answer but don't expect to finish until tomorrow. . 2008-02-13 Wed Feb 13 10:02 Questions on functions etc answered online + project feedback I've posted the answers to your questions in .See ./11.html and have graded your quizzes. Nearly everybody got the correct output. YEAH!!!!!! I've also started grading you projects. Here are some common errors that you chould check you code for now to get the jump on the next iteration of this project. Note -- these are nearly all examples of intelligently jumping to a completely false conclusion. .Table Basis Guess Correct .Row Because everything else I do is easy .Item This should be easy .Item Programming takes a lot of time, care and attention to detail .Row Because arrays are declared like this "type name[number]" .Item Vectors are the same "vectorname[number]" .Item vector name ( number ); .Row Because arrays are declared with a size .Item Vectors must be given a size. .Item Grow vectors starting with an empty vector: vector name; .Row For loops can declare a varible "for (type name = ..." .Item While loops can also do this .Item They can't. .Row Semicolons are at the end of statements .Item They can't be inside a for loop: "for(...,....,...)...". .Item They MUST be in a for loop: "for(...;...;...)..." .Row I'm in a hurry .Item I'll skip writing an algorithm it will save time. .Item You will get lost and confused when you don't plan. .Close.Table (I'll add to the above as I continue grading) . 2008-02-08 Fri Feb 8 14:02 Uploaded grades notes and podcasts I've posted grades for the week .See ./grading/ and updated the notes and added podcsts for the next two classes: .See ./11.html .See ./11.mp3 (advanced functions) and .See ./12.html .See ./12.mp3 (numeric data types). On Tuesday bring a question and your best attempt at the next project. . 2008-02-07 Thu Feb 7 14:02 Questions and answers online .See ./10.html#Questions Note you can also search for relevant materials by using the box at the top of the page. . 2008-02-07 Thu Feb 7 09:02 Added exercise on functions strings array chars loops I'll be bringing a handout .See ./10ex.cpp to class for you to work on. It is in the notes for todays class .See ./10.html and based on an example from a question in the last class .See ./09.html (chars and strings). . 2008-02-04 Mon Feb 4 14:02 Podcast and notes for Thursday Ready The podcast .See ./10.mp3 and the notes .See ./10.html for Thursdays class -- on functions, has been uploaded. Next Class: .See ./09.mth on characters and strings. And Ive started on the notes for next week's classes... ready by Friday! . 2008-02-01 Fri Feb 1 17:02 Grades Questions Answers and a podcast You questions on Errors have been answered in .See ./08.html#Questions and grades have been posted in .See ./grading/ , and I've recorded .See ./09.mp3 an introduction to the reading on Strings and characters .See ./09.html ready for next Tuesday. . 2008-01-30 Wed Jan 30 11:01 Questions answered... Your questions from the last class .See ./07.html are on that page. Please collect your project and Quiz from outside my office (JBH339) as you drop off your question on the next piece of reading .See ./08.html (web page) and .See ./08.mp3 (podcast) . 2008-01-25 Fri Jan 25 17:01 More podcasts and notes uploaded Next class .See ./07.html .See ./07.mp3 (arrays and vectors) , Next week .See ./08.html .See ./08.mp3 (errors) and the week after .See ./09.html (character data) .See ./10.html (functions) . 2008-01-24 Thu Jan 24 14:01 Scores and Answered questions for class 06 See .See ./grading/ and .See ./06.html for details. . 2008-01-23 Wed Jan 23 09:01 Questions and Macintoshes I've posted your questions and answers onto .See ./05.html on the CS201 website. Meanwhile I have got this request .Box Reply_To: me@my.host.domain I was wondering if you can send me instructions on how to log onto the school server with a mac computer. I have mac OSX .Close.Box Which doesn't include the senders EMail address. But I know the name and use their CSUSB EMail plus this page to give a rough answer. You'd get a better one + demo from Scott, our lab assistant. .List If you are using campus WiFi first use your browser to log into CSUSB's network. You need to open a terminal window into your OSX. I'm not sure where Apple have hidden the icon... In that window you can input UNIX commands like `ssh`. Like this .As_is ssh -l your_csci_lab_user_id jbh3-1.csci.csusb.edu Note: After the ssh there is a minus sign and the letter l, not the digit 1. However the next jbh3-1 has a minus and a digit 1. When jbh3-1 asks for a password, supply your csci lab password. ... .Close.List For example .Box .As_is ssh -l dick jbh3-1.csci.csusb.edu .As_is dick@jbh3-1.csci.csusb.edu's password: .As_is Last login: Wed Jan 23 09:50:29 2008 from jb339-1.csci.csusb.edu .Close.Box Can anyone give a better answer? .Hole . 2008-01-18 Fri Jan 18 17:01 Scores posted and podcasts published Check .See ./grading/ and input your PINword to see your scores so far. You can get 4..5 minute introductions to the readings for classes 5 and 6 at .See ./05.mp3 respectively .See ./06.mp3 plus some important supplementary material on logic and loops in C++: .See ./05.html and .See ./06.html respectively. . 2008-01-17 Thu Jan 17 13:01 Project P1 is due Tuesday and todays exercise The first iteration of the project .See ./projects.html#P1 is due at the start of class. Hand in whatever you have. Ideally a printout of a broken C++ solution to one of the P1 projects. Note: the campus is closed on Monday -- and that includes the labs:-( In class we developed a Julian Leap Year program .See ./04ex.cpp and reviewed .As_is == (test for equality) .As_is = (assign value) .As_is % (modulus) . 2008-01-16 Wed Jan 16 16:01 First scores published Please follow this .See ./grading/ link and input your PINword to see your scores so far. Your scores will be on the row in the table that has asterisks on it. Let me know if it doesn't work. Note: until you return your form I can't post your scores/grades/etc. in a secure way. . 2008-01-15 Tue Jan 15 19:01 FAQs for class 03 online I've written and uploaded answers to your questions onto .See ./03.html on the website, including the example in class of `int division` .See ./03ex2.cpp giving a surprising answer. Next class introduces an important tool -- how to make a C++ program select the best thing to do -- see .See ./04.html with the podcase below. . 2008-01-11 Fri Jan 11 16:01 Study guide 4 online pages 42-45 if statements .See ./04.mp3 . 2008-01-10 Thu Jan 10 18:01 Review class 2 and onto class 3 I've placed your questions and my written answers in .See ./02q.html so you can review them. The next class is the thord one on straight forward programs and the prep includes reviewing .See ./03.html and/or playing .See ./03.mp3 (podcast). and will involve exercises on working out what straight forward programs do, quizes on the same skill .See ./schedule.html#Q1 , and the start of your project .See ./projects.html#P1 . 2008-01-08 Tue Jan 8 15:01 Ready for next class Thanks for good first class and lab. The next class is described in .See ./02.html with a podcast .See ./02.mp3 guiding you thru the reading. Assigned work: write down a single question on a piece of paper and print your name. Hand in at start of class. I've also got the notes .See ./03.html and lab .See ./lab02/ ready to go for next week. . 2008-01-02 Wed Jan 2 13:01 Recorded first attempts at podcassting study guides .See ./01.mp3 .See ./02.mp3 (Shift click to down load these files). . 2007-12-17 Mon Dec 17 15:12 Class Outlines Published .See ./01.html .See ./02.html .See ./03.html etc.. . 2007-12-12 Wed Dec 12 13:12 Thursday lab cancelled Because we don't have a room and it is more efficient we will be cancelling the Thursday Laboratory this quarter. Meanwhile I have preliminary .See ./syllabus.html and .See ./schedule.html ready for comment... . 2007-12-10 Mon Dec 10 14:12 Grades ready and preparing for Winter 2008 I've graded all the finals that were done.... and posted the grades at .See ./grading/ ready for recording with the university to momorrow morning. . Winter 2008 CSCI201 -- New Book Meanwhile -- the old text book: "Horstmann" is no longer available and so I will be redesigning this course for a different book in the next week. Expect big changes in the syllabus, schedule, web pages, and plan... In the Winter we will be covering the first 8 chapters of Skansholm, C++ from Beginning, ISBN 0-201-72168-6. This book is also used in CSci 202 -- but they cover the other chapters. Sorry for the inconvenience, but this was outside of my control. . Some Previous entries redacted . 2007-12-06 Thu Dec 6 18:12 Most Preliminary Grades Posted .Table Distribution A/A- B+/B/B- C+/C/C- D+/D/D- F .Row Frequency 4 8 3 1 4 .Close.Table . 2007-11-29 Thu Nov 29 14:11 Syntax sheets I've uploaded Andrew's Syntax sheets as PDF file ready for download: .See ./Syntax2columns.pdf .See ./SyntaxFullSize.pdf I hope they help..... even if I feel it is always better to develop one's own cheat sheets.... . 2007-11-15 Thu Nov 15 13:11 PI and Books on C++ in the library This is in response to a lunch time meeting with a student. Books on C++ can be found in the library with call number .As_is QA76.73.C153 (PI): The best way to get \pi, `e`, etc into your program is to do this .As_is #include .As_is const double PI = 4.0*atan(1.0); .As_is const double E = exp(1.0); .As_is const double ROOT2 = sqrt(2.0); These formulas automatically supply an accurate value without you having to type lots of decimal digits. By putting them outside of all the functions and classes you request that they are evaluated before the program starts running. .Close CS201: Introduction to Computer Science