Skip to main content

How computers works(how software works on computer)



1) Introduction to computers.


   A computer is nothing but a device that compute numbers.

So now let's talk about how this cool thing works.

2) parts of a computer and their main functions.


a] CPU (Central Processing Unit) -
    Do all the processing (Arithmetical and          logical operations).

b] RAM(Random Access Memory) -
    Stores important data that needed for
    execution of any program.

c] Storage devices (Hard Disk,SSD) -
    Stores date like (Operating System (O.S), Software's,  images, songs, videos, etc.)

d] Motherboard-
    You can think it as a PCB that helps to communicate with other devices like CPU,RAM, storage devices, graphics card etc to each other.

e] PSU(Power Supply Unit) -
    Provides power to all components.

Ok now you are familiar with the main components of a computer.

Computers do not understand any human language. Even they do not understand any programming language or assembly language directly. They only binary language.
                 If we compare binary to any human language. Every human language has lots of alphabet's like in English A,B,C etc but In binary it has only two alphabet's or numbers 0 and 1.

3) Let's start with the how computer boot.
    
First instruction needed to boot a computer are loaded in to the RAM then the specific parts of the O.S are loaded in the RAM. After all of that, processor send signal to RAM module and load the needed data process it and then our computer boots.

4) How application's runs on computer.

First important data from application is loaded in RAM. If the size of the application is larger than the available Memory (RAM) the remaining or less important data is stored in virtual Memory. After that processor takes data from RAM and then processor process the data and shows the result in our monitor.
      But application's does not works directly on hardware. First Operating system converts application in binary language so the hardware is able to run that application.

Now let's look at the binary.
  Binary is a language that hardware actually understands.
In decimal system we have no in range of 0-9 but in binary the numbers are only 0 and 1.

We can see the text on our computer that are actually not the text, the every alphabet are assigned by a number like A - 065. The numbers which assigns text, symbols are called ASCII code.

 





Comments

Popular posts from this blog

Apple is moving from Intel to ARM

       According to some rumours Apple is planning to use ARM chips instead of Intel in their Mac's. Apple plan to use their custom build ARM processors will be gadhe changer if everything goes well. Intel is facing difficulties in achieving their perfomance goal. If Apple's ARM processors outperforms Intel processors then it will great for Apple and their customers. By rumours it seems Apple 🍎 will launch their Mac's with ARM processors in fourth quarter of next year.  ARM processors generates less heat so it's easy to overclock, that will significantly boost their perfomance. Also ARM processors are very power efficient. Because of power efficiency of ARM processors we will notice increase in battery life of upcoming ARM based Mac's and MacBooks. If you don't know the difference between ARM and x86 then visit Difference between ARM and x86

How to install and use scrcpy on Linux?

In this article, you will learn how to install and use scrcpy on Linux. What is scrcpy? scrcpy is an application used to display and control the Android phone without installing any application on your android device and importantly it does not require any  root  access. Things you need to start using this application are listed below. 1) USB cable 2) Android phone with USB debugging on(Android 5.0 or above) 3) PC(Debian based os required) Installation sudo apt install scrcpy I prefer to use snap for installing scrcpy because snap store seems to have the latest package To install using snap use the following command snap install scrcpy Running scrcpy step 1) Plug an Android device(turn on USB debugging) using USB to your pc. step 2) open terminal and type scrcpy (or type scrcpy --help to see list of additional commands). If you want to know more about scrcpy click on the link below https://github.com/Genymobile/scrcpy Bonus:  You can also play games like among us using s...

The future of gaming phone's (AMD graphics on Samsung phones)

The future of gaming smartphones seems to be bright. Lots of large gaming companies are now focusing on developing mobile games. Pc games are being ported for mobiles like fortnite, call of duty,PUBG. Mobile eSports gaming is going to peak at this time. So companies are trying to develop gaming phone's as high end as possible and trying to lower the price. E.g Asus ROG and ROG 2, Xiaomi  blackshark. Samsung and AMD is doing partnership. The AMDs Radeon graphics are based on RDNA architecture will be going to combine with Samsung's Exynos cpu. RDNA means Radeon DNA. RDNA gives more perfomance compare to its power usage. RDNA architecture will be used in play station 5 and Xbox series X. Samsung's Phone with Exynos processor integrated with Radeon graphics could go on the sale in 2021. The smartphone companies are trying very hard to defeat each other. In  future we expect that we're able to play games like GTA 5 on our smartphones. If you want to read more arti...