SlideShare a Scribd company logo
Today’s Class Course overview Introduction to Computer Systems What is both Computer and Computer Science? Components of a Computer System Computer Hardware Fetch-Decode-Execute Cycle Computer Software
Computer and Computer Science: Definition A  computer   is an electronic device, which can input, process, and output data. input processing output A  computer   Science   is the discipline that seeks to build a  scientific   foundation for such topics as computer design, computer programming, information processing, and algorithmic solutions of problems. A  computer   is a machine that stores data, interact with devices, and execute programs (provides  computing  capabilities to its users).
Major Components of a Computer System A computer system consists of two main parts:  hardware  and  software. Hardware  is the electronic and mechanical parts of a computer system. Software  is  the data and the computer programs  of a computer system.
Computer Hardware Basic hardware components Computer hardware   is divided into three major Components: 1.  The Central Processing Unit (CPU) 2.  Computer memory 3. Input/Output (I/O) devices   
CPU The  CPU  is the  " brain " of the computer system.  It does the fundamental computing within the system   It directly or indirectly controls all the other components The  CPU has a limited storage capacity .  It  relies on memory  to hold data and programs and to save results.   The CPU consists of: 1.      The Arithmetic and Logic Unit (ALU). 2.      The Control Unit (CU). 3.      Registers. The CPU components are connected by a group of electrical wires called the  CPU bus .
CPU PC: Program Counter Register MAR: Memory Address Register MDR: Memory Data Register The CPU is connected to memory and I/O devices by the  System bus The System bus consists of: Address-, Control- and Data-buses.
Computer Memory The main function of computer memory is to  store software . Computer memory is divided into  primary memory  and  secondary memory.  Primary memory  is divided into  random access memory (RAM)  and  read-only memory (ROM) : RAM holds the programs and data that the processor is actively working with.  ROM contains software that is used in Input/Output operations. It also contains software that loads the Operating System in Primary Memory. The CPU can read and write to RAM but it can only read from ROM. RAM is  volatile  while ROM is not. Secondary memory  is  used for long-term storage of programs and data.  Examples of secondary memory devices are: hard disks, floppy disks and CD ROMs.
Primary Memory Primary memory  is divided into a number of memory cells (bits) or bytes. A  bit  (binary digit) is the smallest storage unit within a computer. It is a tiny electrical circuit that can be in one of two states: A voltage high represented by the symbol 1 A voltage low represented by the symbol 0 Any system of symbols can be represented by bit or byte patterns. Each byte has a unique integer address and it is usually 8 bits.
Primary Memory 1,099,511,627,776 40 2 TB Terabyte 1,073,741,824 30 2 GB Gigabyte 1,048,576 20 2 MB Megabyte 1,024 10 2 KB Kilobyte 1 0 2 Byte Number of bytes POWER OF 2 SYMBOL UNIT
Primary and Secondary Memory Comparison Slow  Cheap  Large capacity  Not connected directly to the processor  Fast  Expensive  Low capacity  Connects directly to the processor  Secondary memory   Primary memory
I/O (Input/Output)Devices Input devices  are used to enter programs and data into a computer. Examples : keyboard, mouse, microphone, scanner, and bar code reader.  Output devices  are where program output is shown or is sent.  Examples : monitor, printer, and speaker. An I/O device is directly connected to the System, but through a device controller.
Fetch Decode Execute Cycle The CPU continuously transfers data to and from the primary memory Data transfer is done in units called  instructions  or  words When a computer is switched on, the CPU continuously goes through a process called  fetch-decode-execute cycle :   The Control Unit fetches  the current instruction from memory, decodes it and instructs the  ALU  (Arithmetic Logic Unit) to execute the instruction. The execution of an instruction may generate further data fetches from memory The result of executing an instruction is stored in either a  register  or  RAM
Fetch-Decode-Execute Cycle (cont’d) Main Memory Control Unit Arithmetic/Logic Unit 1 2 3 4 Instruction  Cycle Execution Cycle Fetch Decode Execute Store cpu RAM
Computing Environments Personal computing Time-sharing Distributed computing
Software Software  is the programs and data that a computer uses.   Programs  are lists of instructions for the processor   Data  can be any information that a program needs: character data, numerical data, image data, audio data, etc. Both programs and data are saved in computer memory in the same way.   Computer software is divided into two main categories:  1. Systems software  2. Applications software System software  manages computer resources and makes computers easy to use. An  applications software  enables a computer to be used to do a particular task.
Computer Software Types of software Software
Software   Operating system.  Networking system.  Programming  language software.  Web site server.  Data backup.  Word processors  Game programs  Spreadsheets  Data base systems  Graphics programs  Web browsers  Systems Programs   Application Programs
Operating Systems   The most important systems program is the operating system.  It is a group of programs that coordinates the operation of all the hardware and software components of the computer system. It is responsible for starting application programs running and finding the resources that they need. Examples of operating systems  are: Unix, Windows NT, Windows XP, MS-DOS, Linux, Solaris, VMS, OS/2 and System 7.
Computer   Languages Computer language evolution The only language understood by a computer is machine language. Note:
Writing, Editing, Compiling, and Linking Programs typical Java  environment Primary Memory . . . . . . Disk Disk Disk Editor Compiler Class Loader Program is created in an editor and stored on disk in a file ending with  .java . Compiler creates bytecodes and stores them on disk in a file ending with  .class . Class loader reads  .class  files containing bytecodes from disk and puts those bytecodes in memory. Phase 1 Phase 2 Phase 3 Primary Memory . . . . . . Bytecode Verifier Bytecode verifier confirms that all bytecodes are valid and do not violate Java’s security restrictions. Phase 4 Primary Memory . . . . . . Interpreter Interpreter reads bytecodes and translates them into a language that the computer can understand, possibly storing data values as the program executes. Phase 5
Program Execution Executing programs
System Development Model Figure 1-12  System development model An old programming proverb:  Resist the temptation to code. Note: Pseudocode A precise algorithmic description of program logic. Note:

