Principles of Programming
Prof. Daniel R. Schlegel, 395 Shineman Center, firstname.lastname@example.org
Office/Lab hours: T: 8-9am, W: 8-9am, Th: 12:15-1:15pm, F: 9-10am, and by appointment
Section 810: MWF 10:20-11:15am, Park 315
We will have four teaching assistants during the Spring 2019 instance of the course: Shakhar Dasgupta, Jim Spagnola, and Christopher Townsley
|8:00||Dan's Office Hours|
|Dan's Office Hours|
|9:00||Dan's Office Hours
|9:30||J+S Office Hours|
|11:30||J+C Office Hours|
|12:00||C+S Office Hours
|12:30||Dan's Office Hours
|1:30||J+S Office Hours|
|4:00||J+C Office Hours|
|C+S Office Hours|
There is also tutoring available from the Office of Learning Services, including walk-in hours MWF from 2-4. There are likely more than this, contact them for details.
This course provides an introduction to programming and computation, including the concepts and usage of expressions, variables, control structures, functions, compound types, classes, objects, and I/O in a high-level programming language, along with their roles in implementing programs to solve common problems.
Upon completion of this course, students will demonstrate ability to:
- Write, test, and explain the behavior of programs involving fundamental programming constructs, built-in data structures, standard libraries.
- Construct, execute and debug programs using development tools; apply and implement structured problem solving; handle abnormal control flow; understand and rely on static type safety to reduce errors
- Incorporate class design, encapsulation, and inheritance; incorporate data structures for problem solving; describe positive and negative ways in which software impacts society.
Required: Graci, C. and Schlegel, D.R. A First Course in Computer Programming: Laboratory Manual
Introduction to Computer Science Using Java
Introduction to Programming Using Java, 8th Edition
Think Java: How to Think like a Computer Scientist
Java Tutorials @ Oracle
Java 8 Standard Libraries @ Oracle
Java on Lynda.com
Attendance and Participation:
As per college policy, attendance in all sessions is obligatory. If you cannot attend a class meeting due to religious, athletic, health related circumstance, or circumstance of particular hardship, please notify me in advance via email. Please be ready to present proof, if necessary. It is expected that each person actively engage in each class session.
A positive learning environment relies upon creating an atmosphere where all students feel welcome. Classroom discussion is meant to allow us to hear a variety of viewpoints. This can only happen if we respect each other and our differences. Hostility and disrespectful behavior is not acceptable.
Electronic devices may not be used during class by students in this course, including cell phones, laptops, headphones, etc.
If you construct knowledge you make it your own, and in doing so you get better at using it. For this reason, slides from the course will, in general, not be posted online. Some selected materials, such as handouts, will be posted either on this page or on Blackboard.
“The art of being wise is the art of knowing what to overlook”
— William James
The default grading for the course will be along the university’s standard grading curve:
|A: 93-100||C+: 77-79|
|A-: 90-92||C: 73-76|
|B+: 87-89||C-: 70-72|
|B: 83-86||D+: 67-69|
|B-: 80-82||D: 60-66|
Grades may be adjusted downward as a result of poor attendance or poor engagement in programming assignments. If your participation in these is satisfactory your grade will simply be that as calculated above.
All assignments will be completed alone, but working together without writing or sharing code to come up with general solutions is encouraged. You are expected to post all of your programming assignments to your Web site.
Assignments will be demoed in-person to one of the TAs during their office hours. You will only have one chance to demo each assignment to the TA. They may ask you to modify your program in certain ways, or use specific input during the demo.
Assignments are considered on-time if they are demoed between 1 week before and 1 week after the due date. Assignments may still be demoed between week 1 and 2 after the due date, but only for half of the otherwise earned credit.
Note that no credit will be given for assignments which do not work, and partial credit will be given if only parts of the assignment are shown to work during the demo.
Your programming assignment grade does not figure directly into your course grade, unless your work is unsatisfactory, in which case your course grade (exam/lab grade) will be lowered by 1 letter grade. (Of course, it figures indirectly into your grade, since the learning that accrues as a result of completing the assignments will help you to prepare for the exams.)
You are required to attend the lab in which you are enrolled, and no other. For each lab, you will get a grade based partly on engagement in the lab during your regularly scheduled lab period, and partly on completion of the lab, on your own time, if need be. These grades will be assigned by your lab instructor. TAs cannot grade labs. Completion will be assessed by examining your web site.
The recommended approach for engaging in the laboratory component of the course is to do the following sequence of tasks for each lab:
- Prepare for the lab ahead of time by (a) attending class, and (b) reading through the lab in the Lab Manual.
- Refrain from beginning the lab ahead of time. The idea is for you to actually commence work on the lab when your lab period actually begins.
- Engage in doing the lab during your lab period. If you finish early, you should study your notes or one of the online textbooks listed in the Useful Resources section of this page. You will earn up to 70 points of the lab’s 100 points for appropriate participation in the lab during your laboratory period.
- Complete the lab on your own time, and indicate that you have done so by placing the relevant artifacts on your course web site. You will earn up to 30 points of the lab’s 100 points for doing so.
It is important to note that appropriate participation requires that you work from a hard copy of the lab. Should you fail to bring your Lab Manual or a hard copy of the lab to class, and determine to somehow proceed to work from an on-line copy of the lab, you will only be awarded 30 of the 70 points, at most, for being there and working on the lab.
Working on previous labs during your lab period is prohibited. If you need help in completing a lab that you did not finish during the lab period, you should seek help from a TA during one of their office hours.
Starting with week 3 of the course, it is required that you post artifacts from the labs on your web work site within two weeks of the lab period in which the lab was introduced.
If you miss no more than one lab period this semester, your point total will not be adversely affected. Your lab grade will be calculated as follows:
grade = minimum(100,score), where:
• score = ( ( ( pt + 70 ) / ( n * 100 ) ) * 100 )
• n = the number of labs
• pt = your point total based on the n labs
You may bring your three-ring lab binder to the exams, including any additional documents or notes you decide to augment it with. You may not bring any loose documents – they must be hole punched and organized in your binder. I recommend building this binder up incrementally as the course progresses.
Exams will be given during weeks 6 and 12 of the semester, as well as during finals week.
Each exam question will be assigned a point value (generally some multiple of 3 depending on difficulty), where the following scheme will be used in grading it:
0 – Did not attempt / No serious attempt / Completely incorrect
1 – Mostly incorrect solution
2 – Somewhat incorrect solution
3 – Perfect solution
If the problem is a multiple of 3, then intermediate scores will be given as appropriate. The total points received on all questions will then be summed and divided by the points possible and scaled as appropriate according to the percentages given below.
During the semester we will cover a great many topics, including:
Problem-solving strategies in programming
Good programming technique
Control flow of programs
Modeling classes in terms of state and behavior
Making use of external libraries
Basic data structures such as ArrayList
This syllabus and the course schedule are subject to change by the instructor. All changes and related justifications will be announced in class, and updates will be reflected in this web version.
|1||Monday||1/28||First day of class
Syllabus, Introductory exercise
|Wednesday||1/30||Algorithms and Algorithmic Thinking
Examine Lab 1
Reading: Read Chapter 1: Entrance in the lab manual
|Friday||2/1||Introduction to Microworlds
The Nonrepresentational Painting World
Modular Melodic World
MMW Example 2
Some more advanced NPW programs
|3||Monday||2/11||Problem decomposition, stepwise refinement
Big ideas: how to read/write programs
Assignment 1, due (demoed) 2/20
|Wednesday||2/13||Quick discussion about Lab 3
Variables and Types
Assignment 2 due (demoed) 2/27
|Wednesday||2/20||I/O, Type conversion|
|Friday||2/22||Control flow, Selection
Assignment 3 due (demoed) 3/1
|Wednesday||2/27||Interation, headers and trailers|
Practice Exam 1 Posted on Blackboard
|6||Monday||3/4||Methods, Functions, and Commands|
|Wednesday||3/6||Methods, Functions, and Commands, concluded
CSA Review Session - Thursday 5-6pm
|7||Monday||3/11||Go over exam 1|
|Wednesday||3/13||Finish going over exam 1|
|Friday||3/15||Introduction to Arrays
Assignment 4 due (demoed) 4/12. Demo by 4/18 for full credit, 4/26 for half credit
|8||Monday||3/18||Spring Break - No Class|
|Wednesday||3/20||Spring Break - No Class|
|Friday||3/22||Spring Break - No Class|
|Wednesday||4/3||Quest - No Class
No Labs This Week!
Assignment 5 due (demoed) 4/22. Demo by 4/29 for full credit, 5/6 for half credit
Practice Exam 2 Posted on Blackboard
|11||Monday||4/8||One final ArrayList example
Introduction to Modeling using Object Orientation
|Wednesday||4/10||Object Orientation, continued|
|Friday||4/12||Object Orientation, continued|
|12||Monday||4/15||Object Orientation, continued|
|Wednesday||4/17||Interfaces and their Implementation|
|Thursday||4/18||CSA Review Session - 5-6pm in 425 Shineman
Bring a completed practice exam as your ticket to enter!
|Friday||4/19||Easter Weekend - No Class|
|Wednesday||4/24||What does it mean to learn something new?
Test Corrections due 4/29 at the beginning of class
|Friday||4/26||Developing some algorithms...
TA office hours will be held in 425 today
Assignment 6 accepted for full credit until 5/10. Last day to demo anything will be 5/10
If you've demoed an assignment and it isn't on your website, add it before Wednesday!
|Wednesday||5/1||Exam 2 Discussion
|Friday||5/3||Sorting algorithms, continued|
Final Exam Structure on Blackboard
Discussion of Lab 13
Bring headphones to lab this week!
All labs must be posted on your website by midnight 5/17
|Friday||5/10||Heuristics in Programming
Last day of class
Lab 14 is a nice one to do to keep you fresh over summer!
|Finals Week||Monday||5/13||Final Exam 10:30am - 12:30pm|
While it is acceptable to discuss general approaches with your fellow students, the work you turn in must be your own. You may not turn in code found on the internet. If you have any problems doing the assignments, consult the instructor. Please be sure to read the webpage, “Academic Integrity“, which spells out all the details of this, and related policies. See my page on plagiarism for an explanation of what I consider cheating.
If you have a disabling condition which may interfere with your ability to successfully complete this course, please contact Accessibility Resources located at 155 Marano Campus Center, phone 315.312.3358, email@example.com