Enable contrast version

# Tutor profile: Janice G.

Inactive
Janice G.
Professional writer for 5 years and tutoring for more than 5 years
Tutor Satisfaction Guarantee

## Questions

### Subject:SQL Programming

TutorMe
Question:

Apply the TRANSLATION, CLEANUP and SQL steps for the design of the following sql query “Provide a list of all staff ids, staff first name, staff last name, and salaries from the staff table.”

Inactive
Janice G.

TRANSLATION: SELECT FROM THE STAFF TABLE A LIST WITH THE IDENTIFIER OF EACH STAFF, THE FIRST NAME, LAST NAME AND SALARY. CLEANUP: SELECT STAFF IDENTIFIER STAFF, FIRST NAME, LAST NAME SALARY. SQL: Select StaffID,StfFirstName,StflastName,Salary from staff;

### Subject:Machine Learning

TutorMe
Question:

How can you determine the optimal number of clusters in the K-Means clustering algorithm?

Inactive
Janice G.

One of the approaches to determine the optimal number of clusters in the K-Means clustering algorithm is the "Elbow method", in which the K-Means clustering is run for different values of K, and cost function (distortion) is computed. The cost decreases rapidly in the beginning range of K, but the rate of decrease reduces later, and cost remains almost constant. We would then chose that value of K where increasing K further doesn't give a significant reduction in cost.

### Subject:Java Programming

TutorMe
Question:

How would you reverse a String?

Inactive
Janice G.

An efficient way to reverse a String is to do so recursively. I would make a class using string.length() and string.substring() to continually narrow the string and the base case, or the way the code would stop performing the reverse, would be when the length of the string equals 1. At each occurrence of the class an empty string would have the new letter from the end of the old string concatenated to it. Also if the length equals one the string is already reversed technically.

## Contact tutor

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

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.
BEST IN CLASS SINCE 2015
TutorMe homepage