You know the basics of programming. You're proficient in variables, functions, control flow, data structures, and file IO. With these concepts, you can train a computer to complete nearly any task you can imagine. So what's next?
Writing large programs
You will learn how to write and organize large pieces of software. To this end, in CSE116 you will study:
While studying these topics we will have a focus on how your programs work, not just that they work.
This is not an easy course! To do well in this course you are expected to:
* The 12 hour minimum is an average. If you invest less than 12 hours/lecture in CSE116 early in the semester, or do not fully understand all the CSE115 topics, you should expect to work significantly more than 12 hours/lecture while you catch up. You should expect to spend 50+ hours in a single week on this course alone if you fall behind or if you're not comfortable with the CSE115 material. Do not fall behind.
Being successful in CSE116 requires completion of all of the learning objective requirements. You must complete every Learning Objective requirement in order to pass CSE116.
Learning objectives are divided into 2 primary categories:
Instead of writing programs as a collection of variables and functions, with object-oriented programming we will group these variables and functions into classes and objects. This allows developers to reason about their programs at a higher level of abstraction.
A student has completed this objective if they are able to:
We will study several new approaches for storing data and computing with that data. Primarily, we will see linked-lists, trees, and graphs while exploring applications of each data structure.
A student has completed this objective if they are able to:
To complete the learning objectives of this course, you must complete all of the following requirements.
Learning Objective Requirements Completed | Grade |
---|---|
All 8 Programming Tasks and 2 Quizzes | Grade depends on the number of Application Objectives completed |
Less than all Programming Tasks all Quizzes | F |
If you have completed all of the learning objectives, your grade will be determined by the number of application objectives you've completed. Most application objectives are designed to incentivize you to keep up with the material of the course and are not meant to be overly difficult to earn. Your final letter grade will be determined as follows:
Application Objectives Completed | Grade |
---|---|
10-12 | A |
9 | A- |
8 | B+ |
7 | B |
6 | B- |
5 | C+ |
4 | C |
3 | C- |
0-2 | F |
Falling even 1 week behind in this course will significantly increase your chances of failing. Application Objectives offer you incentives to stay up-to-date on the material by giving you chances to improve your letter grade.
There is no textbook for this course. Instead, links to relevant readings and tutorials are provided in the course schedule. When a reading is listed you should study it before lecture.
CSE Department Academic Integrity Policy:
https://engineering.buffalo.edu/computer-science-engineering/information-for-students/undergraduate-program/cse-undergraduate-academic-policies/cse-academic-integrity-policy.html
UB Academic Integrity Policy:
https://catalogs.buffalo.edu/content.php?catoid=11&navoid=571#preamble
In addition to the department and university policies, the following details apply to this course.
All submitted work must be of your own creation, and you must not share your submission with anyone else. If any submission is very similar to code that has been submitted by another student, or can be found online, it is in violation of this course's academic integrity policy, and all students will be penalized whether they were copying or sharing their code with other students so they can copy. If two submissions are similar beyond what is likely if the students worked independently, then both students are in violation of the academic integrity policy.
All violations will result in:
It is your responsibility to understand what constitutes an academic integrity violation. If you have any question whether something you are doing is a violation or not, ask for clarification before receiving an F in the course. We will not entertain excuses after you have been caught.
Examples of acceptable behavior:
Examples of unacceptable behavior:
Any student may be challenged by the course staff to explain their code. If they can not explain their code in a way that convinces the course staff that they were the author of all the code they submitted for course credit, they will be found in violation of this academic integrity policy. Please note that if you are in violation of any other part of this policy, it is still a violation even if you can explain your code (eg. If you did write the code, but helped someone else cheat)
If you plan on cheating, plan on taking this course again.
Thursday May 29 |
Java Data Structures - Slides |
Java Examples |
Programming Task 1: Unit Testing | ||
Tuesday June 3 |
Unit Testing - Slides |
|
Testing Strings/doubles - Slides |
||
Testing and Recursion - Slides |
Programming Task 2: Classes | ||
Thursday, June 5 @ 8:00am Task 1: Expected Deadline |
||
Thursday June 5 |
Classes and Objects - Slides |
|
Classes and Objects - Slides |
||
Testing Classes and Examples - Slides |
||
Saturday, June 7 @ 8:00am Task 2: Expected Deadline |
Programming Task 3: Linked Lists | ||
Tuesday June 10 |
Linked List Structure - Slides |
|
Linked List Algorithms - Slides |
||
Stack and Queue - Slides |
Programming Task 4: Inheritance | ||
Thursday, June 12 @ 8:00am Task 3: Expected Deadline |
||
Thursday June 12 |
Inheritance - Slides |
|
Inheritance and Override - Slides |
||
Sorting with Comparators - Slides |
||
Saturday, June 14 @ 8:00am Task 4: Expected Deadline |
||
Saturday, June 14 @ 11:59pm Task 1: Final Deadline |
Programming Task 5: Trees | ||
Monday, June 16 @ 11:59pm Task 2: Final Deadline |
||
Tuesday June 17 |
Binary Trees and Traversals - Slides |
|
Binary Search Trees (BSTs) - Slides |
||
Binary Tree Examples |
Friday, June 20 @ 8:00am Task 5: Expected Deadline |
||
Thursday June 19 |
No Lecture |
|
Saturday, June 21 @ 11:59pm Task 3: Final Deadline |
Programming Task 6: Files | ||
Monday, June 23 @ 11:59pm Task 4: Final Deadline |
||
Tuesday June 24 |
Midterm Exam - First 1.5 hours of lecture |
|
Tuesday June 24 |
Files and Exceptions - Slides |
|
Testing With Files |
Programming Task 7: Polymorphism | ||
Thursday, June 26 @ 8:00am Task 6: Expected Deadline |
||
Thursday June 26 |
Polymorphism - Slides |
|
Polymorphism - Slides |
||
Polymorphism Example |
||
Saturday, June 28 @ 8:00am Task 7: Expected Deadline |
||
Saturday, June 28 @ 11:59pm Task 5: Final Deadline |
Programming Task 8: Graphs | ||
Tuesday July 1 |
Graphs - Slides |
|
Graph with BFS - Slides |
||
Graph Examples - Slides |
Thursday, July 3 @ 8:00am Task 8: Expected Deadline |
||
Thursday July 3 |
Final Exam - The entire 2.5 hours of lecture |
|
Saturday, July 5 @ 11:59pm Task 6: Final Deadline |
||
Monday, July 7 @ 11:59pm Task 7: Final Deadline |
||
Saturday, July 12 @ 11:59pm Task 8: Final Deadline |