More Related Content

DOCX
Pankaj kumar
PPT
Comp hardware Introduction
PPTX
Introduction to computer system
DOC
Cp unit 1_2011
PPT
Chapter 1 computer hardware and flow of information
PPT
Computer Structure Slides
PPTX
Csc118 chapter1
PPTX
Computer System Overview,
Pankaj kumar
Comp hardware Introduction
Introduction to computer system
Cp unit 1_2011
Chapter 1 computer hardware and flow of information
Computer Structure Slides
Csc118 chapter1
Computer System Overview,

What's hot (20)

PDF
Computer-Processing-Devices.pdf
PPTX
Computer and it's parts
PPT
Intro ch 01_b
PPT
Organization of a computer
PDF
Basics of Computer for Students
RTF
Computer Fundamentals
PDF
Ch.01 introduction to_computers
PPT
The system unit ch # 4
PDF
Introduction to computers i
PPTX
1834902155 aka asgn 313
PPT
PDF
3. basic organization of a computer
PDF
Cs input and output devices
PPT
Components Of Computer unit-2
PPTX
The Basic Organization of Computers
PPTX
Ch.01 introduction to_computers
PDF
HARDWARE AND PC MAINTENANCE -THE COMPLETE PC-MRS SOWMYA JYOTHI REFERENCE-MIKE...
PPTX
Overview of computer
PPTX
Fundamental units of computer
PPTX
computer Architecture
Computer-Processing-Devices.pdf
Computer and it's parts
Intro ch 01_b
Organization of a computer
Basics of Computer for Students
Computer Fundamentals
Ch.01 introduction to_computers
The system unit ch # 4
Introduction to computers i
1834902155 aka asgn 313
3. basic organization of a computer
Cs input and output devices
Components Of Computer unit-2
The Basic Organization of Computers
Ch.01 introduction to_computers
HARDWARE AND PC MAINTENANCE -THE COMPLETE PC-MRS SOWMYA JYOTHI REFERENCE-MIKE...
Overview of computer
Fundamental units of computer
computer Architecture
Ad

Viewers also liked (20)

PPT
Computer system components 6th grade frit 8530
PPTX
Chapter 1 Types and components of a computer system
PPT
Lesson2.1 computer components rev2
PPT
Intro to computer system
PPT
Chapter04
PPS
Power Point Lesson 02
PPT
This presentation is about Computer Systems and its Components
PPT
Components of a computer system
PPTX
The different components of a computer system
PPT
Chapter 4 The Components Of The System Unit
PPT
Ch1 Introduction to operating system
PPSX
Computer components
PPTX
Components of computer system and input-output devices and storage devices
PPT
Computer system
PPT
C hapter 1 types-and_components_of_computer_system[1][1]
PPTX
Basic components of computer system
PPTX
Computer Components
PPTX
Understanding the Computer System
PDF
2020 Best CIO Acceptance Speech
PDF
Protecting Data in the Cloud: The Truth about SaaS Backup
Computer system components 6th grade frit 8530
Chapter 1 Types and components of a computer system
Lesson2.1 computer components rev2
Intro to computer system
Chapter04
Power Point Lesson 02
This presentation is about Computer Systems and its Components
Components of a computer system
The different components of a computer system
Chapter 4 The Components Of The System Unit
Ch1 Introduction to operating system
Computer components
Components of computer system and input-output devices and storage devices
Computer system
C hapter 1 types-and_components_of_computer_system[1][1]
Basic components of computer system
Computer Components
Understanding the Computer System
2020 Best CIO Acceptance Speech
Protecting Data in the Cloud: The Truth about SaaS Backup
Ad

