Subjects
PRICING
COURSES
SIGN IN
Start Free Trial
Mike M.
Teaching Python, C, Java for 10 years
Tutor Satisfaction Guarantee
Python Programming
TutorMe
Question:

>>> s= 'The quick brown fox jumps over the lazy dog' >>> abc = ' '.join(sorted(list(set(s.lower())))).strip() >>> print(abc) What does the following code do?

Mike M.
Answer:

'a b c d e f g h i j k l m n o p q r s t u v w x y z'

Java Programming
TutorMe
Question:

why is Integer.MAX_VALUE + 1 = -2^ 31 ?

Mike M.
Answer:

Java integers are both signed and 32 bit in length however, using a bit to represent the sign of the number and beginning with 0 leaves -2^32 - 2 ^ 31 -1 so that adding one to your MAX_VALUE actually signs your value in that ~(x) + 1= -x. The negative value of any given integer is computed by flipping the bits and adding 1. Example: Dec 5 --> 0101 - One's Compliment --> 1010 Two's Compliment --> 1011

C Programming
TutorMe
Question:

Why are such facilities such as basic input and output not included automatically with C?

Mike M.
Answer:

The C philosophy follows the principal of economic use of resources. Often C is an embedded on a device, which doesn't use or make use of the I/0 package. For example. C could be used for and embedded system such as a DVD player.

Send a message explaining your
needs and Mike will reply soon.
Contact Mike
Ready now? Request a lesson.
Start Session
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 Session" 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.