Expand mobile version menu
  Skip to main content

Real-Life Activities

Real-Life Math

Computers don't think like we do. The human brain can do multiple parallel calculations at one time; we can look at a face and simply recognize it. A computer, on the other hand, would have to consider a number of qualities about that face one at a time in order to identify it. For example:

IF man has brown eyes
AND mole on left cheek
AND scar on chin
AND crooked front tooth
Conclusion = Bob

The challenge for you as a knowledge engineer is to take real-life problems and break them down into qualities that a computer can understand. You work for a company that is perfecting an online mapping system for vehicles -- you enter a destination into a computer in your car and it tells you the best way to get there. Each possible route to your destination has to be given a value. The value might be based on the distance traveled, the number of stoplights or the number of hills along the route. Think of this as the cost of travel.

If you look at the map diagram below, you can quickly see that the least costly way to get from A to F is A to B to D to F:

0

Mathematically it looks like this: 1 + 5 + 2 = 8

A computer arrives at the same conclusion through an entirely different method. It has to systematically compare the cost of each route before it can select an appropriate course. Your job as a knowledge engineer is to program the computer with a step-by-step procedure for making the calculation -- otherwise known as an algorithm.

Here's what your algorithm should include:

  • Three columns
  • The first representing a letter, or point along the route (called a node)
  • The second representing the cost of traveling to that node from A
  • The third naming the node that immediately preceded it

OK, now you fill it in. The program won't work until you do! What is the greatest cost of getting to F -- keeping in mind that the arrows allow for one way travel only? Your first and second entry will look like this:

NodeCostPredecessor
A0-
B1A

The cost of going from A to A is nothing and the predecessor is blank because you're already there. The cost of going from A to B is 1 and the predecessor is A because you've gone from A to B. Got it? Fill out the rest of the algorithm and you'll have an answer you and the computer can understand!

Contact

  • Email Support

  • 1-800-GO-TO-XAP (1-800-468-6927)
    From outside the U.S., please call +1 (424) 750-3900

Support


Powered by XAP

OCAP believes that financial literacy and understanding the financial aid process are critical aspects of college planning and student success. OCAP staff who work with students, parents, educators and community partners in the areas of personal finance education, state and federal financial aid, and student loan management do not provide financial, investment, legal, and/or tax advice. This website and all information provided is for general educational purposes only, and is not intended to be construed as financial, investment, legal, and/or tax advice.