www.vustudents.ning.com

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

# CS614 Assignment No 03 Solution & Discussion Due Date:Feb 16, 2015

CS614 Assignment No 03 Solution & Discussion Due Date:Feb 16, 2015

Consider the below applicant table:

Applicant_ Info

.Question:

Apply all three steps of Basic Sorted Neighborhood (BSN) method to find out the duplicate records in the table. Records will be considered duplicate if the value of “Applicant_id

” column is same in these records.

Use the following rules for the key:

Key:

Key will consist of first three characters from “Applicant_id”, then first three characters from “Applicant_Name” and then first two characters from “father_Name” column.

BSN method comprises of three steps given below:

a) Create key

In step-1, you will create the key according to the rules as mentioned above against each record. For this, you can add extra column at the end of the table to show the new key created against each record.

b) Sort the data

In step-2, you will sort the record on the basis of newly created key of step-1.

c) Merge

In step-3, consider the window size (w) equal to two (2). You are required to identify the similar records on the basis of sorted key.

Views: 6263

### Replies to This Discussion

solution send of cs 614 please

 dear fellows please help me in this..if we merge the table keys..it seems to b like this...is it right?? Applicant id Applicant name Father name Qualification Address New key MH2027 Faizan Jawad MSc Lahore MH2_FAI_JA MH2027 Faizan Jawad MSc Lahore MH2_FAI_JA MG2026 Wasim Maqsood MBA Faisalabad MG2_WAS_MA MG2026 Wasim Maqsood MBA faisalabad MG2_WAS_MA ENG2028 Atif Sohail BA Multan ENG_ATI_SO CS2025 Umair Ikram PHD Islamabad CS2_UM_AIK CS2029 Tariq Ali MSc Karachi CS2_TAR_AL

What an Easy and interesting Assignment wah maza aa gia.... :)

yes it is...but do tell me ....we have to merge like this which i posted here

??or just skip the duplicates????

No that's not true you have to only tel date there are some duplicate keys available in the table that's it....

okie..thnx

I am confused about the last step.

Do we have to create another table with the duplicate keys?

Merge kaisay karna hai last step confusion lolz bari wali

please koi solution day do yar

In step-3, consider the window size (w) equal to two (2). You are required to identify the similar records on the basis of sorted key.?????????

please any body send me complete solution or complete guidelines about assignment on my email id simpacity@gmail.com
I shall be very thankful to him\her in this regard.

1

2

3

4

## Latest Activity

16 minutes ago
ai con and Batool joined + M.Tariq Malik's group

### CS101 Introduction to Computing

17 minutes ago
ai con joined + M.Tariq Malik's group

19 minutes ago
21 minutes ago