CISC181 S2015

From class_wiki
Jump to: navigation, search

Course information

Description CISC 181 (section 011) -- Introduction to Computer Science II

Principles of computer science illustrated and applied through programming in the object oriented language Java. Programming projects illustrate computational problems, styles and issues that arise in computer systems development and in several application areas.

Instructor Prof. Christopher Rasmussen
Office: Smith 446
Office hours: Wednesdays from 1-3 pm (subject to change each week)
TA Maria Ruiz Varela, E-mail:, office hours: 3:30-5:30 pm on Thursdays in Smith 201
Discussion We will be using Piazza as a forum for questions about labs, homeworks, exams, and any other course topic. Rather than sending e-mail to a TA or the professor, post your question there so that everyone else can see the answer, and other students can contribute their knowledge. If your question involves posting code, make sure it is the minimum amount necessary to explain the problem you are having.
  • Lecture: Mondays, Wednesdays, and Thursdays, 11:15 am to 12:05 pm in Gore 102 (UDCapture link)
  • Lab sections: Mondays in Spencer 010
    • 030: 1:25 pm to 2:15 pm
    • 031: 2:30 pm to 3:20 pm
    • 032: 3:35 pm to 4:25 pm
  • Language resource: Zyante Java Early Objects ("ZJ" in Schedule below)
    • Click the "Students -- Get Started" link at and sign up (the cost should be about $48). The class code is "UDELCISC181011Spring2015".
  • Programming platform: Android Studio (available free for Windows, Mac OS X, and Linux)
  • 10% Activity completion in ZJ
  • 30% Labs (3% each). These are sets of small tasks/programs which must be done individually and are due Friday night of the same week. Attendance counts for 0.5% of each lab -- more details here
  • 20% Programming project (10% for each milestone). This is a multi-step assignment which may be done as part of a pair
  • 20% Midterm exam
  • 20% Final exam (functionally, this is a second midterm)
  • "Bonus 2%" Complete end-of-semester course evaluation

Your labs and programming projects are due by 5 am after the deadline day. All should be submitted in Sakai. A late homework is a 0 without a valid prior excuse. To give you a little flexibility, you have 6 "late days" to use over the semester to extend the deadline by one 24-hour period each without penalty. No more than two late days may be used per assignment. Late days will automatically be subtracted, but as a courtesy please notify the instructor and TA in an e-mail of your intention to use them before the deadline. For each late day used by a pair of students on the project, both students must subtract a late day.

Once you have gotten a grade back on an assignment, if you have any questions or issues you should talk to your TA. For midterm exam grades, talk to the instructor. You have 1 week after a grade is returned to dispute it; after that, your score is final. Make sure to check that any score modifications are reflected in Sakai.

For the overall course grade, a preliminary absolute mark will be assigned to each student based on the percentage of the total possible points they earn according to the standard formula: A = 90-100, B = 80-90, C = 70-80, etc., with +'s and -'s given for the upper and lower third of each range, respectively. Based on the distribution of preliminary grades for all students (i.e., "the curve"), the instructor may increase these grades monotonically to calculate final grades. This means that your final grade can't be lower than your preliminary grade, and your final grade won't be higher than that of anyone who had a higher preliminary grade.

We will post "if the course ended now" letter grades twice: after the midterms are graded and just before the final. There will be NO extra credit opportunities at the end of the semester (save the course evaluation), so do your best work early! If you have any questions about grading or expectations at any time, please feel free to ask me.

Academic honesty Students can discuss problems with one another in general terms, but must work independently on all assignments unless otherwise specified. This also applies to online and printed resources: you may consult them as references (as long as you cite them), but the code you turn in must be yours alone. We WILL be checking submitted code for evidence of plagiarism or unauthorized collaboration, and if found you will definitely get a 0 for the assignment and possibly be referred to the Office of Student Conduct. If you are at all unsure about what is and what is not allowed, please contact the instructor or TA.

The University's policies on academic dishonesty are set forth in the student code of conduct here.

Optional resources


Note: The blue squares in the "#" column below indicate Mondays.

# Date Topic Details Readings Links/Lab
1 Feb. 9 Welcome Course details, IDE overview Lab #1: Getting started
2 Feb. 11 Hello, Java! Basic input, output; debugging ZJ 1 slides
3 Feb. 13 Finish "Hello, Java" Scanner and Math class, expressions, formatting for printing;
naming, formatting, commenting styles
ZJ 1 slides
4 Feb. 16 Variables, expressions, branching Data types, constants, type conversions; if/else, switch, comparisons ZJ 2, 3 Lab #2: Branching, loops
5 Feb. 18 Loops while, for (single and nested) ZJ 4 slides
6 Feb. 20 Basic graphics Graphics class: shapes, color ZJ 5, Java 2D API slides
7 Feb. 23

Register/add deadline

Basic graphics Graphics programming tips, plus text, randomness, API lookup ZJ 5 Lab #3: Basic graphics
8 Feb. 25 Objects/methods/classes Constructors, overloading ZJ 6 slides
9 Feb. 27 Objects/methods/classes public/private; Accessors/mutators; static ZJ 6 slides
10 Mar. 2 Arrays Single-dimensional ZJ 7 Lab #4: Arrays


University closed due to icy conditions
University closed
11 Mar. 9 Arrays Multi-dimensional; ArrayList (collections) ZJ 7 Lab #5: Objects


12 Mar. 11 Strings & streams Basic string operations; stream types, URLs ZJ 8 slides

Card class, Deck class

13 Mar. 13 Strings & streams Reading, writing text files; String.split(); regular expressions Regex documentation, URL tutorial slides
14 Mar. 16 Finish strings/streams Lab #6: Files


15 Mar. 18 More about classes this; primitive wrapper classes; pass-by-value vs. pass-by-reference ZJ 9 slides
16 Mar. 20 Inheritance Derived classes, polymorphism ZJ 10 slides
17 Mar. 23 Midterm review slides

Partial sample midterm

18 Mar. 25 MIDTERM
Mar. 27 NO CLASS
Instructor away
Mar. 30 NO CLASS
Spring break
Spring break
Spring break
19 Apr. 6 Abstract classes, interfaces Comparable vs. Comparator ZJ 11, Object ordering Lab #7: Inheritance


20 Apr. 8 Go over midterm, finish interfaces slides
21 Apr. 10 Testing, error-handling Exceptions ZJ 12, Exceptions slides
22 Apr. 13

Withdraw deadline

Testing, error-handling Assertions, unit testing Lab #8: Testing and exceptions


23 Apr. 15 Finish unit testing slides
24 Apr. 17 Dates and times Calendar, nanoTime Dates and times slides
25 Apr. 20 Collections Generics, shuffle, sort ZJ 14, Collection interface Lab #9: Timing


26 Apr. 22 Collections Set and Map classes slides
27 Apr. 24 Android SDK; "Hello, world" app; running Creating an Android project, Running your app slides
28 Apr. 27 Android Layout, UI elements Building a simple UI Lab #10: Android


29 Apr. 29 Android Layout, UI elements slides
30 May 1 Android Event handling, multiple activities Multiple activities slides
31 May 4 Android Project explanation, multiple activities slides
32 May 6 Android Basic graphics Canvas and drawables slides

SimpleDraw:, activity_main.xml

33 May 8 Android Touch, animation, sound slides

SimpleAnimate:,,,activity_main.xml, AndroidManifest.xml, grenade.mp3, jump.mp3

Instructor family emergency
Project milestone 1 due
34 May 13 Android Background music, text to speech, sensors (accelerometer) slides

SimpleMultimedia:,activity_main.xml, electronic_clav.mp3,

Project office hours 9 am-1 pm
35 May 18 Final review NO LAB
Project milestone 2 due

slides Sample final (ignore JAR, Swing, MarsLander questions)
Other part of sample midterm

FINAL EXAM: May 27, 10:30 am-12:30 pm, Gore 102