SlideShare a Scribd company logo
1 of 22
CC112
Computer
Programming - 1
JOSEPH REY G YBIOSA
BSIT - Instructor
The Computer System
What is Computer System?
2
“The computer system is a
complex arrangement of
hardware and software
components that work together
to process and store
information.
3
3
Computer System
4
What is a
Computer?
5
Computer
▰ A computer is an electronic device that processes and stores data
using a combination of hardware and software components.
▰ It performs complex calculations, executes programs, and allows
users to interact with it through input and output devices.
6
▰ CPU (Central Processing Unit)
▰ Memory
▰ Storage
▰ Input / Output Devices
Components of a Computer System
7
▰ also known as the processor, is the brain of
the computer.
▰ It carries out the instructions of a
computer program by performing basic
arithmetic, logical, control, and
input/output (I/O) operations.
CPU (Central Processing Unit)
8
▰ Control Unit:
-The control unit coordinates and manages the execution of instructions.
CPU three primary components:
9
▰ Arithmetic Logic Unit (ALU):
-The ALU performs arithmetic operations (addition, subtraction, multiplication,
division) and logical operations (comparisons, Boolean operations) on data.
▰ Registers:
-Registers are small storage units within the CPU that store data and instructions
temporarily for faster processing. They hold operands, intermediate results, and
memory addresses.
10
▰ also known as RAM (Random Access
Memory), provides temporary storage for
data and instructions that the CPU requires
for processing.
▰ It is a volatile form of memory, meaning it
loses its contents when the computer is
powered off.
Memory
11
Memory is divided into two main types:
Primary Memory:
-also called main memory, is directly
accessible to the CPU.
-It includes RAM and cache memory.
RAM stores data and instructions that the
CPU actively uses during program
execution, while cache memory provides
fast access to frequently used data.
12
Secondary Memory:
-Secondary memory, such as hard drives
and solid-state drives (SSDs), provides
long-term storage for programs and
data.
-Unlike primary memory, it retains
information even when the power is
turned off.
Storage
Storage devices, such as hard drives and solid-state drives (SSDs),
provide long-term storage for data and programs. They are classified
into two main types:
▰ Magnetic Storage: Traditional hard drives that use magnetic disks
to store data.
▰ Solid-State Storage: SSDs that use non-volatile memory chips to
store data.
13
Storage
14
Input/Output Devices
I/O devices facilitate interaction between the computer and the
external world. Some common I/O devices include:
▰ Keyboard and Mouse: Used for inputting data and commands.
▰ Display Monitor: Provides visual output to the user.
▰ Printer: Used for generating hard copies of documents.
▰ Network Interface Card (NIC): Facilitates network communication.
15
Interaction between Hardware and Software
Hardware and software are
interdependent components
that work together to
perform tasks and execute
programs on a computer
system.
16
Memory is divided into two main types:
▰ Hardware: Hardware refers to the physical components of a computer system,
such as the CPU, memory, storage devices, and input/output devices. It
provides the necessary resources and processing power for software to run.
▰ Software: Software encompasses the programs, applications, and operating
systems that enable users to interact with the computer. It includes system
software (e.g., operating systems, drivers) and application software (e.g., word
processors, web browsers).
17
Hardware and software interact in the following ways:
▰ Execution of Instructions: The CPU executes instructions stored in memory,
performing operations specified by the software.
▰ Memory Management: The operating system manages memory allocation,
ensuring that software programs have the necessary memory space to run
efficiently.
▰ Device Interaction: Software communicates with input/output devices, allowing
users to interact with the computer system and receive output from it.
18
Hardware and software interact in the following ways:
▰ Device Drivers: Device drivers are software components that enable
communication between the operating system and hardware devices, ensuring
proper functioning and compatibility.
▰ Virtualization: Virtualization software creates virtual machines that emulate the
functionality of physical hardware, allowing multiple operating systems to run
simultaneously on a single computer.
19
Summary
▰ The components of a computer system, including the CPU, memory, storage, and
input/output devices, form the foundation for its operation.
▰ The CPU serves as the central processing unit, executing instructions and performing
calculations.
▰ Memory provides temporary storage for data and instructions, while storage devices
offer long-term storage.
▰ Input/output devices facilitate interaction between the computer and users.
▰ Hardware and software components work together, with software relying on hardware
resources for execution, and hardware being controlled and utilized by software
programs.
20
What is the
PRIMARY
&
SECONDARY
storage?
21
22
THANKS!

More Related Content

Similar to cc112 prog 1 topic 1.pptx

cental processing unit and all its components
cental processing unit and all its componentscental processing unit and all its components
cental processing unit and all its componentsssuserf86fba
 
Computer System
Computer SystemComputer System
Computer Systemhajjaz
 
