SlideShare a Scribd company logo
Computer Systems
Fundamentals
Logic Gates
AND Gate
A B Output
0 0 0
0 1 0
1 0 0
1 1 1
Truth Table
OR Gate
A B Output
0 0 0
0 1 1
1 0 1
1 1 1
Truth Table
NOT Gate
A Output
0 1
1 0
Truth Table
Conversions
Conversion Table
DENARY HEXADECIMAL BINARY
1 1 0001
2 2 0010
3 3 0011
4 4 0100
5 5 0101
6 6 0110
7 7 0111
8 8 1000
9 9 1001
10 A 1010
11 B 1011
12 C 1100
13 D 1101
14 E 1110
15 F 1111
Hex to Denary Example
Hex = 1EC
Denary = (1x16^2) + (14x16^1) + (12x16^0)
= 256 + 224 + 12
= 492
Denary to Hex Examples
128 64 32 16 8 4 2 1
Denary = 78
Binary = 01001110
Hex = 4E
Denary = 232
Binary = 11101000
Hex = E8
Hex to Binary Examples
FAB5 – 1111 1010 1011 0101
4CBF – 0100 1100 1011 1111
36ED – 0011 0110 1110 1101
9A7A – 1001 1010 0111 1010
Number Bases
Binary = Base 2
Denary = Base 10
Hex = Base 16
Use Truth Tables with Binary
NOT 10101010 = 01010101
NOT 11010110 = 00101001
10101010 AND 01010101 = 00000000
11101110 AND 00110110 = 00100110
10101010 OR 01010101 = 11111111
11010010 OR 01011001 = 11011011
Bits and Bytes
Byte = 8 Bits
Kilobyte = 1024 Bytes
Layers of the OS
User Interface
• User interacts directly with OS here
• Two interface types:
• Graphic User Interface (GUI)
• Command Line Interface (CLI)
• Both are examples of Human Computer Interfaces (HCI)
• Primary objectives to provide:
• Input Capability – using keyboards, mouse etc.
• Output Capability – using VDU, printers etc.
• Load and run programs
File Management System
• File Management System is responsible for:
• Organising files
• Managing files
• Storage of data on:
• Magnetic media (hard disks, floppy disks etc.)
• Optical media (CD-ROM, DVD etc.)
• USB Flash Drives
Input / Output Layer
• Deals with physical interaction of software with outside world e.g.:
• Disk drives, keyboards, printers, screens, mouse etc.
• This software is known as “device drivers”
• Layer also used for transferring the data to/from RAM/backing storage
• In Windows, a device driver will have one of the following file
extensions:
• DLL – Dynamic Link Library – uses hardware interrupts
• EXE – Executable – uses hardware interrupts
• VXD – Virtual Device Driver – uses software interrupts
Memory Management Layer
• Consists of loading a single program from a disk and allowing it free use
of all available memory (RAM)
• In Windows, multi-tasking is permitted; meaning more than one program
can be loaded and run at the same time
• Virtual Memory
• Virtual memory is used when there is insufficient memory to run programs
• Virtual memory is hard disk space set aside to act as memory
• To the running programs, virtual memory is invisible; treats hard disk area as RAM
• Protection
• To stop programs from clashing with each other, each is tagged with information
about which program ‘owns’ them.
• If a program attempts to access memory segments it doesn’t have authority to
access, it will be prevented.
Kernel
• Properties
• Most protected layer
• Deepest layer
• Most privileged layer
• Acts a timekeeper and regulator of the system
• Controls any time-slicing for multi-tasking functions
• Ensures fairness in the way resources are allocated and used
• Deals with interrupts having different properties, which arrive to
signal external and internal events
API (Application Programming Interface)
• An application programming interface (API) is a set of subroutine
definitions, protocols, and tools for building application software.
• In general terms, it is a set of clearly defined methods of
communication between various software components.
ALU (Arithmetic Logic Unit) and Control Unit
• Where data is processed and manipulated
• ALU involves arithmetic operations and logical operations
• ALU uses temporary registers to hold data
• Accumulator is a main register which holds the results of calculations
• Control Unit
• Manages execution of instructions
• Sends control signals around the computer
Registers
• Memory Address Register (MAR) holds the address of a location in
main memory
• Memory Buffer Register (MBR) holds the data that has just been read
from main memory or is to be written to main memory
• Instruction Register (IR) holds the current instruction being executed
• Program Counter (PC) holds the address of the next instruction to be
fetched from memory
Buses
• Data is transferred between memory and processors by buses:
• Address Bus
• Pinpoints memory location
• One-Way Bus
• Data Bus
• Transfers the data
• Two-Way Bus
• Control Bus
• Initiates and controls operations
ASCII
• American Standard Code for Information Interchange
• Represents 128 digits (0-127) (all characters on the keyboard)
Open-Source and Proprietary Software
Open-Source – free to use, but training isn’t free
Proprietary – paid for i.e. license agreements
- Restrictions on use, not free to share

