0% found this document useful (0 votes)
6 views4 pages

CSE Lab Report on Data Mining Techniques

Uploaded by

Ferdous
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views4 pages

CSE Lab Report on Data Mining Techniques

Uploaded by

Ferdous
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Bangladesh Army University of Engineering &

Technology (BAUET)
Qadirabad, Natore-6431

Department of
Computer Science and Engineering (CSE)

Lab Report

Course Code: CSE-2106


Course Title: Data Mining and Data Ware-housing Sessional

SUBMITTED BY SUBMITTED TO
Name:
ID: Subrata Kumer Paul
Batch: Lecturer, Dept. of CSE, BAUET
Year:
Semester:
Section:
Session:
Index

For Group-A

SL Experiment Name Page No


1 Write a C++ program to Generate the Fibonacci Series starting from any two
numbers
2 Write a C++ Program for Find the Missing Number

3 Write a C++ Program to find sum of elements in a given array

4 Write a C++ program to multiply two matrices

5 Write a C++ Program for Remove all duplicates from the input string.

For Group-B
SL Experiment Name Page No

1 Write a C++ program to Generate the Fibonacci Series starting from any two
numbers
2 Write a C++ program to Check Whether Number is Prime or not

3 Write a C++ program to Check Whether Given Number is Palindrome or Not

4 Write a C++ program to find roots of a quadratic equation using switch case
5 Write a C++ program to input electricity unit charges and calculate total electricity
bill according to the given condition:
For first 50 units Rs. 0.50/unit
For next 100 units Rs. 0.75/unit
For next 100 units Rs. 1.20/unit
For unit above 250 Rs. 1.50/unit
An additional surcharge of 20% is added to the bill

Page 2 of 4
Bangladesh Army University of Engineering &
Technology (BAUET)
Qadirabad, Natore-6431

Department of
Computer Science and Engineering (CSE)

Lab Report: 01

Course Code: CSE-2106


Course Title: Data Mining and Data Ware-housing Sessional

Experiment Date: 01/12/2021


Submission Date: 07/12/2021

SUBMITTED BY SUBMITTED TO
Name:
ID: Subrata Kumer Paul
Batch: Lecturer, Dept. of CSE, BAUET
Year:
Semester:
Section: Page 3 of 4
Session:
1. Problem No: 01

2. ProblemTitle:

3. Problem description:

4. Source Code:

5. Result Analysis:
 Input and Output

6. Conclusion:

Page 4 of 4

Common questions

Powered by AI

The task of removing duplicates from an input string enhances problem-solving skills by requiring students to apply concepts such as hash maps and sorting. Students need to understand memory-efficient data structures to optimize space and time complexity. Common algorithms involve data structures like hash sets for linear time complexity or sorting followed by a linear scan to eliminate duplicates, promoting efficient utilization of resources .

Palindrome-checking tasks are statistically simple yet provide insights into symmetric properties, string or integer reversal techniques, and algorithmic efficiency. They encourage understanding of edge cases, computational limits, and efficient use of control structures. By introducing concepts such as iteration versus recursion, they strengthen problem-solving and debugging skills, laying the groundwork for more complicated string and numerical problems .

Switch cases offer a clearer structure when dealing with multi-conditional logic, such as classifying the nature of roots in quadratic equations. Unlike if-else statements, which can become cumbersome with multiple conditions, switch cases provide a more readable and organized format. This enhances code maintainability and reduces errors, and helps students focus on coding logic rather than debugging complex conditional flows .

Matrix multiplication tasks require understanding of nested loops and data storage in multi-dimensional arrays. These tasks illustrate computational complexity through the basic O(n^3) algorithm and motivate exploration of optimized algorithms like Strassen's, helping students appreciate the concepts of optimization and resource management in data structures. They also provide experience in manipulating two-dimensional data structures, crucial for applications in computer graphics and machine learning .

Programming tasks related to checking prime numbers allow students to explore factors and divisibility concepts, which are fundamental in number theory. By implementing various algorithms, such as trial division and optimization techniques like the Sieve of Eratosthenes, students learn about time complexity and optimizations in algorithms. Understanding these concepts helps in transitioning to more complex algorithmic topics like cryptography and secure data transactions .

Using algorithms to generate the Fibonacci series starting from any two numbers helps students understand recursive sequences, algorithm efficiency, and dynamic programming concepts. It provides a foundation for problem-solving techniques and complexity analysis like time and space efficiency. Students learn to implement recursive and iterative solutions and analyze their time complexity, which is crucial for developing efficient algorithms in data-intensive applications .

Programming tasks for calculating electricity charges provide practical exposure to conditional logic and control flow. This task involves applying tiered charging logic using if-else statements or switch-case constructs, simulating real-world problem-solving. By modeling real-world billing systems, students enhance their ability to design logic for dynamic input conditions and validate programming outputs, improving debugging and testing strategies .

Finding a missing number in a sequence involves understanding array traversal and implementing techniques like summation formulas or hash set functionality for checking presence. This task underlines algorithm design principles such as iteration, condition checking, and memory usage, helping students develop logic frameworks essential for processing and finding data efficiently within any storage structure .

Learning both iterative and recursive methods for generating the Fibonacci series teaches students about the trade-offs in different algorithmic strategies. Iterative methods are typically more memory-efficient, using loops. Recursive methods promote deeper understanding of recursion stacks and divide-and-conquer strategies, providing insights into when recursion is beneficial or when it might lead to stack overflow. These skills are vital for tackling complex problems where a single approach might not be optimal .

Writing a program to find the sum of elements in an array introduces students to basic data aggregation techniques. It requires understanding array traversals, accumulation concepts, and the efficiency impacts of loop operations. Mastery of such tasks forms the basis for learning more elaborate data processing methods like rolling sums, cumulative distributions, and domain-specific aggregation functions crucial in data analytics and big data processing .

You might also like