Computer architecture pptx
Computer architecture pptxComputer architecture pptx
Computer architecture pptxMDSHABBIR12
 
Zimsec Computer Science Notes
Zimsec Computer Science NotesZimsec Computer Science Notes
Zimsec Computer Science NotesDoubt Jafali
 
Gl2010 m1 com-presentation
Gl2010 m1 com-presentationGl2010 m1 com-presentation
Gl2010 m1 com-presentationTracie King
 
Lecture 1.pptx
Lecture 1.pptxLecture 1.pptx
Lecture 1.pptxSalarAzam1
 
BASIC OF COMPUTER.pptx regarding details
BASIC OF COMPUTER.pptx regarding detailsBASIC OF COMPUTER.pptx regarding details
BASIC OF COMPUTER.pptx regarding detailsMuskanMukhi1
 
whatiscomputer-By Arun kumar
 whatiscomputer-By Arun kumar whatiscomputer-By Arun kumar
whatiscomputer-By Arun kumarArun Kumar
 
Introduction what is computer
Introduction what is computerIntroduction what is computer
Introduction what is computerUs Man
 
What is computer Introduction to Computing
What is computer Introduction  to Computing What is computer Introduction  to Computing
What is computer Introduction to Computing Ahmad Idrees
 
Computer Architecture in Organisation - COMP 3114 - LECTURE NOTES - 2023-2024...
Computer Architecture in Organisation - COMP 3114 - LECTURE NOTES - 2023-2024...Computer Architecture in Organisation - COMP 3114 - LECTURE NOTES - 2023-2024...
Computer Architecture in Organisation - COMP 3114 - LECTURE NOTES - 2023-2024...SaffaIbrahim1
 
Basics of computers.pptx
Basics of computers.pptxBasics of computers.pptx
Basics of computers.pptx123mengie
 
Computer Organisation
Computer OrganisationComputer Organisation
Computer OrganisationLaxmiDevi38
 
Block Diagram of Computer.pdf
Block Diagram of Computer.pdfBlock Diagram of Computer.pdf
Block Diagram of Computer.pdfAlinagentry
 
computer devices and memory unit 2 notes.pdf
computer devices and memory unit 2 notes.pdfcomputer devices and memory unit 2 notes.pdf
computer devices and memory unit 2 notes.pdfshubhangisonawane6
 

Similar to cc112 prog 1 topic 1.pptx (20)

cental processing unit and all its components
cental processing unit and all its componentscental processing unit and all its components
cental processing unit and all its components
 
Computer System
Computer SystemComputer System
Computer System
 
Computer architecture pptx
Computer architecture pptxComputer architecture pptx
Computer architecture pptx
 
Zimsec Computer Science Notes
Zimsec Computer Science NotesZimsec Computer Science Notes
Zimsec Computer Science Notes
 
Gl2010 m1 com-presentation
Gl2010 m1 com-presentationGl2010 m1 com-presentation
Gl2010 m1 com-presentation
 
Lecture 1.pptx
Lecture 1.pptxLecture 1.pptx
Lecture 1.pptx
 
Pankaj kumar
Pankaj kumar Pankaj kumar
Pankaj kumar
 
Data processing
Data processingData processing
Data processing
 
BASIC OF COMPUTER.pptx regarding details
BASIC OF COMPUTER.pptx regarding detailsBASIC OF COMPUTER.pptx regarding details
BASIC OF COMPUTER.pptx regarding details
 
whatiscomputer-By Arun kumar
 whatiscomputer-By Arun kumar whatiscomputer-By Arun kumar
whatiscomputer-By Arun kumar
 
Introduction what is computer
Introduction what is computerIntroduction what is computer
Introduction what is computer
 
What is computer Introduction to Computing
What is computer Introduction  to Computing What is computer Introduction  to Computing
What is computer Introduction to Computing
 
Computer Architecture in Organisation - COMP 3114 - LECTURE NOTES - 2023-2024...
Computer Architecture in Organisation - COMP 3114 - LECTURE NOTES - 2023-2024...Computer Architecture in Organisation - COMP 3114 - LECTURE NOTES - 2023-2024...
Computer Architecture in Organisation - COMP 3114 - LECTURE NOTES - 2023-2024...
 
Unit2fit
Unit2fitUnit2fit
Unit2fit
 
Introduction to computer system
Introduction to computer systemIntroduction to computer system
Introduction to computer system
 
Basics of computers.pptx
Basics of computers.pptxBasics of computers.pptx
Basics of computers.pptx
 
Computer Organisation
Computer OrganisationComputer Organisation
Computer Organisation
 
Block Diagram of Computer.pdf
Block Diagram of Computer.pdfBlock Diagram of Computer.pdf
Block Diagram of Computer.pdf
 
