Enable contrast version

Tutor profile: Jeeva R.

Inactive
Jeeva R.
Graduate Reasearcher
Tutor Satisfaction Guarantee

Questions

Subject: Python Programming

TutorMe
Question:

def f(x,l=[]): for i in range(x): l.append(i*i) print(l) f(2) f(3,[3,2,1]) f(3)

Inactive
Jeeva R.
Answer:

[0, 1] [3, 2, 1, 0, 1, 4] [0, 1, 0, 1, 4]

Subject: Computer Science (General)

TutorMe
Question:

What happens when you type a URL in web browser? What is DHCP, how does it work?

Inactive
Jeeva R.
Answer:

A URL may contain request to HTML, image file or any other type. If content of the typed URL is in cache and fresh, then display the content. Else find IP address for the domain so that a TCP connection can be setup. Browser does a DNS lookup. Browser needs to know IP address for a url, so that it can setup a TCP connection. This is why browser needs DNS service. Browser first looks for URL-IP mapping browser cache, then in OS cache. If all caches are empty, then it makes a recursive query to the local DNS server. The local DNS server provides the IP address. Browser sets up a TCP connection using three way handshake. Browser sends a HTTP request. Server has a web server like Apache, IIS running that handles incoming HTTP request and sends a HTTP response. Browser receives the HTTP response and renders the content. The idea of DHCP (Dynamic Host Configuration Protocol) is to enable devices to get IP address without any manual configuration. The device sends a broadcast message saying “I am new here” The DHCP server sees the message and responds back to the device and typically allocates an IP address. All other devices on network ignore the message of new device as they are not DHCP server.

Subject: C Programming

TutorMe
Question:

# include <stdio.h> void fun(int x) { x = 30; } int main() { int y = 20; fun(y); printf("%d", y); return 0; }

Inactive
Jeeva R.
Answer:

20

Contact tutor

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

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.