SlideShare a Scribd company logo
1 of 27
Presenting
Md Fuad Hasan Bashar
Basic computer operation
Topic
What will happen if we turn on a computer?
Powering on the computer
The processor gives the CPU program counter a F000
hexadecimal number. This number tells the CPU that it's
ready to process the instructions at this location contained
in the basic input/output system (BIOS).
BIOS and the POST
How Does a Computer Work? (computerhope.com)
BIOS performs POST.IF POST is accurately completed
then the operating system start loading.
Power on
Computer
BIOS performs POST
Disk RAM
Loading of OS
FIGURE:BIOS-POST operation
UEFI
Both UEFI and BIOS are low-level software that starts when you boot your PC
before booting your operating system, but UEFI is a more modern solution,
supporting larger hard drives, faster boot times, more security features.
https://www.howtogeek.com/56958/htg-explains-how-uefi-
Figure:Difference between BIOS and UEFI
CENTRAL PROCESSING UNIT
The CPU is the primary component that executes
instructions and processes data in a computer system.
The central processing unit (CPU) performs operations
on data.
In most architectures it has three parts:
1.An arithmetic logic unit (ALU)
2.A control unit
3.A set of registers(fast storage locations)
2.Arithmetic Circuitry:
1. Adder/Subtractor: This usually involves cascading multiple full adder circuits
to handle multi-bit operands.
2. Incrementer/Decrementer: The ALU may have dedicated circuitry to
increment or decrement a value by one.
3. Multiplier/Divider (optional): perform multiplication and division operations.
2.Logical Circuitry:
1.OR Gate: OR gates are used to perform logical OR operations on bits of binary data.
2.AND Gate: The ALU includes AND gates to perform logical AND operations on
individual bits of binary data.
3.XOR Gate: XOR gates are used to perform exclusive OR operations, comparing the bits
of two operands.
4.NOT Gate: The ALU may include NOT gates to perform logical negation (complement)
operations.
3.Flags and Control Signals:
1.Zero Flags : The ALU sets a Zero flag if the result of an operation zero.
2.Carry Flag : The ALU sets a Carry flag if there is a carry or borrow during addition or subtraction
operations.
3.Overflow Flag: The ALU sets an Overflow flag if the result of an operation exceeds the
representable range.
4.Control Signals: The ALU receives control signals from the control.
4.Multiplexers and Selectors:Select input and determine which output will send to the
destination.
CONTROL UNIT
The third part of any CPU is the control unit. The control unit controls
the operation of each subsystem. Controlling is achieved through signals
sent from the control unit to other subsystems.
There are two types of control units:
1.Hardwired control unit and
2.Microprogrammable control unit.
https://www.geeksforgeeks.org/introduction-of-control-unit-
and-its-design/
RESISTERS
Registers are fast stand-alone storage locations that hold data
temporarily. Multiple registers are needed to facilitate the
operation of the CPU
1.Data resister
2.Instruction resister
3.Programme counter
Presenting
Samanta Bushra
Instruction
Cycle
Function of registers
pipelining
Topic
.
Instruction Register(IR) : Holds the last instruction fetched.
Registers Involved In Each Instruction Cycle:
Memory address registers(MAR) : It is connected to the address lines
of the system bus. It specifies the address in memory for a read or
write operation.
Memory Buffer Register(MBR) : It is connected to the data lines of the
system bus. It contains the value to be stored in memory or the last
value read from the memory.
Program Counter(PC) : Holds the address of the next instruction to
be fetched
1.Fetch instruction from memory.
2.Decode the instruction.
3.Read the effective address from
memory.
4.Execute the instruction.
Instruction cycle
Pipelining is the process of storing and prioritizing computer
instructions that the processor executes.
Pipelining
Types of pipelines
1.Instruction pipeline
2.Arithmetic pipeline
Advantages of pipelining
The biggest advantage of pipelining is that it reduces the processor's cycle
time. This is because it can process more instructions simultaneously, while
reducing the delay between completed instructions
https://www.techtarget.com/whatis/definition/pipe
Presenting
Mst. Maniza Kadrin Mira
Memory
Primary memory
RAM
ROM
Secondary memory
Memory hierarchy
Input Output Device
Input device
Output device
Categorize Input And
Output Devices
Topic
Memory
The memory unit consists of cache memory and primary memory. Primary memory or
main memory of the computer is used to store the data and instructions during
execution of the instructions
RAM
o Primary storage of a computer is often referred to as RAM
because of its random access capability
o RAM chips are volatile memory
o A computer’s motherboard is designed in a manner that
the memory capacity can be enhanced by adding more
memory chips
o The additional RAM chips, which plug into special sockets
on the motherboard, are known as single-in-line memory
modules (SIMMs)
 ROM a non-volatile memory chip
 Data stored in a ROM can only be read and used – they
