0% found this document useful (0 votes)
15 views16 pages

Mic Microproject - pdf123

The document is a micro-project report on generating the Fibonacci sequence, submitted as part of a Diploma in Computer Engineering. It outlines the project's aim, methodology, and includes a program written in assembly language to generate the sequence. The report also discusses the significance of the Fibonacci sequence and provides evaluation criteria for the project.

Uploaded by

fanduday7
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views16 pages

Mic Microproject - pdf123

The document is a micro-project report on generating the Fibonacci sequence, submitted as part of a Diploma in Computer Engineering. It outlines the project's aim, methodology, and includes a program written in assembly language to generate the sequence. The report also discusses the significance of the Fibonacci sequence and provides evaluation criteria for the project.

Uploaded by

fanduday7
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 16

A

Micro-ProjectReport
On
“GenerateFebonnaciSequence”
Partial Fulfilment of the Requirement forth Diploma in ComputerEngineering,

By

1) Udayfand
1)Pathansofiyan[23612000236
[1914660014]
2)Pawaromkar [1914660021] ]
2)Swaraj Kambale
3)Attarmuskan [23612000136
[2014660017]
4)SudrikShravani [1914660016] ]
3)SurajGore [24612000174
]

GuidedBy
Prof. Chabukswr S.K
Prof.VarpeA.S

Shree Samarth Academy’s


Shree Samarth Polytechnic
Mhasane Phata ,Ahmednagar
Maharashtra State Board of Technical Education
2024-2025
Shree Samarth Academy’s Shree
Samarth Polytechnic
Department of Computer Engineering

CERTIFICATE
This is to certify that the project work entitled

“Generate Febonnacci sequence”

Is
Submittedby

1) Uday Fand
1)Pathansofiyan [23612000236]
[1914660016]
2) Swaraj Kambale [1914660021]
2)Omkarpawar [23612000136]
3) Suraj Gore
3)Attarmuskan [24612000174]
[2014660017]
4)SudrikShravani [2014660016]

In the partial fulfillment of Diploma in Computer Engineeringhas been


Satisfactory carried out under myguidance as per the requirement ofMaharashtra State Board of
Technical Education, Mumbai during the academic year 2024-2025.
Date:
Place:MhasanePhata,Parner

GUIDE HOD PRINCIPAL


(Prof.VarpeS.M)
Prof.ChabukswarS.R
(Prof.ChaureS.M.)
Prof.WathoreS.P (Prof.AnaraseB.V)
Prof.DesaleC.D
Micro-ProjectProposal

1.0 Brief Introduction:


The Fibonacci sequence is one of the most famous number
sequences of them all. We’ve given you the first few numbers here, but
what’s the next one in line? It turns out that the answer is simple. Every
numberintheFibonaccisequence(startingfrom )isthesumofthetwo numbers
preceding it:

Andsoon .Soit’spretty easy to figure out that the next number in the
sequenceaboveis 55+89=144 and (intheoryatleast) toworkoutall
numbers that follow from here to infinity.

2.0 Aim of the Micro-Project:

1. To make the most common technicalanalysis of Febonnacci sequence”


2. Todeveloppull waves to be smaller intrending directionin Fibonacci
sequence
3. To make sure the impulse waves are greater to wards the trending
direction in Fibonacci sequence.
3.0 CourseOutcomesIntegrated:

1. The Fibonacci sequence is a series of numbers where a numberis


found by adding up the previous 2 numbers, starting with 0 + 1. ..
2. The Fibonacci sequence also relates to the Golden Ratio (PHI) which
can be describe das the ratio between any two consecutive
numbers in the Fibonacci sequence.

4.0Resources Required:

1 OperatingSystem Windows2010 1 -

2 MicrosoftWord 2019 1 -

3 Software Dos Box 1 -

********
Micro-Project Report

“Generate Fibonacci sequence”

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.IftheFibonac
ci 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:

F(0)=0,1, 1,2,3,5,8, 13,21, 34...

,itiscustomarytouse n=1.Inthatcase,thefirsttwotermsaredefinedas1and
1 by default, and therefore:

F(1)= 1,1,2,3,5, 8,13,21, 34...

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,
………}

This sequence is
definedrecursively.Thismeanseachterm is defined
by the previous terms.

andso

The Fibonacci sequenceis defined


by

forall ,when

and .
Program :-

.MODEL SMALL ; Define memory model


.STACK 100H ; Define stack size
.DATA ; Data segment starts here

n DB 10 ; Number of Fibonacci terms