More Related Content

PPTX
Computer programming1
 
PPTX
BLOCK DIAGRAM OF COMPUTER
PPT
FoeduMed: Hardware and Software 40_16
PPT
Foedu med hardware and sowftware 40 16
PPTX
Block Diagram of Computer
PPTX
Computer Block Structure
PPTX
B.sc cs-ii -u-1.2 digital logic circuits, digital component
PPTX
Introduction to Computer Architecture and Organization
Computer programming1
 
BLOCK DIAGRAM OF COMPUTER
FoeduMed: Hardware and Software 40_16
Foedu med hardware and sowftware 40 16
Block Diagram of Computer
Computer Block Structure
B.sc cs-ii -u-1.2 digital logic circuits, digital component
Introduction to Computer Architecture and Organization

What's hot (20)

PPTX
Bca 2nd sem-u-1.2 digital logic circuits, digital component
PPT
Computer fundamental mba
PPTX
Block diagram by vasant
PPTX
Central Processing Unit
PPTX
Computer Architecture
PPTX
Block diagram of a computer
PPTX
Computer architecture
PPT
Block structure
PPTX
Operating system of computer
PPTX
Software languages and devices
PPTX
Unit iii
PDF
System software 5th unit
PPTX
BASIC COMPUTER ARCHITECTURE
PPTX
EE5440 – Computer Architecture - Lecture 1
DOC
POLITEKNIK MALAYSIA
PPTX
Bca i-fundamental of computer-u-2- application and system software
PDF
Lec02-CS110 Computational Engineering
PPTX
Microprocessor Week1: Introduction
PPTX
Introduction to computer system
PPT
Essential computer concepts
Bca 2nd sem-u-1.2 digital logic circuits, digital component
Computer fundamental mba
Block diagram by vasant
Central Processing Unit
Computer Architecture
Block diagram of a computer
Computer architecture
Block structure
Operating system of computer
Software languages and devices
Unit iii
System software 5th unit
BASIC COMPUTER ARCHITECTURE
EE5440 – Computer Architecture - Lecture 1
POLITEKNIK MALAYSIA
Bca i-fundamental of computer-u-2- application and system software
Lec02-CS110 Computational Engineering
Microprocessor Week1: Introduction
Introduction to computer system
Essential computer concepts
Ad

Similar to Computer Systems Fundamentals (20)

PPTX
Unit2fit
PDF
Chap 1 c++
PPT
Software and Hardwew
PPTX
Computer Science Class 11 India PPT
PPT
Lecture 2 - Introductory Concepts
PPT
COA-Unit-1-Basics.ppt
PPTX
programming for problem solving-1 unit -1 ppt.pptx
PPTX
2_Basic concepts about computer Hardware _ Software.pptx
PPTX
2_Basic concepts about computer Hardware _ Software.pptx
PPTX
2_Basic concepts about computer Hardware _ Software.pptx
PPTX
2_Basic concepts about computer Hardware _ Software.pptx
PPT
Software
PPT
Introduction to the operating and its types
PPTX
Fundamentals of Computers & Information System
PPT
Computer edborook gullam si-Software.ppt
PPT
ComputerOrganization .ppt
PDF
PDF
computer organization and architecturebec306c
PDF
Clifford sugerman
PDF
Computer organization basics
Unit2fit
Chap 1 c++
Software and Hardwew
Computer Science Class 11 India PPT
Lecture 2 - Introductory Concepts
COA-Unit-1-Basics.ppt
programming for problem solving-1 unit -1 ppt.pptx
2_Basic concepts about computer Hardware _ Software.pptx
2_Basic concepts about computer Hardware _ Software.pptx
2_Basic concepts about computer Hardware _ Software.pptx
2_Basic concepts about computer Hardware _ Software.pptx
Software
Introduction to the operating and its types
Fundamentals of Computers & Information System
Computer edborook gullam si-Software.ppt
ComputerOrganization .ppt
computer organization and architecturebec306c
Clifford sugerman
Computer organization basics
Ad