Similar to Computer basics and i.o devices (20)

PPTX
Computer system organization unit i chapter 1
PPT
Computer Hardware and Software Elements
PPTX
Introduction to Computer System
PDF
11th-CS system overview ppt chapter-01.pdf
PDF
CPE UNIT I.pdf c Programming for engineers
DOCX
Assignment 1
DOCX
Assignment 1
PPTX
11 cs unit 1 one shot_240427_202128 (1) (1).pptx
PPTX
Computer System Overview Class XI CS
PPT
Intro. to computer system
PPTX
Computer fundamental
PPTX
ECE_Lec 1,2_ Fundamentals of computer.pptx
PDF
Chapter-1 || Computer Overview || Class XI || 2024 ||
PPTX
class 11 fill chapetr with alla answers
PDF
fundamentalofcomputers-postaldeptt-150308230655-conversion-gate01.pdf
PPTX
Computer Fundamentals.pptx
PPT
Fundamental of Computers
PPTX
Computer architecture pptx
PPT
fundamentalofcomputers-postaldeptt-150308230655-conversion-gate01.ppt
PPT
fundamentalofcomputers-postaldeptt-150308230655-conversion-gate01 (1).ppt
Computer system organization unit i chapter 1
Computer Hardware and Software Elements
Introduction to Computer System
11th-CS system overview ppt chapter-01.pdf
CPE UNIT I.pdf c Programming for engineers
Assignment 1
Assignment 1
11 cs unit 1 one shot_240427_202128 (1) (1).pptx
Computer System Overview Class XI CS
Intro. to computer system
Computer fundamental
ECE_Lec 1,2_ Fundamentals of computer.pptx
Chapter-1 || Computer Overview || Class XI || 2024 ||
class 11 fill chapetr with alla answers
fundamentalofcomputers-postaldeptt-150308230655-conversion-gate01.pdf
Computer Fundamentals.pptx
Fundamental of Computers
Computer architecture pptx
fundamentalofcomputers-postaldeptt-150308230655-conversion-gate01.ppt
fundamentalofcomputers-postaldeptt-150308230655-conversion-gate01 (1).ppt

More from kitturashmikittu (20)

DOC
Airtel project report
DOC
Karvy project report
DOC
Anil raythour
DOC
Airtel ranjeet
DOC
Airtel distribution expansion in rural areas
DOC
Airtel distribution expansion & market services in rural areas
DOC
Sanjay sharma01
PPT
Transfer vidhi
PPT
PPT
System software-loaders
PPT
Sourcefinance
PPT
Semiconductor memories
PPT
Selection
PPT
Segmentation
PPT
Scientific method
PPT
Scientific method
PPT
Research methodology concept
PPT
Research design
PPT
Recruitment
PPT
Promotion
Airtel project report
Karvy project report
Anil raythour
Airtel ranjeet
Airtel distribution expansion in rural areas
Airtel distribution expansion & market services in rural areas
Sanjay sharma01
Transfer vidhi
System software-loaders
Sourcefinance
Semiconductor memories
Selection
Segmentation
Scientific method
Scientific method
Research methodology concept
Research design
Recruitment
Promotion

