Note: To make this website free to the public
please click on an ad to support my sponsors or you
can make a tax-deductable donation using Paypal
(click on the donation icon on the left).
This video shows a robot
writing a fibonacci program using a recursive
function. There are no sound in the video because I
wanted the viewers to focus on what the robot is
thinking while writing a software program.
In order to write
software, the robot needs knowledge about computer
science. He has to know about recursions, classes,
methods, object-oriented programming, data types,
string manipulation, etc. In addition to the
knowledge, he has to know how to apply that knowledge
to the current assignment.
In the video, the
robot is using his knowledge about recursions and
fibonacci numbers in order to do assignment 5. During
the beginning stages, he has to brainstorm ideas and
gather his thoughts. Using common sense he is able to
link recursion with fibonacci numbers. He is able to
fabricate a recursive function to generate sequence
of fibonacci numbers.
If you look closely
at assignment 5, there is no knowledge about what a
fibonacci number is or how to create a program to
generate sequential fibonacci numbers. The robot used
logic and common sense in order to come up with the
framework for the program.
The robot generates
the linear steps in order to write the program. He
follows his own guideline to write the software. For
example, he does step1 first, which is to write the
fibonacci function. Next, he does step2, which is to
write the main body.