CS 2040: Programming in C and C++, 2021

Instructor: Rob Hasker (414-277-7326)

Office hours: See my home page: https://faculty-web.msoe.edu/hasker/

Textbooks: A Tour of C++, 2nd Ed., Bjarne Stroustrup, Addison Wesley, 2018, ISBN 978-0134997834
Programming Ruby - The Pragmatic Programmer's Guide, Dave Thomas and Andy Hunt, 2001; available at http://ruby-doc.com/docs/ProgrammingRuby/

Course Description:

This course introduces students to additional scripted, procedural, and object-oriented programming languages including C and C++. Students are introduced to the concepts of compilation, memory management, linking, low-level types, efficient implementation of objects, and the Standard Template Library. Students may not receive credit for both CS 3210 and CS 2040
Prereq: CS 2852

Format: 3 lecture hours, 2 lab hours, 4 credits

Course Outcomes: On successful completion of this course, the student will be able to

Grading

  Percentage  
Labs  35%
Quizzes/exercises/participation:  25%
Midterm:  20%
Final Exam:  20%
Total: 100%

The MSOE grading scale will be used, though higher grades may be awarded to individual students if it increases fairness. In addition, successfully demonstrating mastery of course outcomes is a prerequisite for a passing grade. This includes being successful on the final exam and, in some cases, completing assignments even if worth zero points.

Communication

I will either link to materials or provide materials on Canvas. This includes quizzes, exams, assignments, notes, and other materials. I also provide materials at my class web site https://faculty-web.msoe.edu/hasker/cs2040/ such as sample programs illustrating key concepts and upcoming notes. Class announcements and (when relevant) lectures will be provided via Teams. I intend to record one lecture for each class day (either section) and make those available on Canvas. There may be times where there are pre-recorded lectures. It is critical you enable notifications for the Teams entries for CS 2040. Many announcements will be made that way and no other. I may also use email at times. I expect you to check for electronic communications at least once a day.

Labs, Assignments, and Quizzes

Lab solutions which do not run or which do not produce some correct output will be worth 0 points. However, you can get partial credit for partially working solutions. Estimate how long the lab will take, and if it takes much longer then it is definitely time to see your instructor!

Unless otherwise announced, late assignment solutions (for labs and exercises) will be penalized 2% per day, and solutions more than a week late are worth 0 points unless there is advance arrangement for extenuating circumstances. Unless you have written permission, all assignments must be submitted before Monday of finals week.

Assignments are individual unless we explicitly state otherwise. It is OK to look at another student's code with them to help them fix an error, but it is not OK to have a copy of another student's code at any time or in any form. Electronic tools will be used to identify plagiarism, and students guilty of either copying or "loaning" out their code will be penalized. If you store your code in a repository, do not make it public.

Code will be graded for both correctness and meeting standards. The most frequent mistake is in using (hard) tab characters in source files - this is a practice that is strongly discouraged in industry, and it makes your code harder to grade. Configure your IDE to insert spaces instead of tabs.

Students are expected to use the provided VM for C++ development.

Missed quizzes cannot be made up, but at least one of the lowest quiz or exercise scores will be dropped.

Attendance

Do not skip class! If you do happen to miss, be sure to check for new materials and get the notes you missed from a friend before the next class period. You are responsible for anything missed! If you need to be excused from class for MSOE activities or religious observances, be sure to me know in advance. If you're sick, it's obviously not a good idea to come to class. This includes days on which there are exams; just be sure to contact me as soon as you can get to a phone or computer.

Using phones and laptops during class to check social media, write papers, etc. is a form of missing class!

Strongly consider taking hand-written notes for this class. The slides omit many details on purpose. In many cases I will write code on the screen, and it is often much easier to track edits by hand than reproduce it on a typewriter. Note the campus printers will easily scan documents so you can organize your notes electronically.

Do not record or distribute video or audio of lectures without my permission.

When an exam is missed, I will determine whether to give you a make-up exam or increase the weight of the other exams. All students must take the final exam to receive a passing grade in the course unless the student has been excused in advance.

For students with documented disabilities, chronic medication conditions and mental health concerns: MSOE provides services to make reasonable accommodations available. If you are a student who requires or anticipates the need for accommodations, please contact Student Accessibility Services Office at 414-277-7281, by email at moureau@msoe.edu, or in person at K250 to discuss appropriate accommodations and eligibility requirements.

Course Topics