cannot be changed
 ROMs are mainly used to store programs and data, which
do not change and are frequently used. For example,
system boot program
ROM
Allows information output, from the computer to the
outside world. Example: Printer, Monitor etc
Allows user input, from the outside world to the
computer. Example: Keyboard, Mouse etc.
Input Output device
 Primary Function
a. Input Devices: These devices are primarily used for data or command input into the computer
system. Examples include keyboards, mice, scanners, and microphones.
b. Output Devices: These devices are primarily used for presenting or outputting information from the
computer system. Examples include monitors, printers, speakers, and projectors.
Categorize Input And Output
Devices
 Connectivity
a. Wired Devices: These devices are physically connected to the computer system using cables or
wires. Examples include USB keyboards, Ethernet network adapters, and wired mice.
b. Wireless Devices: These devices connect to the computer system using wireless technologies such
as Bluetooth or Wi-Fi. Examples include wireless keyboards, wireless mice, and wireless
headsets.
 Location
a. Internal Devices: These devices are installed inside the computer system and
are not easily removable or externally accessible. Examples include
internal hard drives, optical drives, and expansion cards.
b. External Devices: These devices are connected to the computer system from
outside and can be easily added or removed. Examples include external hard
drives, USB flash drives, and external webcams.
 Interaction Mode
a. Human-Interface Devices (HID): These devices are directly manipulated by
users for input or output. Examples include keyboards, mice,
touchscreens, and game controllers.
b. Sensor Devices: These devices sense and collect data from the environment
or physical objects. Examples include cameras, microphones, barcode scanners,
and biometric sensors.
Presenting
Binoy Barman
Bus system
 Address lines (AL)
 Data lines (DL)
 Control lines (CL)
Operating
system
 Types of Operating system
 Key functions and
components of an
operating system
Topic
Definition and function of the bus system: The bus system is a communication
pathway that allows data and control signals to be transmitted between components
Bus System
 The bus is a communication channel.
 The characteristic of the bus is shared
transmission media.
 The limitation of a bus is only one transmission
at a time.
 A bus used to communicate between the major
components
System bus contains 3 categories of lines
used to provide the communication
between the CPU, memory and IO named
as:
 Address lines (AL)
 Data lines (DL)
 Control lines (CL)
1. Address Lines:
•Used to carry the address to memory and IO.
•Unidirectional.
•Based on the width of an address bus we can determine the capacity of a
main memory
2. Data Lines:
•Used to carry the binary data between the CPU, memory and IO.
•Bidirectional.
•Based on the width of a data bus we can determine the word length of a
CPU.
•Based on the word length we can determine the performance of a CPU.
3. Control Lines:
•Used to carry the control signals and timing signals
•Control signals indicate the type of operation.
•Timing Signals are used to synchronize the memory and IO operations with a
CPU clock.
•Typical Control Lines may include Memory Read/Write, IO Read/Write, Bus
Request/Grant, etc.
Types of Operating system
Types of
Operating
system
Embedded
Operating
Systems
Cluster Operating
Systems
Multi-User
Operating
Systems
Single-User
Operating
Systems
Multiprocessing
Operating System
Network
Operating System
Time-sharing
Operating System
Batch Operating
System
 Batch Operating System
 Time-sharing Operating System
 Distributed Operating System
 Network Operating System
 Real-time Operating System
 Multiprocessing Operating System
 Single-User Operating Systems
 Multi-User Operating Systems
 Embedded Operating Systems
