Presentation is loading. Please wait.

Presentation is loading. Please wait.

Computer Programming (ECE 201) Instructor : Dr. Soltan Alharbi September Slides borrowed from Instructor: Wajih Alouini.

Similar presentations


Presentation on theme: "Computer Programming (ECE 201) Instructor : Dr. Soltan Alharbi September Slides borrowed from Instructor: Wajih Alouini."— Presentation transcript:

1 Computer Programming (ECE 201) Instructor : Dr. Soltan Alharbi September 2016 1Slides borrowed from Instructor: Wajih Alouini

2 –Dr. Soltan Alharbi –Office: Faculty of Engineering room # –E-mail: salharbi@uj.edu.sasalharbi@uj.edu.sa –Office Hours: Monday and Wednesday from 10:30 to 12:30 2

3 Course Overview Course: Computer Programming (CE 201) Time: Place: NJ6 Textbook: D. Malik, C++ Programming: From Problem Analysis to Program Design, Course Technology, 2012. Supplementary references : W. Savitch, Problem Solving with C++, Addison Wesley, 2008. Class Schedule –Lectures: two sessions/week, one hour/session. –Lab. : one session/week, two hours/session. Prerequisites: –Basic computer skills (CPIT 100) –Calculus I (Math 110) 3

4 Teaching Lectures Quizzes –At least 2 quizzes Homework should be returned in within one week Mid-term and final exam 4

5 Grading Policy Homework : 10% Labs: 25% Quiz: 10% Midterm exam: 20% Final exam: 30% Attendance : 5% 5

6 Objectives By the completion of the course, you should be able to: 1. define the programming concepts. 2. build a simple program by using control structures (if statements, looping structures). 3. recognize how and when to use functions which are raising the efficiency of the program. 4. build programs using arrays. 5. building some complicated programs. 6

7 Contents 1. Introduction to programming languages. 2. Introduction to C++, variables, and constants. 3. Input and output in C++ and arithmetic/logic instructions. 4. If and switch statements. 5. Looping. 6. Functions. 7. Arrays. 8. Characters and strings 9. Pointers. 10. Introduction to classes 7

8 8

9 Program Development Environment Free C++ Development Environments –GCC on Linux/UNIX servers (ntut.edu.tw) Not friendly for beginners –Windows-based Dev C++ (http://www.bloodshed.net/devcpp.html): not maintainedhttp://www.bloodshed.net/devcpp.html –For further development, please check Orwell’s Engine (http://orwellengine.blogspot.com/ )http://orwellengine.blogspot.com/ –Other choices: wxDev-C++ by Colin Laplace et. al. Cygwin (http://www.cygwin.com/): UNIX-like emulation on Windowshttp://www.cygwin.com/ MinGW (http://www.mingw.org/)http://www.mingw.org/ Commercial tools –Microsoft Visual C++ –Borland C++ –… 9

10 We will try to start from the vary basics and reach a satisfactory level in C++, which will allow you to implement projects and ideas you will have in the future. If you are experienced please be patient and think of your colleagues that are not. If you are an absolute beginner please invest time by yourself at the beginning to reach a satisfactory level. 10

11 How to Prepare Yourself? LEARNING HOW TO PROGRAM WELL IS A PERSONAL RESPONSIBILITY AND REQUIRES LOTS OF EFFORT, TRIALS AND ERRORS. Practice, practice, practice… –Exercises –Online resources: programming exercises, forums, … 11


Download ppt "Computer Programming (ECE 201) Instructor : Dr. Soltan Alharbi September Slides borrowed from Instructor: Wajih Alouini."

Similar presentations


Ads by Google