You are on page 1of 8

Saint Leo University COM207 Programming in C/C++ Course Description: The use of the C/C++ programming language for

information processing and problem solving. Students use algorithms and computer logic to translate data into information through structured design, coding, testing, and program debugging. Prerequisite: COM 202 or COM 203 Textbooks: Zak, D. (2011). An introduction to programming with C++. 6th ed. Boston, MA: Course Technology ISBN-10: 0-538-46652-9 ISBN-13: 978-0-538-46652-3. http://www.cengage.com/coursetechnology Materials: Students will need to install the Express Edition of C++ which is available as a free download from Microsofts webpage at: http://www.microsoft.com/express/vc/. More expensive editions are also usable. Students will be responsible for keeping a large number of data files. They are strongly advised to acquire a USB storage device for their data. In addition, they will need paper and pencil/pen for notes. Course Objectives: The student will: 1. Write, test, and debug C/C++ Code using the MS C/C++ IDE. 2. Develop algorithms using the sequence, select, and repetition structures; document the structure of these algorithms using flow charts and pseudo code; and translate these algorithms into procedural blocks (procedures, functions) of C/C++ code. 3. Create and use variables and named constants of the appropriate data types, including integers, floating point numbers, text strings, and one & two dimensional arrays; also convert data between different types as needed to process input and produce output. 4. Write C/C++ code to perform logical, arithmetic, and string operations on data. 5. Write code to interact with the user and file system using traditional I/O streams, file input/output, and also the dot net I/O techniques. In addition, this code will validate input and echo input values back to the user to ensure proper interpretation and prevent use of invalid results. 6. VALUES OUTCOME: In this class we will study how to organize data and effectively communicate information. Hence we will learn how to take precautions while recording data and presenting it in a manner that prevents misunderstanding, practicing Saint Leo Universitys core value of Integrity. Integrity: The commitment of Saint Leo University to excellence demands that its members live its mission and deliver on its promise. The faculty, staff and students pledge to be honest, just and consistent in word and deed.

Grading: The following criteria will be used to determine a final grade in the course: Tests (Midterm & Final) 30% Lab & Assignments: 60% Weekly Discussion Questions: 10%

Grade/Score: A AB+ B BC+ C CD+ D F 94-100% 90-93 87-89 84-86 80-83 77-79 74-76 70-73 67-69 60-66 0-59

Tests & Quizzes: A midterm and final exam will be given and will cover the material presented since the last exam/test. The test given during finals week will NOT be a cumulative final. Make-up tests will be permitted only for excused absences, which would require written evidence. Assignments: Programming languages, just like human languages, must be learned by practice. Hence, this is a hands on, lab-intensive class. Students will be given specific graded assignments in each module throughout the course, all of which must be satisfactorily completed in order to complete the course. Computer assignments must be turned in electronically to the professor. All assignments and laboratory work for each chapter must be submitted according to the schedule. Late submission will result in the deduction of 10% off marks per day. No assignments will be accepted after three working days from the scheduled date and the student will be awarded zero marks for that part of the assignment. The assignment will be evaluated and the student notified of his grade, and the reasons for lost points. Discussion Questions: Discussion questions will be posted in each module. These represent an opportunity to interact with your classmates, and hopefully reinforce ideas, by allowing you to provide each other feedback. In each module you are expected to post your own reply to the question, and also respectfully comment on at least two (2) classmates posts. You will be given a grade for the discussion in each module. Out of 100 points, an individual post is worth 70, and each comment on anothers post is worth 10%. Late Policy: All work must be submitted on time. Exceptions must be documented and acceptance is at the discretion of the faculty member. Attendance Policy: Students are expected to view the course modules in the week they are offered, and to log on to the course often enough to remain abreast of any communications from the instructor. It is the students responsibility to be aware of what is happening in the class online. Disability Services: Saint Leo University is committed to a policy which provides an equal opportunity for full participation of all qualified individuals with disabilities in accordance with the ADA. Appropriate academic accommodations and services are coordinated through the Office of Disability Services. Students with disabilities who require accommodation should contact the office as soon as possible via email: ADAOffice@saintleo.edu or telephone: (352) 588-8464. For additional information, students may access the Policy and Procedure Manual through the Saint Leo website.