Operating system
An Operating System (OS) is an interface between a computer
user and computer hardware. An operating system is a software
which performs all the basic tasks like file management, memory
management, process management, handling input and output,
and controlling peripheral devices such as disk drives and
printers.
Process Management:
The operating system manages processes, which are programs in execution. It schedules
processes, allocates system resources (such as CPU time and memory), and facilitates
communication and synchronization between processes.
Memory Management:
The OS handles memory allocation, ensuring that each process has sufficient memory to
execute. It manages virtual memory, which allows processes to use more memory than
physically available by utilizing secondary storage (e.g., hard disk) as an extension of RAM.
File System Management:
The operating system provides a file system that organizes and manages files and directories
stored on storage devices. It handles file creation, deletion, access permissions, and ensures
data integrity and security.
Key functions and components of an
operating system
Security and
Protection
Process
Management
Memory
Management
File System
Management
Networking and
Communication
User Interface
Device
Management
Device Management:
The OS interacts with hardware devices such as input/output devices (e.g.,
keyboard, mouse, printers) and storage devices (e.g., hard drives, solid-state drives).
It manages device drivers, facilitates device communication, and provides a
uniform interface for applications to access devices.
User Interface:
The operating system provides a user interface that allows users to interact with
the computer system. This can be a command-line interface (CLI) where users
type commands, or a graphical user interface (GUI) with icons, menus, and
windows for intuitive interaction.
Networking and Communication:
Operating systems provide networking capabilities to enable communication
between computers and devices in a network. They manage network protocols,
handle data transmission, and facilitate network resource sharing.
Security and Protection:
The OS implements security mechanisms to protect the system and
user data. This includes user authentication, access control, encryption,
and detection/prevention of malicious activities.
Examples of Operating Systems
•Windows (GUI-based, PC)
•GNU/Linux (Personal, Workstations, ISP, File, and print
server, Three-tier client/Server)
•macOS (Macintosh), used for Apple’s personal
computers and workstations (MacBook, iMac).
•Android (Google’s Operating System for
smartphones/tablets/smartwatches)
•iOS (Apple’s OS for iPhone, iPad, and iPod Touch)
FANDAMENTAL OF COMPUTER SCIENCE FOR ENGINEERING.pptx

More Related Content

Similar to FANDAMENTAL OF COMPUTER SCIENCE FOR ENGINEERING.pptx

Computer - Hardware components
Computer -  Hardware componentsComputer -  Hardware components
Computer - Hardware componentsComputer Science
 
Ch # 04 computer hardware
Ch # 04 computer hardware Ch # 04 computer hardware
Ch # 04 computer hardware MuhammadRobeel3
 
The central processing unit by group 5 2015
The central processing unit by group 5 2015The central processing unit by group 5 2015
The central processing unit by group 5 2015Tendai Karuma
 
computer organization and architecture notes
computer organization and architecture notescomputer organization and architecture notes
computer organization and architecture notesUpasana Talukdar
 
Embedded systems 101 final
Embedded systems 101 finalEmbedded systems 101 final
Embedded systems 101 finalKhalid Elmeadawy
 
IO and file systems
IO and file systems IO and file systems
IO and file systems EktaVaswani2
 
WHAT-ARE-THE-DIFFERENT-HARDWARE-COMPONENT-OF-COMPUTER.pptx
WHAT-ARE-THE-DIFFERENT-HARDWARE-COMPONENT-OF-COMPUTER.pptxWHAT-ARE-THE-DIFFERENT-HARDWARE-COMPONENT-OF-COMPUTER.pptx
WHAT-ARE-THE-DIFFERENT-HARDWARE-COMPONENT-OF-COMPUTER.pptxssuserfbb80b
 
1.CPU INSTRUCTION AND EXECUTION CYCLEThe primary function of the .pdf
1.CPU INSTRUCTION AND EXECUTION CYCLEThe primary function of the .pdf1.CPU INSTRUCTION AND EXECUTION CYCLEThe primary function of the .pdf
1.CPU INSTRUCTION AND EXECUTION CYCLEThe primary function of the .pdfaniyathikitchen
 
System Software ( Os )
System Software ( Os )System Software ( Os )
System Software ( Os )Paula Smith
 
Computer basics and i.o devices
Computer basics and i.o devicesComputer basics and i.o devices
Computer basics and i.o deviceskitturashmikittu
 
computer fundamentals
computer fundamentalscomputer fundamentals
computer fundamentalsPANKHURI JAIN
 

Similar to FANDAMENTAL OF COMPUTER SCIENCE FOR ENGINEERING.pptx (20)

Multimedia Technology
Multimedia TechnologyMultimedia Technology
Multimedia Technology
 
Computer - Hardware components
Computer -  Hardware componentsComputer -  Hardware components
Computer - Hardware components
 
Ch 01 os8e
Ch 01  os8eCh 01  os8e
Ch 01 os8e
 
Ch # 04 computer hardware
Ch # 04 computer hardware Ch # 04 computer hardware
Ch # 04 computer hardware
 
Chapter01 os7e
Chapter01 os7eChapter01 os7e
Chapter01 os7e
 
The central processing unit by group 5 2015
The central processing unit by group 5 2015The central processing unit by group 5 2015
The central processing unit by group 5 2015
 
