Вы находитесь на странице: 1из 12

TIC-TAC TOE GAME & LIBRARY

MANAGEMENT SYSTEM

Micro-Project Report submitted


In
Partial fulfillment of requirement for the award
of diploma of

Diploma of Engineering
In
Computer Technology

Submitted By
Aatish .T. lahane

Name of Group Members


1. Aatish .T. lahane (Roll no. 21)
2. Ankit Gupta (Roll no. 30)
3. Satish Lokhande (Roll no. 21)
4. Sejal Dahikar (Roll no. 17)

Guide
Mr. P. G. Ingole
(Head of Computer Dept.)

Department of Computer Engineering


G.H. Raisoni Polytechnic, Nagpur
(Approved by AICTE New Delhi & DTE, Affiliated to MSBTE Mumbai)

2018-19
DECLARATION
We, hereby declare that the project thesis titled “Tic-Tac Toe Game & Library
Management System” submitted herein has been carried out by us in the Department of
Computer Engineering of G. H. Raisoni Polytechnic, Nagpur. The work is original and has
not been submitted earlier as a whole or in part for the award of any degree / diploma at this
or any other Institution / University.

Ankit Gupta

Date:
CERTIFICATE

This is to certify that the micro-project report entitled “Tic-Tac Toe Game & Library
Management System” is bonafide work of Amarsingh Kashyap, Ankit Gaupta, Satish
Lokhande, Sejal Dahikar during the academic year 2018-19 in program Computer
Engineering, 3rd semester of course “Object Oriented Programming using C++”.

Guide

Mr. P. G. Ingole Mr. P.G. Ingole


Head Head
Dept. of Computer Engineering Dept. of Computer Engineering
G.H.R.P. Nagpur G.H.R.P. Nagpur

Mr. G. N. Akhade
Principal
G.H.R.P. Nagpur
ACKNOWLEDGEMENT

It is our proud privilege to present a project report on “Tic-Tac Toe Game & Library
Management System”. We take this opportunity to express our deep sense of gratitude &
whole hearted thanks to our revered guide Mr. P. G. Ingole, Head, Department of
Computer Engineering, G. H. Raisoni Polytechnic, Nagpur for his valuable guidance,
inspiration and encouragement that has lead to successful completion of this work.

We would like to express our deepest gratitude to Mr. P. G. Ingole, Head, Department of
Computer Engineering, G. H. Raisoni Polytechnic, Nagpur for making all facilities
available in the department those were necessary for the completion of this work.

A special word of thanks goes to Entire Department of Computer Engineering, G. H.


Raisoni Polytechnic, Nagpur for their encouragement and their cooperation to accomplish
our work on time.

We would also express our heartfelt thanks and sense of gratitude to Mr. G. N. Akhade,
Principal, G. H. Raisoni Polytechnic, Nagpur for being a constant source of inspiration.

Ankit Gupta
PART A

TIC-TAC TOE GAME & LIBRARY MANAGEMENT SYSTEM


PROJECT
1.0 Brief Introduction
Object oriented programming – As the name suggests uses objects in programming.
Object oriented programming aims to implement real world entities like inheritance,
hiding, polymorphism etc in programming. The main aim of OOP is to bind together the
data and the functions that operates on them so that no other part of code can access this
data except that function. Object-oriented programming (OOP) is a programming
paradigm based on the concept of "objects", which may contain data, in the form
of fields, often known as attributes; and code, in the form of procedures, often known
as methods. A feature of objects is that an object's procedures can access and often
modify the data fields of the object with which they are associated (objects have a notion
of "this" or "self"). In OOP, computer programs are designed by making them out of
objects that interact with one another. There is significant diversity of OOP languages,
but the most popular ones are class-based, meaning that objects are instances of classes,
which typically also determine their type.

2.0 Aim of the Micro-Project


This Micro-Project aims at:
1. Create a program for Tic-Tac Toe game.
2. To create a program for Library Management System.

3.0Action Plan

Name of
Sr. Planned Planned
Details of activity Responsible Team
No. Start date Finish date
Members
SEJAL
1 Project Survey 06-30-2018 07-07-2018
DAHIKAR
AMAR SINGH
2 Gathering Information 07-21-2018 07-28-2018
KASHYAP
SATISH
3 Executed 08-04-2018 08-04-2018
LOKHANDE
ANKIT
4 Create Report 08-11-2018 08-18-2018 GUPTA
4.0 Resources Require

Sr.
Name of Resource / Material Specification Quantity Remark
No.

Computer(Pentium 4th
1 Hardware: Computer System gen), RAM 4GB,HDD 1
500GB

2 Operating System Windows 8 1

3 Software TURBO C++ 1


PART B

