School of Mathematics &
Computer Science
Course#: |
|
Class Time: |
001 (lecture) TR 12:15pm
- 01:30pm SWL*101 010 (lab) TR |
Instructor: |
Professor
Pepper Office: POST 103 1rst Floor
or POST 217 2nd Floor Telephone: 516-297-5241 Office Hours: Thursday: E-mail: pepper@adelphi.edu http://www.adelphi.edu/~pe16132 |
Moodle: |
Reges, Stuart and Stepp, Mary,
Building
Java Programs: A Back to Basics Approach 2/E. New York: Addison-Wesley,
2011. (ISBN: 9780136091813 or 0136091814). (The older version (978-0-321-38283-2 or 0-321-38283-8) is
acceptable, but you may need to get an occasional assignment from the 2/E
version.)
You will also need to
purchase a $25 subscription to codelab, at www.turingscraft.com.
Use code ADEL-7248-NBAQ-11
A flash drive is also
recommended.
An introduction to a modern
computer language and to modern techniques of computer programming such as structured
and object-oriented design. Simple and aggregate data types, subprograms,
programming style, and the software development cycle. Applications to simple
computational problems.
Objectives:
* Become comfortable using a program development environment (BlueJay) to carry out a design-code-test-debug cycle
* Know the Java syntax for defining and using common components such as variables, methods, classes, conditionals, recursion, and looping
* Be able to trace the execution of a program by hand, tracing values of variables at different times
* Internalize habits of clear coding: good choices of names for variables, methods, and classes; indentation and blank space; commenting; named constants; code re-use and factoring
* Be able to design a coding solution from a written problem explanation
* Be able to plan the development of a complex program as a sequence of testable versions
* Choose and use appropriate test cases
Tools:
Assignments should be done
using the free BlueJ development environment over JavaTM 2 Platform
Standard Edition 7.2 (JDKTM 7.2). To install the BlueJ
environment, Find install instructions
on my web site at http://home.adelphi.edu/~pe16132/csc171/bluej/downloadbluej.htm
You will use Codelab from www.turingscraft.com to hand in some
exercises. Find registration instructions on my web site at http://home.adelphi.edu/~pe16132/csc171/codelab.htm
Grading System
The
course grading scale is: A 93-100, A- 90-92, B+ 87-89, B 83-86, B- 80-82, C+
77-79, C 73-76, C- 70-72, D 60-69, and F is below 59. A+ is given at the professor's discretion and is based
upon having at least a 99 and having achieved a very high level of competency
and expended a high level of effort.
The
final grade will be a traditional letter grade (A-F). Excessive absences,
lateness, and any activities which run counter to the best interests of the
class will be deducted at the end of the semester from the final grade as a
percentage to be determined by the professor.
Grade Percentages:
Midterm
Exam |
25% |
Quizzes |
15% |
Assignments/
Attendance |
35% |
Final |
25% |
Course
Requirements
The
midterm must be completed as a minimum for credit. Each exam must be taken at
the time scheduled. 10% will be dropped for anything 1 week late.
Defective
or lost floppy disks, printer malfunctions, hard drive crashes, and computer
meltdowns are not valid excuses for late or incomplete assignments. Be sure to
backup, and use another computer if yours becomes disabled. When a particular
assignment hand-in path is down, use another path: e-mail, ftp to panther,
Blackboard drop box, or place it in my mailbox in the math department, and just
call to tell me where you put it.
Students
will be expected to minimize grammatical errors, use logic, and create
effective strategies to communicate clearly.
Students
are expected to follow Adelphi's honesty policies, including never "presenting any work as one’s
own that is not one’s own." See http://academics.adelphi.edu/policies/honesty.phphttp://academics.adelphi.edu/policies/honesty.php
Major |
Requirement fulfilled |
CS/CMIS |
Prerequisite for many other courses in your major |
Math |
Programming requirement |
Other |
Math/Science distribution (less-intense |
Attendance
Requirements
It is
expected that students will attend class on a regular basis. Absences for
legitimate reasons are permissible; however, students are responsible for all
material missed during their absence. Out of consideration for the instructor
and the rest of the class, you are expected to arrive on time for class and
stay until the class is over. Ask questions so that all present can hear;
private conversations are not permitted.
Policy on
Incomplete
Refer
to the Under-graduate Bulletin. If you do not have a bulletin, please obtain
one from the Dean's Office. It contains a significant amount of important and
useful information such as prerequisites, waiver policy, rules and regulations,
payment plans and schedules.
Last Date to Drop
Course
The
last date to drop this course will be the last date specified by the University
for students to drop the course without the professor's permission. If the
student wishes to drop the class after that time because of poor grades, it will
be necessary to first obtain written permission from the Dean of Academic
Attainment. Permission to withdraw late because of other reasons may be
presented to me or the Deans.
Disabilities
If
you have a physical, medical or learning disability and require accommodations,
please contact the Office of Disability Support Services (
Schedule
This
is a weekly schedule. All reading should be done by the beginning of the week.
The professor reserves the right to change this schedule.
Date |
week |
Subject |
Assigned |
1/24, 1/26 |
1 |
Introduction (hello world)
& Structure, Strings, Variable names, Comments, Methods |
Chapter 1 |
1/31, 2/2 |
2 |
Variables of primitive
types, arithmetic, flow chart 2/2 Quiz on variables and
structure |
Chapter 2 |
2/7, 2/9 |
3 |
FOR loop, variable scope,
testing methods |
Chapter 2 |
2/14, 2/16 |
4 |
2/16
Quiz on FOR loops 2/14
and part of 2/16 - Parameters |
Chapter
3 |
2/21, 2/23 |
5 |
Using
objects, scanner & Math & Random 2/23
Quiz on parameters, objects, (Last day to drop a course: 2/21) |
Chapter
3 |
2/28, 3/1 |
6 |
Decisions
|
Chap 4.1-4.3 |
3/6, 3/8 |
7 |
Review; Midterm 3/8 |
|
3/13, 3/15 - break |
|
|
|
3/20, 3/22 |
8 |
Graphics, Exceptions,
Recursion |
Chapter
3G, Chap 4.4-4.6, Chapter 12 |
3/27, 3/29 |
9 |
While loop, Boolean
type, do while, (Last day to withdraw:
3/27) |
Chapter 5 |
4/3, 4/5 |
10 |
4/5 - Quiz on While and
recursion |
Chapter 7 |
4/10, 4/12 |
11 |
Arrays & Classes |
Chapter 7 & 8 |
4/17, 4/19 |
12 |
Classes |
Chapter 8 |
4/24, 4/26 |
13 |
4/26 quiz on Classes and
Arrays Work on game project |
Chapter 8 |
5/1, 5/3 |
14 |
Review
(If time: Inheritance and interfaces & Graphical User Interface) |
Chapter 14 |
5/8, 5/10 - makeup |
|
|
|
5/15 |
15 |
Final
1:00 to 3:00 |
|