15
Introduction to Programming Using C++ Dr. Mohamed Khafagy

Introduction to Programming Using C++ Dr. Mohamed Khafagy

Embed Size (px)

Citation preview

Page 1: Introduction to Programming Using C++ Dr. Mohamed Khafagy

Introduction to Programming Using C++

Dr. Mohamed Khafagy

Page 2: Introduction to Programming Using C++ Dr. Mohamed Khafagy

Welcome to the course

Personal Email:[email protected]

Web Site www.mkhafagy.com

Course mail:[email protected]

Page 3: Introduction to Programming Using C++ Dr. Mohamed Khafagy

Description of Course BTEC 103 is an introduction to the basics of

computer programming in an object oriented framework. We will use C++ as a programming language for learning software writing skills. C++ includes a lot of facilities that satisfies the requirements for developing very powerful programming techniques. Students will be able to understand fundamental issues as algorithms, structured and object oriented programming.

introduction to programming covered Selective structures, relational operators, logical operators, conditional expression operator, conditional statements (if, switch). Repetitive structures, while, do-while, for loops, loop interruptions

Page 4: Introduction to Programming Using C++ Dr. Mohamed Khafagy

TopicsDesign algorithm (flow chart)Introduction to programming with

C++ Formatted I/O; Expressions Selections LoopsFunctionArray

Page 5: Introduction to Programming Using C++ Dr. Mohamed Khafagy

What are we doing ? What’s the reason you’re here?

Page 6: Introduction to Programming Using C++ Dr. Mohamed Khafagy

Objectives

At the end of this course, the student will be able to: Identify the basics of computer programming Express problem solutions in the form of algorithms using

pseudo-code Implement simple algorithms using C++ using different data

types Use the more common built-in C++ library functions Understand decision-making with the if-else statement and the

switch statement Use both relational and logical operators Implement both deterministic and non-deterministic repetitions

using the for, while, and do-while constructs. Understand functions, both value and reference parameters,

overloading, and default Implement functions using arrays Understand the basic concepts of string handling in C++

Page 7: Introduction to Programming Using C++ Dr. Mohamed Khafagy

Course Methodology

The course will be taught through lectures, with class participation expected and encouraged. There will be frequent reading assignments to supplement the lectures. The workload will include both written assignments and projects. Projects will be primarily individual, and self-contained.

Page 8: Introduction to Programming Using C++ Dr. Mohamed Khafagy

Textbook

Problem solving with C++, Seventh Edition, Savitch,2009

An Introduction to Programming With C++ ,Fifth edition, Diane Zake ,2008.

There will also be supplemental readings assigned during the semester.

 

Page 9: Introduction to Programming Using C++ Dr. Mohamed Khafagy

AttendanceIt is important to attend every

class session. Please notify me in advance if you must miss a class either personally, or through e-mail .

Three or more unexplained absences will result in a lowering of the final grade.

Page 10: Introduction to Programming Using C++ Dr. Mohamed Khafagy

Class Participation:

Class participation is an essential part of this class.

Perfect attendance does not ensure a good class participation grade.

Asked to present some material in class and this will also factor into the class participation grade.

Page 11: Introduction to Programming Using C++ Dr. Mohamed Khafagy

Homework/Quizzes:

Homework assignments are an important part of the class, and should be completed on time.

Late assignments will be penalized. Homework assignments may take

several forms: problem sets, short write-ups of supplemental readings, and in-class presentations.

There may be several quizzes during the semester to ensure that the readings are completed on time.

Page 12: Introduction to Programming Using C++ Dr. Mohamed Khafagy

Final Course Project

In addition to homework assignments, there will be an in-depth course project, due at the end of the term.

This project can be done in group The project will differ for each group, based on their interests and ideas.

Each project must be approved by the instructor.

The description and results of the project must be written up in a report.

 

Page 13: Introduction to Programming Using C++ Dr. Mohamed Khafagy

Grade

Final Exam 40Final Lab 20Three or more unexplained absences -5Mid Term 40/2Projects/Assignments 20/2Two Quizzes (5*2)/2Homework (5*5)/5Make up exam will be in Last sessionClass participation bonus 5Total 100

 Exams May be open note / open book. To avoid a disparity between resources available to different students, electronic aids are not permitted.

Page 14: Introduction to Programming Using C++ Dr. Mohamed Khafagy

point scale:

10 Exceptional work. 8 This corresponds to an A grade. 6 This corresponds to a B grade. 4 This corresponds to a C grade. 2 Not really good enough, but something. 0 Missing work, or so bad.

Late work will be penalized 1 point per day (24 hour period). This penalty will apply except in case of documented emergency (e.g., medical emergency), or by prior arrangement if doing the work in advance is impossible due to fault of the instructor

Page 15: Introduction to Programming Using C++ Dr. Mohamed Khafagy

Academic Honesty

All work produce in this course should be your own unless I specifically specify otherwise.