BCS 120 Fall 2016. Foundations of Computer Programming I

Lecturer: Jun Yuan
Time & Location:
Session Mon Wed Time
93502 214 216 8:00-9:15
92885 108 124 1:40-2:55
94490 111 216 3:05-4:20
Office Hours: Mo 11:00am-12:25pm
We 11:00am-12:25pm
Th 12:15pm-2:25pm
or any other time by appointment
@Whitman Hall 216A



This course introduces the C++ Programming Language as a means of developing structured programs. Students will be taught to develop algorithms using top-down stepwise refinement. Students will be introduced to the concept of Object Oriented programming through the use of pre-defined classes. In addition, students will get a thorough exposure to C++ syntax and debugging techniques.

Course Objectives

At the completion of this course, students will be able to use problem-solving skills to:


Students are encouraged to refer to the following texts:

Requirements and Grading

Subject to tweaks throughout the semester.

Tentative Schedule

Note: the schedule may change throughout the semester.
Date Topic Homeworks Notes
8/29 Intro to terminologies
8/31 cout, #include, variables, literals, identifiers HW 1, due: 11:59pm Sep. 8th Andrew McKenzie
9/5 No Class (Labor Day)
9/7 data type HW 2. due: 11:59pm Sep. 15th Andrew McKenzie
9/12 data type continued(slides as above)
9/14 cin, Expression and Type Conversion Andrew McKenzie, Kevin Wang
9/19 Chapter 3.3~3.5
9/21 Chapter 4.1~4.4
9/26 Chapter 4.5~4.7
09/28 Midterm 1
10/03 Chapter 4.8~4.10
10/05 Chapter 4.11~4.13
10/10 Chapter 5.1~5.4
10/12 Chapter 5.5~5.7
10/17 Chapter 5.8~5.10
10/19 Chapter 5.11~5.13
10/24 Chapter 6.1~6.2
10/26 Midterm 2
10/31 Chapter 6.3~6.4
11/02 Chapter 6.5~6.7
11/07 Chapter 6.8~6.10
11/09 Chapter 6.11~6.13
11/14 Chapter 6.14~6.16
11/16 Chapter 7.1~7.2
11/21 Chapter 7.3~7.4
11/23 No Class (Thanksgiving Break)
11/28 Chapter 7.5~7/6
11/30 Chapter 7.12
12/05 Chapter 7.15 or make-up
12/07 Final Review
12/14 Final exam


Please be courteous and arrive ON TIME for class. Students are required to attend all classes for which they are registered. The student is responsible for fulfilling all course requirements and completion of all course assignments to receive credit for the course. If classes are missed for any reason, the student is not excused for any missed work.

The student must request an official withdrawal on or before the official last date for withdrawal or they will receive an A through F grade. This policy is in alignment with the policy stated in the 2015 Ė 2016 College Catalog which states:" A grade of "W" will be given to any student who officially withdraws from a course from the beginning of the second week through the end of the ninth week of classes. Withdrawal after the ninth week of classes is permitted only under extenuating circumstances at the discretion of the instructor."


New York State Public Health Law 2165 requires all students born on or after January 1, 1957 who register for 6 or more credits to prove immunity to Measles, Mumps, and Rubella (MMR). The College will disenroll any student who is not in compliance with this law. If there is any doubt about the status of your compliance with Public Health Law 2165, please check with the Health and Wellness Center (631) 420-2009, located behind Memorial Hall.


Please visit the Farmingdale State Web site (http://www.farmingdale.edu) home page to obtain the latest information on class cancellations or delayed openings.


Itís important that you and your classmates not be distracted from learning. The prohibition of cell phones is covered in Article II of the Student Code of Conduct. Any disruption of teaching, which specifically includes the use of cell phones, pagers, or other electronic devices, is considered a Level 1 violation of Article II of the Student Code of Conduct. Any violation may result in disciplinary action ranging from a warning letter to probation, suspension or dismissal from the College. As such, please turn off and put away these devices prior to your entering the classroom. Laptop computers Ė if used in class -- are to be used for academic work only, not for recreational means or surfing of the Internet.


Students who seek accommodations (e.g. extra time for tests, readers, sign-language interpreters) are required to meet with the Director of the Office for Students with Disabilities for review of their special needs and present documentation regarding their disability. For further information, contact the Office for Students with Disabilities at (631) 420-6173/2411. The office is located in Roosevelt Hall, Room 150/151. If you have a documented disability and wish to discuss academic accommodations, please contact me as soon as possible.


Unless specifically indicated as group or team projects, all assignments are considered individual assignments for which the instructor expects original work submitted by each student. All assignments must comply with the following Computer Systems Department academic integrity policy. We will follow the student code of conduct definitions of Academic Dishonesty, as listed in the Farmingdale State College Student Code of Conduct, as follows:

  1. Submitting another personís work with or without that personís knowledge.
  2. Copying a computer program or programming code from another source.
  3. Purchasing and then submitting programming code.
In addition, the following are also considered to be a breach of the academic integrity policy as it applies to individual assignments:
  1. Exchanging ideas, computer code, and documents electronically.
  2. Sharing storage media.
  3. Submitting a document file that has been duplicated electronically from another personís work.
  4. Collaborating with another person to produce identical or similar work.
  5. Intentionally or knowingly helping, attempting to help, or solicit another to commit an act of academic dishonesty.
First Offense: Second Offense: A second offense can occur in the same course or in different courses in the same or different semesters. Student dishonesty on exams and/or a capstone project will automatically be treated as a second offense.
If a student is unclear about or has questions regarding the academic integrity policy, it is the student's responsibility to ask the professor for clarification of the policy. If a student is unclear about what is regarded cheating, please also read this.
Note: If you have a question about an assignment submission or evaluation, or if you have a question about an exam or a quiz grade, you must raise those questions within one week after the assignment evaluation or the exam or quiz was graded or returned.