Principles of Programming
Quick links: Grading Summary | Day-By-Day Schedule | Class Documents
Instructors:
Prof. Daniel R. Schlegel, PhD – 464 Shineman Center, daniel.schlegel@oswego.edu
Prof. Elizabeth Wilcox, PhD – 174D Marano Campus Center, elizabeth.wilcox@oswego.edu
Course Assistants:
Teaching Assistants (TAs): Omar Garbanzo, Kayla Gray, Vicky Liu
Office Hours / Course Schedule:
Monday | Tuesday | Wednesday | Thursday | Friday | |
---|---|---|---|---|---|
8:00 | |||||
8:30 | |||||
9:00 | Class Park 315 9:10-10:05 | Class Park 315 9:10-10:05 | Class Park 315 9:10-10:05 |
||
9:30 | Prof. Lee’s Lab (L54) Shineman 446 9:35-10:30 |
||||
10:00 | Prof Schlegel’s Office Hours Shineman 464 10:00-11:00 | ||||
10:30 | Prof. Lea’s Lab (L50) Shineman 446 10:20-11:15 | TA Hours (OG+VL) Shineman 446 10:30-12:30 |
|||
11:00 | |||||
11:30 | Prof. Early’s Lab (L51) Shineman 446 11:30-12:25 | ||||
12:00 | |||||
12:30 | |||||
1:00 | |||||
1:30 | |||||
2:00 | Prof. Wilcox’s Office Hours MCC 174D 1:50-3:30 Prof. Schlegel’s Office Hours Shineman 464 2:00-3:00 | Prof. Schlegel’s Lab (L52) Shineman 446 1:50-2:45 Prof Wilcox’s Office Hours Shineman 450 1:50-2:45 | Prof. Wilcox’s Office Hours Shineman 446 1:50-2:45 |
||
2:30 | |||||
3:00 | TA Hours (KG+VL) Shineman 446 3:00-5:00 | Prof. Wilcox’s Lab (L53) Shineman 446 3:00-3:55 Prof. Schlegel’s Office Horus Shineman 464 3:00-3:55 | |||
3:30 | |||||
4:00 | TA Hours (All) Shineman 446 4:00-6:00 | ||||
4:30 | |||||
5:00 | TA Hours (KG+OG) Shineman 446 5:00-7:00 | ||||
5:30 | |||||
6:00 | |||||
6:30 | |||||
7:00 | |||||
7:30 |
Please come to one of us or a TA if you need help! The computer science association, and in general students who hang out in 425 Shineman, is also a great resource. There is also tutoring available from the Office of Learning Services. Contact them for details!
How to Interact with the Course:
This page contains the course syllabus, including the procedures we will follow throughout the semester. It also includes a schedule of when TA office hours are occurring, when the exams are, and a record of what we did in class each day. Your assignments will be posted here, along with due dates. So, you should bookmark this page!
Course Description:
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.
Course Objectives:
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.
Textbooks:
Required: Graci, C. and Schlegel, D.R. A First Course in Computer Programming: Laboratory Manual
Useful Resources:
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 11 Documentation @ Oracle
Java on LinkedIn Learning
Important Links:
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 us in advance via email. Please be ready to present documentation, if necessary. It is expected that each person actively engage in each class session.
Attendance will be taken. If you are not present at the beginning of class, you will not be marked as present.
Modality:
We meet in person three times a week. There will be no recording, and we won’t work through the content with you in a one-on-one fashion during office hours or an appointment – basically, if you miss class then you missed out on what you signed up for when registering for the class and you will have to work through the content independently. Of course, we will answer questions about the content, if you have any, and there are exceptions for excused absences due to illness etc.
“Go Remote” due to COVID-19: If we are forced to “go remote” for a prolonged period during the semester then we’ll hold class over Zoom and make a Zoom link available on course webpage, as well as email it with the weekly content. This is definitely a sub-par, miserable excuse for a class meeting. We’ll do this only if circumstances force us.
“Go Remote” Days Due to Weather: In short, we value our snow days and will do what is reasonable to make sure that no commuter is in danger, while also maintaining academic integrity. In long, the concept of a “Go Remote” day due to weather is crap. We deserve our snow days. Yes, snow days are a serious inconvenience and create a content crunch, especially if classes are cancelled indiscriminately. But, snow days are also a weather-gifted day of respite and nearly everyone appreciates an occasional day of rest. We may choose to skip certain topics during the semester so that we can afford to cancel class on a “Go Remote” day. If it turns out that many classes are cancelled due to weather, then we will have to assign independent reading / activities to cover some of the content.
Classroom Etiquette:
A positive learning environment relies upon creating an atmosphere where all students feel welcome. 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.
The current university policy will decide the class policy on masks and social distancing. Regardless of class policy, you can do more! If you wish to wear a mask, please do so! If you are sick with a potentially communicable disease, you should wear a mask and seriously consider staying home to prevent the spread of disease.
Philosophy:
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 Brightspace.
“The art of being wise is the art of knowing what to overlook”
— William James
Programming is a skill, like learning an instrument. A good programmer can look at at a problem, work out a solution, and express that solution in code – just as a musician might imagine a piece of music to represent a feeling, and express it on their instrument of choice. This is quite different from a course where you might be able to study by memorizing facts. Instead, we will push you to practice throughout the semester, building your skills as a programmer by understanding the concepts and applying them.
Grading Summary:
Assessment | Points |
---|---|
Participation / Attendance | 100 |
Programming Challenges | 200 |
Labs | 200 |
Exam 1 | 150 |
Exam 2 | 150 |
Final Exam | 200 |
Total | 1000 |
The default grading for the course will be along the university’s standard grading curve:
Letter: Points | Letter: Points |
---|---|
A: 930-1000 | C+: 770-790 |
A-: 900-920 | C: 730-760 |
B+: 870-890 | C-: 700-720 |
B: 830-860 | D+: 670-690 |
B-: 800-820 | D: 600-660 |
E: 0-590 |
Programming Challenges:
All programming challenges will be completed alone, but working together without writing or sharing code to come up with general solutions is encouraged. That is: share ideas, not solutions. You are expected to post all of your programming assignments to your Web site. Occasionally a programming challenge may also include a non-programming component where you solve a problem or create some sort of artifact exhibiting what you’ve learned.
Programming challenges 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. At the end of the semester we will review the notes made by TAs and assign a final grade. The TA will provide you comments on your assignments along with a preliminary score, but our final grade is based on a combination of correctness, completion, and whether an honest attempt was made.
Programming challenges are considered on-time if they are demoed on or before the due date. Assignments may still be demoed up to two weeks after the due date, but with a 5% penalty per weekday past the deadline.
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. Once your website has been established, only assignments posted there will be graded.
Labs:
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.
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. Having the lab open on a cell phone is not a suitable substitute for a lab manual. Being late to lab or leaving early will adversely affect your grade.
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.
Working on previous labs during your lab period is prohibited until you have completed the current week’s lab. If you need help in completing a lab that you did not finish during the lab period, you should seek help from a TA or GA 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 two lab periods 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 + 140 ) / ( n * 100 ) ) * 100 )
• n = the number of labs
• pt = your point total based on the n labs
Exams:
Exams are open notes – you should plan to have your notes from class handy, as well as your lab notebook (it makes the most sense if you combine these in some way which is logical to you!). Not permitted are electronic aides and questions/answers from exams held during earlier instances of the course.
Exams will be given during weeks 7 and 13 of the semester (see the below schedule for exact dates), as well as during finals week. Exams will be given during class time and at the designated time during finals week.
Each exam question will be assigned a point value, questionPoints, where the following general scheme will be used in grading it:
0 – Did not attempt / No serious attempt / Completely incorrect
1/3 * questionPoints – Mostly incorrect solution
2/3 * questionPoints – Somewhat incorrect solution
3/3 * questionPoints – Perfect solution
Intermediate scores will be given as appropriate. The total points received on all questions will then be summed to determine your score.
Schedule/Outline:
During the semester we will cover a great many topics, including:
Problem-solving strategies in programming
Good programming technique
Java syntax
Control flow of programs
Modeling classes in terms of state and behavior
String processing
Making use of external libraries
Recursion
Array processing
Basic data structures such as ArrayList
File I/O
This syllabus and the course schedule are subject to change by the instructors. All changes and related justifications will be announced in class, and updates will be reflected in this web version.
Week | Day | Date | Topic | Assignment/Assessment | Lab |
---|---|---|---|---|---|
1 | Monday | 1/23 | First Day of Class Syllabus & Overview | Read Chapter 1 of the Lab Manual | Lab 1: Hello World! Hello You! |
Wednesday | 1/25 | Algorithmic Thinking Lab 1 Discussion | |||
Friday | 1/27 | Computational Microworlds Blue Dot | |||
2 | Monday | 1/30 | Introduction to MMW MMW Sounds | Lab 2: Hello Painter! Hello Composer! | |
Wednesday | 2/1 | Composers MMW Example 2 Sounds | |||
Friday | 2/3 | Snow Day! | |||
3 | Monday | 2/6 | Programming like a Tailor | Programming Challenge 1 due (demoed to a TA) 2/14 | Lab 3: Establishing a CS1 Work Site |
Wednesday | 2/8 | Stepwise Refinement | |||
Friday | 2/10 | How to Read a Program Data, Variables, Types, Expressions | |||
4 | Monday | 2/13 | Data, Variables, Types, Expressions | Lab 4: Expressions and Shapes World Problem Solving | |
Wednesday | 2/15 | Crypto Problems The DataPlay Program | Programming Challenge 2 due (demoed to a TA 2/28 | ||
Friday | 2/17 | DataPlay, concluded Shapes World Problem Solving | |||
5 | Monday | 2/20 | Shapes World Problem Solving Selection Statement | Lab 5: An Interpreter Featuring Loop Forever and Selection | |
Wednesday | 2/22 | Selection and Iteration | |||
Friday | 2/24 | Headers, Trailers AverageWithHeader Program | |||
6 | Monday | 2/27 | AverageWordLength Program Superficial Signatures | Lab 6: Functions and Commands | |
Wednesday | 3/1 | Superficial Signatures Methods, Functions, Commands Exam Ground Rules + Study Tips Practice Exam 1 Posted! | Programming Challenge 3 due demoed to a TA 3/21 | ||
Friday | 3/3 | Methods, Functions, Commands | |||
7 | Monday | 3/6 | Arrays | Lab 7: String Thing | |
Wednesday | 3/8 | Arrays, continued | |||
Friday | 3/10 | Exam 1 | |||
8 | Monday | 3/13 | No Class – Spring Break | No Lab | |
Wednesday | 3/15 | No Class – Spring Break | |||
Friday | 3/17 | No Class – Spring Break | |||
9 | Monday | 3/20 | Exam 1, Reviewed | Lab 8: Array Play | |
Wednesday | 3/22 | Arrays, continued | Programming Challenge 4 due demoed to a TA 4/4 | ||
Friday | 3/24 | Arrays, for loops | |||
10 | Monday | 3/27 | ArrayLists | Lab 9a: Simple List Processing | |
Wednesday | 3/29 | ||||
Friday | 3/31 | ||||
11 | Monday | 4/3 | ArrayLists, concluded Object Orientation | Lab 10: Establishing and Using Classes | |
Wednesday | 4/5 | Object Orientation The Die Class The Box Class | Programming Challenge 5 due demoed to a TA 4/18 | Programming Challenge 5 due demoed to a TA 4/18 | |
Friday | 4/7 | The Box Class, concluded The Card Class | |||
12 | Monday | 4/10 | The Card Class | Lab 11: Modeling Objects with Classes | |
Wednesday | 4/12 | The Card Class | |||
Friday | 4/14 | The Card Class | |||
13 | Monday | 4/17 | Exam 2 | Exam 2 | Lab Catch Up Week! |
Wednesday | 4/19 | Quest Day, No Class | |||
Friday | 4/21 | Discussing Exam 2 | Programming Challenge 6 due demoed to a TA 5/2 | ||
14 | Monday | 4/24 | What does it mean to learn something new? | Lab 12: Grapheme to Color Synesthesia | |
Wednesday | 4/26 | MaxElement Algorithm | |||
Friday | 4/28 | MaxElement, continued Chromesthetic Paintings | |||
15 | Monday | 5/1 | Selection Sort | Lab 13: Chromesthesia | |
Wednesday | 5/3 | Search: Sequential and Binary Extra TA office hours Thursday 5:30-7:30PM | |||
Friday | 5/5 | No Class – Dan and Elizabeth at a conference Dan’s Finals Week Office Hours: Monday: 9-10:30 Tuesday: | Last Day to Demo! | ||
Finals Week | Wednesday | 5/10 | Final Exam 8-10am | Final Exam 8-10am |
Mental Health:
Stress is a normal and important part of our human experience. However, there are times when your stress will exceed your coping skills and resources. The changes that we have experienced due to the COVID-19 pandemic have impacted us all in various ways and are expected to continue to do so for the foreseeable future. Your health and well-being are critical components in your ability to learn. If you find that you are struggling to engage and function, please reach out. Resources are available, including Counseling Services, oswego.edu/csc, which provides brief and confidential counseling support to enrolled students (covered by your student health fee.) After-hours crisis coverage is available by calling Counseling Services at 315.312.4416 and listening to the available options. The CrisisTextLine can be accessed by texting GOT5U to 741741. Lastly, the Oz Concern Navigator, oswego.concerncenter.com, is now available to point you to additional resources to help you address your concerns.
Academic Integrity:
SUNY Oswego is committed to Intellectual Integrity. Any form of intellectual dishonesty is a serious concern and therefore prohibited. You can find the full policy online. 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. See this page on plagiarism for an explanation of what we consider cheating. All parties involved in academic integrity violations will receive a score of zero for that lab/exam/assignment, and all violations will be reported. Repeat violations, including across semesters, will result in failing the course.
Accessibility:
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, access@oswego.edu
Clery Act/Title IX Reporting:
SUNY Oswego is committed to enhancing the safety and security of the campus for all its members. In support of this, faculty may be required to report their knowledge of certain crimes or harassment. Reportable incidents include harassment on the basis of sex or gender prohibited by Title IX and crimes covered by the Clery Act. For more information about Title IX protections, go to https://www.oswego.edu/title-