3.6. Following the Ketchup Ooze

Let’s compute how long it would take ketchup to ooze down a table. Imagine that you tilted a four foot table, and poured ketchup at the top. How long would it take to get to the bottom of the table? We’re going to ignore physics and the angle of the table, and just start from the average speed of ketchup as .028 miles per hour.

A picture of ketchup dripping from a bottle

Figure 2: Ketchup dripping speed

Activity: CodeLens 3.6.1 (Ketchup_Speed)

The next type of problem is new. It shows correct code in code blocks on the left side, but the order is mixed up. You need to drag the blocks to the right side in the right order. Please watch the video below for a demonstration.

Click on the right arrow below to play the following video.

The following program figures out the ketchup speed in feet per <i>seconds</i>. Drag the blocks from the left and put them in the correct order on the right. Click the <i>Check Me</i> button to check your solution.</p>

Note

Discuss topics in this section with classmates.

Show Comments
You have attempted of activities on this page