AI Computer Science tutors

Find the bug yourself, with a tutor beside you.

Paste your code or a screenshot and ask what’s wrong. Your tutor points you towards the problem and explains the idea behind it, from loops and arrays to binary and networks.

Free plan. Use your Tutopiya account or Google.

See how it works

Watch a tutor work through a question.

Say what you're studying, choose a tutor, then work through your homework step by step, take a quick quiz or call your tutor. This one is IGCSE Maths, and every subject works the same way.

Six teaching styles

One computer science question, six ways to teach it.

Each Computer Science tutor teaches differently. Choose one to see how they would start, then pick the style that suits you. You can switch tutor mid-chat.

What’s the difference between a while loop and a for loop?

Aiden · Concept explainer

A for loop is for when you know how many times to repeat: “do this for each of the 10 students”. A while loop is for when you don’t: “keep asking for the password while it’s wrong”.

Which one sounds like the program you’re writing?

How Aiden teaches

  • Starts from what you already know
  • Uses everyday examples and simple pictures in words
  • Checks the idea has clicked before moving on

Pick Aiden when

a topic feels confusing, or you want to really understand it.

What’s the difference between a while loop and a for loop?

Max · Step by step

Let’s write one of each.

Step 1: write a for loop in Python that prints the numbers 1 to 5. Paste it here and I’ll check it before step 2.

How Max teaches

  • Breaks every question into small steps
  • Lets you try each step before showing the next
  • Names the method so you can reuse it

Pick Max when

you’re stuck on homework or a long, multi-step question.

What’s the difference between a while loop and a for loop?

Nadia · Exam coach

As a 2-mark question: a for loop is count-controlled, repeating a set number of times (1 mark); a while loop is condition-controlled, repeating until its condition is false (1 mark).

Examiner tip: use the terms “count-controlled” and “condition-controlled”.

How Nadia teaches

  • Works through past-paper style questions
  • Explains command words and where the marks are
  • Marks your answers the way an examiner would

Pick Nadia when

an exam is coming and you want to pick up every mark you can.

What’s the difference between a while loop and a for loop?

Ben · Quick revision

Quick recap. For: count-controlled, a set number of repeats. While: condition-controlled, checks the condition before each repeat.

Quick-fire: which loop would you use to validate user input?

How Ben teaches

  • Short recaps of the key points
  • Memory hooks for facts and formulas
  • Quick-fire recall questions

Pick Ben when

you’re short on time and want to refresh a topic quickly.

What’s the difference between a while loop and a for loop?

Sana · Challenger

Can every for loop be rewritten as a while loop?

Try converting “for i in range(5)” and tell me which extra lines you needed.

How Sana teaches

  • Asks questions that make you reason it out
  • Raises the difficulty as you improve
  • Shows the harder versions examiners use

Pick Sana when

the basics feel easy and you’re aiming for top grades.

What’s the difference between a while loop and a for loop?

Iris · Confidence builder

Loops trip up nearly everyone at the start, so you’re in good company.

Here’s an everyday one: “stir until the sugar dissolves” is a while loop. Can you think of a for loop from your own day?

How Iris teaches

  • Starts from the basics, with no judgement
  • Celebrates every step forward
  • Turns mistakes into learning, calmly

Pick Iris when

a subject makes you anxious, or you’ve fallen behind.

How the AI tutor works

Topics students ask about

  • Programming in Python
  • Algorithms and pseudocode
  • Data representation and binary
  • Computer systems and hardware
  • Networks and the internet
  • Databases and SQL
  • Logic gates and Boolean logic
  • Cyber security

For your curriculum

Tell your tutor your curriculum and level, and it pitches everything to your syllabus.

  • Cambridge IGCSE, O Level and A Level
  • Edexcel and AQA IGCSE
  • IGCSE and A Level ICT
  • IB Diploma
  • Cambridge Lower Secondary Computing
  • Singapore Secondary Computing
  • American curriculum

Recorded your computer science class?

Coding lessons are easier the second time. Search the transcript for a word like “array” and jump to the moment your teacher explained it.

See the Lesson Analyser

Studying computer science for an exam?

See how your paper is assessed, what’s on the syllabus, and an exam-style question marked mark by mark.

FAQ

Computer Science questions, answered.

Yes. Paste your code or send a screenshot and ask what’s wrong. Step-by-step and challenger tutors point you to the bug and let you fix it yourself.

Yes. Ask for an algorithm in pseudocode and your tutor lays it out step by step, then lets you trace it and checks your table.

The languages taught in school, such as Python, Java, JavaScript and SQL, as well as pseudocode.

Yes. The free plan includes 5 tutor messages and 15 minutes of calls a day. Pro and Max give you more when exams get close.

Sometimes, yes. Tutors are designed to be careful and to show their working, but always check important answers with your teacher or textbook.

Bring your computer science homework.

Pick your subject and tutor, make a free account and ask your first question in about a minute.

Meet your tutor
All subjects