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

Difference between ARM and x86 processors

Difference between ARM and x86 processors. Introduction What is CPU? CPU stand for central processing unit. The fundamental function of CPU is to process information. Introduction to ARM processors ARM stands for ADVANCED RISC MACHINES  . The ARM processors based on RISC instruction set. RISC stands for REDUCED INSTRUCTION SET COMPUTING . By seeing the full form of RISC you probably get the idea of that the ARM processors has less and simple instruction set than the processors of x86 architecture. Introduction to x86 The x86 processors based on CISC instruction set. CISC stand for COMPLEX INSTRUCTION SET COMPUTING . This type of processors has complex instruction sets means more instruction than the ARM processors The first difference point is Applications - 1. ARM processors - Usually ARM processors are used in portable, small and that devices which has unreliable source of power like batteries. E.g some laptops, smartphones...

how to use list data type in Python?

Where we can use Python 1) In web development using frameworks like Django and flask . ( Django has more features than flask but flask is good for lightweight web applications) 2) In data science and artificial intelligence.   (python has wide range of libraries and frameworks for data science and for artificial intelligence)     3)In Hacking   and in many other things Lists in python List is data   type  For complex programs we need to store and arrange large amount of data. For storing large amount of data we use lists, tuples and dictionary.  In this data type the values(data) are stored in the ordered sequence unlike dictionary.  Example of a list   -  Animal =  ['Tiger', 'Cat', 'Dog'] As you can able to see in above example, the list start and end with square brackets, [ ] We can store strings in a single or double quotes('string' or "string"). To separate the v...

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...