Binary Number operations using Doubly Linked List (DLL) by Mr. Aditya Kumbhar (S.E. Computer, PCCoE)9/2/2016 Doubly Linked List Assignment
The aim of this program is to accept a binary number into a doubly linked list with each node containing one bit, and to perform the following operations on it: 1. Display the accepted binary number. 2. Perform One’s Complement 3. Perform Two’s Complement 4. Add two binary numbers The binary number will be accepted from the user and stored in an integer array.
0 Comments
Movie Ticket Booking implementation using Doubly Circular Linked List (DCLL) by Mr. Rushikesh Phalke9/1/2016 This program is a implementation of Ticket Booking System using Doubly Circular Linked List.
Data structures used in the program- Doubly Circular Linked List. Why Dcll? We know that in theatres more than 200 seats are there, Now if our head pointer points to the seat number ‘A1’ & user want to perform some operation with seat number ‘J1’ then it will be very much time consuming task ,as we need to traverse whole linked list from A1 to J7. The program has six subtasks. Following operations are performed on sets as follows.
Union of two sets. Intersection of two sets. Subtraction of two sets. The program has 7 functions implementing all the above operations INTRODUCTION :-
Spares matrix has only 3 columns and (no. of non-zero elements + 1) rows. The position [0][0] represents number of rows. The position [0][1] represents number of columns. The position [0][2] represents number of non-zero elements. While column 1 after position [0][0] contains indices of rows, the column 2 after position [0][1] contains indices of columns and the column 2 after position [0][2] contains the non-zero elements. The program has three sub-tasks. Following three functions have to be performed:-
The program has six sub-tasks. Following operations on strings are performed:
1) Calculate the length of the string. 2) Copy the inputed string. 3) Concatenate two strings. 4) Reverse a string. 5) Compare two strings. 6) Check for sub string. The program has 6 functions, each performing one of the above operations. |
AuthorProf. Ketan Sanjay Desale Archives
April 2020
Categories |