Beruflich Dokumente
Kultur Dokumente
1 3.Proposed Methodology 1
4. Action Plan 1
5. Resources Required 2
1.Rationale 3
5.1.Algorithm 4
5.2 Flowchart 5
7.Outputs of Micro-Projects 8
i
Annexure I
Linked list
To present the concept of array, structure, queue, stack and linked list.
3. Proposed Methodology:
In this micro project we are perform linked list using insert and delete.
1
5. Resources Required:(Major resources such as raw materials, some machining facility, software etc.)
Sr.
No Name of resource / material Specification Quantity Remarks
.
1 Computer WINDOWS 7,2GB RAM, 1
160GB HDD
2 Operating System WINDOWS 7 1
4 Browser Chrome 1
Sr. Enrollment
Name of Team Member Roll No.
No. No.
1 1810950145 Pradnyavant.B. Bansode 15
2
Annexure – II
Micro-Project Report
Infix to Prefix
1. Rationale:
For this conversion we take help of linked list, we need the insert and delete operation to perform linked list.
1.At start :-
1. start
2. create a new node n
3. set
nnext=null
ndata=value
4.set
nnext=p
start=n
5.stop
2.At middle:-
1. start
2. create a new node n
3. set
nnext=null
ndata=value
4. Search the specific position
5. set
pnext=n
nnext=q
6. stop
3. At end:-
1. start
2. create a new node n
3. set
nnext=null
ndata=value
4.search the last node
5. set
lastnext=n
nnext=null
6. stop
3
2.Aims/Benefits of the Micro-Project:
To present the concept of array, structure, queue, stack and linked list.
4. Literature Review:
5 Actual Methodology
Followed:
5.1 Algorithm:
1.At start :-
1. start
2. create a new node n
3. set
nnext=null
ndata=value
4.set
nnext=p
start=n
5.stop
4
5.2Flow Chart:
5
5.3 Source Code:
#include <stdio.h>
#include <stdlib.h>
struct node {
int data;
struct node *next;
};
printf("\n[head] =>");
//start from the beginning
while(ptr != NULL) {
printf(" %d =>",ptr->data);
ptr = ptr->next;
}
printf(" [null]\n");
}
//link->key = key;
link->data = data;
link->next = head;
head = link;
}
int main() {
insert(10);
insert(20);
insert(30);
insert(1);
insert(40);
insert(56);
printList();
return 0;
}
6
Example
4 Browser Chrome 1
7.Outputs of Micro-Projects:
7
8.Skill developed / Learning out of this Micro-Project:
There are so many thing that we learn from this project of
2. Sparse matrix.
4.Polynomial representation.
*********