Presentation is loading. Please wait.

Presentation is loading. Please wait.

Computer Engineering 1 nd Semester Dr. Rabie A. Ramadan 1.

Similar presentations


Presentation on theme: "Computer Engineering 1 nd Semester Dr. Rabie A. Ramadan 1."— Presentation transcript:

1 Computer Engineering 1 nd Semester Dr. Rabie A. Ramadan http://rabieramadan.org 1

2 2 Class Rules It will be a tough class, however, Enjoy what you do Do not worry about the exam as long as : You are reading and understanding the materials in the book I do not care how are you going to learn programming language The section will help you to do so but it is your responsibility to dig in the subject

3 3 Class Rules Attendance is a must Assignments must be delivered on time  no exception whatever the reason. The source code must be submitted with any programming assignment

4 4 Class Rules Text Books Rabie Ramadan, Computer Organization for Developers Part I, 2008 Other sources

5 Class Rules You can bring anything to drink but NO FOOD PLEASE When you come in, DO not knock on the door When you want to leave, do not tell me  Just leave but you will counted as absent

6 Before We Start …. Lets Play Games for 5 Minutes

7 Game No. 1 Study the circles below. Work out what number should replace the question mark.

8 8 Hit 4 * 5 + 3* 6 = 38 8 * 4 + 3 * 5 = 47

9 Game No. 2 Draw a square made up of dots like this one on your piece of paper Now, without lifting the pencil from the page, draw no more than four straight lines which will cross through all nine dots

10 Hint One line can go out of the paper

11 Solution Lessons Learned Do not discard small details Ask questions You might think that things are very complicated but with little guide it becomes very easy

12 Video Part 12 Play What does it tell you? Do not be Stupid

13 Programming Language programming language is a tool used by a programmer to give the computer very specific instructions in order to serve some purpose for the user. A program is like a recipe. mix eggs, butter, sugar in a bowl add flour, baking soda, and flavorings mix until creamy add chocolate chips bake in the oven. Can you make chocolate cake out of this recipe ? Can you make chocolate cake out of this recipe ?

14 Do we need more details ? Yes place two eggs in a bowl add 1.5 c. butter to the eggs...bake cookies for 10-12 minutes at 375 degrees or until brown Is there anything missing ?Is there anything missing ? Well, it does not say how to put the eggs shelled or not.Well, it does not say how to put the eggs shelled or not. It adds some illustrationsIt adds some illustrations

15 Computer Programming Computer does not understand You need to tell it every details Therefore, we have languages to tell the computer what to do.

16 Is it only one language ? No, There are many languages Each one is designed with a purpose in mind

17 What is behind the high level language? Computer does not understand the high level language The program must be translated to the machine language Compiler / Interpreter Source Code Compiler / Interpreter Object Code

18 Compiler/ Interpreter

19 Why C++? C++ allows expression of abstract ideas C++ is a third generation language that allows a programmer to express their ideas at a high level as compared to assembly languages. C++ still allows a programmer to keep low-level control it has some of the "feel" of an assembly language.

20 Why C++? C++ has national standards (ANSI) Code written in C++ that conforms to the national standards can be easily integrated with preexisting code. C++ is reusable and object-oriented C++ is widely used and taught

21 Reading Assignment 21 Please Read Chapter 1


Download ppt "Computer Engineering 1 nd Semester Dr. Rabie A. Ramadan 1."

Similar presentations


Ads by Google