Lecture - 1 Introduction
Lecture - 1 Introduction
MUHAMMAD AHMAD
Some Ground Rules
Let’s make this educational and enjoyable.
It’s a big class, and it’s easy for things to get out of hand,
so please…
Let me do the talking
Raise hands for questions and no whispering
Listen to other people’s questions.
Be here.
Be here on time.
How to survive this course
• Material sound strange and difficult, but they are not.
• Practice, Practice & Practice
• Do not leave everything to the exam night!.
• Not copy the homework!, try them by yourself.
• Assignment (avoid plagiarism*) and meet deadlines
• Dead lines are always FINAL
• Unannounced quiz! So be prepared
• Minimum attendance (80% ) required to sit in the exam
Objective of this Course
5
Contact me
6
• Recommended Books
• Programming principles and Practices using C++ by Bjarne Stroustrup,
Addison-Wesley, 2008
• Starting out with C++, by Tony Gaddis, 6th edition
• Reference books
• C Programming using Turbo C++ by Robert Lafore
• Introduction to Computers by Peter Norton’s 7th edition
Grading Policy
• Introduction to computer
• Hardware
• CPU, main memory, secondary storage, I/O devices
• Software
• System software, application softwares
Teachers open the door
You enter by yourself
Chinese proverb
The Computer Defined
• Electronic device
• Used to perform a specific task
• Converts data into information
• Modern computers are digital
• Two digits combine to make data
• Hardware
• Refers to physical components
• Anything that can be touched
• Software
• Tell the computer what to do
• Also called a program
• Thousands of programs exist
Hardware Components
• Major components of computer
• CPU
• Main memory
• Secondary storage
• Input devices
• Output devices
CPU
• Jobs
• Fetch instructions
• Follow the instructions
• Produce result
• Parts of CPU
• CU
• Coordinates all of the computer’s operations
• ALU
• Perform mathematical operations
CPU Organization
Main Memory
• It is volatile
• Main memory is erased when program terminates or computer
is turned off
• Also called Random Access Memory (RAM)
• Organized as follows:
• bit: smallest piece of memory. Has values 0 (off, false) or 1 (on, true)
• byte: 8 consecutive bits
Secondary Storage
• Non-volatile: data retained when program is not running
or computer is turned off
• Comes in a variety of media:
• magnetic: floppy disk, hard drive
• optical: CD-ROM, DVD
• Flash drives, connected to the USB port
Input Devices
• Devices that send information to the computer from
outside
• Many devices can provide input:
• Keyboard, mouse, scanner, digital camera, microphone
• Disk drives, CD drives, and DVD drives
Software-Programs That Run on a
Computer
• Categories of software:
• System software:
• Programs that manage the computer hardware and the programs
that run on them.
• Examples: operating systems, utility programs, software development
tools
• Application software:
• programs that provide services to the user.
• Examples : word processing, photoshop, Visio etc…
Essential Computer Hardware
Output
Processor
Memory
Input and
output Storage
Input
Chapter 1A
End of Chapter
Questions ?