Enable contrast version

Tutor profile: Aakash A.

Inactive
Aakash A.
UC Berkeley CS; Previously Worked at Yelp, Lyft, Nextdoor, KP Engineering Fellows
Tutor Satisfaction Guarantee

Questions

Subject: Web Development

TutorMe
Question:

What is HTML, CSS, and JavaScript? Why do you need all three to do web development?

Inactive
Aakash A.
Answer:

HTML, CSS, and JavaScript are some of the most basic languages needed to build a website. Actually, if you needed just one language to make a website, it'd be HTML. CSS and JavaScript would be secondary. If I were to draw a similarity between HTML/CSS/JS and human anatomy, it would be: - HTML = bones - CSS = skin - JS = brain/neurons HTML, also known as Hypertext Markup Language, let's you set down the fundamental building blocks of a website -- text, headers, bullet points, lists, etc. CSS lets you "style" or "prettify" the HTML website so it doesn't like boring black and white, has more design elements, different fonts, different layouts. JavaScript lets you add "logic" into the mix so you can do different animations, let people go to different pages when they "login", display different characters while they are playing games, etc. Together, these languages have a lot of power! Although you do not "need", per se", all three of these languages, these three languages can be used to build a lot of neat stuff when used together!

Subject: Computer Science (General)

TutorMe
Question:

I do not entirely understand what the difference is between and object and a class in object oriented program. I was wondering if you could help me understand the difference and the reason that both exist.

Inactive
Aakash A.
Answer:

Sure! Just from a broad perspective, a "class" can be considered a blueprint or template from which "objects" are created. For example, if a building was an "object", the blueprint that was used to design that building is the "class". Classes are meant to group same kinds of objects whereas objects represent single entities in the real word (ie. a "car" could be a class but "Tesla", "Honda", "Toyota" could all be objects). Classes are only declared once whereas Objects can be repeatedly created. Those are the core differences between classes and objects. Now, to answer your second question, "Why do both exist?" The reason is, they both serve slightly different purposes. For example, in my program, if I want to create a representation of a "plane" class, I can create a blueprint that contains "length of wings", "name of plane", "plane owner", etc etc. These are all attributes of the "plane" class. Then, if I want to create an object, or one instance of that plane class, I could create a new Plane (using the Plane() constructor method) and set the length of wings to 400ft, name of the plane to "Boeing 747" and plane owner to "John Doe". That makes this a unique instance of the plane class. I can't just fly a "plane" but I could fly a "Boeing 747". You can just enter a "blueprint" but you can enter a building made from a "blueprint".

Subject: Android Programming

TutorMe
Question:

Hello! I am new to Android development and I do not entirely understand how layout works and how to make my JAVA logic interact with things that the user can touch on the touchscreen. Can you help me make something happen when I tap on the screen?

Inactive
Aakash A.
Answer:

Hi! That is a great question. Before answering this, let me ask you two questions? 1. Do you know what XML is? 2. Do you know what a View and Activity is? XML stands for Extensible Markup Language. It lets us set up the layout of different components in our Android app like "textboxes", "images", "buttons" et cetra. In general, we want to use XML to set up what the Android app looks like, and then we want to use JAVA code to manipulate it. You can think of XML like "HTML" in web development and JAVA like "javascript" in web development -- one is the bones and one is the brain. Anyhow, after you set up your XML files in a .xml file in the layouts directory, we can go ahead and start linking up various components in our JAVA file. In the JAVA file, you want to first hook up a XML object with a corresponding JAVA object -- for example, a <EditText> in your XML file would be linked to an EditText object in java using the .findViewById() method. After you use that method, you can do various things with your EditText object like adding onClickListeners that let your application do stuff when you "click" on the text field or you can even automatically write stuff into the EditText. Is there a specific thing that you wanted your Android app to do? If so, we can go ahead and make some more concrete next steps for how you could go about implementing that.

Contact tutor

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

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.