Academic Honesty: The Academic Honor code is published in its entirety in the Saint Leo University Catalog. The first paragraph is quoted below: As members of an academic community that places a high value on truth and the pursuit of knowledge, Saint Leo University students are expected to be honest in every phase of their academic life and present as their own work only that which is genuinely theirs. Unless otherwise specified by the professor, students must complete homework assignments by themselves (or if on a team assignment, with only their team members). If they receive outside assistance of any kind, they are expected to cite the source and indicate the extent of the assistance. Each student has the responsibility to maintain the highest standards of academic integrity and to refrain from cheating, plagiarism, or any other forms of academic dishonesty. Cannon Memorial Library Resources for Online Learning Courses: Cannon Memorial Library Librarians are available during reference hours to assist you. To contact the librarian on duty, please call 1.800.359.5945 or email reference.desk@saintleo.edu. Reference Hours** Monday to Thursday 9 AM10 PM Friday 9 AM5 PM Saturday/Sunday 10 AM6 PM **Subject to change. Check the calendar for current information. Web Address (URL) http://www.saintleo.edu/library Online Catalog LeoCat (All Books, eBooks, and Media) Click on Library Catalog (LeoCat) on the Cannon Memorial Library homepage. SLU students, faculty and staff may borrow books from Cannon Memorial Library. Books you can check-out have Location=Cannon Library, Second Floor and Status=Available. Use the Interlibrary Loan and Document Delivery link on the librarys website to place your request. Online Library Resources (Articles and eBooks) Saint Leo provides an array of online article databases and eBook collections that support your classes. Use the Online Library Resources link on the Cannon Memorial Library homepage to access the online resources. CQ Researcher...... (In-depth topical analysis by Congressional Quarterly) Dissertations and Theses..... (A database of published Dissertations and Theses, including those from Saint Leo University) EBSCO (Comprehensive all-subject database, includes Business Source Premier, Academic Source Premier, ERIC, ATLA) LexisNexis... (Comprehensive all-subject resource, includes newspapers) Literature Resource Center...... (Comprehensive source for literary topics, includes Twayne Authors) Newsbank: Americas Newspapers. (625 U.S. newspapers) ProQuest.. (Comprehensive all-subject database, includes ABI/Inform Global) PsycINFO. (APA abstracts and indexing for psychology subjects) Westlaw (Comprehensive legal resource) Wilson... (Includes Education, Science, Humanities, & Business indexes) Supplemental Library Resources Saint Leo encourages students to obtain a public library borrowing card at their earliest convenience. Many state libraries grant public library cardholders free remote access to multiple online databases

containing full-text articles. For further information, contact your local public library. To find updated links to all state libraries, as well as public libraries, law libraries, and college libraries in your area, go to http://www.publiclibraries.com/. Library Tutorial The University strongly encourages all students to review the instructional tools on the librarys Help! link. By learning to become more proficient researchers, students will also enhance their academic success. Please review the library tutorial and complete the online test which will prepare you for utilizing the library's resources and services. A score of 70 or higher is necessary to pass. Please allow yourself 15-20 minutes to take the test. Additional Services: Technical questions concerning the course should be addressed to the eCollege Help Desk, by clicking the Help button in the upper right corner of the Course Home page. Then select Help Desk from the lefthand navigation tree in the Help Pages window, to access the email form. Or, phone the eCollege Help Desk at 866-501-1636.

Module 1 Outcomes:

Getting Started After completing this module the student will be able to: Describe algorithms in terms of sequence, selection, and repetition. Create, verify, and modify algorithms to solve problems. Use IPO charts and flow charts to represent algorithms. Compile, build and execute a sample program using the Microsoft C++ IDE. Create a simple program from scratch using the Microsoft C++ IDE. Due No Later Than 11:59 PM Thursday EST/EDT 11:59 PM Thursday EST/EDT 11:59 PM Sunday EST/EDT 11:59 PM Sunday EST/EDT

Assignments:

Assignments Read Chapters 1, 2, and 3 Post introduction on the Discussion Board Post answer to discussion question Post response to two classmates posts Complete the Hands-On Learning and submit to the Dropbox

Reading:

In order for you to complete this module, you are required to read the following from your text: Chapter 1 Chapter 2 Chapter 3 Answer the discussion question and respond to two other classmates. Complete the following: Lab 3-2, pp. 66-68 Computer Exercise 4, p. 74

Discussion: Hands-On Learning:

Module 2 Outcomes:

Variables, Constants, and Arithmetic After completing this module the student will be able to: Classify information to process as a built-in data type.

Create variables of the appropriate data type and name them according to conventions. Differentiate between characters and strings, and use them appropriately. Differentiate between the floating point and integer numbers, and use them appropriately. Convert values between different data types. Create named constants and use them to hold stable values. Use the assignment operator and arithmetic operators to perform basic computations. Get user input from the keyboard at run time. Print output on the screen. Format numbers to print on the screen so that their appearance is appropriate. Program in dot Net C++, as well as traditional C++. Assignments: Assignments Read Chapter 4 Post answer to discussion question Post response to two classmates posts Complete the Hands-On Learning and submit to the Dropbox Due No Later Than 11:59 PM Thursday EST/EDT 11:59 PM Sunday EST/EDT 11:59 PM Sunday EST/EDT

Reading:

In order for you to complete this module, you are required to read the following from your text: Chapter 4 Answer the discussion question and respond to two other classmates. Complete the following: Lab 4-2, pp. 99-102 Computer Exercise 9, p. 112

Discussion: Hands-On Learning:

Module 3 Outcomes:

Making Decisions After completing this module the student will be able to: Use conditions and selection structures to allow programs to change their behavior based on the data they have received or the results of calculations. Use comparison operators and logical operators to make complex decisions. Validate input data using selection structure. Compare letters and strings from user input and use them to control the flow of the program execution. Use the dot Net String class to manipulate text, and convert numeric data to appropriately formatted text. Use nested selection structures to enable programs to make complex decisions. Use multi-path selection structures, such as switch statements, to handle decisions with many options. Create complex output formats using formatting strings and variable lists. Assignments Read Chapters 5 and 6 Post answer to discussion question Due No Later Than 11:59 PM Thursday EST/EDT

