uday12345
uday12345
Micro-ProjectReport
On
“Generate Fibonnaci Sequence”
Partial Fulfilment of the Requirement forth Diploma in ComputerEngineering,
By
1) Udayfand1)Pathansofiyan [23612000236]
[1914660014]
2)Swaraj Kambale
2)Pawaromkar [23612000136]
[1914660021]
3)SurajGore3)Attarmuskan [24612000174]
[2014660017]
4)SudrikShravani [1914660016]
GuidedBy
Prof. Chabukswar S.K
Prof.VarpeA.S
CERTIFICATE
This is to certify that the project work entitled
Is
Submittedby
1) Uday Fand
1)Pathansofiyan [23612000236]
[1914660016]
2) Swaraj Kambale [23612000136]
2)Omkarpawar [1914660021]
3) Suraj Gore
3)Attarmuskan [24612000174]
[2014660017]
4)SudrikShravani [2014660016]
1.0Brief Description:
The Fibonacci sequence is a set of numbers that starts with a one or a zero,
followed by a one, and proceeds based on the rule that each number (called a
Fibonaccinumber)isequaltothesumoftheprecedingtwonumbers.IftheFibonacci
sequence is denoted F (n), where n is the first term in the sequence, the following
equation obtains for n = 0, where the first two terms are defined as 0 and 1 by
convention:
,itiscustomarytouse n=1.Inthatcase,thefirsttwotermsaredefinedas1and 1 by
default, and therefore:
The Fibonacci sequence is named for Leonardo Pisano (also known as Leonardo
PisanoorFibonacci),anItalianmathematicianwholivedfrom1170-1250.Fibonacci used
the arithmetic series to illustrate a problem based on a pair of breeding rabbits:
"Howmanypairsofrabbitswillbeproducedinayear,beginningwithasinglepair,if in every
month each pair bears a new pair which becomes productive from the second month
on?" The result can be expressed numerically as: 1, 1, 2, 3, 5, 8, 13,
21,34.
A famous and importants equenceis the Fibonacci sequence , named after the Italian
mathematician known as Leonardo Pisano, whose nickname was Fibonacci, and who lived
from 1170 to 1230. This sequence is:
{1,1,2,3,5,8,13,21,34,55,………}(10.4.1)(10.4.1){1,1,2,3,5,8,13,21,34,55,
………}
And so
forall ,when
and .
Program :-
FIB_LOOP:
MOV AL, [fib + SI - 1] ; Load F(n-1)
ADD AL, [fib + SI - 2] ; Add F(n-2) to AL
MOV [fib + SI], AL ; Store F(n) in memory
; Terminate program
MOV AH, 4CH ; DOS exit call
INT 21H
MAIN ENDP
END MAIN
4.0 Explanation of each Segment:
Step1:- Start
Step 2:-Initialize Data Segment
Store F0 = 0 at fib[0].
Store F1 = 1 at fib[1].
Step10:-End
4.2 Flowchart:
Start
|
v
Input N (terms)
|
v
Initialize: a = 0, b = 1
Print a, b
|
v
Count = 2
|
v
Is Count < N?
| |
V v
Yes No
| |
v v
c=a+b
Print c a = b, b = c
Count = Count + 1
End
Output:-
Reference:
- https://www.geeksforgeeks.org/8086-program-generate-fibonacci-
series/
- https://www.youtube./8086-program-generate-fibonacci-series/
- https://chatgpt.com/c/67c562a4-84cc-8013-a0bf-aaa6c47b97e7
TeacherEvaluationSheet
Name of
Student:…………………………………………………………….
Enrollment No:…………………………
Name of
Programmers:……………………………………………………
……. Semester:……………………………….
CourseTitle: ………………….
Code:…………………………………………………….
Project:……………………………………. Course
Outcomes Achieved:
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
Micro-ProjectEvaluationSheet
Note:
Every courset each erisex pected to assignmarks for groupe volution in first 3columns
& individual evaluation in 4th columns for each group of students as per rubrics.
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
AnyOtherComment:
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
……………………………………………………………………
Signature…………………………………………………………………………………
THANK YOU