Enable contrast version

Tutor profile: Sumedha P.

Inactive
Sumedha P.
Hardware Engineer at Microsoft ! Passionate about Physics
Tutor Satisfaction Guarantee

Questions

Subject: Python Programming

TutorMe
Question:

What is the difference between Compiled Language (C, C++) and Interpreted Language (Python) ?

Inactive
Sumedha P.
Answer:

In a compiled implementation, the original program is translated into native machine instructions, which are executed directly by the hardware making it faster to execute but occupies more space. In an interpreted implementation, the original program is translated into something else. Another program, called "the interpreter", then examines "something else" and performs whatever actions are called for. Since the instructions are executed on-the-fly, it is a bit slow.

Subject: C Programming

TutorMe
Question:

Are Strings mutable ?

Inactive
Sumedha P.
Answer:

A value is immutable if it cannot change. Constants are immutable in the sense that they cannot change. For example, the number 3 is immutable. However, if I say that your rank is 3, this rank could change. That’s because your rank is a variable, and variables may change their values even if these values are immutable. So integer values are always immutable, not only in real life but also in software. There is no programming language where you can redefine the value “3” to be equal to “5”. Most programming languages in widespread use have mutable arrays. That is, once you have created an array of values, you can always change any one of the entries. Arguably, the most important non-numeric type in software is the string. A string can be viewed as an array of characters so it would not be unreasonable to make it mutable, but strings are also viewed as primitive values (e.g., we don’t think of “Daniel” as an array of 6 characters). Consequently, some languages have immutable strings, others have mutable strings. C strings are mutable whereas Java strings are immutable.

Subject: Physics

TutorMe
Question:

How can your Car shield you from a lightning ?

Inactive
Sumedha P.
Answer:

In 1836, Michael Faraday observed that the excess charge on a charged conductor resided only on its exterior and had no influence on anything enclosed within it. This charged conductor is called as Faraday's cage. Applying this principle, your car is the conductor and the lightning has charged electrons. When, lightning strikes your car, the charge is evenly distributed over the surface of the car and has no influence on anybody sitting in the car. Your car, therefore behaves like a Faraday's cage.

Contact tutor

Send a message explaining your
needs and Sumedha will reply soon.
Contact Sumedha

Request lesson

Ready now? Request a lesson.
Start Lesson

FAQs

What is a lesson?
A lesson is virtual lesson space on our platform where you and a tutor can communicate. You'll have the option to communicate using video/audio as well as text chat. You can also upload documents, edit papers in real time and use our cutting-edge virtual whiteboard.
How do I begin a lesson?
If the tutor is currently online, you can click the "Start Lesson" button above. If they are offline, you can always send them a message to schedule a lesson.
Who are TutorMe tutors?
Many of our tutors are current college students or recent graduates of top-tier universities like MIT, Harvard and USC. TutorMe has thousands of top-quality tutors available to work with you.