Day 1: Where We Learned About Variables and Data Types

 When I introduced variables in my class, everyone’s reaction was: Oh, this is such a small topic! Just write a name, assign a value, and done! But my friend, there was a twist in the story.

The Surprise Behind Variables

On Day 0, we had already talked about computers and their storage. Then came the question: Where exactly is a variable stored? The answer: in the computer’s memory. But which one—RAM or ROM? That’s when we realized that variables are stored in RAM.

Next question: How are they stored there? And that’s how we reached the concept of memory allocation.

I could see the curiosity on their faces, so I explained further. We had discussions, gave examples, and finally, they understood that variable assignment is not just about writing a name and value—there’s a lot happening inside the computer. What seemed like a simple topic suddenly turned into a mind-blowing discovery!

The Journey of Data Types

Then came data types. Initially, I thought of explaining each one in detail one by one. But then I realized that if students could see the bigger picture first, it would be easier for them to understand. So instead, we took an overview first and then explored each type step by step.

  • String: We spent extra time on this learning how string behaves in different situation.

  • Number & Boolean: These were easy to grasp since they didn’t have many complications.

  • Array, Set, Object: These were a bit heavy, but with patience, we broke them down and understood them slowly. (This is just trailer of these topics abhi to deep jaana baaki hai mere dost)

A Promise to Learn

A session isn’t just about studying, right? Fun is important too! So, in between all the learning and laughter, we made a promise—every partner would write at least two different codes for each string method and practice them.

With this commitment, we wrapped up the session, excited to explore more concepts!

Comments

Popular posts from this blog

Day 2 - Operators, Imagination World & A Bit of DSA

Day 0: Laying the Foundation for Learning and Growth