Variables

Picture Collected

Variables!

We have heard the term “Variable” in our primary education level a lot. For most of us, variables are those who can change their value.

Well, to some extent, the definition of variables in a programming language is the same. But as a computer science student you have to know what is going on there inside your device regarding this variable.

Variable is a name given to a storage area that is used to store values of various data

Now, let us assume that we have a notebook and we need to place the notebook on a table. The notebook has a name. And it contains some space to store the notebook.You can write whatever you want in the notebook. Here, the notebook is the variable. The table is the computer.

The place where we are placing the notebook on the table or the address we are using to put the book is the memory address.

The content of the book is the value here. You can write or update your writings there. In the same way you can store values in a variable also.

We can directly access the book by using the name of the book or we can use the reference of the specific location on the table of the book.

So the variable in programming language contains two parts :

  1. Symbolic Name (the name of the notebook) that contains some quantity of information (the content of the notebook like whatever is written on that notebook by you)

2. Memory Address/ Storage Address (the exact location of the notebook)

--

--

--

A Computer Science and Engineering student. Interested in Computer Science, business analytics ,research and editing.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Serverless, My First Look

Real-Time Exchange Payment System Design

Java vs Kotlin

Deploy 🚀a full Salesforce ☁️ profile using sfdx 💻

Top Skills Required To Become A Python Developer

[LeetCode][python3]Day19. Search in Rotated Sorted Array (30-Day LeetCoding Challenge)

Handling Custom Error Pages(404, 500) In Django

artificial intelligence might be a game changer for the AEC industries

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Roy Aishwarjyo

Roy Aishwarjyo

A Computer Science and Engineering student. Interested in Computer Science, business analytics ,research and editing.

More from Medium

Exception Handling

C# For Loop Tutorial & Tips

Functions ()

Exceptions in Python