23/10/2023
How does the computer understand our commands?
At the core of computing, computers essentially understand one language: the Binary system, which is composed of ones and zeros ("1" & "0").
What is the Binary system?
The Binary system is a representation of data. Computers use electrical signals, and this system is a way to represent data using two states: charged ("1") and uncharged ("0").
How does a computer interpret our commands in the binary language?
Computers primarily function through the manipulation of electrical charges (or electrons). These charges represent the binary data which computers understand and are stored in memory cells.
How does data storage work?
Within storage devices like flash memory, there are tiny units called cells. These cells can hold electrical charges, representing binary data. Depending on the technology, a single cell can hold one or multiple bits of data, represented by different charge levels.
In earlier times, engineers directly used the binary system to communicate commands to computers. Today, we utilize higher-level languages to write our commands. When you input a command in a programming language and hit "RUN," the computer translates your command into binary using predefined rules and compilers for that particular programming language.
How is binary data processed within the computer?
Binary data, represented as sequences like "00110000 010010", is processed by the Central Processing Unit (CPU). The CPU uses millions of transistors, which are essentially tiny electronic switches that manipulate these electronic signals (electrons) to perform computations.
What happens when I delete data?
When data is deleted, the references to that data are removed, making the storage space available for new data. The electrons representing that data don't vanish but rather the charge state that represents the data might be altered.
How can some recover deleted data?
When data is initially deleted, it's not immediately overwritten. Recovery tools can often retrieve this data by interpreting the residual charges in memory storage. Over time, as more data is written to the storage, the likelihood of successful data recovery decreases.
How does a computer interact with these electrons?
Data (electrons) is stored on hard drives or other storage mediums. When needed, this data is moved to the RAM (Random Access Memory), which acts as a "waiting room" or temporary storage, readying the data for the CPU to process. After processing, the results are sent to the output devices.
Bakr, in English