K. K.
Wagh Polytechnic, Nashik
Micro-Project Report
Institute Code: 0078 Academic Year: 2020-21
Name of Programme: Computer Technology Semester: CM-3-I
Name of Course: Data Structure using ‘c’ Course code: 22317 Class: SYCM-SS
--------------------------------------------------------------------------------------------------------------------------------
Title of Micro-Project:
Airline Reservation System
1.0 Rationale (Importance of project min 30 to 50 words)
In this Micro-project we have implemented and learned the concept of the basic operations on array .
This project helped us in various technical skills in ‘c ’ programming such as logic developing ,debugging
code ,testing code using different ideas and generating expected output as problem definition.
Also, developing the soft skills such as leadership, working in a team, time management, presentation and
writing skills. This micro project deals with fundamental syntactic information about ‘C’ that will help
students to apply the basic concepts, program structure and principles of Data structure using ‘C’
programming paradigm to build this application.
2.0 Aim /Benefits of Micro-Project: (min 30 to 50 words)
1.To study the basic operation on Array and its function using c programming .
2.To make uncomplicated code using Array and its basic operations.
3.To gain knowledge of Array and its operations in c programming.
4. To develop experimental skills
5.And to Enhance Practical knowledge about Array.
3.0 Course Outcomes Achieved (COs):
a)Perform Basic Operations on Array
4.0 Literature Review:
An array in C is a collection of items stored at contiguous memory locations and elements can be accessed
randomly using indices of an array. They are used to store similar type of elements as in the data type
must be the same for all elements. They can be used to store collection of primitive data types such as int,
float, double, char, etc of any particular type. To add to it, an array in C can store derived data types such
as the structures, pointers etc. we can use various operations on array such as :
a) Create : to create array.
b) Display : to display stored array .
c) Traverse − print all the array elements one by one.
d) Insertion − Adds an element at the given index.
e) Deletion − Deletes an element at the given index.
f) Search − Searches an element using the given index or by the value.
g) Update − Updates an element at the given index.
5.0 Actual Methodology followed (Step wise work done, Data collected & its Analysis, contribution of
individual member etc.)
• Discussion of topic was done by all group members.
• We submitted the micro project proposal by all group members.
• code was made by Vivek suryawanshi.
• Queries discussion was done by all .
• outlines, finishing and report was made by Dhiraj patil and Harshal kapadi,.
• collection of information was done by Vedant lade.
• Rough report was done by all group members
• Discussion about report with guide was done
• Final report was done by all group members
6.0 Actual Resources used:
S. No. Name of Resource/material Specifications Qty Remarks
1 computer Ram 8gb ,Intel i5 1
2 software Turbo c/c++ -
3 Any other software used Microsoft word -
7.0 Outputs of the Micro-Project:
a) Algorithm:
step1 :start
step2 :input a[100],n,t,val,i,m;
step3 :input choices :
1)create
2)display
step4 :switch for choice
_case1:create
(print create array from input taken)
_case2:display
(print stored array)
_case3:Exit
(print exit the choice)
step5 :In create(void create())
-switch for class
(print select Destination
print select class type
print accept number of seats
print accept seat numbers)
_case1:class type economy
_case2:class type business
_case3:return to menu
(print exit the class and return to choice)
step6 :In display(void display)
(print the stored array from class economy and business)
step7 :stop
b) Flowchart:
start
Input array a[100],n,t,val,I,m;
Switch for choice
Case 1:create Case 2:display Case 3:exit
Break break break
Switch for class
Choose destination
Case 1:Class type Case 2:Class type Case
economic, no. of business, no. of 3:exit
seats & seat no.s seats & seat no.s
Break break break
stop
c) Projects C Code:
#include<stdio.h>
#include<stdlib.h>
int a[100];
int n,t,val,i,m;
void create();
void display();
int main()
{
int choice;
do{
//Guide - MS.ROHINI BHADANE
//---------Micro-project by----------
//06.Vivek Suryawanshi
//05.Vedant lade
//33.Harshal Kapadi
//43.Dhiraj Patil
printf("_________________________________________________________________\n");
printf("\n\n--------AIRLINE RESERVATION SYSTEM-----------\n");
printf("_________________________________________________________________\
n");
printf("1.Researve seat\n");
printf("2.Display Researved seat Number\n");
printf("3.Exit\n");
printf("-----------------------");
printf("\nEnter your choice:\t");
scanf("%d",&choice);
switch(choice)
{
case 1: create();
break;
case 2:
display();
break;
case 3:
exit(0);
break;
default:
printf("\nInvalid choice:\n");
break;
}
}while(choice!=3);
}
int class;
void create()
{
do{
printf("Select Destination\n");
printf("1.Mumbai to Hongkong 2.Mumbai to Tokyo 3.Delhi to Dubai
4.Banglore to Beijing\n");
scanf("%d",&m);
printf(" choose class 1.Economy 2.Buiseness\n");
scanf("%d",&class);
printf("3.exit.\n");
switch(class)
{
case 1: printf(" class type Economy \n ");
printf("\nEnter no of seats :\t");
scanf("%d",&n);
printf("\n Enter Seat numbers to be researved:\n");
for(i=0;i<n;i++)
scanf("%d",&a[i]);
printf("\nEnter your choice:\t");
scanf("%d",&class);
break;
case 2:
printf(" class type Buiseness\n ");
printf("\nEnter no of seats :\t");
scanf("%d",&n);
printf("\n Enter Seat numbers to be researved:\n");
for(i=0;i<n;i++)
scanf("%d",&a[i]);
printf("\nEnter your choice:\t");
scanf("%d",&class);
break;
case 3:
exit(0);
break;
default:
printf("\nInvalid choice:\n");
break;
} }
while(class!=3);
void display()
{
int i;
printf("\nThe Reserved seats are:\n");
for(i=0;i<n;i++){
printf("%d\t",a[i]);
}
}
d) Output:
8.0 Skill Developed / Learning outcome of this Micro-Project:
We Learned various technical skills such as problem solving, developing a logic, coding in C language ,
debugging code, removing bugs, testing output and generating expected output as per problem definition.
Also, developed the soft skills such as leadership, working in a team, time management, presentation and
writing skills.
9.0 Applications of Micro Project
1.It is used in various fields in Science and Business such as
2.Finance – for developing application for various calculation and record of data.
3.Engineering – Its is used to create uncomplicated interfaces for users ease.
4.Business and Marketing – It is used to analyse and visualise data in a basic way.
Evaluated by: Name & Signature of Guide: Ms.Rohini Bhadane
Date: