DSA Final Report
DSA Final Report
Project Report
Course Instructor: Lecturer Anum Abdul Salam
R2 Application Functionality 20
20%
R3 Specification and Data 30
Structures Implementation
30%
R4 Input Validation 10
10%
R5 Efficiency 10
10%
R6 Reusability 05
5%
R7 Report (Documentation) 10
10%
R8 Plagiarism below 20% 1
Total 100
This report presents the semester project for the Data Structures course, where students
were tasked with developing a web browser and a search engine utilizing the data
structures and algorithms studied throughout the term. The project was implemented
using C++ and .NET, integrating various data structures along with object-oriented
programming principles to achieve the desired functionality. The search engine is
designed to process user queries and display the results on a Windows Form.
2. Methodology
IMPLEMENTATION:
The project consists of three major components: the Web page, the Browser, and the Form.
Web Page:
1. The web page component handles the addresses of local text files.
2. Data from these text files is stored in a string vector.
3. This string vector is then mapped to a hash table of word frequency, where each word is stored
according to its hash code and frequency.
Browser:
Form (GUI):
Various classes and header files were utilized to develop this project. The implementation was done using
Windows Forms for the UI and C++ Standard 17 as the development environment.
3. Efficiency and Results
Displaying History:
o Time complexity: O(h), where h is the size of the history vector
Results:
Query: Food
Suggestions are prioritized based on frequency of “food” word.
Food and Pakistan searched togather, the files with both of them will appear at top and
5. References
a. Stack overflow.
b. Geeks-for-Geeks
c. Youtube
d. Gemini AI
e. ChatGpt AI
f. Canva
g. Visual Studio and CLR