Introduction to programming Between Software and Hardware

Introduction

Introduction to computer programming

Inshallah, I decided to start a programming tutorial series for beginners. this tutorial is for people studying computer programming or normal people who just want to learn something new. in this series I will teach programming with javascript as it is so easy to learn and no setup is required to start. so let's get started!

in this lesson, I will discuss only three points

  • Languages in the Digital World.
  • Computer Components.
  • Most Important Hardware Components.

Languages in the Digital World

We have 3 languages in our world divided into the following:

 

Human Language

This is our normal language which we speak and the computer does not understand our languages, computers are stupid it does not have an intelligent on its on to understand our language.

Machine Language

This is the pure machine language that the computer can follow, process, or execute. it's purely 1 and 0, true or false and on or off. the computer works with electricity so there are 2 states for electricity in a wire, which is there is electricity or there is not. that's why computer language is 1 or 0.

Programming Language

This is what we will learn in the upcoming tutorial, this language we can understand but the computer doesn't because computer understands machine code remember !? so it needs to be translated to machine code and this is where Compilers, interpreters or Assemblers are used for, we will learn about them later in this tutorial

 

 

Computer Components

A computer is a constant of hardware and software and can't work without them at all.

 

Hardware

Physical parts of a computer, such as the case, central processing unit, monitor, mouse, keyboard, computer data storage, graphics card, sound card, speakers, and motherboard.

Software

is a collection of data or computer instructions that tell the computer how to work. The software includes computer programs, libraries, and related non-executable data, such as online documentation or digital media.

Most Important Hardware Components

There are some hardware components that its very important for you to understand how they work and what is their function because your programs are going to use them. the following are just simple definitions for them for you to understand.

 

Processor (CPU)

Is the electronic circuitry within a computer that executes instructions that make up a computer program. It's the component that executes our code.

Random Access Memory (RAM)

is a form of computer memory that can be read and changed in any order, typically used to store working data and machine code, and its much faster than a hard disk drive (HDD).

Hard drive

is an electromechanical data storage device that uses magnetic storage to store and retrieve digital data and it's much slower than random access memory (RAM).

 

So these are the main parts each are connected to a channel called BUS think of it as a highway which the data transfer from or to computer components, when you run a program CPU interact with the hard disk drive to load the program to the RAM and then the CPU starts to execute the instructions of your program. it's just so simple as this. if you need to go deeper the internet is yours to search.

This is the end for today's lesson, please don't forget to like my Facebook page and subscribe to my youtube channel to get and watch my latest tutorials thank you 🙂

Note: The picture used in the article is purchased from www.freepik.com and I got the license to use 🙂

Leave a Comment