Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 CS 162 Introduction to Computer Science Chapter 2 Introduction Herbert G. Mayer, PSU Status 11/9/2014.

Similar presentations


Presentation on theme: "1 CS 162 Introduction to Computer Science Chapter 2 Introduction Herbert G. Mayer, PSU Status 11/9/2014."— Presentation transcript:

1 1 CS 162 Introduction to Computer Science Chapter 2 Introduction Herbert G. Mayer, PSU Status 11/9/2014

2 2 Syllabus This is CS 161 This is CS 161 Acknowledgments Acknowledgments Prerequisites Prerequisites Course Material Course Material Working Standards Working Standards References References

3 3 This is CS 162 CS 162, Introduction to Programming in C++ CS 162, Introduction to Programming in C++ Derived from PSU material, customized for CCUT Derived from PSU material, customized for CCUT Students get introduced to programming Students get introduced to programming

4 4 Acknowledgments Some material of first few chapters was inherited from PSU ECE prof. Phillip Wong, ECE 103 Some material of first few chapters was inherited from PSU ECE prof. Phillip Wong, ECE 103 Also some ideas I inherited from PSU prof. Karla Fant, CS 161 Also some ideas I inherited from PSU prof. Karla Fant, CS 161

5 5 Prerequisites Some understanding of using computers Some understanding of using computers ECE 102 Engineering Computation - recommended ECE 102 Engineering Computation - recommended High School mathematic skills, specifically Algebra and trigonometry High School mathematic skills, specifically Algebra and trigonometry Access to a C++ programing development environment Access to a C++ programing development environment

6 6 Working Standards Your key contributions in this class will be working source programs Your key contributions in this class will be working source programs Part of that work is documentation, usually in the form of comments Part of that work is documentation, usually in the form of comments Make sure you do comment, not what is evidently visible from the source, but share your thoughts you went through when you wrote your source. Make sure you do comment, not what is evidently visible from the source, but share your thoughts you went through when you wrote your source. For example, when you write code: For example, when you write code: Index ++;// increment the index All readers can see that you increment the index. Don’t bother saying that you increment it. We all know. Detail, what the index is used for, what the next element so identified means, what is behind it? All readers can see that you increment the index. Don’t bother saying that you increment it. We all know. Detail, what the index is used for, what the next element so identified means, what is behind it?

7 7 Working Standards Include in your comments your name, the date last modified, a description of the project Include in your comments your name, the date last modified, a description of the project Include the class, school, name of the project Include the class, school, name of the project Also, if you rely on other sources (books, internet, advisors) do share which source you are using Also, if you rely on other sources (books, internet, advisors) do share which source you are using When updating or upgrading your program, ensure that the new source and the comments you also update do correspond When updating or upgrading your program, ensure that the new source and the comments you also update do correspond

8 8 Course Material Instructor Notes Instructor Notes “The C Programming Language”, 2 nd Edition, Brian Kernighan, Dennis Richie, Prentice Hall © 1988 or newer, recommended “The C Programming Language”, 2 nd Edition, Brian Kernighan, Dennis Richie, Prentice Hall © 1988 or newer, recommended The Annotated C++ Reference Manual, by Margaret A. Ellis, and Bjarne Stroustrup, Addison Wesley 51459, © 1992 or newer, ISBN: , recommended


Download ppt "1 CS 162 Introduction to Computer Science Chapter 2 Introduction Herbert G. Mayer, PSU Status 11/9/2014."

Similar presentations


Ads by Google