You are on page 1of 12

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION,

MUMBAI

A
MICRO PROJECT REPORT
ON

“Develop A program for various operations on Binary Tree ”

SUBMITTED BY
HARIPAL PARMESHWAR MUNGAL
SAMIR BHUJANGRAO MORE
OMKAR MADHAVRAO PAWAR

GUIDED BY
MS.Choudhary N.G.

DEPARTMENT OF COMPUTRE ENGNEERING


INDIRA INSTITUTE OF TECHNOLOGY (POLYTECHNIC),
VISHNUPURI, NANDED.
ACADEMIC YEAR 2023-2024

I
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION, MUMBAI

CERTIFICATE

CERTIFIED THAT THE MICROPROJECT REPORT ENTITLED

“Develop A program for various operations on Binary Tree” is a


bonafide work carried out by HARIPAL PARMESHWAR MUNGAL, SAMIR
BHUJANGRAO MORE, OMKAR MADHAVRAO PAWAR in partial fulfilment for the
award of diploma in Computer Engineering of the Maharashtra State Board of Technical
Education Mumbai during the year 2023-2024.It has been certified that all the
corrections/suggestions indicated for internal assessment has been incorporated in the report
deposited in the Department library.The Micro-project report has been approved as it satisfied
the academic requirements in respect of Micro-project for the Diploma.

Course In-Charge HOD Principal


(Ms. Choudhary N.G..) (Ms. Choudhary N.G. ) (Dr. Agrawal E.S.)

DEPARTMENT OF COMPUTER ENGINEERING


INDIRA INSTITUTE OF TECHNOLOGY (POLYTECHNIC),
VISHNUPURI, NANDED.

II
ACKNOWLEDGEMENT
I offer my sincere thank with a deep sense of gratitude to my guide
“Ms. CHOUDHARY N.G.” and Head Of Department “Ms. CHOUDHARY N.G.” for
their valuable direction and guidance to my micro project work his meticulous attention
towards my micro project without taking of his voluminous work. I am also thankful to
our principle “Dr. AGRAWAL E. S.” for his encouragement towards my micro project.
Last but not least I am also thankful to all staff members of our department for their
valuable guidance during my micro project work.

Name Roll No.


Haripal Parmeshwar Mungal 11
Samir Bhujangrao More 10
Omkar Madhavrao Pawar 13

Branch : Computer Engineering.


Class : CO3I

III
Evaluation Sheet For The Micro Project
Academic Year : 2023-2024. Name Faculty : Ms. CHOUDHARY N.G.
Course :- DSU Course Code : 22317 Semester 3I

Title of the project : “ Develop a Program for various operations on Binary


Search Tree ’’
Major learning outcomes achieved by the students by doing this project :
A) Practical Outcomes In Cognitive Domain :
1) Apply Information Technology knowledge to solve broad-based Information
Technology related knowledge.
2) Apply appropriate computer engineering related technique /tools with an understanding
of the limitations.
B) Unit Outcome In Cognitive Domain:
1) Apply ethical principles for commitment to professional ethics, responsibilities and
norms of the practice also in the field of computer engineering .
C) Outcomes In Effective Domain:
1) Follow ethical practices.
2) Follow precautionary measures.
D) Comments/Suggestions About Team Work/Leadership/Interpersonal
Communications (If Any)

Marks out Marks out of


of 6 for 4 for
Roll performance performance Total out of
Student Name
no. in group in oral / 10
activity (d5 presentation
col.8) (d5 col.9)
Haripal Parmeshwar
11.
Mungal
Samir Bhujangrao
10.
More
Omkar Madhavrao
13.
Pawar

IV
INDEX

Sr. Page
Particulars
No. No.
Part-A
1.1 Aim of the project 01
1.2 Action Plan 01
1.3 Resource Used 02
Part-B
2.1 Brief Introduction 03
2.2 Search operation 03
2.3 Insertion operation 06
2.4 Deletion operation 09
2.5 Code 12
2.6 Conclusion 17
2.7 References 18

V
Part-A

1.1 Aims/Benefits of the micro project


‘Pl/SQL program for printing tabel of numbers’

1.2 Action Plan

Name of
Sr.no Plan start Plan finish
Detail of activity responsible
Date date
team
Haripal Mungal,
Searching the topic for Samir More,
1. 26/08/2023 15/09/2023
micro-project Omkar Pawar

