Basics Of Computer Science
Hardware and Software
Hardware :
Hardware refers to the physical components of a computer. Computer Hardware is any part of the computer that we can touch these parts. These are the primary electronic devices used to build up the computer. Examples of hardware in a computer are the Processor, Memory Devices, Monitor, Printer, Keyboard, Mouse, and the Central Processing Unit.

Software :
Software is a collection of instructions, procedures, documentation that performs different tasks on a computer system. we can say also Computer Software is a programming code executed on a computer processor. The code can be machine-level code or the code written for an operating system. Examples of software are Ms Word, Excel, Power Point, Google Chrome, Photoshop, MySQL etc.

Difference Between Hardware and Software :

Hardware Software
It is the physical component of a computer system. It is the programming language that makes hardware functional.
It has the permanent shape and structure, which cannot be modified. It can be modified and reused, as it has no permanent shape and structure.
Hardware Components are Keyboard, Mouse, Monitor, Printer, CPU, Hard disk, RAM, ROM etc. Software Components are Ms Word, Excel, Power Point, Photoshop, MySQL etc.
It is manufactured. It is developed and engineered.
It works with binary code (i.e., 1’s to 0’s) . It functions with the help of high level language like COBOL, BASIC, JAVA, etc.
It takes in only machine language, i.e., lower level language. It takes in higher level language, easily readable by a human being.
Hardware is not affected by computer viruses. Software is affected by computer viruses.
It cannot be transferred from one place to other electronically. It can transfer from one place to other electronically.
If hardware is damaged, it is replaced with new one. If software is damaged, its backup copy can be reinstalled.