# Khan/khan-exercises

Fetching contributors…
Cannot retrieve contributors at this time
414 lines (395 sloc) 23 KB
randRange(10, 100) randRange(1, TOTAL - 1) TOTAL - NUM1

Before the previous stop there was TOTAL person riding on a train. Before the previous stop there were TOTAL people riding on a train. No one got on and NUM2 person got off at the stop. No one got on and NUM2 people got off at the stop.

How many people are riding the train now?

NUM1 people

The number riding the train now is the difference between the number who were riding and the number who got off at the previous stop.

The difference is TOTAL - NUM2 people on the train.

TOTAL - NUM2 = NUM1 person is on the train.

TOTAL - NUM2 = NUM1 people are on the train.

There is NUM1 person riding on a train. There are NUM1 people riding on a train. At the previous stop, NUM2 person got off and no one got on. At the previous stop, NUM2 people got off and no one got on.

How many people were riding the train before the stop?

TOTAL people

The number riding the train before the stop is the sum of the number who are riding now and the number who got off at the previous stop.

The sum is NUM1 + NUM2 people on the train.

NUM1 + NUM2 = TOTAL people was on the train.

NUM1 + NUM2 = TOTAL people were on the train.

There were TOTAL people riding on a train before it stopped. At the stop some people got off and no one got on. Now there is NUM2 person riding on the train. Now there are NUM2 people riding on the train.

How many people got off the train at the stop?

NUM1 people

The number of people who got off is the difference between the number who were riding before and the number who are riding now.

The difference is TOTAL - NUM2 people.

TOTAL - NUM2 = NUM1 person got off.

TOTAL - NUM2 = NUM1 people got off.

There is NUM1 tree on the right bank of a river. There are NUM1 trees on the right bank of a river. There is NUM2 tree on the left bank. There are NUM2 trees on the left bank.

How many trees are on the banks of the river?

TOTAL trees

The total number of trees on the two banks of the river is the sum of the number of trees on the left bank and the number of trees on the right bank.

The sum is NUM1 + NUM2 trees.

NUM1 + NUM2 = TOTAL trees.

There are TOTAL trees on the banks of the river. The side(1) bank has NUM2 of them.

How many trees are on the side(2) bank of the river?

NUM1 trees

The number of trees on the side(2) bank of the river is the difference between the number of trees on both banks of the river and the number of trees on the side(1) bank.

The difference is TOTAL - NUM2 trees.

TOTAL - NUM2 = NUM1 tree.

TOTAL - NUM2 = NUM1 trees.

Some cars were parked in the store(1) store parking lot. NUM2 more car parks in the lot. NUM2 more cars park in the lot. Now there are TOTAL cars in the parking lot.

How many cars were parked at the store(1) store at the beginning?

NUM1 cars

The number of cars parked at the store at the beginning is the difference of the number parked now and the number that came and parked earlier.

The difference is TOTAL - NUM2 cars.

TOTAL - NUM2 = NUM1 car.

TOTAL - NUM2 = NUM1 cars.

Initially there was NUM2 car parked in the store(1) store parking lot. Initially there were NUM2 cars parked in the store(1) store parking lot. During the following randRange(2, 3) hours some more cars parked at the store(1) store, and now there are TOTAL cars in the parking lot. No cars left the parking lot during this time.

How many cars parked in the store(1) store parking lot after the initial NUM2 car? How many cars parked in the store(1) store parking lot after the initial NUM2 cars?

NUM1 cars

The number of cars that came and parked at the store is the difference between the number that were parked earlier and the number that are parked now.

The difference is TOTAL - NUM2 cars.

TOTAL - NUM2 = NUM1 car.

TOTAL - NUM2 = NUM1 cars.

NUM1 car was in the store(1) store parking lot. NUM1 cars were in the store(1) store parking lot. NUM2 more car parks in the lot. NUM2 more cars park in the lot.

How many cars are in the parking lot now?

TOTAL cars

The number of cars that are parked now is the sum of the number that were parked earlier and the number that came to park.

The sum is NUM1 + NUM2 cars.

NUM1 + NUM2 = TOTAL cars.

person(1) did TOTAL exercise(1) timeofday(1). person(1) did TOTAL plural_form(exercise(1), TOTAL) timeofday(1). person(2) did NUM2 exercise(1) timeofday(2). person(2) did NUM2 plural_form(exercise(1), NUM2) timeofday(2).

How many more plural_form(exercise(1), 2) did person(1) do than person(2)?

NUM1 plural(exercise(1), 2)

Find the difference between person(1)'s exercise(1) and person(2)'s exercise(1).

Find the difference between person(1)'s plural_form(exercise(1), 2) and person(2)'s plural_form(exercise(1), 2).

The difference is TOTAL - NUM2 exercise(1).

The difference is TOTAL - NUM2 plural_form(exercise(1), NUM2).

TOTAL - NUM2 = NUM1.

How many fewer plural_form(exercise(1), 2) did person(2) do than person(1)?

person(1) did NUM1 more exercise(1) than person(2) timeofday(1). person(1) did NUM1 more plural_form(exercise(1), NUM1) than person(2) timeofday(1). person(2) did NUM2 exercise(1). person(2) did NUM2 plural_form(exercise(1), NUM2).

How many plural_form(exercise(1), 2) did person(1) do?

TOTAL plural(exercise(1), TOTAL)

person(2) did NUM2 exercise(1), and person(1) did NUM1 more than that, so find the sum.

person(2) did NUM2 plural_form(exercise(1), NUM2), and person(1) did NUM1 more than that, so find the sum.

The sum is NUM2 + NUM1 plural_form(exercise(1), TOTAL).

He did NUM2 + NUM1 = TOTAL plural_form(exercise(1), TOTAL).

She did NUM2 + NUM1 = TOTAL plural_form(exercise(1), TOTAL).

person(2) did NUM1 fewer exercise(1) than person(1) timeofday(1). person(2) did NUM1 fewer plural_form(exercise(1), NUM1) than person(1) timeofday(1). person(2) did NUM2 exercise(1). person(2) did NUM2 plural_form(exercise(1), NUM2).

person(1) did NUM1 more exercise(1) than person(2) timeofday(1). person(1) did NUM1 more plural_form(exercise(1), NUM1) than person(2) timeofday(1). person(1) did TOTAL plural_form(exercise(1), TOTAL).

How many plural_form(exercise(1)) did person(2) do?

NUM2 plural(exercise(1))

person(1) did TOTAL plural_form(exercise(1), TOTAL), and person(2) did NUM1 fewer than that, so find the difference.

The difference is TOTAL - NUM1 exercise(1).

The difference is TOTAL - NUM1 plural_form(exercise(1), NUM1).

He did TOTAL - NUM1 = NUM2 exercise(1). He did TOTAL - NUM1 = NUM2 plural_form(exercise(1), NUM2).

She did TOTAL - NUM1 = NUM2 exercise(1). She did TOTAL - NUM1 = NUM2 plural_form(exercise(1), NUM2).

person(2) did NUM1 fewer exercise(1) than person(1) timeofday(1). person(2) did NUM1 fewer plural_form(exercise(1), NUM1) than person(1) timeofday(1). person(1) did TOTAL plural_form(exercise(1), TOTAL).