TIC-TAC TOE GAME & LIBRARY MANAGEMENT SYSTEM


PROJECT

1.0 Brief Description

This C++ program on TIC Tic-Tac Game is a simple text base game. This program is
without graphics to focus on logic /algorithm used in game. Two players can play this game.
&

The Library Management System automates the basic library functions to aid in the day-to-
day operations of a library. The purpose of the system is to allow for storing details of a large
number of books and allow for add, borrow, return facilities separately to staff and students.
Different privileges are given to different types of users.
It also maintains data about books about books, teachers, students records that are required
during various library operations. The software aims to make the system user friendly and
efficient. Some of the features involved are date of issuing the book and return the book.

2.0 Aim of the Micro-Project


This Micro-Project aims at:
1. Create a program for Tic-Tac Toe game.
2. To create a program for Library Management System.

3.0 Course Outcomes Integrated


a) Develop the procedure oriented programming approach.
b) Develop the object oriented programming approach.

4.0 Actual Procedure Followed.

1. Project survey done by Sejal Dahikar.


2. Collecting information from Internet by Amar Singh Kashyap .
3. Written and Executed by Satish Lokhande.
4. Gathering and analysing all this information and Create Report by Ankit Gupta.
5.0 Actual Resources Used

Sr.
Name of Resource / Material Specification Quantity Remarks
No.

Computer(Pentium 4th
1 Hardware: Computer System gen), RAM 4GB,HDD 1
500GB

2 Operating System Windows 8 1

3 Software TURBO C++ 1


6.0 Outputs of the Micro-Projects

ALGORITHM
Algorithm Name : TIC-TAC TOE GAME

STEP 1 :- START
STEP 2 :- Initialize int player  1,i,choice char mark

STEP 3 :- Read choice


STEP 4 :- mark (player  1) ? 'X' : 'O';
STEP 5 :- if choice  1 and square[1]  1

ELSE IF (choice is equal to 2 and square[2] is equal to '2')

ELSE

Till 9;
ELSE
PRINT - “Invalid move”
player--
icheckwin()
player++
STEP 6:- WHILE(i is equal to -1)
board( )
IF(i is equal to1)
PRINT –“ Win”

ELSE

PRINT – “Game Draw”


STEP 7:- CHECKWIN()

IF (square[1] is equal to square[2] and square[2] is equal to square[3])


return 1
ELSE IF(square[4]is equal to square[5]and square[5]is equal to square[6]
else
return -1
STEP 8:- BOARD( )
Display –“Tic Tac Toe”
Display “ 1 (X) - Player 2 (O)
Display “<< square[1] << | << square[2] << | "
Display “<< square[4] << | << square[5] << | << square[6] ”
Display “<< square[7] << | << square[8] << | << square[9] ”
STEP 9:- EXIT
ALGORITHM - LIBRARY MANAGEMENT SYSTEM

1. START
2. Initialize char **author,**title,**publisher, int *price, static int count
3. Class book
4. books(void)
void getdata,,void display_stock,void search(void)
5. int books :: count0
books :: books(void)
author,title,publisher,price.
6. for( I =0;I is less than 15;i++)
author[i],title[i]publisher[i];
7. void books :: getdata(void)
Print “Enter Book name, author name, publisher of book, price”
8. void books :: display_stock(void)
Display book name , publisher.
9. for(I is equal to 0;I is less than count;i++)
10. display price,Display “Total Number of Books are ";
11. void books :: search(void)
Display “Enter Book name and author name”
12. FOR( I is equal to 0;I is less than count;i++)
Display "Entered Information Book Available"
Display “Book is not Available in stock"
13. MAIN()
books o1, int choice;
14. WHILE(1)
Print “Choose your choice";
Print "1) Entering Information for book"
Print "2) To See Actual stock"
Print "3) To Search for a Particular book"
Print "4) Exit"
Print "Enter your choice"
15. Read choice
16. IF choice  1 then enter the information regarding to the book
17. If choice  2 then display stock
18. If choice  3 then search book
19. If choice  4 the exit
20. EXIT
 OUTPUT

7.0 Skill Developed / learning out of this Micro-Project

 Basic knowledge: Apply knowledge of basic mathematics, science and basic


engineering to solve the broad-based computer engineering problems.
 Ethics: Apply ethical principles for commitment to professional ethics,
responsibilities and norms of the practice also in the field of computer
engineering.
 The engineer and society: Assess societal, health, safety, legal and cultural issues
and the consequent responsibilities relevant to practice in field of computer
engineering.
 Communication: Communication effectively in oral and written form.
 Life-long learning: Engage in independent and life-long learning activities in the
context of technological changes also in the computer engineering and allied
industry.

Вам также может понравиться