More from Shaun Wilson (20)

PPTX
Troubleshooting Computing Problems
PPTX
Professionalism and Ethics
PPTX
Software Development (Mobile Technology)
PPTX
Introduction to Project Management Assessment Notes
PPTX
SQL Assessment Command Statements
PPT
The Rise and Fall of the Roman Empire
ODP
National 5 Graphic Communication
PPT
Vector journeys!
PPT
Vector multiplication dot product
PPT
Dot product calc angle to finish!
PPT
Unit vectors 14
PPT
Vector bits and pieces
PPT
Vectors intro
PPT
Ratios
PPT
Parallel + collinear vectors
PPT
Position and 3 d vectors amended
PPT
Solving trig equations higher
PPT
Solving trig equations + double angle formulae
PPT
Solving exponential equations
PPT
Logarithms intro
Troubleshooting Computing Problems
Professionalism and Ethics
Software Development (Mobile Technology)
Introduction to Project Management Assessment Notes
SQL Assessment Command Statements
The Rise and Fall of the Roman Empire
National 5 Graphic Communication
Vector journeys!
Vector multiplication dot product
Dot product calc angle to finish!
Unit vectors 14
Vector bits and pieces
Vectors intro
Ratios
Parallel + collinear vectors
Position and 3 d vectors amended
Solving trig equations higher
Solving trig equations + double angle formulae
Solving exponential equations
Logarithms intro

Recently uploaded (20)

PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PPTX
Presentation on HIE in infants and its manifestations
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
01-Introduction-to-Information-Management.pdf
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
Lesson notes of climatology university.
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
Presentation on HIE in infants and its manifestations
human mycosis Human fungal infections are called human mycosis..pptx
01-Introduction-to-Information-Management.pdf
Microbial diseases, their pathogenesis and prophylaxis
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
202450812 BayCHI UCSC-SV 20250812 v17.pptx
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Final Presentation General Medicine 03-08-2024.pptx
Microbial disease of the cardiovascular and lymphatic systems
Supply Chain Operations Speaking Notes -ICLT Program
2.FourierTransform-ShortQuestionswithAnswers.pdf
Lesson notes of climatology university.
Anesthesia in Laparoscopic Surgery in India
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
102 student loan defaulters named and shamed – Is someone you know on the list?
Final Presentation General Medicine 03-08-2024.pptx
Pharmacology of Heart Failure /Pharmacotherapy of CHF
FourierSeries-QuestionsWithAnswers(Part-A).pdf

