Object Oriented Programming Spring Semester

Slides:



Advertisements
Similar presentations
Introduction to Computer Programming in C
Advertisements

COMPUTER SYSTEM CAN BE DIVIDED INTO : 1- General Computer 2- Special Computer.
Introduction to C++ Programming CS 117 Section 2 and KNET Sections Spring 2001 MWF 1:40-2:30.
Slide 1 Instructor: Dr. Hong Jiang Teaching Assistant: Mr. Sheng Zhang Department of Computer Science & Engineering University of Nebraska-Lincoln Classroom:
Distribution of Marks Internal Sessional Evaluation Assignments – 10 Quizzes – 10 Class Participation Attendence – 5 Mid – Term Test – 25 External Evaluation.
Project Management and overview 1 Advanced Project Management- Introduction Ghazala Amin.
CIM101 Introduction to Computer Course Teacher : Kazi Saiful Alam(Rehan) Course credit : 3.0 Prerequisite : Nil 1.
Introduction COMP104: Fundamentals and Methodology.
Lecture 0 Digital Electronics Fundamentals Computer Architecture and System Software There are 10 kinds of people in this world – those who understand.
INTRODUCTION TO COMPUTER PROGRAMMING itc-314 LECTURE 01.
Computer Systems 1 Fundamentals of Computing COM116 BSc (Hons.) Computing Programme.
Object Oriented Programming Lecturer: Andreas P. Adi
INTRODUCTION TO COMPUTING
WEEK-1 PRINCIPLES OF MANAGEMENT BUSN 107, Özge Can.
Object Oriented Programming (OOP) Design Lecture 1 : Course Overview Bong-Soo Sohn Associate Professor School of Computer Science and Engineering Chung-Ang.
CS 140 Computer Programming (I) Second semester (3 credits) Imam Mohammad bin Saud Islamic University College of Computer Science and Information.
Bilgisayar Mühendisliği Bölümü CENG 102 – Computer Programming Melek OKTAY Syllabus Administrative Information.
Lecture Section 001 Spring 2008 Mike O’Dell CSE 1301 Computer Literacy.
Data Structures and Algorithms Dr. Tehseen Zia Assistant Professor Dept. Computer Science and IT University of Sargodha Lecture 1.
CST 223 Concepts of Programming Languages Dr. Sherry Yang PV 171
Information Retrieval CIS-462 Dr. Samir Tartir 2013/2014 First Semester.
Object Oriented Paradigm OOP’s. Problems with Structured Programming As programs grow ever larger and more complex, even the structured programming approach.
Course Book Course Objective - The student will be able to describe various operating system concepts as they are applied to memory, process, file system.
IMS 4212: Course Introduction 1 Dr. Lawrence West, Management Dept., University of Central Florida ISM 4212 Dr. Larry West
Data Structures Dr. Abd El-Aziz Ahmed Assistant Professor Institute of Statistical Studies and Research, Cairo University Springer 2015 DS.
Introduction to Object Oriented Programming ( P ) Malik Jahan Khan 1.
Advanced Software Engineering Dr. Cheng
CSE202 Database Management Systems
Introduction to Computing Systems
Object Oriented Programming (OOP) Design Lecture 1 : Course Overview
APPLIED MANAGEMENT SCIENCE IN AGRICULTURAL SYSTEMS I
Advanced Algorithms Analysis and Design
Cen 112 C Programming Özgür Örnek.
Course Overview - Database Systems
Additional hardware components, and Embedded Systems
CS101 Computer Programming I
INTRODUCTION TO OBJECT-ORIENTED PROGRAMMING
Concepts of Object Oriented Programming
CSc 1302 Principles of Computer Science II
Selected topic in computer science (1)
CSE305 Software Engineering
CSE309 Computer Architecture and Organization
Computer Programming (CS-161)
GC101 Introduction to computers and programs
CSC 135 section 60 or CSC Fall 2017.
ICS103 Programming in C Lecture 1: Overview of Computers & Programming
CMPT 238 Data Structures Instructor: Tina Tian.
CSC 361 Artificial Intelligence
Object Oriented Programming (OOP) Design Lecture 1 : Course Overview
Programming COMP104: Fundamentals and Methodology Introduction.
Course Overview - Database Systems
EECE 310 Software Engineering
Objective of This Course
CIS16 Application Development – Programming with Visual Basic
CDA 3100 Summer 2013.
CDA 3100 Spring 2010.
Introduction to Programming Using C++
CS 0007 Spring Lory Al Moakar.
Tonga Institute of Higher Education IT 141: Information Systems
CSE 414 Systems Analysis and Design
ECE 103 Engineering Programming Chapter 1 Introduction
L L Line CSE 420 Computer Games Organizational Issues.
Analysis of Algorithms
Orientation CSC 111.
Information Retrieval CIS-462
Design and Analysis of Algorithms
CSE 310 Human-Computer Interaction
Object Oriented Programming (OOP)- Assist. Prof. Dr
ICS103 Programming in C 1: Overview of Computers And Programming
CMPT 238 Data Structures Instructor: Tina Tian.
Presentation transcript:

Object Oriented Programming Spring Semester 2012-13 Introduction to Course Object Oriented Programming Spring Semester 2012-13 Dr. Malik Jahan Khan Department of Computer Science Namal College Malik Jahan Khan

Goals To introduce advance programming concepts and techniques used in problem solving including object oriented analysis, design and implementation To enable object oriented modeling of any unseen real life problem, and implementing the solution

Pre-Requisites Introduction to Programming Good problem solving abilities

General Policies Additional to disciplinary policies of the institute / university, plagiarism will be strictly dealt with. Cheating any assignment, quiz or exam from any one else may lead to severe penalty of grade. Violation of rules / disturbance in class / involvement in plagiarism may easily lead you to an “F” in the course. Both parties involved in the plagiarism will be equally punishable. Getting zero in a quiz, an exam problem or an assignment is much better than cheating it from any source. So avoid throwing yourselves in a very tensed and harmful situation.

General Policies (Cont.) Quizzes will be unannounced Project Deadlines Policy Detailed policies or changes in policies (if needed) will be communicated with passage of time. Sleeping in class is optional (not compulsory)! Latecomers? General Attitude Concern Zero tolerance policy on disciplinary issues

Recommended Textbook Robert Lafore. “Object Oriented Programming in C++”, 4th Edition, SAMS Publishing.

Grading Policy Quizzes 20% Programming Projects 20% Midterm Exam 25% Final Exam 35%

Structured Programming We write series of steps to solve a problem Take input Perform certain manipulations Throw output If complexity grows, divide the program into functions

Shortcomings! This project is too complex! The schedule slips More programmers added in team Complexity increases Costs skyrocket Schedule further slips And disaster ensues …. .... ….

Why All This Happens Functions have unrestricted access to all global data Unrelated functions and data Poor model of the real world In real world, we have to deal with entities like person, item, car, book, course, university etc None of these entities is like data None of these entities is like functions

Object Oriented Programming! But Why and How??? Solution Object Oriented Programming! But Why and How???

Real World Modeling We deal with objects in real world like: People Vehicles Computers Inventory Items By now, we know about data attributes (variables and arrays etc) We also know about functions But the real word objects are neither like attributes nor functions In fact, real word objects have both attributes and some behavior (functions)

Attributes Attributes are the characteristics of an object Examples People have eye color, name, job title, age, gender etc Cars have horsepower, number of doors, model, color etc Attributes are like data members (variables etc.) in a program, e.g. EyeColor (attribute) has value “blue” Age (attribute) has value “25” Model (attribute) has value “2003”

Behavior Behavior is something a real world object does in response to some stimulus Examples If you ask your boss for a raise, she will generally say “YES” or “NO” If you apply brakes in a car, it will stop Here, saying something and stopping are examples of behavior of two objects “boss” and “car” respectively Behavior is like function, you call a function to do something (e.g. stop the car, find factorial etc)

So….. Attributes are represented by data like variable, arrays, pointers etc Behavior is represented by functions But neither data nor functions, by themselves, represent or model real world objects

Object-Oriented Approach Fundamental idea behind OO approach is to combine into a single unit both data and functions that operate on that data Such a unit is called “object” Group of similar objects is called “class”

How does a computer work? Hardware Central Processing Unit Hard disk Processor RAM ROM Keyboard / Mouse Monitor Software System Software Operating Systems (MS Windows, Linux, Android etc) Device Drivers Application Software MS Office, Games, Internet Explorer, Your Programs…