computer organization and architecture notes
computer organization and architecture notescomputer organization and architecture notes
computer organization and architecture notes
 
The system unit ch # 4
The system unit ch # 4The system unit ch # 4
The system unit ch # 4
 
ch1.pptx
ch1.pptxch1.pptx
ch1.pptx
 
Embedded systems 101 final
Embedded systems 101 finalEmbedded systems 101 final
Embedded systems 101 final
 
IO and file systems
IO and file systems IO and file systems
IO and file systems
 
Csc118 chapter1
Csc118 chapter1Csc118 chapter1
Csc118 chapter1
 
WHAT-ARE-THE-DIFFERENT-HARDWARE-COMPONENT-OF-COMPUTER.pptx
WHAT-ARE-THE-DIFFERENT-HARDWARE-COMPONENT-OF-COMPUTER.pptxWHAT-ARE-THE-DIFFERENT-HARDWARE-COMPONENT-OF-COMPUTER.pptx
WHAT-ARE-THE-DIFFERENT-HARDWARE-COMPONENT-OF-COMPUTER.pptx
 
1.CPU INSTRUCTION AND EXECUTION CYCLEThe primary function of the .pdf
1.CPU INSTRUCTION AND EXECUTION CYCLEThe primary function of the .pdf1.CPU INSTRUCTION AND EXECUTION CYCLEThe primary function of the .pdf
1.CPU INSTRUCTION AND EXECUTION CYCLEThe primary function of the .pdf
 
System Software ( Os )
System Software ( Os )System Software ( Os )
System Software ( Os )
 
Chapter 1 CSC118
Chapter 1 CSC118 Chapter 1 CSC118
Chapter 1 CSC118
 
Computer basics and i.o devices
Computer basics and i.o devicesComputer basics and i.o devices
Computer basics and i.o devices
 
Csc 2313 (lecture 1)
Csc 2313 (lecture 1)Csc 2313 (lecture 1)
Csc 2313 (lecture 1)
 
Csc 2313 (lecture 1)
Csc 2313 (lecture 1)Csc 2313 (lecture 1)
Csc 2313 (lecture 1)
 
computer fundamentals
computer fundamentalscomputer fundamentals
computer fundamentals
 

Recently uploaded

scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...HenryBriggs2
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdfKamal Acharya
 
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...ssuserdfc773
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdfAldoGarca30
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiessarkmank1
 
Path loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelPath loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelDrAjayKumarYadav4
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"mphochane1998
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxpritamlangde
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxSCMS School of Architecture
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...Amil baba
 
Ground Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementGround Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementDr. Deepak Mudgal
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxMustafa Ahmed
 
Introduction to Geographic Information Systems
Introduction to Geographic Information SystemsIntroduction to Geographic Information Systems
Introduction to Geographic Information SystemsAnge Felix NSANZIYERA
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsvanyagupta248
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxSCMS School of Architecture
 
Post office management system project ..pdf
Post office management system project ..pdfPost office management system project ..pdf
Post office management system project ..pdfKamal Acharya
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network DevicesChandrakantDivate1
 

Recently uploaded (20)

scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 
Path loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelPath loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata Model
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptx
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
 
Ground Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementGround Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth Reinforcement
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptx
 
Introduction to Geographic Information Systems
Introduction to Geographic Information SystemsIntroduction to Geographic Information Systems
Introduction to Geographic Information Systems
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
Post office management system project ..pdf
Post office management system project ..pdfPost office management system project ..pdf
Post office management system project ..pdf
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 

