Website Blocker
Website Blocker
This report is submitted in partial fulfilment for the project-work of Computer Science
Submitted By:
Class: XI-A
Dr. CHANDRALEKHA
----------------------------------------------------------------------------------------------------------------
CERTIFICATE OF RECOMMENDATION
This is to certify that the project entitled “WEBSITE BLOCKER”
submitted by SIBA RANJAN DASH to Kendriya Vidyalaya No 1
Cuttack, Odisha, in partial fulfilment of requirements for the
project-work of CLASS-XI-A CS in Kendriya Vidyalaya No 1
Cuttack is a bonafide record of work carried out by him under
our supervision and guidance during the academic year 2023-
2024.
Date: 22/01/2024
Principal
Kendriya Vidyalaya No. 1
Cuttack
CDA, Odisha, India
KENDRIYA VIDYALAYA NO 1 CUTTACK
CERTIFICATE OF APPROVAL
Signature: Signature:
ACKNOWLEDGEMENT
Technical Feasibility
We are using Personal computers, laptops and as per Graphical
user interface i.e. Microsoft Windows. The system has standard
software like Sublime text editor (version-4), and notepad (865
bytes) for host path.
For sublime txt, 2 modules-datetime and time, and python
functions
Operational Feasibility
The project manager analyzes and make an improvement on
code according to the user need, and we can make the payment
according how the user make demand.
The project manager prior judgement was whether the installed
tool will be cost effective or not.
And it has to analyze whether the tool can physically move
within the site and can be used by anyone.
Research Feasibility
By conducting this project, we can block the websites that we
need. After able to that, we focus on how we can make the
websites blocked with in a time range, period and that’s the
main focus in this research or project
SYSTEM REQUIREMENT
SPECIFICATION
In all about only one data file needs to create for various
operations covered under study to get the required outputs
and perform desire function.
Hardware Requirements
We would require laptop or desktop with pen drive, or
floppy disk if we want to move the data file physically.
Software Requirements
The software required for the system would be;
Operating system: Microsoft Windows version 7,8,10
a or 11
Text Editor: Sublime Text version 4
Compilers: Python
Module: datetime and time
Host Path: Using Note pad
FLOW CHART
ALGORITHM
1.Import necessary modules (time, datetime, os).
2.Define the list of websites to block and
paths/constants for host files.
3.Determine the operating system and set the default
host file path accordingly.
4.Define a function block_websites that
continuously runs.
5.Inside the function:
Check if the current time is within the
websites.
If no, open the host file and remove blocked
websites.
Sleep for 3 seconds.