Computer basics and i.o devices

  • 1. Today’s Class Course overview Introduction to Computer Systems What is both Computer and Computer Science? Components of a Computer System Computer Hardware Fetch-Decode-Execute Cycle Computer Software
  • 2. Computer and Computer Science: Definition A computer is an electronic device, which can input, process, and output data. input processing output A computer Science is the discipline that seeks to build a scientific foundation for such topics as computer design, computer programming, information processing, and algorithmic solutions of problems. A computer is a machine that stores data, interact with devices, and execute programs (provides computing capabilities to its users).
  • 3. Major Components of a Computer System A computer system consists of two main parts: hardware and software. Hardware is the electronic and mechanical parts of a computer system. Software is the data and the computer programs of a computer system.
  • 4. Computer Hardware Basic hardware components Computer hardware is divided into three major Components: 1.  The Central Processing Unit (CPU) 2. Computer memory 3. Input/Output (I/O) devices   
  • 5. CPU The CPU is the " brain " of the computer system. It does the fundamental computing within the system It directly or indirectly controls all the other components The CPU has a limited storage capacity . It relies on memory to hold data and programs and to save results. The CPU consists of: 1.      The Arithmetic and Logic Unit (ALU). 2.      The Control Unit (CU). 3.      Registers. The CPU components are connected by a group of electrical wires called the CPU bus .
  • 6. CPU PC: Program Counter Register MAR: Memory Address Register MDR: Memory Data Register The CPU is connected to memory and I/O devices by the System bus The System bus consists of: Address-, Control- and Data-buses.
  • 7. Computer Memory The main function of computer memory is to store software . Computer memory is divided into primary memory and secondary memory. Primary memory is divided into random access memory (RAM) and read-only memory (ROM) : RAM holds the programs and data that the processor is actively working with. ROM contains software that is used in Input/Output operations. It also contains software that loads the Operating System in Primary Memory. The CPU can read and write to RAM but it can only read from ROM. RAM is volatile while ROM is not. Secondary memory is used for long-term storage of programs and data. Examples of secondary memory devices are: hard disks, floppy disks and CD ROMs.
  • 8. Primary Memory Primary memory is divided into a number of memory cells (bits) or bytes. A bit (binary digit) is the smallest storage unit within a computer. It is a tiny electrical circuit that can be in one of two states: A voltage high represented by the symbol 1 A voltage low represented by the symbol 0 Any system of symbols can be represented by bit or byte patterns. Each byte has a unique integer address and it is usually 8 bits.
  • 9. Primary Memory 1,099,511,627,776 40 2 TB Terabyte 1,073,741,824 30 2 GB Gigabyte 1,048,576 20 2 MB Megabyte 1,024 10 2 KB Kilobyte 1 0 2 Byte Number of bytes POWER OF 2 SYMBOL UNIT
  • 10. Primary and Secondary Memory Comparison Slow Cheap Large capacity Not connected directly to the processor Fast Expensive Low capacity Connects directly to the processor Secondary memory Primary memory
  • 11. I/O (Input/Output)Devices Input devices are used to enter programs and data into a computer. Examples : keyboard, mouse, microphone, scanner, and bar code reader. Output devices are where program output is shown or is sent. Examples : monitor, printer, and speaker. An I/O device is directly connected to the System, but through a device controller.
  • 12. Fetch Decode Execute Cycle The CPU continuously transfers data to and from the primary memory Data transfer is done in units called instructions or words When a computer is switched on, the CPU continuously goes through a process called fetch-decode-execute cycle : The Control Unit fetches the current instruction from memory, decodes it and instructs the ALU (Arithmetic Logic Unit) to execute the instruction. The execution of an instruction may generate further data fetches from memory The result of executing an instruction is stored in either a register or RAM
  • 13. Fetch-Decode-Execute Cycle (cont’d) Main Memory Control Unit Arithmetic/Logic Unit 1 2 3 4 Instruction Cycle Execution Cycle Fetch Decode Execute Store cpu RAM
  • 14. Computing Environments Personal computing Time-sharing Distributed computing
  • 15. Software Software is the programs and data that a computer uses. Programs are lists of instructions for the processor Data can be any information that a program needs: character data, numerical data, image data, audio data, etc. Both programs and data are saved in computer memory in the same way. Computer software is divided into two main categories: 1. Systems software 2. Applications software System software manages computer resources and makes computers easy to use. An applications software enables a computer to be used to do a particular task.
  • 16. Computer Software Types of software Software
  • 17. Software   Operating system. Networking system. Programming language software. Web site server. Data backup. Word processors Game programs Spreadsheets Data base systems Graphics programs Web browsers Systems Programs Application Programs
  • 18. Operating Systems The most important systems program is the operating system. It is a group of programs that coordinates the operation of all the hardware and software components of the computer system. It is responsible for starting application programs running and finding the resources that they need. Examples of operating systems are: Unix, Windows NT, Windows XP, MS-DOS, Linux, Solaris, VMS, OS/2 and System 7.
  • 19. Computer Languages Computer language evolution The only language understood by a computer is machine language. Note:
  • 20. Writing, Editing, Compiling, and Linking Programs typical Java environment Primary Memory . . . . . . Disk Disk Disk Editor Compiler Class Loader Program is created in an editor and stored on disk in a file ending with .java . Compiler creates bytecodes and stores them on disk in a file ending with .class . Class loader reads .class files containing bytecodes from disk and puts those bytecodes in memory. Phase 1 Phase 2 Phase 3 Primary Memory . . . . . . Bytecode Verifier Bytecode verifier confirms that all bytecodes are valid and do not violate Java’s security restrictions. Phase 4 Primary Memory . . . . . . Interpreter Interpreter reads bytecodes and translates them into a language that the computer can understand, possibly storing data values as the program executes. Phase 5
  • 22. System Development Model Figure 1-12 System development model An old programming proverb: Resist the temptation to code. Note: Pseudocode A precise algorithmic description of program logic. Note: