CS 101 & 101-E
News
5 December
1 December
- In addition to the current programming assignment there is now a new code lab assignment for homework. The code lab is due by Noon on December 9.
29 November
22 November
- Homework J6 will be due on 10 December
at 9:00AM. Late homework will not be accepted.
- There is a new version of Scanner.class
available.
Old News
- 18 Nov: Lab 10 has been posted
- 11 Nov: Lab 9 has been posted
- 10 Nov: HW J5 has been posted, and is due by 5
p.m. on Friday, 19 November
- 8 Nov: HW C5 has been posted (CodeLab question for chapter 6: a total of 11 questions: 20174-20181,
and 20187-20189)
- 31 Oct: CS 101-E students: This lab quiz link will
be enabled on Sunday night at 7 p.m., and the lab quiz must be
completed by 8:30 p.m. Note that you will not be able to access the
lab quiz until that time. The username is cs101, and the password is
token. Submit the lab quiz here.
- 25 Oct: Some tests from previous semesters are available
here and
here and
here. Note that as we have
not done for loops, while loops, nor arrays, none of those questions from
last year's test will be on the second midterm this year.
- 22 Oct: The documents page and the syllabus page (the later of which
included the grades) have been moved to the
Resources
page.
- 21 Oct: Homework C4 is now available on the homework page,
and is due at 9 a.m. on Thursday, 28 October (CodeLab exercises
20108-20123)
- 20 Oct: Homework J4 is now available, and is due at 9
a.m. on Friday, 29 October
- 19 Oct: A new version of the Scanner class is
available. This version also supports the extraction of boolean values.
- 13 Oct: Homework J3 is now available, and is due at 9 a.m. on Thursday, 21 October
- 13 Oct: Homework C3 is now available on the homeworks page, and is due at 9 a.m. on Wednesday, 20 October (CodeLab, chapter 4)
- 6 Oct: Homework J2 is now available, and is due at 9 a.m. on Thursday, 14 October
- 4 Oct: CS 101-E students can find their grades
here.
- 4 Oct: The homeworks are being renumbered: There will now be J
assignments (homeworks that require writting Java code) and C
assignments (CodeLab assignments). Thus, HW 1 is how HW J1, HW 2
is HW C1, and HW 3 is now HW C2. Sorry for the confusion!
- 4 Oct: Regrade policy: To get a regrade (for a HW or an exam), you need
to fill out this form, attach it
to your HW or exam, and speak to a TA or professor.
- 1 Oct: The TA's office hours have been updated on the contacts page.
- 30 Sep: Take quiz 1. The quiz is open book
- 29 Sep: The programming quiz is open book.
- 28 Sep: Homework 3 is posted on the Homework
page, and is due by 9 a.m. on Monday (4 Oct) morning. We released
the homework now so that it could be used to help study for the
exam. The homework is 7 CodeLab exercises for chapter 3.
- 27 Sep: Reminder the first test is 2:00PM Wednesday, 29 September
2004. All
CS 101 and CS 101E students will be taking the exam in the Chemistry
auditorium.
- 27 Sep: A sample test from last Spring is available.
- 27 Sep: Lab this will be a programming quiz.
- CS 101 students must attend their proper lab sections
to
obtain credit for the quiz. The account name
and password will be announced during laboratory.
- CS 101E are to take the lab quiz Sunday, 3 October 2004
between 7:00 - 8:30PM. To take the quiz, use
the account name CS101E and the password CS101E. If this time presents
a problem, permission to attend one of the CS 101 regularly scheduled
labs can be granted on an individual basis. See Professor Bloomfield
for permission after class on Monday or Wednesday of this week.
Students without permission will not be allowed to take the quiz.
- 22 Sep: The second assignment requires that you go to www.turingscraft.com.
- 15 Sep: Copies of Scanner.class are available.
Download this class to have Scanner capability even though you are
using a 1.4 Java compiler. The implementation provides all of the
methods discussed in the chapters of Java 1.5 Program Design.
You should copy the file to the same folder to which you are developing
your Java programs.
- 15 Sep: Remember homework 1 is due 9:00 AM on Saturday, 18
September 2004.
- 15 Sep: Remember homework 2 is due 9:00 AM on Friday, 24
September
2004
- 15 Sep: Not getting the correct type of result for homework?
- There are two primary ways for converting a floating
point
value into an integer value. If your goal is an int integer, than the
second way is more complicated.
- Casting - Use the (int) operator on a floating
value,
e.g., (int) myDecimalNumber.
- Rounding - Use the math API method round with the
floating point value as its parameter, e.g.,
Math.round(myDecimalNumber). Howver, the result is an integer of
type long. A long value is perfectly fine to print (e.g.,
BMI.java), but it cannot be assigned to an int variable. So, if you
want an rounded int result you also need to do a cast, e.g., (int)
Math.round(myDecimalNumber).
- 13 Sep: Homework 1 is due electronically by 9 a.m. on Saturday,
17
September 2004
- 13 Sep: The homework
submitter is back online and working again. You can submit your HW
1 now.
- 9 Sep: A partial implementation of the Scanner class has been developed. You can download this
class to have Scanner capability even though you are using a 1.4 Java
compiler. The implementation provides all of the methods discussed in
the chapters of Java 1.5 Program Design. You should copy the
file to the same folder to which you are developing your Java programs.
- 7 Sep: The graduate TAs and everybody's office hours are listed
on
the Contacts page
- 7 Sep: Homework 1 is posted on the Homework
page (assignment, grading guidlines, TrainingZone.java)<>
- 7 Sep: Lab 1 is posted on the Labs
page
- 21 Aug: On the first day of classes, both CS 101 and CS 101-E
will
meet in the same place (CHM 402, not MEC 215)
- In that class, we will discuss the difference between CS
101
and CS 101-E, and who should be in which class
- 21 Aug: Right now, only the syllabus
and contacts have any information on them.
Last updated on[an error occurred while processing this directive]