Docsity

Computer Science Course: Contents, Schedules, and Contact Information, Slides of Object Oriented Programming

Partial preview of the text

Download Computer Science Course: Contents, Schedules, and Contact Information and more Slides Object Oriented Programming in PDF only on Docsity!

Outline of the Lecture

1 Contact

2 Course Contents

3 Books

4 Web Page & Mailing List

5 Schedule

docsity.com

Contact

Name: Dr. Mohammad Jaudet

email: [email protected]

Office: SE-

Phone: PIEAS, Ext: 3683

Cell Phone: 0345-

docsity.com

Books

Silberschatz, Galvin and Gagne, Operating System Concepts,

7/E, 2005, John Wiley & Sons, Inc.

Deitel and Deitel, C++ How to Program, 5/E, 2005, Prentice Hall

docsity.com

Schedule Class: Mon - Fri, 1000-1100? From August 9, 2010 - August 20, 2010 ?Timings could change due to Ramadhan.

Processors Computer with Single Processor Single Processor with Multiple Cores Multiple Processors Multiple Processor with Multiple Cores

Degree of Programming Computer running Single Processor & Single Program Single Processor & Multiple Programs Multiple Processors & Multiple Programs Multiple Processors & Single Program

Computer Startup Usual Startup System Software Loads into Memory User Takes Over the Control User Uses Application Software User Develops & Uses New Software Unusual Startup User Installs System Software User Installs Application Software User Restores Personal Data & Software

Development of User Software User is Given a Problem to Solve User Understands a new Problem to Solve User Develops a Program to solve a Problem User selects a General Purpose Development Environment User Prepares the Source Code for the Problem User Compiles the Source Code and Run the Program User Debugs the Buggy Program

Adding two Numbers Method-I Assign values A and B Assign the Sum of A and B to C Print C Method-II Read values into A and B Assign the Sum of A and B to C Print C

Finding the Maximum of Two Numbers Method-I Assign values A and B If A is Greater or Equal to B Then Assign A to C Else Assign B to C End If Print C Method-II Read values into A and B If A is Greater or Equal to B Then Assign A to C Else Assign B to C End If Print C

Printing Numbers from 10 to 1 with a Loop Assign value 1 to A Assign value 10 to B For C=B:A:- Print C End For

Other Basic Problems Finding GCD of Two Numbers Finding LCM of Two Numbers Summing a Sequence Summing a Series