605.604.81 - Object-Oriented Programming with C++

Computer Science
Fall 2024

Description

This course provides in-depth coverage of object-oriented programming principles and techniques using C++. Topics include classes, overloading, data abstraction, information hiding, encapsulation, inheritance, polymorphism, file processing, templates, exceptions, container classes, and low-level language features. The course briefly covers the mapping of UML design to C++ implementation and object-oriented considerations for software design and reuse. The course also relates C++ to GUI, databases, and real-time programming. The course material embraces the C++11 language standard with numerous examples demonstrating the benefits of C++11. Prerequisite(s): Knowledge of a high level block structures language.

Instructors

Profile photo of Doug Ferguson.

Doug Ferguson

dfergus1@jh.edu

Default placeholder image. No profile image found for Harold Pierson.

Harold Pierson

halpierson@hotmail.com

Course Structure

The course materials are divided into modules which can be accessed by clicking Course Modules on the left menu. A module will have several sections including the overview, content, readings, discussions, and assignments. You are encouraged to preview all sections of the module before starting. Most modules run for a period of seven (7) days, exceptions are noted on the Course Outline page. You should regularly check the Calendar and Announcements for assignment due dates.

Course Topics

Module 1 Introduction
Module 2 Intro to Classes, Objects, Strings, Control Statements
Module 3 Control Statements and Logical Operators Functions, and Introduction to Recursion
Module 4 Arrays and Vectors Pointers
Module 5 Classes
Module 6 Operator Overloading
Module 7 OOP Inheritance
Module 8 Polymorphism
Module 9 Stream Input-Output, File Processing
Module 10 Standard Template Library, STL Algorithms
Module 11 Exceptions and Custom Templates
Module 12 Data Structures, Searching and Sorting, String and String Stream Processing
Module 13 Bits, Chars, Strings, Structs, Other Topics
Module 14 C++11,  Additional Features

Course Goals

To master all techniques of software development in the C++ Programming Language and demonstrate these techniques by the solution of a variety of problems spanning the breadth of the language including C++11 and later changes

Course Learning Outcomes (CLOs)

Textbooks

C++ How to Program (10th Edition) March 10, 2016 by Paul Deitel (Author), Harvey Deitel (Author) ISBN-10: 0134448235 

Other Materials & Online Resources

A C++ Development Environment which supports (most of) the C++11 features such as Eclipse CDT with MinGW (Minimalist GNU for Windows), Microsoft Visual Studio, Studio Coder C++, NetBeans, or other IDE

Required Software

A C++11 or later Compiler or IDE containing a C++ Compiler

Student Coursework Requirements

It is expected that each module will take approximately 7–10 hours per week to complete. Here is an approximate breakdown: reading the assigned sections of the texts
(approximately 3–4 hours per week) as well as some outside reading, listening to the audio annotated slide presentations (approximately 2–3 hours per week), and assignments
(approximately 2–3 hours per week). All due dates are shown in the course calendar.
This course will consist of four basic student requirements:

1. Preparation and Participation (Module Discussions)
You are responsible for carefully reading all assigned material and being prepared for discussion. The majority of readings are from the course text. Additional reading may be assigned to supplement text readings.
Post your initial response to the discussion questions by the evening of day 3 for that module week. Posting a response to the discussion question is part one of your grade for module discussions (i.e., Timeliness).
Part two of your grade for module discussion is your interaction (i.e., responding to classmate postings with thoughtful responses) with other classmates (i.e., Critical Thinking). Just posting your response to a discussion question is not sufficient; we want you to interact with your classmates. Be detailed in your postings and in your responses to your classmates postings.
Feel free to agree or disagree with your classmates. Please ensure that your postings are civil and constructive.
We will monitor module discussions and will respond to some of the discussions as discussions are posted. In some instances, we will summarize the overall discussions and post
the summary for the module.

2. Assignments
Programming assignments are to be submitted as a SINGLE PDF FILE containing
1. Description of the design,
Stating HOW your code classes/methods/class relationships will meet the Project or Assignment requirements
Using whatever means you desire, state your Software design
There are many options, some of which could be varying combinations of the following
A description in text
Hand drawn figures
Diagrams drawn using Office Tools such as Word or Visio
Diagrams drawn using design tools such as UML or SysML tools
2. Code, and
3. Test results
All assignments are due according to the dates in the Calendar.

Evaluation and Grading

Late submissions will be reduced by 10% for each week late with max of 30%(no exceptions without prior coordination with the instructors).


If you want the grader to know why a submission is late or want to understand any other part of the submission, put a "Notes to the Grader" section at the beginning of your submission. For example, if the instructor grants you a week extension you need to state that in the Notes to the Grader section at the beginning of your submission so the grader does not deduct late points.

Students are encouraged to collaborate and help each other with the projects.  Early in the semester a spreadsheet will be shared containing each student's name, email, and zip code to help students determine who they might collaborate with, if they choose to do so.  As such, students can team with one other student where there is only one submission for both to Canvas where the front page CLEARLY indicates the names of students in the team.  The one submission will be graded using the Assignment Rubric and all students in the group will receive the same grade for that project submission.  

