What is website design business; Branding always plays an effective role in promoting and expanding…
How does a computer work
How does a computer work, Before you start programming, it’s good to know what a computer is and how it works. I hope you all read the theoretical discussion about computers. I will not go into theory. I’ll just talk about some of the most basic things. Computers are like workaholics. He will give you a lot of work, but for him you have to tell him what work he has to do. He will do nothing by himself. Either you tell him or someone else will instruct him on your behalf.
Without further ado about what a computer can do, let’s see how it works. No matter what he does, he does it at the stage.
- He will take some information from the user (input)
- He will process the information
- After processing the result he will return to the user (output)
No matter how complex the task you see the computer doing, it actually does these three tasks. First come the input stage. Computers cannot do anything without information. The keyboard and mouse in a personal computer usually give the user various information to the computer. There are also many input devices. For example, disk drive (CD, DVD, USB pen drive, etc.). After that it is processing. The input information is processed by the computer in different ways. The central processing unit (CPU) does this. Processing is basically a variety of calculations.
Then there is the output. The result of processing is called output to return to the user. The standard output device is the screen of the computer monitor. Printers, speakers, disk drives, etc. also have computer output on the device. Now the question is, how does the computer understand when to do something? The answer is very simple. The job of programmers is to tell the computer how the computer will work. A computer program is just a few instructions to a computer, detailing how it will input, process, and output.
Computers work using binary language. No matter what type of computer it is, it can only understand binary language. The language used by people is not understandable to him. Binary language is a language made up of 0 and 1. In binary language the computer receives input, calculates, outputs, stores information. We humans are not accustomed to working in binary language. Many can work in this language, but their number is negligible. So how do ordinary programmers like us instruct computers?
The invention of programming language is to solve this problem. We write instructions in our understandable language through programming languages. Our instructions are then translated into the computer’s intelligible language by a translator. The computer actually works according to that converted instruction. This translator is different for each programming language. They are basically divided into two main classes. Compiler and interpreter. These will be discussed later. However, it should be kept in mind that the translator translates the instructions or programs written in different programming languages into machine languages.
Memory , Not without discussing computer memory. The whole time you have to input information, work with it and give it output, you have to keep the information somewhere. Computer memory is such a place. There are many places to keep information in the computer. However, by memory we basically mean RAM. Any program uses RAM to perform its functions.
The unit of storage space on a computer is the bit. A bit can have a 0 or a 1. A byte is made up of 6 bits. In other words, 8 consecutive bits of space in computer memory together is called 1 byte space. The importance of bytes is that whatever the size of a memory or RAM, it is divided into 1 byte 1 byte into different areas. Let me explain a little.
We measure the area in square feet, square meters. But we use percent or decimal units instead of using these units to buy and sell land. 1 decimal is about 438 square feet. It is ridiculous to buy or sell land less than 1 decimal, because no land can be built on less than that. In the same way, although bit is the smallest unit of memory, a byte is a functional unit for using memory.
The entire space of a memory module or RAM is divided into many areas by 1 byte. Each of these areas has an address that is a positive integer. This address is called a memory address. Bytes are the smallest space in memory that has its own memory address. When any information is stored in memory, it covers one or more bytes depending on its size. When a computer finds any information in its memory, it uses this memory address to search and process.
- A unit of bytes too small.
- 1024 bytes together 1 kilobyte
- 1024 kilobytes together 1 megabyte
- 1024 megabytes together is called 1 gigabyte.
- So to say your computer’s RAM is 2 GB (GB) actually means that your RAM (1024x1024x1024) is divided into 1 byte area, each area has a memory address.
Thank you so much
This Post Has 0 Comments