Mic Microproject - pdf123
Mic Microproject - pdf123
Micro-Project Report
On
“Generate Febonnaci Sequence”
Partial Fulfilment of the Requirement for the Diploma in Computer Engineering,
By
1) Uday fand
1) Pathan sofiyan[23612000236]
[1914660014]
2) Swaraj Kambale
2) Pawar omkar [23612000136]
[1914660021]
3) Suraj Gore
3) Attar muskan [23612000174]
[2014660017]
4) Prathamesh GiteShravani
4) Sudrik [23612000151]
[1914660016]
Guided By
Prof. Chabukswr
Prof.Varpe A.SS.R
CERTIFICATE
This is to certify that the project work entitled
“Generate Febonnacci sequence”
Is
Submitted by
and so on. So it’s pretty easy to figure out that the next number in the
sequence above is and (in theory at least) to work out all
numbers that follow from here to infinity.
************
Micro-Project Report
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
Fibonacci number) is equal to the sum of the preceding two numbers. If the Fibonacci
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:
, it is customary to use n = 1. In that case, the first two terms are defined as 1 and
1 by default, and therefore:
The Fibonacci sequence is named for Leonardo Pisano (also known as Leonardo
Pisano or Fibonacci), an Italian mathematician who lived from 1170 - 1250. Fibonacci
used the arithmetic series to illustrate a problem based on a pair of breeding rabbits:
"How many pairs of rabbits will be produced in a year, beginning with a single pair, 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 important sequence is 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
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
3.0 Course Outcomes Integrated:
Start
Initialize Data Segment
Store F0 = 0 at fib[0].
Store F1 = 1 at fib[1].
End
4.2 Flowchart:
+--------------------+
| Start |
+--------------------+
|
v
+--------------------+
| Initialize DS |
| Load Data Segment |
+--------------------+
|
v
+--------------------+
| Store F0 = 0 |
| Store F1 = 1 |
+--------------------+
|
v
+--------------------+
| Set CX = n |
| Subtract 2 (CX-2) |
+--------------------+
|
v
+--------------------+
| Set SI = 2 |
| (Index pointer) |
+--------------------+
|
v
+-----------------------------+
| Check if CX = 0? |
+-----------------------------+
| |
No Yes
| v
| +--------------------+
| | Exit the program |
| | INT 21H |
| +--------------------+
| |
| v
v
+-----------------------------+
| Load F(n-1) from fib[SI-1] |
| Load F(n-2) from fib[SI-2] |
+-----------------------------+
|
v
+-----------------------------+
| Add F(n-1) + F(n-2) |
| Store result in fib[SI] |
+-----------------------------+
|
v
+-----------------------------+
| Increment SI (SI = SI + 1) |
| Decrement CX (CX = CX - 1) |
+-----------------------------+
|
v
(Loop Back to Check CX)
5.0 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
Teacher Evaluation Sheet
Name of Student: …………………………………………………………….
Enrollment No:…………………………
Name of
Programmers:………………………………………………………….
Semester: ……………………………….
Code: …………………………………………………….
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
Sr. Evaluationto
Characteristic asbe
per suggested
PoorRubric forAverage
Assessment of Micro-Project
Good Excellent
No. assessed (Marks 1- (Marks 4-5) (Marks 6-8) (Marks 9-
3) 10)
1 Relevance to the course
2 Literature survey/
Information Collection
3 Project Proposal
4 Completion of the
Target as per project
proposal
5 Analysis of Data &
Representation
6 Quality of
Prototype/Model
7 Report Preparation
8 Presentation
9 Defense
Note:
Every course teacher is expected to assign marks for group evolution in first 3 columns
& individual evaluation in 4th columns for each group of students as per rubrics.
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
……………………………………………………………………
Signature…………………………………………………………………………………