Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assume that there are four separate lists containing data for people in a state. First list is Aadhar list, which contains names of people, their

Assume that there are four separate lists containing data for people in a state. First list is
Aadhar list, which contains names of people, their addresses and their corresponding Aadhar
numbers. Second list is a PAN-list that contains in every node, name of a person, address,
his/her PAN number and his/her Aadhar number. Third list is bank-accounts-list, which
contains name of a person, his/her PAN number and the account details (bank, account
number, deposited amount etc). Fourth list is LPG-list which contains name of a person,
his/her bank-account-number and whether the person has taken LPG subsidy or not (YES or
NO). Assume that Aadhar numbers are unique as they are derived from biometric data of a
person that is assumed to be unique. Take as input, above four lists which are already
populated.
1. Print names, addresses and Aadhar numbers of all those people who have Aadhar
numbers but no PAN numbers.
2. Print names, addresses and Aadhar numbers of all those people who have multiple
PAN numbers. Print all the PAN numbers for each such person.
3. Print names, addresses and Aadhar numbers of all those people who have multiple
bank accounts registered under multiple (more than 1) PAN numbers. (Note that
registration of multiple bank accounts with the same PAN number is allowed.)
4. Print details (Aaadhar, PAN, all bank-account details) of a person who has availed
LPG subsidy.
5. Take amount X as input. Print names, addresses and Aadhar numbers of all those
people who have their total savings (in all bank accounts of theirs) being greater than
amount X and they have also availed LPG subsidy (YES). This may include people
having one or more PAN numbers.
6. Print inconsistent data, i.e. names, addresses and aadhar numbers of all those people
who have different names mentioned in either of their Aadhar number, PAN number,
bank account or LPG connection.
7. Given two different bank account lists, merge these two lists into a single list.
For any of the four lists, you are free to choose specific type of linked list, whether singly
linked-list, circular linked list or doubly linked list. Make the decision appropriately that
helps the most in the ease of operations and efficiency. You can add extra fields in the list if you need
write a program in C for the above question

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Current Trends In Database Technology Edbt 2006 Edbt 2006 Workshops Phd Datax Iidb Iiha Icsnw Qlqp Pim Parma And Reactivity On The Web Munich Germany March 2006 Revised Selected Papers Lncs 4254

Authors: Torsten Grust ,Hagen Hopfner ,Arantza Illarramendi ,Stefan Jablonski ,Marco Mesiti ,Sascha Muller ,Paula-Lavinia Patranjan ,Kai-Uwe Sattler ,Myra Spiliopoulou ,Jef Wijsen

2006th Edition

3540467882, 978-3540467885

More Books

Students also viewed these Databases questions

Question

4. Compare and contrast the practices of the two companies.

Answered: 1 week ago