Jump to content

Computer science: Difference between revisions

From Simple English Wikipedia, the free encyclopedia
Content deleted Content added
Zellfaze (talk | changes)
Asking the right question: Added link to Metaheuristic
Zellfaze (talk | changes)
Answering the question: Change a little bit of the wording
Line 10: Line 10:


=== Answering the question ===
=== Answering the question ===
[[Algorithm]]s are ways to solve problems or do things. 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 the details 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.
[[Algorithm]]s are ways to solve problems or do things. 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 would be: drop the cards, pick them up, and check whether they are sorted. If not, do it again. This method will work, but it will often take a very long time.
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.
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.
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.


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 linked with [[electrical engineering]], [[mathematics]], and [[language science]].
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 [[theory|theoretical]] parts of computers. [[Computer engineering]] looks at the physical [[computer hardware|parts]] of computers (the parts that a person can touch), and [[software engineering]] looks at the use of [[software|computer programs]] and how to make them.
Computer science looks at the [[theory|theoretical]] parts of computers. [[Computer engineering]] looks at the physical [[computer hardware|parts]] of computers (the parts that a person can touch), and [[software engineering]] looks at the use of [[software|computer programs]] and how to make them.

Revision as of 10:52, 2 August 2010

Computer science is the science of how to treat 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 math, science, and logic in order to make and use computers.

Common tasks for a computer scientist

Asking questions

This is so that they can find new and easier ways to do things.

Asking the right question

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

Algorithms are ways to solve problems or do things. 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.

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.

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

Central math

How an ideal computer works

Computer science at work

What computer science does

Other pages