fib DB 20 DUP(?) ; Reserve space for Fibonacci numbers

.CODE ; Code segment starts here


MAIN PROC
MOV AX, @DATA ; Load address of data segment into AX
MOV DS, AX ; Initialize DS (Data Segment)

; Initialize first two Fibonacci numbers


MOV AL, 00H ; First Fibonacci number F0 = 0
MOV [fib], AL ; Store in memory

MOV AL, 01H ; Second Fibonacci number F1 = 1


MOV [fib+1], AL ; Store in memory

MOV CX, n ; Loop counter = n


SUB CX, 2 ; We already stored first two numbers
MOV SI, 2 ; SI points to the next index in fib[]

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

INC SI ; Move to next index


LOOP FIB_LOOP ; Repeat until CX becomes 0

; Terminate program
MOV AH, 4CH ; DOS exit call
INT 21H

MAIN ENDP
END MAIN

4.0 Explanation of each Segment:


1. Data Segment (.DATA)

 n DB 10 → Defines the number of Fibonacci terms.


 fib DB 20 DUP(?) → Reserves space for Fibonacci numbers.

2. Code Segment (.CODE)

 MOV AX, @DATA → Loads data segment into AX.


 MOV DS, AX → Moves it to the DS register.

3. Initialization of First Two Numbers

 MOV AL, 00H → Sets first Fibonacci number to 0.


 MOV [fib], AL → Stores it in memory.
 MOV AL, 01H → Sets second Fibonacci number to 1.
 MOV [fib+1], AL → Stores it in memory.

4. Loop for Generating Fibonacci Series

 MOV CX, n → CX is the loop counter.


 SUB CX, 2 → Since F0 and F1 are already stored.
 MOV SI, 2 → SI is the index for the next Fibonacci number.
 MOV AL, [fib + SI - 1] → Loads the previous Fibonacci
number.
 ADD AL, [fib + SI - 2] → Adds the second previous
number.
 MOV [fib + SI], AL → Stores the result in memory.
 INC SI → Moves to the next index.
 LOOP FIB_LOOP → Continues until CX becomes 0.

5. Exit the Program

 MOV AH, 4CH → DOS function to exit.


 INT 21H → Calls interrupt 21H to terminate.

4.2Algorithm for fibonacci series:


Start
Initialize Data Segment

 Load DS with the data segment address.

Store First Two Fibonacci Numbers

 Store F0 = 0 at fib[0].
 Store F1 = 1 at fib[1].

Set Loop Counter

 Load CX with n (number of terms).


 Subtract 2 (CX = CX - 2), since the first two terms are already
stored.

Set Index Pointer (SI)

 Initialize SI = 2 (points to next position in fib[]).

Loop for Generating Fibonacci Numbers


Repeat until CX = 0:

 Load F(n-1) from fib[SI - 1] into AL.


 Add F(n-2) from fib[SI - 2] to AL.
 Store the result (F(n)) at fib[SI].
 Increment SI (move to the next index).
 Decrease CX (reduce loop counter).

End Loop when CX = 0


Terminate Program

 Call INT 21H to exit.

End
4.2 Flowchart:
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:…………………………………………………….

Title of the Micro-Project:…………………………………….

Course Outcomes Achieved:

…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
Evaluation a spersuggested Rubricfor Assessmen to of Micro-Project
ent
Sr. Characteristictobe Poor Average Good Excell 9-
No. assessed (Marks1- (Marks4-5) (Marks6-8) (Marks
3) 10)
1 Relevancetothecourse
2 Literature survey/
InformationCollection

3 ProjectProposal
4 Completion of the
Targetasperproject
proposal
5 AnalysisofData&
Representation
6 Qualityof
Prototype/Model
7 ReportPreparation
7 Presentation
8 Defense

Micro-ProjectEvaluationSheet

ProcessAssessment ProductAssessment Total


Part A- Project PartB-Project Individual Marks
Project Methodology Report/Working Presentation/Viva 10
Proposal (2 mark) Model (4 mark)
(2 marks) (2 marks)

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.

Comments/suggestion sabout team work/leadership/inter-personal communication

………………………………………………………………………………………………………………………

………………………………………………………………………………………………………………………

………………………………………………………………………………………………………………………

………………………………………………………………………………………………………………………

AnyOtherComment:
………………………………………………………………………………………………………………………

………………………………………………………………………………………………………………………

………………………………………………………………………………………………………………………

………………………………………………………………………………………………………………………

Name and designation of the faculty member


……………………………………………………………………

Signature…………………………………………………………………………………
THANK YOU

You might also like