Final answer:
A program that follows hyperlinks to collect information about websites is called a spider, which is used by search engines to index content on the web. Unlike spiders, worms are malware that can spread and damage networks.
Step-by-step explanation:
The name of a program that follows hyperlinks and collects information about Web sites is called a spider. While hackers often use a variety of methods to break into websites, spiders are not inherently malicious. Spiders, also known as web crawlers, are used by search engines to index the web. Different from a spider, a worm is a type of malware that replicates itself and spreads to other computers, often causing harm to computer networks.