FANDAMENTAL OF COMPUTER SCIENCE FOR ENGINEERING.pptx

  • 1. Presenting Md Fuad Hasan Bashar Basic computer operation Topic
  • 2. What will happen if we turn on a computer? Powering on the computer The processor gives the CPU program counter a F000 hexadecimal number. This number tells the CPU that it's ready to process the instructions at this location contained in the basic input/output system (BIOS). BIOS and the POST How Does a Computer Work? (computerhope.com) BIOS performs POST.IF POST is accurately completed then the operating system start loading.
  • 3. Power on Computer BIOS performs POST Disk RAM Loading of OS FIGURE:BIOS-POST operation
  • 4. UEFI Both UEFI and BIOS are low-level software that starts when you boot your PC before booting your operating system, but UEFI is a more modern solution, supporting larger hard drives, faster boot times, more security features. https://www.howtogeek.com/56958/htg-explains-how-uefi- Figure:Difference between BIOS and UEFI
  • 5. CENTRAL PROCESSING UNIT The CPU is the primary component that executes instructions and processes data in a computer system. The central processing unit (CPU) performs operations on data. In most architectures it has three parts: 1.An arithmetic logic unit (ALU) 2.A control unit 3.A set of registers(fast storage locations)
  • 6. 2.Arithmetic Circuitry: 1. Adder/Subtractor: This usually involves cascading multiple full adder circuits to handle multi-bit operands. 2. Incrementer/Decrementer: The ALU may have dedicated circuitry to increment or decrement a value by one. 3. Multiplier/Divider (optional): perform multiplication and division operations. 2.Logical Circuitry: 1.OR Gate: OR gates are used to perform logical OR operations on bits of binary data. 2.AND Gate: The ALU includes AND gates to perform logical AND operations on individual bits of binary data. 3.XOR Gate: XOR gates are used to perform exclusive OR operations, comparing the bits of two operands. 4.NOT Gate: The ALU may include NOT gates to perform logical negation (complement) operations.
  • 7. 3.Flags and Control Signals: 1.Zero Flags : The ALU sets a Zero flag if the result of an operation zero. 2.Carry Flag : The ALU sets a Carry flag if there is a carry or borrow during addition or subtraction operations. 3.Overflow Flag: The ALU sets an Overflow flag if the result of an operation exceeds the representable range. 4.Control Signals: The ALU receives control signals from the control. 4.Multiplexers and Selectors:Select input and determine which output will send to the destination.
  • 8. CONTROL UNIT The third part of any CPU is the control unit. The control unit controls the operation of each subsystem. Controlling is achieved through signals sent from the control unit to other subsystems. There are two types of control units: 1.Hardwired control unit and 2.Microprogrammable control unit. https://www.geeksforgeeks.org/introduction-of-control-unit- and-its-design/
  • 9. RESISTERS Registers are fast stand-alone storage locations that hold data temporarily. Multiple registers are needed to facilitate the operation of the CPU 1.Data resister 2.Instruction resister 3.Programme counter
  • 11. . Instruction Register(IR) : Holds the last instruction fetched. Registers Involved In Each Instruction Cycle: Memory address registers(MAR) : It is connected to the address lines of the system bus. It specifies the address in memory for a read or write operation. Memory Buffer Register(MBR) : It is connected to the data lines of the system bus. It contains the value to be stored in memory or the last value read from the memory. Program Counter(PC) : Holds the address of the next instruction to be fetched
  • 12. 1.Fetch instruction from memory. 2.Decode the instruction. 3.Read the effective address from memory. 4.Execute the instruction. Instruction cycle
  • 13. Pipelining is the process of storing and prioritizing computer instructions that the processor executes. Pipelining Types of pipelines 1.Instruction pipeline 2.Arithmetic pipeline Advantages of pipelining The biggest advantage of pipelining is that it reduces the processor's cycle time. This is because it can process more instructions simultaneously, while reducing the delay between completed instructions https://www.techtarget.com/whatis/definition/pipe
  • 14. Presenting Mst. Maniza Kadrin Mira Memory Primary memory RAM ROM Secondary memory Memory hierarchy Input Output Device Input device Output device Categorize Input And Output Devices Topic
  • 15. Memory The memory unit consists of cache memory and primary memory. Primary memory or main memory of the computer is used to store the data and instructions during execution of the instructions
  • 16. RAM o Primary storage of a computer is often referred to as RAM because of its random access capability o RAM chips are volatile memory o A computer’s motherboard is designed in a manner that the memory capacity can be enhanced by adding more memory chips o The additional RAM chips, which plug into special sockets on the motherboard, are known as single-in-line memory modules (SIMMs)  ROM a non-volatile memory chip  Data stored in a ROM can only be read and used – they cannot be changed  ROMs are mainly used to store programs and data, which do not change and are frequently used. For example, system boot program ROM
  • 17.
  • 18. Allows information output, from the computer to the outside world. Example: Printer, Monitor etc Allows user input, from the outside world to the computer. Example: Keyboard, Mouse etc. Input Output device  Primary Function a. Input Devices: These devices are primarily used for data or command input into the computer system. Examples include keyboards, mice, scanners, and microphones. b. Output Devices: These devices are primarily used for presenting or outputting information from the computer system. Examples include monitors, printers, speakers, and projectors. Categorize Input And Output Devices  Connectivity a. Wired Devices: These devices are physically connected to the computer system using cables or wires. Examples include USB keyboards, Ethernet network adapters, and wired mice. b. Wireless Devices: These devices connect to the computer system using wireless technologies such as Bluetooth or Wi-Fi. Examples include wireless keyboards, wireless mice, and wireless headsets.
  • 19.  Location a. Internal Devices: These devices are installed inside the computer system and are not easily removable or externally accessible. Examples include internal hard drives, optical drives, and expansion cards. b. External Devices: These devices are connected to the computer system from outside and can be easily added or removed. Examples include external hard drives, USB flash drives, and external webcams.  Interaction Mode a. Human-Interface Devices (HID): These devices are directly manipulated by users for input or output. Examples include keyboards, mice, touchscreens, and game controllers. b. Sensor Devices: These devices sense and collect data from the environment or physical objects. Examples include cameras, microphones, barcode scanners, and biometric sensors.
  • 20. Presenting Binoy Barman Bus system  Address lines (AL)  Data lines (DL)  Control lines (CL) Operating system  Types of Operating system  Key functions and components of an operating system Topic
  • 21. Definition and function of the bus system: The bus system is a communication pathway that allows data and control signals to be transmitted between components Bus System  The bus is a communication channel.  The characteristic of the bus is shared transmission media.  The limitation of a bus is only one transmission at a time.  A bus used to communicate between the major components System bus contains 3 categories of lines used to provide the communication between the CPU, memory and IO named as:  Address lines (AL)  Data lines (DL)  Control lines (CL)
  • 22. 1. Address Lines: •Used to carry the address to memory and IO. •Unidirectional. •Based on the width of an address bus we can determine the capacity of a main memory 2. Data Lines: •Used to carry the binary data between the CPU, memory and IO. •Bidirectional. •Based on the width of a data bus we can determine the word length of a CPU. •Based on the word length we can determine the performance of a CPU. 3. Control Lines: •Used to carry the control signals and timing signals •Control signals indicate the type of operation. •Timing Signals are used to synchronize the memory and IO operations with a CPU clock. •Typical Control Lines may include Memory Read/Write, IO Read/Write, Bus Request/Grant, etc.
  • 23. Types of Operating system Types of Operating system Embedded Operating Systems Cluster Operating Systems Multi-User Operating Systems Single-User Operating Systems Multiprocessing Operating System Network Operating System Time-sharing Operating System Batch Operating System  Batch Operating System  Time-sharing Operating System  Distributed Operating System  Network Operating System  Real-time Operating System  Multiprocessing Operating System  Single-User Operating Systems  Multi-User Operating Systems  Embedded Operating Systems Operating system An Operating System (OS) is an interface between a computer user and computer hardware. An operating system is a software which performs all the basic tasks like file management, memory management, process management, handling input and output, and controlling peripheral devices such as disk drives and printers.
  • 24. Process Management: The operating system manages processes, which are programs in execution. It schedules processes, allocates system resources (such as CPU time and memory), and facilitates communication and synchronization between processes. Memory Management: The OS handles memory allocation, ensuring that each process has sufficient memory to execute. It manages virtual memory, which allows processes to use more memory than physically available by utilizing secondary storage (e.g., hard disk) as an extension of RAM. File System Management: The operating system provides a file system that organizes and manages files and directories stored on storage devices. It handles file creation, deletion, access permissions, and ensures data integrity and security. Key functions and components of an operating system Security and Protection Process Management Memory Management File System Management Networking and Communication User Interface Device Management
  • 25. Device Management: The OS interacts with hardware devices such as input/output devices (e.g., keyboard, mouse, printers) and storage devices (e.g., hard drives, solid-state drives). It manages device drivers, facilitates device communication, and provides a uniform interface for applications to access devices. User Interface: The operating system provides a user interface that allows users to interact with the computer system. This can be a command-line interface (CLI) where users type commands, or a graphical user interface (GUI) with icons, menus, and windows for intuitive interaction. Networking and Communication: Operating systems provide networking capabilities to enable communication between computers and devices in a network. They manage network protocols, handle data transmission, and facilitate network resource sharing. Security and Protection: The OS implements security mechanisms to protect the system and user data. This includes user authentication, access control, encryption, and detection/prevention of malicious activities.
  • 26. Examples of Operating Systems •Windows (GUI-based, PC) •GNU/Linux (Personal, Workstations, ISP, File, and print server, Three-tier client/Server) •macOS (Macintosh), used for Apple’s personal computers and workstations (MacBook, iMac). •Android (Google’s Operating System for smartphones/tablets/smartwatches) •iOS (Apple’s OS for iPhone, iPad, and iPod Touch)