Computer science

From Wikipedia, the free encyclopedia
Jump to: navigation, search

Computer science is the study of how to manipulate, manage, transform and encode information.

There are many different areas in computer science. Some of the areas consider problems in a more abstract way. Some areas need special machines, called computers.

A person who works with computers will often need mathematics, science, and logic in order to make and use computers.

Common tasks for a computer scientist[change | change source]

Asking questions[change | change source]

This is so that they can find new and easier ways to do things, and the way to approach problems with this information.

Asking the right question[change | change source]

Computers can do some things easily (for example: simple math, or sorting out a list of names from A-to-Z). Computers cannot do some things, though. Computers cannot answer questions when there is not enough information, or when there is no real answer. Also, computers may take too much time to finish long tasks. For example, it may take too long to find the shortest way through all of the towns in the USA - so instead a computer will try to make a close guess. A computer will answer these simpler questions much faster.

Answering the question[change | change source]

Algorithms are steps of instructions describing how to complete a task, such as solving a problem. Think about playing cards, for example. A computer scientist wants to sort the cards. First he wants to sort them out by color. Then he wants to order them by number (2, 3, 4, 5, 6, 7, 8, 9, 10, Jack, Queen, King, and Ace). The computer scientist may see different ways to sort the playing cards. He must now think about of how he will do it. When he decides, he has created an algorithm. After making the algorithm, the scientist needs to test whether the algorithm always does what it should. Then, the scientist can see how well his program sorts the cards.

A simple but very slow algorithm could be: drop the cards, pick them up, and check whether they are sorted. If they are not, do it again. This method will work, but it will often take a very long time. The name of this sorting algorithm is Bogosort.

A person may do this better by looking through all the cards, finding the first card (2 of diamonds), and putting it at the start. After this, he looks for the second card, and so on. This works much faster, and does not need much space. The name of this sorting algorithm is selection sort.

Computer science began during World War II and separated from the other sciences during the 1960's and 1970's. Now, computer science uses special methods of doing things, and has its own special words. It is related to electrical engineering, mathematics, and language science.

Computer science looks at the theoretical parts of computers. Computer engineering looks at the physical parts of computers (the parts that a person can touch), and software engineering looks at the use of computer programs and how to make them.

Parts of computer science[change | change source]

Central math[change | change source]

How an ideal computer works[change | change source]

Computer science at work[change | change source]

What computer science does[change | change source]

Other pages[change | change source]