Computer Systems Fundamentals

  • 3. AND Gate A B Output 0 0 0 0 1 0 1 0 0 1 1 1 Truth Table
  • 4. OR Gate A B Output 0 0 0 0 1 1 1 0 1 1 1 1 Truth Table
  • 5. NOT Gate A Output 0 1 1 0 Truth Table
  • 7. Conversion Table DENARY HEXADECIMAL BINARY 1 1 0001 2 2 0010 3 3 0011 4 4 0100 5 5 0101 6 6 0110 7 7 0111 8 8 1000 9 9 1001 10 A 1010 11 B 1011 12 C 1100 13 D 1101 14 E 1110 15 F 1111
  • 8. Hex to Denary Example Hex = 1EC Denary = (1x16^2) + (14x16^1) + (12x16^0) = 256 + 224 + 12 = 492
  • 9. Denary to Hex Examples 128 64 32 16 8 4 2 1 Denary = 78 Binary = 01001110 Hex = 4E Denary = 232 Binary = 11101000 Hex = E8
  • 10. Hex to Binary Examples FAB5 – 1111 1010 1011 0101 4CBF – 0100 1100 1011 1111 36ED – 0011 0110 1110 1101 9A7A – 1001 1010 0111 1010
  • 11. Number Bases Binary = Base 2 Denary = Base 10 Hex = Base 16
  • 12. Use Truth Tables with Binary NOT 10101010 = 01010101 NOT 11010110 = 00101001 10101010 AND 01010101 = 00000000 11101110 AND 00110110 = 00100110 10101010 OR 01010101 = 11111111 11010010 OR 01011001 = 11011011
  • 13. Bits and Bytes Byte = 8 Bits Kilobyte = 1024 Bytes
  • 15. User Interface • User interacts directly with OS here • Two interface types: • Graphic User Interface (GUI) • Command Line Interface (CLI) • Both are examples of Human Computer Interfaces (HCI) • Primary objectives to provide: • Input Capability – using keyboards, mouse etc. • Output Capability – using VDU, printers etc. • Load and run programs
  • 16. File Management System • File Management System is responsible for: • Organising files • Managing files • Storage of data on: • Magnetic media (hard disks, floppy disks etc.) • Optical media (CD-ROM, DVD etc.) • USB Flash Drives
  • 17. Input / Output Layer • Deals with physical interaction of software with outside world e.g.: • Disk drives, keyboards, printers, screens, mouse etc. • This software is known as “device drivers” • Layer also used for transferring the data to/from RAM/backing storage • In Windows, a device driver will have one of the following file extensions: • DLL – Dynamic Link Library – uses hardware interrupts • EXE – Executable – uses hardware interrupts • VXD – Virtual Device Driver – uses software interrupts
  • 18. Memory Management Layer • Consists of loading a single program from a disk and allowing it free use of all available memory (RAM) • In Windows, multi-tasking is permitted; meaning more than one program can be loaded and run at the same time • Virtual Memory • Virtual memory is used when there is insufficient memory to run programs • Virtual memory is hard disk space set aside to act as memory • To the running programs, virtual memory is invisible; treats hard disk area as RAM • Protection • To stop programs from clashing with each other, each is tagged with information about which program ‘owns’ them. • If a program attempts to access memory segments it doesn’t have authority to access, it will be prevented.
  • 19. Kernel • Properties • Most protected layer • Deepest layer • Most privileged layer • Acts a timekeeper and regulator of the system • Controls any time-slicing for multi-tasking functions • Ensures fairness in the way resources are allocated and used • Deals with interrupts having different properties, which arrive to signal external and internal events
  • 20. API (Application Programming Interface) • An application programming interface (API) is a set of subroutine definitions, protocols, and tools for building application software. • In general terms, it is a set of clearly defined methods of communication between various software components.
  • 21. ALU (Arithmetic Logic Unit) and Control Unit • Where data is processed and manipulated • ALU involves arithmetic operations and logical operations • ALU uses temporary registers to hold data • Accumulator is a main register which holds the results of calculations • Control Unit • Manages execution of instructions • Sends control signals around the computer
  • 22. Registers • Memory Address Register (MAR) holds the address of a location in main memory • Memory Buffer Register (MBR) holds the data that has just been read from main memory or is to be written to main memory • Instruction Register (IR) holds the current instruction being executed • Program Counter (PC) holds the address of the next instruction to be fetched from memory
  • 23. Buses • Data is transferred between memory and processors by buses: • Address Bus • Pinpoints memory location • One-Way Bus • Data Bus • Transfers the data • Two-Way Bus • Control Bus • Initiates and controls operations
  • 24. ASCII • American Standard Code for Information Interchange • Represents 128 digits (0-127) (all characters on the keyboard)
  • 25. Open-Source and Proprietary Software Open-Source – free to use, but training isn’t free Proprietary – paid for i.e. license agreements - Restrictions on use, not free to share