Assignments:

Post response to two classmates posts Complete the Hands-On Learning and submit to the Dropbox

11:59 PM Sunday EST/EDT 11:59 PM Sunday EST/EDT

Reading:

In order for you to complete this module, you are required to read the following from your text: Chapter 5 Chapter 6 Answer the discussion question and respond to two other classmates. Complete the following: Lab 5-1, pp. 144-145 Computer Exercise 11, p. 157 Lab 6-2, pp. 189-193 Computer Exercises 13, pp. 203-204

Discussion: Hands-On Learning:

Module 4 Outcomes:

Going in Loops After completing this module the student will be able to: Design pretest and posttest loops to accomplish computations. Compute totals and averages using accumulators and counters in loops. Code pretest loops using while statements and for statements. Code posttest loops using do while statements. Perform complex data manipulations using nested repetition structures. Due No Later Than 11:59 PM Thursday EST/EDT 11:59 PM Sunday EST/EDT 11:59 PM Sunday EST/EDT 11:59 PM Sunday EST/EDT

Assignments:

Assignments Read Chapters 7 and 8 Post answer to discussion question Post response to two classmates posts Complete the Hands-On Learning and submit to the Dropbox Complete the Midterm Exam

Reading:

In order for you to complete this module, you are required to read the following from your text: Chapter 7 Chapter 8 Answer the discussion question and respond to two other classmates. Complete the following: Lab 7-2, pp. 243-247 Computer Exercise 22, p. 258 Lab 8-2, pp. 292-296 Computer Exercise 19, p. 303

Discussion: Hands-On Learning:

Module 5 Outcomes:

Functions After completing this module the student will be able to:

Decompose larger algorithms into modular functions which can be created and tested in isolation. Classify activities into value-returning and void functions. Create function prototypes. Generate random numbers and timestamp using the system libraries. Pass parameters by reference or by value as needed. Create global and local variables as appropriate to the situation. Assignments: Assignments Read Chapters 9 and 10 Post answer to discussion question Post response to two classmates posts Complete the Hands-On Learning and submit to the Dropbox Due No Later Than 11:59 PM Thursday EST/EDT 11:59 PM Sunday EST/EDT 11:59 PM Sunday EST/EDT

Reading:

In order for you to complete this module, you are required to read the following from your text: Chapter 9 Chapter 10 Answer the discussion question and respond to two other classmates. Complete the following: Lab 9-2, pp. 348-354 Computer Exercise 17, p. 365 Lab 10-2, pp. 393-399 Computer Exercise 14, p. 409

Discussion: Hands-On Learning:

Module 6 Outcomes:

Arrays After completing this module the student will be able to: Create one- and two-dimensional arrays. Use loops to manipulate arrays.

Assignments:

Assignments Read Chapters 11 and 12 Post answer to discussion question Post response to two classmates posts Complete the Hands-On Learning and submit to the Dropbox

Due No Later Than 11:59 PM Thursday EST/EDT 11:59 PM Sunday EST/EDT 11:59 PM Sunday EST/EDT

Reading:

In order for you to complete this module, you are required to read the following from your text: Chapter 11 Chapter 12

Discussion: Hands-On Learning:

Answer the discussion question and respond to two other classmates. Complete the following: Lab 11-2, pp. 466-472 Computer Exercise 20, p. 480 Lab 12-2, pp. 511-514

Computer Exercise 19, p. 519

Module 7 Outcomes:

Strings After completing this module the student will be able to: Create strings to hold text data. Use the built-in string functions to manipulate and process strings.

Assignments:

Assignments Read Chapter 13 Post answer to discussion question Post response to two classmates posts Complete the Hands-On Learning and submit to the Dropbox

Due No Later Than 11:59 PM Thursday EST/EDT 11:59 PM Sunday EST/EDT 11:59 PM Sunday EST/EDT

Reading:

In order for you to complete this module, you are required to read the following from your text: Chapter 13 Answer the discussion question and respond to two other classmates. Complete the following: Lab 13-2, pp. 562-567 Computer Exercise 20, p. 576

Discussion: Hands-On Learning:

Module 8 Outcomes:

Text File Input and Output After completing this module the student will be able to: Create files and use them to store data from our programs between executions.

Assignments:

Assignments Read Chapter 14 and Appendix F Post answer to discussion question Post response to two classmates posts Complete the Hands-On Learning and submit to the Dropbox Complete the Final Exam

Due No Later Than 11:59 PM Thursday EST/EDT 11:59 PM Sunday EST/EDT 11:59 PM Sunday EST/EDT 11:59 PM Sunday EST/EDT

Reading:

In order for you to complete this module, you are required to read the following from your text: Chapter 14 Appendix F Answer the discussion question and respond to two other classmates. Complete the following: Lab 14-2, pp. 604-612 Computer Exercise 20, p. 620

Discussion: Hands-On Learning:

You might also like