Unit 1.pptx
Unit 1.pptxUnit 1.pptx
Unit 1.pptx
 
computer devices and memory unit 2 notes.pdf
computer devices and memory unit 2 notes.pdfcomputer devices and memory unit 2 notes.pdf
computer devices and memory unit 2 notes.pdf
 

Recently uploaded

04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 

Recently uploaded (20)

04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 

cc112 prog 1 topic 1.pptx

  • 1. CC112 Computer Programming - 1 JOSEPH REY G YBIOSA BSIT - Instructor
  • 2. The Computer System What is Computer System? 2
  • 3. “The computer system is a complex arrangement of hardware and software components that work together to process and store information. 3 3
  • 6. Computer ▰ A computer is an electronic device that processes and stores data using a combination of hardware and software components. ▰ It performs complex calculations, executes programs, and allows users to interact with it through input and output devices. 6
  • 7. ▰ CPU (Central Processing Unit) ▰ Memory ▰ Storage ▰ Input / Output Devices Components of a Computer System 7
  • 8. ▰ also known as the processor, is the brain of the computer. ▰ It carries out the instructions of a computer program by performing basic arithmetic, logical, control, and input/output (I/O) operations. CPU (Central Processing Unit) 8
  • 9. ▰ Control Unit: -The control unit coordinates and manages the execution of instructions. CPU three primary components: 9 ▰ Arithmetic Logic Unit (ALU): -The ALU performs arithmetic operations (addition, subtraction, multiplication, division) and logical operations (comparisons, Boolean operations) on data. ▰ Registers: -Registers are small storage units within the CPU that store data and instructions temporarily for faster processing. They hold operands, intermediate results, and memory addresses.
  • 10. 10
  • 11. ▰ also known as RAM (Random Access Memory), provides temporary storage for data and instructions that the CPU requires for processing. ▰ It is a volatile form of memory, meaning it loses its contents when the computer is powered off. Memory 11
  • 12. Memory is divided into two main types: Primary Memory: -also called main memory, is directly accessible to the CPU. -It includes RAM and cache memory. RAM stores data and instructions that the CPU actively uses during program execution, while cache memory provides fast access to frequently used data. 12 Secondary Memory: -Secondary memory, such as hard drives and solid-state drives (SSDs), provides long-term storage for programs and data. -Unlike primary memory, it retains information even when the power is turned off.
  • 13. Storage Storage devices, such as hard drives and solid-state drives (SSDs), provide long-term storage for data and programs. They are classified into two main types: ▰ Magnetic Storage: Traditional hard drives that use magnetic disks to store data. ▰ Solid-State Storage: SSDs that use non-volatile memory chips to store data. 13
  • 15. Input/Output Devices I/O devices facilitate interaction between the computer and the external world. Some common I/O devices include: ▰ Keyboard and Mouse: Used for inputting data and commands. ▰ Display Monitor: Provides visual output to the user. ▰ Printer: Used for generating hard copies of documents. ▰ Network Interface Card (NIC): Facilitates network communication. 15
  • 16. Interaction between Hardware and Software Hardware and software are interdependent components that work together to perform tasks and execute programs on a computer system. 16
  • 17. Memory is divided into two main types: ▰ Hardware: Hardware refers to the physical components of a computer system, such as the CPU, memory, storage devices, and input/output devices. It provides the necessary resources and processing power for software to run. ▰ Software: Software encompasses the programs, applications, and operating systems that enable users to interact with the computer. It includes system software (e.g., operating systems, drivers) and application software (e.g., word processors, web browsers). 17
  • 18. Hardware and software interact in the following ways: ▰ Execution of Instructions: The CPU executes instructions stored in memory, performing operations specified by the software. ▰ Memory Management: The operating system manages memory allocation, ensuring that software programs have the necessary memory space to run efficiently. ▰ Device Interaction: Software communicates with input/output devices, allowing users to interact with the computer system and receive output from it. 18
  • 19. Hardware and software interact in the following ways: ▰ Device Drivers: Device drivers are software components that enable communication between the operating system and hardware devices, ensuring proper functioning and compatibility. ▰ Virtualization: Virtualization software creates virtual machines that emulate the functionality of physical hardware, allowing multiple operating systems to run simultaneously on a single computer. 19
  • 20. Summary ▰ The components of a computer system, including the CPU, memory, storage, and input/output devices, form the foundation for its operation. ▰ The CPU serves as the central processing unit, executing instructions and performing calculations. ▰ Memory provides temporary storage for data and instructions, while storage devices offer long-term storage. ▰ Input/output devices facilitate interaction between the computer and users. ▰ Hardware and software components work together, with software relying on hardware resources for execution, and hardware being controlled and utilized by software programs. 20