OOP2
OOP2
GENERATOR
Object
Oriented
Programming
Contents
• Introduction
• What is Fibonacci?
• History of Fibonacci
• Problem Definition
• Methodology
• Code and Sample Output
• Conclusion
• References
Introduction i
• When the first two terms are defined as 0 and 1, the sequence goes as
⚬ F(0) = 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55...
• When the first two terms are defined as 1 and 1, the sequence goes as
⚬ F(1) = 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89...
SAMPLE OUTPUT
Fibonacci Sequence: 0, 1, 1, 2, 3, 5, 8,
13, 21, 34, 55, 89, 144, 233, 377
Conclusion
• We focused on calculating and displaying the first N terms of the Fibonacci
sequence.
• We tried to optimize the algorithm for efficiency and readability by using for -
loops instead of recursive methods.
• This presentation tries to summarize the topic around the Fibonacci
sequence with its short history, definition of the general problem, the
method we used, and the code itself.
• The project highlights how algorithms and programming can be effectively
utilized in problem -solving.
References
https://bilimgenc.tubitak.gov.tr/makale/fibonacci -dizisinden-altin-orana
https:/ / www.bilimup.com/ dogadaki-altin-oran-fibonacci-dizisi
https:/ / dergi.salom.com.tr/ haber-308-fibonacci_ve_altin_oran.html
https:/ / tr.m.wikipedia.org/ wiki/ Fibonacci_dizisi
Java A Beginner's Guide 🔍🔍
McGraw-Hill Education; McGraw-Hill Osborne Media, Sixth edition, 2014 Schildt, Herbert page 48
Java How To Program (Early Objects) (10th Edition) Pearson, 10, 2014
Deitel, Paul J., Deitel, Harvey page 202
https:/ / byjus.com/ maths/ fibonacci-sequence/
https:/ / en.wikipedia.org/ wiki/ Fibonacci_sequence/
Thank you for listening.
Department of Computer Engineering
Object
Under the guidance of Oriented
Dr. John Olorunfemi Olaifa Programming