Subjects
PRICING
COURSES
SIGN IN
Start Free Trial
Christofer P.
Software Engineer for 3 years, teaching programming since high school
Tutor Satisfaction Guarantee
Computer Science (General)
TutorMe
Question:

Write a recursive boolean function to check if a positive integer is a prime number.

Christofer P.
Answer:

bool isPrime(int n, int d){ if (d == 1) return true; else{ if (n % d == 0){ return false; } else return (n,d-1); } }

Computer Science (General)
TutorMe
Question:

What is the value of x after the following loop? int x = 0; for (x = 1; x > 0; x++) { if (x % 2 == 0) { break; } else if (x % 7 == x % 3) { break; } x += 1; }

Christofer P.
Answer:

21

C Sharp Programming
TutorMe
Question:

What does LINQ stand for and what do you use it for?

Christofer P.
Answer:

LINQ is a Language INtegrated Query that allows you to search thru virtually any kind of data store.

Send a message explaining your
needs and Christofer will reply soon.
Contact Christofer
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.