Collect information Haripal Mungal,


2. from the internet 26/09/2023 27/09/2023 Samir More,
and textbook Omkar Pawar

Collect information
from the Data base Haripal Mungal,
3. Management 27/09/2023 28/09/2023 Samir More,
System reference Omkar Pawar
book, and Debugged
the errors.

Arrange all Haripal Mungal,


4. information in ms 28/09/2023 29/09/2023 Samir More,
word Omkar Pawar

Haripal Mungal,
Prepare a report on it
5. 29/09/2023 01/10/2023 Samir More,
using MS word Omkar Pawar
Haripal Mungal,
6. Print micro-project 01/10/2023 Samir More,
Omkar Pawar

D.O.C.E. (SSS IIT POLY) 1


1.3 Resources Used

Sr. Name of resource


Specifications Quantity
No material

8 GB RAM,
1. Computer System
Windows 10 OS
1

2. Internet You-tube / Wikipedia

DMS – Database
textbook/manual
3. Management 1
System

D.O.C.E. (SSS IIT POLY) 2


Part-B
2.1 Brief Introduction
This PL/SQL script is designed to take a user's input, validate it, and then generate the multiplication
table for the entered number. It does the following:
1. Declares two variables n and i to store the user's input and the loop counter, respectively.
2. Uses DBMS_OUTPUT.PUT to prompt the user to enter a number.
3. Reads the user's input and stores it in the n variable.
4. Checks if the entered number is valid (not null and not zero).
5. If the input is valid, it enters a loop that iterates from 1 to 10 and calculates the product of the
entered number and the loop counter. It then uses DBMS_OUTPUT.PUT_LINE to display
the multiplication result.
6. If the input is not valid, it displays an error message indicating that the input should be a non-
null, non-zero number.
To use this code, you would typically run it in a PL/SQL environment, such as Oracle SQL*Plus.
The user will be prompted to enter a number, and the multiplication table will be displayed for that
number.
Remember that you should make sure to properly handle user input and exceptions in a real-world
application.

2.2 Features

1. User Input: The script prompts the user to enter a number interactively using the
DBMS_OUTPUT.PUT statement. The user's input is read and stored in the n variable.
2. Input Validation: It checks whether the entered number is valid. Specifically, it checks if the
input is not null and not equal to 0. If the input is invalid, it provides an error message.
3. Loop: It uses a FOR loop to iterate from 1 to 10, performing the multiplication for each
iteration.
4. Multiplication Table: For each iteration of the loop, it calculates and displays the product of
the entered number and the loop counter, effectively printing a multiplication table from 1 to
10 for the given number.
5. Error Handling: It includes a simple error message using DBMS_OUTPUT to inform the
user if the input is invalid.
6. Interactive: The script allows for user interaction, making it suitable for use in environments
where a user needs to input data and see results in real-time.
7. Modularity: The script is modular and can be embedded within a larger PL/SQL program or
used as a standalone script.
8. Use of PL/SQL: It demonstrates the use of PL/SQL, which is a procedural extension to SQL
often used for database-related tasks and data manipulation.

2.3 How Do You ?

D.O.C.E. (SSS IIT POLY) 3


2.4 Source Code
declare
n number;
i number;

begin
n:=&n;
for i in 1..10
loop
dbms_output.put_line(n||' x '||i||' = '||n*i);
end loop;
end;
/

D.O.C.E. (SSS IIT POLY) 4


2.5 Output

D.O.C.E. (SSS IIT POLY) 5


2.5 Conclusion:-
In conclusion, the PL/SQL program presented is a versatile and interactive tool that allows users to
input a number of their choice. The program then validates the input, ensuring it is both non-null
and non-zero. If the input meets these criteria, it proceeds to generate and display the multiplication
table for the provided number.
This program provides a straightforward and user-friendly way to obtain multiplication tables for a
range of numbers, making it a valuable resource for educational or practical purposes. Additionally,
it includes error handling to prevent the generation of tables for invalid inputs, enhancing its
robustness and usability.

D.O.C.E. (SSS IIT POLY) 6


2.6 References
1. Database Management Sytem Author:- Henry F. Korth
2. Data base Management System- GenNext Publication - Archana Verma
3. https://www.geeksforgeeks.org/plsql-introduction/

D.O.C.E. (SSS IIT POLY) 7

You might also like