Core Hardware Components to Run a Program

The two major components to execute a program are
i) CPU
ii) Memory (RAM)
CPU (Central Processing Unit) runs a set of instructions.
RAM (Random Access Memory) works as a temporary storage to help the CPU achieve the desired output/outcome.
Why we are discussing these boring hardware stuff before moving on to programming? To make you a better programmer by getting your fundamentals right.
Ok! Really on to Programming
Let me go back to the famous expression
Z = X + Y (If you know your maths well, then you should know that X, Y, Z etc. are all variables
Suppose we know X = 100, Y = 200 and we ask the computer to calculate the value of X + Y (which mathematically equates to Z).

✔ Файзуллоҷон Сафаров
7 янв 2019

To start programming you first need to understand what is a program

What is a program
A program is a set of instructions that the computer executes....

•••
To start programming you first need to understand what is a program - 874378692860

Комментарии

Комментариев нет.