Lecture notes for the Introduction to Computer Science I by James Tam | Return to the course web page |
The main point of this section is to introduce the basic parts of a computer program and how commonly used operations are implemented in the language. Because the basics are generally the same regardless of the programming language taught in this course (e.g., Pascal, C, C++, Java etc.) this section should include the fundamental concepts such as: the basic structure of a program written in the language (e.g., header, some sort of starting point for execution such as a 'main' c-), how basic input and output is implemented by the programming language, what are the common mathematical operators in the language.