Advertisement

Data Warehousing Course Code: CS614 Fall 2009 Assignment No. 03

Deadline date:

Your assignment must be uploaded/submitted before or on November 23, 2009.

Assignment Marks: 20

Assignment Topic:

Topics covered in this assignment are ETL concepts.

Uploading instructions

Please view the assignment submission process document provided to you by the Virtual University to upload the assignment.

Rules for Marking

It should be clear that your assignment will not get any credit if:

o The assignment is submitted after due date

o The assignment is copied

Objective

  • To learn and understand ETL concepts.

Problems

Q No. 1 10

Identify and discuss the problems which are occurred during data quality verification for the single-source and multi-source problems.

Q No. 2 5

Testing has very important role in DWH. In ETL testing phase, how can we perform the integration testing and regression testing?

Q No. 3 5

What are the perquisites of system testing and regression testing in ETL phase?

Object Oriented Programming second assignment fall 2009 Solution 2nd assignment

#include
#include

//class definition
class student
{
//hidden part
private:
char* name; //for student's name
char* id; //for id
char* email; // for email

//interface
public:
//paramterless constructor
student()
{
name="Adnan";
id="Mc002563686";
email="help@vuhelp.com";
}
//parameterized constructor
student(char* name1, char* id1, char* email1)
{
name = name1;
id = id1;
email = email1;
}
//copy constructor
student(const student &other)
{
//for string lengths
int length1, length2, length3;
length1 = strlen(other. name);
length2 = strlen(other. id);
length3 = strlen(other. email);
//allocating new memory space
name = new char[length1 + 1];
id = new char[length2 + 1];
email = new char[length3+1];
//copying strings
strcpy( name, other.name );
strcpy( id, other.id );
strcpy( email, other.email);
}
//for displaying name, id and email address
void display()
{
cout<cout<<"_________________"<}

//destructor
~student(){}
};

//main function
int main(){
//object declarations
student s1;
student s2("Jawad", "mc007004005", "vuexpert@gmail.com");
student s3(s2);
//display function calls
s1.display();
s2.display();
s3.display();

}