Sharing-It is extremely beneficial for learning for students to share with each other their work on projects.  Each project's artifacts are shared between students in the respective Discussion Board for Project Sharing.  As the quadcopter projects build upon one another, projects are INTENTIONALLY shared so students can see and understand each other's designs and use that additional knowledge in their later projects.  This course uses Canvas discussions to facilitate sharing where each module has a "Project Sharing" discussion for students to share their work with other students and collaborate with each other.  As a student, you decide what to share or not share with other students in your Project Sharing discussion post for each module.  It is easiest to just post the pdf you submitted to Canvas for grading, or you could submit anything else like a short video, but you do need to post something to get credit for sharing.  You need to share no earlier than one week after the due date and within a month after the due date.  As projects are graded before they are shared, credit is initially giving for sharing. After a month and definitely by the end of the semester, the credit for Sharing for students who do not share any material will be revised.  Please help each other!  For many students the material is totally new and the first time you learn new concepts is difficult so please help each other!

Usage of material from other sites-It facilitates learning to garner information from other sources to accomplish you own work. We are now at a point of time where you can get examples of work from the net, other students, AI like ChatGPT, and a myriad of other places all of which help you not only learn in this class but be more productive in your jobs.  JH just asks that you cite what you use from other sources and where you got it from. Never take any credit for work you did not do yourself.  Al Gore did not invent the internet.  As long as you give credit for where you get material, you can use any material you find anywhere to help you with your projects 

Grading Policy

Assignments are due according to the dates posted on your Canvas course site. You may check these due dates in the Course Calendar or the Assignments in the corresponding modules. We will post grades one week after assignment due dates.

We generally do not directly grade spelling and grammar. However, egregious violations of the rules of the English language will be noted without comment. Consistently poor performance in either spelling or grammar is taken as an indication of poor written communication ability that may detract from your grade.

A grade of A indicates achievement of consistent excellence and distinction throughout the course, that is, conspicuous excellence in all aspects of assignments and discussion every week.

A grade of B indicates work that meets all course requirements on a level appropriate for graduate academic work. Score Range Letter Grade 100-98= A+ 97-94= A 93-90= A- 89-87= B+ 86-83= B 82-80= B- 79-77= C+ 76-73= C 72-70= C- 69-67= D+ 66-63= D <63= F

Academic Policies

Deadlines for Adding, Dropping and Withdrawing from Courses

Students may add a course up to one week after the start of the term for that particular course. Students may drop courses according to the drop deadlines outlined in the EP academic calendar (https://ep.jhu.edu/student-services/academic-calendar/). Between the 6th week of the class and prior to the final withdrawal deadline, a student may withdraw from a course with a W on their academic record. A record of the course will remain on the academic record with a W appearing in the grade column to indicate that the student registered and withdrew from the course.

Academic Misconduct Policy

All students are required to read, know, and comply with the Johns Hopkins University Krieger School of Arts and Sciences (KSAS) / Whiting School of Engineering (WSE) Procedures for Handling Allegations of Misconduct by Full-Time and Part-Time Graduate Students.

This policy prohibits academic misconduct, including but not limited to the following: cheating or facilitating cheating; plagiarism; reuse of assignments; unauthorized collaboration; alteration of graded assignments; and unfair competition. Course materials (old assignments, texts, or examinations, etc.) should not be shared unless authorized by the course instructor. Any questions related to this policy should be directed to EP’s academic integrity officer at ep-academic-integrity@jhu.edu.

Students with Disabilities - Accommodations and Accessibility

Johns Hopkins University values diversity and inclusion. We are committed to providing welcoming, equitable, and accessible educational experiences for all students. Students with disabilities (including those with psychological conditions, medical conditions and temporary disabilities) can request accommodations for this course by providing an Accommodation Letter issued by Student Disability Services (SDS). Please request accommodations for this course as early as possible to provide time for effective communication and arrangements.

For further information or to start the process of requesting accommodations, please contact Student Disability Services at Engineering for Professionals, ep-disability-svcs@jhu.edu.

Student Conduct Code

The fundamental purpose of the JHU regulation of student conduct is to promote and to protect the health, safety, welfare, property, and rights of all members of the University community as well as to promote the orderly operation of the University and to safeguard its property and facilities. As members of the University community, students accept certain responsibilities which support the educational mission and create an environment in which all students are afforded the same opportunity to succeed academically. 

For a full description of the code please visit the following website: https://studentaffairs.jhu.edu/policies-guidelines/student-code/

Classroom Climate

JHU is committed to creating a classroom environment that values the diversity of experiences and perspectives that all students bring. Everyone has the right to be treated with dignity and respect. Fostering an inclusive climate is important. Research and experience show that students who interact with peers who are different from themselves learn new things and experience tangible educational outcomes. At no time in this learning process should someone be singled out or treated unequally on the basis of any seen or unseen part of their identity. 
 
If you have concerns in this course about harassment, discrimination, or any unequal treatment, or if you seek accommodations or resources, please reach out to the course instructor directly. Reporting will never impact your course grade. You may also share concerns with your program chair, the Assistant Dean for Diversity and Inclusion, or the Office of Institutional Equity. In handling reports, people will protect your privacy as much as possible, but faculty and staff are required to officially report information for some cases (e.g. sexual harassment).

Course Auditing

When a student enrolls in an EP course with “audit” status, the student must reach an understanding with the instructor as to what is required to earn the “audit.” If the student does not meet those expectations, the instructor must notify the EP Registration Team [EP-Registration@exchange.johnshopkins.edu] in order for the student to be retroactively dropped or withdrawn from the course (depending on when the "audit" was requested and in accordance with EP registration deadlines). All lecture content will remain accessible to auditing students, but access to all other course material is left to the discretion of the instructor.