kids encyclopedia robot

Computer science facts for kids

Kids Encyclopedia Facts

Computer science is all about understanding and working with information. It's how we learn to handle, organize, change, and store data using computers.

This field has many different parts. Some parts look at problems in a very general way. Other parts focus on special machines called computers.

People who work in computer science often use mathematics, science, and logic. These skills help them create and use computers effectively.

What do computer scientists do?

How do computer scientists find new ways to do things?

Computer scientists are like detectives! They ask lots of questions to find new and easier ways to solve problems. They also figure out the best ways to approach these problems using information.

How do they ask the right questions?

Computers are great at some tasks, like simple math or sorting a list of names. But they can't answer questions if there isn't enough information. Also, some tasks might take too long for a computer to finish perfectly.

For example, finding the shortest path through every single town in a country would take a computer a very long time. Instead, a computer might make a really good guess. This guess is called a heuristic. Computers can answer these simpler, "good guess" questions much faster.

How do they find answers to questions?

Algorithms are like step-by-step instructions for solving a problem. Imagine you want to sort a deck of playing cards. A computer scientist might first sort them by color. Then, they would order them by number (2, 3, 4, etc.).

The scientist thinks about different ways to sort the cards. Once they decide on a method, they have created an algorithm. After making the algorithm, they test it to make sure it always works. This helps them see how well their program sorts the cards.

A very slow way to sort cards could be to drop them, pick them up, and check if they're sorted. If not, you do it again! This method works, but it would take a very long time.

A faster way is to look through all the cards, find the first card (like the 2 of diamonds), and put it at the start. Then you find the second card, and so on. This method is much quicker and doesn't need much space. This type of sorting is called a selection sort.

Computer science started during World War II. It became its own field in the 1960s and 1970s. Today, it has its own special methods and words. It is connected to electrical engineering, mathematics, and language science.

Computer science focuses on the ideas and theories behind computers. Computer engineering deals with the physical parts of computers (the hardware). Software engineering is about using and creating computer programs.

Important parts of computer science

Core math and ideas

Computer science in action

What computer science helps us do

Related pages

Images for kids

See also

Kids robot.svg In Spanish: Ciencias de la computación para niños

kids search engine
Computer science Facts for Kids. Kiddle Encyclopedia.