Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to Computer Programming in C www.ccsa126.wikispaces.com.

Similar presentations


Presentation on theme: "Introduction to Computer Programming in C www.ccsa126.wikispaces.com."— Presentation transcript:

1 Introduction to Computer Programming in C www.ccsa126.wikispaces.com

2 Lecture 1: Outline Introduction Course Syllabus Learning Objectives Textbooks Labs Grading Installing / using Visual Studio 2010

3 Introduction to programming What is programming and programming languages? Computers are really very dumb machines indeed because they do only what they are told to do. computer systems perform their operations on a very primitive level For example, know how to add one to a number or how to test whether a number is equal to zero. The basic operations of a computer system form what is known as the computer’s instruction set

4 Cont To solve a problem using a computer, you must express the solution to the problem in terms of the instructions of the particular computer. A computer program is just a collection of the instructions necessary to solve a specific problem. The approach or method that is used to solve the problem is known as an algorithm.

5 Example to develop a program that tests if a number is odd or even, the set of statements that solves the problem becomes the program. The method that is used to test if the number is even or odd is the algorithm. to develop a program to solve a particular problem, first express the solution to the problem in terms of an algorithm and then develop a program that implements that algorithm.

6 cont the algorithm for solving the even/odd problem might be expressed as follows: First, divide the number by two. If the remainder of the division is zero, the number is even; otherwise, the number is odd. you can then proceed to write the instructions necessary to implement the algorithm on a particular computer system. These instructions would be expressed in the statements of a particular computer language, such as Visual Basic, Java, C++, or C.

7 Programming in c Learning Objectives First course in Computer Programming No previous knowledge is assumed ! By the end of the course, students will: Understand fundamental concepts of computer programming/imperative structured programming languages Design algorithms to solve (simple) problems Use the C programming language

8 Textbook Stephen Kochan, Programming in C, 3 rd Edition, Sams Publishing, 2005 Main (first) textbook for this course Teaches you how to program (in C) Follows an approach suited for a first programming language

9 Policies and Grading Lectures: can be interactive, with questions and interactive problem solving Labs: mandatory attendance Each lab session has a practical programming assignment to be done individually in class Read lecture slides and corresponding textbook chapters before attending the lab session ! Final grade: 10 Programming Assignments30% Midterm Exam25% Final Exam 45% Total100%

10 Course chapters [Kochan] Some Fundamentals Compiling and Running your First C Program Variables, Data Types, and Arithmetic Expressions Input and output Program Looping Making Decisions Working with Arrays Working with Functions Putting it all together

11 IDE Microsoft visual studio 2010 / any edition

12 Installing VS 2010 After downloading the installation exe file we should extract it

13 Installing VS 2010

14 Installation options

15 Installing VS 2010 Installation in progress

16 Installing VS 2010 We should exit all Microsoft running Apps

17 Installing VS 2010 We must check all the supported packages we need

18 Installing VS 2010 We must check all features we want to install

19 Installing VS 2010

20


Download ppt "Introduction to Computer Programming in C www.ccsa126.wikispaces.com."

Similar presentations


Ads by Google