Download
Introduction to Computers, C++ and OOP Presentation Transcript:
1.Object Oriented Programming (OOP) BTE-FA10
2.Introduction
3.TEXT Book
Java How to Program ( Dietel & Dietel )
Reference Book
Web Sites & Material:
Prepare from Anywhere...!
4. Marks Distribution
1st Sessional Marks ? 10
2nd Sessional Marks ? 15
Quizzes ? 10
Projects ? 15
Final Exam ? 50
5.Introduction to Computers, C++ and OOP
6.1 .1 Introduction
1.2 What Is a Computer?
1.3 Computer Organization
1.4 Early Operating Systems
1.5 Personal, Distributed and Client/Server Computing
1.6 The Internet and the World Wide Web
1.7 Machine Languages, Assembly Languages and High-Level Languages
1.8 History of C and C++
1.9 Object Oriented Programming with C++
7.Introduction
In early 1980s, C++ developed by Bjarne Stroustrup
C is a structured language while C++ is Object oriented
Object Oriented Programming (OOP) technique enable programmer to write quality code
8.What Is a Computer?
Computer
Performs computations and makes logical decisions
Millions or billions of times faster than human beings
Computer programs
Sets of instructions for which computer processes data
Hardware
Physical devices of computer system
Software
Programs that run on computers
9.Computer Organization
Six logical units of computer system
Input unit
Mouse, keyboard
Output unit
Printer, monitor, audio speakers
Memory unit
Retains input and processed information
Arithmetic and logic unit (ALU)
Performs calculations
Central processing unit (CPU)
Supervises operation of other devices
Secondary storage unit
Hard drives, floppy drives
10.Early Operating Systems
Batch processing
One job (task) at a time
Operating systems
Developed to make computers more convenient to use
Made transitions between jobs easier
More throughput
Multiprogramming
“Simultaneous” jobs
Timesharing operating systems
11.Personal, Distributed and Client/Server Computing
Personal computing
Computers for personal use
Distributed computing
Networked computers
Computing performed among several computers
Client/server computing
Servers offer common store of programs and data
Clients access programs and data from server
12.The Internet and the World Wide Web
Internet
Developed more than four decades ago with DOD funding
Originally for connecting few main computer systems
Now accessible by over a billion computers
World Wide Web (WWW)
Allows for locating/viewing multimedia-based documents
13.Machine Languages, Assembly Languages and High-Level Languages
Machine language
“Natural language” of computer component
Machine dependent
Assembly language
English-like abbreviations represent computer operations
Translator programs (assemblers) convert to machine language
High-level language
Allows for writing more “English-like” instructions
Contains commonly used mathematical operations
Compiler converts to machine language
Interpreter
Execute high-level language programs without compilation
14.History of C and C++
C++ evolved from C, which evolved from BCPL and B
C
Developed at Bell Labs
Popularized as the language of the UNIX operating system
C++
Deveoped by Bjarne Stroustrup
Provides object-oriented programming capabilities
Hybrid language
Objects
Reusable software components that model real-world items
Attributes and behaviors
15.Object Oriented Programming
Classes
Data Members
Member Functions
Member Access specifiers
Objects
No comments:
Post a Comment