CM VI - Inside a Computer – Hardware and Software
AIM
1. The main hardware and software components of a computer
2. Functions of different computer parts.
A power supply, a mother board, a hard disk, a pendrive, a keyboard, etc., are on the table and the students are looking at these parts with curiosity.
Jyoti: Computers are made of electronic parts called components. Each component has a specific function. They all work together when a computer is operated. Some of the components can be seen partly from the outside. Some components are hidden inside the computer where we can't see them.
Tejas: Finding information about the components inside a computer was very interesting. Look at the brain of the computer. Whenever we press a key, click the mouse, or start an application, we send instructions to the CPU. These are all executed by the CPU.
Jyoti: Can we see the details of the components inside this computer?
Moz: Yes. Click on the the system submenu. System monitor shows you details and status of hardware and software of the computer .
Usha: Circle processor data and label it as details of CPU. Take screenshot from a desktop.
Jyoti: Hey! There are two processors in this computer. There are many details for the processors.
Moz: The processing of your instructions is shared between the two processors, just the way you share work among your team.
Jyoti: What does 2.10 GHz mean?
Moz: This stands for 2.10 Giga Hertz. You know that Mega means million and Giga means billions. Hertz means cycles per second. CPU needs one or more cycles to perform an action. More cycles per seconds means more instructions can be processed per second. So, the higher the Hertz, the faster the computer can process instructions.
Processor (CPU)Executes program commands. / Concept
The Central Processing Unit (CPU), also called a processor, is the brain of the computer. (Prof. Sridhar to define Hertz in 6th standard language in second round). It executes instructions in response to commands.
Info
Processor speed is measured in Hz.
A processor's speed is measured in megahertz (MHZ) , or gigahertz (GHZ) , So, the higher the hertz , the faster the computer can process instructions. The CPU is generally a 2 inch ceramic square with a silicon chip located inside. The chip usually about the size of a thumbnail.
Tejas: Main memory is used to store programs and data when CPU is processing.
Moz: The computer's work takes place in RAM. This is where programs run when you are using Word processor application to create a document, or Scratch to create an animation.
Jyoti: What does 2.8 GB mean?
Moz: Let us first understand how computers store information. Computers store information digitally. All the information is broken down into pieces and stored as numbers. These are converted to a binary system.
Should we have an explanation of binary system here?
Main Memory (RAM)Executes program
commands.
Primary storage area
for programs and
data that are in
active use / Concept: RAM (Random Access Memory) is also called main memory. RAM is used to store data and instructions that are currently being processed by a computer's CPU. Data is temporarily stored here until the work is saved to the hard disk. The data in RAM is erased on power off of computer.
Info
RAM is measured in megabytes (MB) or gigabytes (GB). A bit is the smallest unit of data in computer processing. A byte is a group of eight bits. A Kilobyte (KB) is 2^10 bytes or approximately 1024 bytes. A Megabyte (MB) is about one million bytes. A gigabyte (GB) is 1,024 megabytes. The more RAM a computer has, the more things a computer can do at the same time, and the faster a computer performs tasks.
Jyoti: The content that we save in a computer is written into secondary storage.
Tejas: Whatever we save on a hard disk can be retrieved later. It is like a permanent storage device.
Moz: The hard disk stores multiple type of data and applications. The documents and content that a user creates and saves, the software to operate the computer and the applications like Word processor, Scratch etc. are stored on the hard disk. The computer loads the instructions from long-term storage (your hard disk) into main memory as and when required.
Jyoti: The amount of data, programs that we can store on a hard disk depends on its size which is measured in giga bytes.
Tejas: We can also record data to CD/DVD or pen drive. The memory of these devices is not as much as a hard disk drive.
Moz: Correct. These devices are called removable storage devices, which can be removed from the computer and connected whenever required and carried. The hard disk is also sometimes removable.
Jyoti: A few days back I created a greeting on the computer. I saved it on hard disk and also copied on to the pen drive. Next day the computer did not work. But since I had a copy on the pen drive I could copy it on to another computer and mail it to my friends.
Moz: Making another copy of a document or information that you create on the computer is called taking backup. Backup of content (documents, paintings, reports etc.,) that you create is important. Backup can be taken on CD/DVD, pendrive, or a removable hard disk, or another computer where you have access.
Tejas: We can also mail a copy to ourselves if we have internet connectivity.
Moz: Right. This is good option when you have internet connectivity.
BackupConcept
Backup of data and information that you create is important. Many backup options are available, like mailing a copy of the content to yourself, taking a backup on pen drive, a CD/DVD, another computer. This ensures that even if one device fails you have a copy of the content (documents, paintings, projects etc, that is created using a computer.
Jyoti: We also get books, games, educational lessons on CD/DVDs.
Moz: Correct. These devices can also be used for distribution and sharing of resources.
Secondary Storage/ Concept
Secondary storage is where the information is stored permanently till explicitly deleted. Information is moved between main memory and secondary memory as and when needed.
On power off of a computer, data on hard disk and other secondary storage devices is not erased.
InfoThe hard disk drive is the data center of the computer. Operating system, software, content created and saved by users are stored here. The hard disk drive is long-term storage where information is stored permanently until explicitly deleted by user. This is usually found inside a computer.
CD/DVD and pen drive are removable storage devices. These can be used to backup important data and information. It is also sometimes used to distribute or share information, books, software, games, etc.,
Jyoti: We already know what are input and output devices. Examples of input are keyboard, digital camera, mouse. Printer, Monitor are examples of output devices.
Tejas: This is how input to output happens in a computer. For example the following fig. Shows how the monitor displays an “A” that is typed on the keyboard.
Not sure of above fig. Will check out with someone conversant with these.
Moz: Correct. User interacts wih the computer using these devices, also called peripheral devices. The elecrical signals for example the alphabets typed on a keyboard, are converted to binary code. When the computer displays the data on a monitor or when output is a printout, the binary code is again converted to the human understandable characters.
Input/Output (I/O) devicesUser interactions are facilitated through I/O devices
/ Concept
An input device converts data and instructions entered using the device into a pattern of electrical signals in binary code that can be processed by a digital computer. A user inputs data and instructions (example: using a keyboard), initiates a task (Example: using a mouse), transfers images (example: using a web camera), using the input devices.
An output device reverses the process, translating the digitized signals into a form intelligible to the user. The computer displays processed information (example: a print out of the information or audio, video) through the output devices.
Info
Keyboard, mouse, scanner, webcam are examples of input devices.
Monitor, printer, speakers are examples of output devices.
Some devices can handle both input and output. Network is one such example.
Network device called network card in a computer is both input and output device.
Gurpreet: At the back of the computer we find many sockets which are called connection ports to connect the external devices like keyboard, mouse, speakers, power, monitor etc.
Jyoti: Port are of different shape and size. Some of them are network port, USB port, etc.
Moz: The ports look different since they carry different amounts of information. The colour code and look also helps to quickly identify the correct port while connecting peripherals.
A figure can be drawn here. Will draw on paper.
Connection PortsConcept: Function of a port:
A port is an interface between the computer and other computers or peripheral devices. It provides a signal transfer between devices. A port is connected from inside to expansion cards which are plugged into the motherboard and are connected to other components by cables which are long, flat bands that contain electrical wiring. The ports are controlled through the expansion cards
Info
At the back of a desktop computer various connection ports are available to connect the external devices and power. On a laptop these are available on the left and right side edges. Some common ports and their details are as follows:
1. PS/2 Port: Used to connect the mouse and keyboard.
2. Ethernet Port : Used to connect the network cable.
3. Audio In/Audio Out : connect various devices, including speakers, microphones, headsets, and more.Audio
4. VGA Port : Monitor is connected to this port.
5. USB Port : The Universal Serial Bus port is one of the most useful. These USB ports let you attach a variety of devices such as mouse, printers, keyboards, web cameras, USB/flash drives, and digital cameras to the computer quickly. Almost every peripheral made comes in a USB version.
Tejas: The computer has a power supply from where all the components get power.
Moz: The power supply converts the power from the wall outlet to the type of power that the computer needs.
A figure can be drawn here. Will draw on paper.
Power SupplyConcept
The power supply unit in a computer converts the power from the wall outlet to the type of power needed by the computer.
Info
The power supply unit sends power through the
cables to the motherboard and other components. The power cable from a wall outlet is connected to a socket in this unit.
The power On button for a computer is usually available on the front panel on a desktop and for a laptop it is usually available above the keyboard panel.
Jyoti: The circuit board which holds some of the components like CPU, and ROM and has connectors to other components of the computer is called the motherboard.
Moz: Yes. The motherboard connects directly or indirectly to every part of the computer.
MotherboardWill get a fig. as follows from Rajesh with only terms used in the lesson.
Concept
Motherboard connects directly or indirectly to every part of the computer. The motherboard's main job is to hold the computer's microprocessor chip and let everything else connect to it. Everything that runs the computer or enhances its performance is either part of the motherboard or plugs into it via a slot or port.
Info
The motherboard is the computer's main circuit board. It's a thin plate that holds the CPU (Central Processing Unit), memory, connectors for the hard drive and optical drives, as well as various external ports and peripherals.
Moz: Now that all the parts are together how do you start a computer? How does the CPU control all the components?
Tejas: We need software to operate and tell the computer what to do.
Moz: What is software?
Jyoti: Software provide the instructions telling a computer what to do. Software is required to operate and use the computer. These are BIOS software, Operating system and application software.
Jyoti: Firstly when we power on the desktop a software called, Basic input output system software (BIOS) starts or boots the computer. This software resides on a small chip called ROM or flash memory. The ROM is physically integrated into the motherboard.
Tejas: BIOS checks whether all the hardware units are working. When we switch on a system we see many messages that a particular hardware is working. These are from BIOS. Then the BIOS loads the operating system.
Jyoti: If a hardware is not working, for example if a hard disk is not working, then it gives a message as follows:
Usha: Put a hard disk failure message here.
Moz: The most important role of BIOS is to load the operating system (OS). When you turn on your computer, the CPU needs an instruction to execute. It has to get that instruction from somewhere. It cannot get it from the operating system because the operating system is located on a hard disk, and the CPU cannot get to it without some instructions that tell it how. The BIOS provides those instructions.