Docsity

CS 23021: Introduction to Object-Oriented Programming in C++ - Prof. L. G. Volkert, Study notes of Computer Science

Toggle sidebar
bg1
CS 1 - Programming and Problem Solving
CS 23021 (Fall 2006) - Sections 003 & 004
Tuesday & Thursday 12:30 - 1:45 p.m.
Room 121 MSB, Call No. 20635 & 21256
Instructor: Dr. L. Gwenn Volkert
Office: 216 MSB
Phone: (330) 672-9037
Mailbox: 233 MSB
Web: http://www.cs.kent.edu/~volkert
Office Hrs: T/Th 2:00 pm - 3:30 pm
Class Web: http://www.cs.kent.edu/~volkert/CS23021 /F06
Course Description:
This is a programming course tha t also introduces the object oriented programming paradigm. Object
Oriented Programming is the most important and dominant progra mming approach today. Object
Oriented Programming is quite different than functional or procedural programming, and it is difficult to
learn on your own. This course is concerned primarily with beginning programmers who have never
programmed in the C++ language. The course will focus on programming correctly in C++ by teaching
structured and object oriented programming techniques , and proper program design. Students will design,
develop, write (translate), compile, execute and debug C++ programs throughout the course. Hands-on
programming will be a key part of the course. Please note that this course, CS 23021, is a prerequisite for
CS 33001, Data Structures. A grade of C (2.0 honor points) or better in CS 23021 is required to take CS
33001. Note that a grade of C- (1.7 honor points) will NOT meet this requirement. Please se e
http://www.cs.kent.edu/programs/ugrad/planner.html for additional de tails.
Course Objectives:
o Introduce a disciplined approach to problem solving and algorithm development.
o Program developmen t, including design, coding (trans lating), debugging, and testing.
o Basic language statements - syn tax, semantics, usage of the C++ language
o Functions - syntax , semantics, usage, functional abstraction
o Familiarity with s trings and vectors
o Types - syntax, semantics, usage
o Structures
o Introduce the basics of classes (limited)
o Pointers and dynamic memory for single objects (if time permits)
o Correct translation of algorithm into program
o Basic tool usage - editor (emacs or vi), compiler (g++), shell (bash), search tools (grep)
Prerequisites
CS10051 Introduction to Computer Science or CS10061 Intro to Computer program ming or permission
from the instructor.
Textbook
• Problem Solving With C++, The Object of Programming, 6th edition, Walter Savitch, Addison Wesley,
ISBN: 0-321-41269-9, 2006.
pf3
pf4

Partial preview of the text

Download CS 23021: Introduction to Object-Oriented Programming in C++ - Prof. L. G. Volkert and more Study notes Computer Science in PDF only on Docsity!

CS 1 - Programming and Problem Solving

CS 23021 (Fall 2006) - Sections 003 & 004

Tuesday & Thursday 12:30 - 1:45 p.m.

Room 121 MSB, Call No. 20635 & 21256

Instructor: Dr. L. Gwenn Volkert

Email : [email protected] Office: 216 MSB Phone: (330) 672- 9037 Mailbox: 233 MSB Web: http://www.cs.kent.edu/~volkert Office Hrs: T/Th 2:00 pm - 3:30 pm Class Web: http://www.cs.kent.edu/~volkert/CS23021/F

Course Description:

This is a programming course that also introduces the object oriented programming paradigm. Object Oriented Programming is the most important and dominant programming approach today. Object Oriented Programming is quite different than functional or procedural programming, and it is difficult to learn on your own. This course is concerned primarily with beginning programmers who have never programmed in the C++ language. The course will focus on programming correctly in C++ by teaching structured and object oriented programming techniques, and proper program design. Students will design, develop, write (translate), compile, execute and debug C++ programs throughout the course. Hands-on programming will be a key part of the course. Please note that this course, CS 23021, is a prerequisite for CS 33001, Data Structures. A grade of C (2.0 honor points) or better in CS 23021 is required to take CS

  1. Note that a grade of C- (1.7 honor points) will NOT meet this requirement. Please see http://www.cs.kent.edu/programs/ugrad/planner.html for additional details.

Course Objectives :

o Introduce a disciplined approach to problem solving and algorithm development. o Program development, including design, coding (translating), debugging, and testing. o Basic language statements - syntax, semantics, usage of the C++ language o Functions - syntax, semantics, usage, functional abstraction o Familiarity with strings and vectors o Types - syntax, semantics, usage o Structures o Introduce the basics of classes (limited) o Pointers and dynamic memory for single objects (if time permits) o Correct translation of algorithm into program o Basic tool usage - editor (emacs or vi), compiler (g++), shell (bash), search tools (grep)

Prerequisites

CS10051 Introduction to Computer Science or CS10061 Intro to Computer programming or permission from the instructor.

Textbook

  • Problem Solving With C++, The Object of Programming, 6th edition, Walter Savitch, Addison Wesley, ISBN: 0 - 321 - 41269 - 9 , 2006.

Lectures

Students are expected to attend each lecture. I will not take roll, yet attendance and active participation during a lecture will help you learn the material and succeed in class.

Class Participation

10 points are given for participation. You are expected to answer questions I ask in class. The questions usually deal with the material we covered in the previous class. If you do not attend the class I consider that you do not answer questions I ask you. Rather than participate in class you may select to do a harder last project (which will earn you the extra 10 points.) If you select this option you have to inform me by e-mail within the first two weeks of classes. Once you choose this option, you cannot go back to class participation option. Even though I provide this alternative, I encourage you to select class participation since I believe this is the best way to learn the material.

Quizzes

There will be approximately 7 quizzes held during the class. The date of the quiz is announced about a week in advance (there will be no surprise quizzes.) A quiz is held during the first 10 minutes of the class. Late students will not be given extra time to complete the quiz. A quiz usually contains 10 multiple- choice questions. Each question is worth 1 point. I will not count your worst score towards your final grade (missing quiz is equivalent to scoring 0.)

Exams

There will be one midterm exam (held during class) and a final exam (held during finals week). All exams are closed book, closed notes, and must be individual work. It is expected that you take each exam at the scheduled time, unless you make prior arrangements with me, or have a documented illness (in which case I expect you to contact me as soon as possible). You will be tested on the material I covered in class. The textbook alone may not be sufficient for adequate preparation for the exams.

Programming Projects

There will be approximately 7 programming projects. The programming projects involve reading, modifying and writing C++ code. You will submit your projects electronically. The projects will also be graded electronically. Details on individual programming assignments and the detailed requirements for them will be given when they are assigned. The general program requirements listed on the course website apply to all programs. You will be provided with an account on departmental undergraduate Unix server. You are, however, free to do your work on any other Unix machine you have access to.

Late Policies

  • quizzes no late quizzes accepted, no make-up quizzes;
  • exams no late exams, no make-up exams;
  • projects late projects accepted. 10% of the grade is subtracted for each day the project is late. For penalty calculation Saturday and Sunday are counted as one day. Late work will be accepted as stated above. I may waive the late policy conditions only in case of a documented illness or some extraordinary circumstance. In either case you have to contact me immediately. With respect to projects, my decision to grant you a waiver is partially influenced by the

Letter grades will be assigned according to the following percentages. Plus/Minus grades will be given. 93% <= A <=100% 90% <= A- < 93% 87% <= B+ < 90% 83% <= B < 87% 80% <= B- < 83% 77% <= C+ < 80% 73% <= C < 77% 70% <= C- < 73% 67% <= D+ < 70% 60% <= D < 67% 0% <= F < 59%

Students with Disabilities

University policy 3342- 3 - 18 requires that students with disabilities be provided reasonable accommodations to ensure their equal access to course content. If you have a documented disability and require accommodations, please contact the instructor at the beginning of the semester to make arrangements for necessary classroom adjustments. Please note, you must first verify your eligibility for these through Student Disability Services (contact 330- 672 - 3391 or visit www.kent.edu/sds for more information on registration procedures).

Student Expectations

o This is a computer programming course. Computer programming is best learned by actually writing computer programs. You will need to spend a lot of time designing, writing and debugging programs. o Start work on a programming assignment as soon as possible after it is given. This will allow you to discover things that aren't clear to you and ask questions about them. It is hard to write a program quickly at the last minute, it is highly recommended to avoid this situation. Also, unforeseen circumstances often occur. o Attendance is necessary and expected. It is up to the student to make up any missed material. If a class is missed it is best to get notes from a fellow student (who has taken good notes). This will be the best record of what transpired during the class meeting. o You have a printer quota of 50 pages. Additional pages may be purchased at 3 cents per page. At least 24 hours must be allowed for the quota to be increased. o Please turn off any phones, beepers, or other noise-making device before class begins. o The schedule and procedures for this course are subject to change. Changes will be announced in class and posted on the course website, it is the student's responsibility to learn and adjust to changes.

o If you have any problems, including understanding the material that we cover in class or using the

computer, please email me and/or bring your questions/problems to office hours.