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

Best AdSense alternative for your blog and website.

If you want a better alternative of AdSense for your blog or website because of Adsense is not approving the site or any other reason. If your website has adult content or pirated content Adsense won't approve your website. The name of the alternative is  PopAds . PopAds  allow you to monetize any type of website.  PopAds also allows you to monetize a website that contains adult or copyrighted content(i am not supporting piracy). If you want to create an account of popads visit this link  popads.net . Pros of using popads 1. You can monetize any type of website. 2. Instant approval. 3. You can control the rates of advertisements. 4. You have control of which type of ads do you want to show on your website like  a)popup  b)popunder  c)tabunder  d)tabup  e)long loading  f)Adult  e)Audio/Video Con 1)you can't use Adsense with popads.