Shivam - Maths tutor - Patna
Shivam - Maths tutor - Patna

Shivam's profile, qualifications and contact details have been verified by our experts

Shivam

  • Rate RM22
  • Response 1h
Shivam - Maths tutor - Patna

RM22/h

See Maths tutors

This tutor is currently unavailable

  • Maths
  • Chemistry
  • Organic chemistry
  • Algorithms

Computer science engineer (3 rd year undergraduate) Also good in programming languages like c, c++ ,java, python etc.

  • Maths
  • Chemistry
  • Organic chemistry
  • Algorithms

Lesson location

About Shivam

Well, I believe in the principle that says "The Teacher learns the most". Teaching others what u have to learn is the magical trick that will make you an expert at that particular topic.

One more thing that encourages me do this is that there's a lot of unawareness among students. They have so much of potential as well as capability but are unaware of the latest advancement in technology. I would love to share my technical knowledge and skills with them because i love to share what i learn.

See more

About the lesson

  • Primary
  • Secondary
  • SPM
  • +8
  • levels :

    Primary

    Secondary

    SPM

    Form 6

    STPM

    Adult education

    Bachelor

    Masters

    Diploma

    Doctorate

    Other

  • English

All languages in which the lesson is available :

English

I want to teach the concept of variables and its values.

Let,
var a=3;
var b=8;

What if I want to exchange the values of both the variables? How can we do that?

As we all know, real-life examples are the only key to better understanding. So let's get into it.

Firstly, I will take two glasses.Then I'll pour the orange juice in the first glass and the lemon juice in the second one.
Now, I want to exchange the juices of both the glasses.
For this, I have to take an empty glass. In that glass, I will pour the orange juice of the first glass and the first glass will become empty.Then I'll pour the lemon juice of the second glass into the first glass. It will make the second glass empty and finally I'll put the orange juice into the second glass.
So now, the first glass is containing the lemon juice(which was initially in the second glass) and the second glass is containing orange juice(which was initially in the first glass).

And that's how we exchanged the juices of both the glasses.

Similarly, we can exchange the value of both the variables.
For that,we have to assume a third variable 'c' and then we can transfer the value of variable 'a' (i.e., 3) to variable 'c' and the value of variable 'b' (i.e., 8) to variable 'a'.
var c = var a;
and, var a = var b;
therefore, var c =3;
var a =8;

and then finally we can transfer the value of variable 'c' to variable 'b'.
var b = var c;
therefore, var b =3;

So now, var a =8;
and, var b =3;

And yeah, We are done!

See more

Rates

Rate

  • RM22

Pack rates

  • 5h: RM110
  • 10h: RM220

online

  • RM22/h

Similar Maths tutors in Patna

  • Jun Kai

    Kuala Lumpur & online

    5 (12)
    • RM200/h
    • 1st lesson belanja
  • Lukman

    Bandar Rimbayu & online

    5 (19)
    • RM40/h
    • 1st lesson belanja
  • Andrew

    Kuala Lumpur & online

    5 (27)
    • RM110/h
  • Bryan

    Klang & online

    5 (16)
    • RM100/h
    • 1st lesson belanja
  • Sathianathan

    Johor Bahru & online

    5 (20)
    • RM80/h
  • Banuki

    Kuala Lumpur & online

    4.9 (26)
    • RM50/h
  • Theresa

    Petaling Jaya & online

    4.9 (11)
    • RM75/h
  • Niq

    Petaling Jaya & online

    4.9 (14)
    • RM60/h
    • 1st lesson belanja
  • Saniya

    Kuala Lumpur & online

    5 (18)
    • RM70/h
  • Marsha

    Kuala Lumpur & online

    5 (11)
    • RM80/h
    • 1st lesson belanja
  • Suganisha

    Ampang Jaya & online

    4.9 (9)
    • RM30/h
  • George

    Kuching & online

    4.9 (14)
    • RM60/h
  • Yi Fei

    Kuala Lumpur & online

    4.9 (6)
    • RM80/h
  • May

    Subang Jaya & online

    5 (8)
    • RM100/h
    • 1st lesson belanja
  • Dr Engr Oluwasegun

    Petaling Jaya & online

    5 (13)
    • RM40/h
    • 1st lesson belanja
  • Aron

    Kuala Lumpur & online

    5 (18)
    • RM100/h
    • 1st lesson belanja
  • Dives

    Kuala Lumpur & online

    5 (6)
    • RM45/h
    • 1st lesson belanja
  • Denis

    Kuala Lumpur & online

    5 (9)
    • RM200/h
    • 1st lesson belanja
  • Grace

    Kuala Lumpur & online

    5 (15)
    • RM70/h
    • 1st lesson belanja
  • Irfan

    Shah Alam & online

    4.8 (6)
    • RM35/h
    • 1st lesson belanja
  • See Maths tutors