Problem of the Day
Wednesday, September 9, 2026
Problem:
A web browser on a computer, when given the address for a website, is able to connect to the Internet, request a webpage, receive information from the site's server, and display that page in a complicated series of steps that is mostly hidden from the user. This is an example of:
- a command-line interface
- computational thinking
- full-stack development
- encapsulation
The correct answer is d.
Encapsulation hides away messy details from users and developers so that software can be used more easily.
A simple example is using a sin() function in a program instruction. Determining the sine of a number is challenging, so most programming languages provide a math library or module that will do the work for you. The actual calculations of the sine are hidden from the programmer, or encapsulated.