(Go: >> BACK << -|- >> HOME <<)

Jump to content

Computer science: Difference between revisions

From Simple English Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
Tags: Reverted Mobile edit Mobile web edit
CommonsDelinker (talk | changes)
Removing Comp_sci_method.jpg; it has been deleted from Commons by Túrelio because: CSD F3 (derivative work of non-free content): Minions.
Tag: Manual revert
 
(36 intermediate revisions by 26 users not shown)
Line 12: Line 12:
</div>
</div>
</div>
</div>
'''Computer science''' is the study of manipulating, managing, transforming and [[code|encoding]] [[information]].
'''Computer science''' is the science of [[information]]. Computer scientists study different ways of reading, using, and [[code|encoding]] information.


There are many different areas in [[computer]] [[science]]. Some areas consider problems in an [[Abstraction|abstract]] manner, while some need special [[machine]]s, called [[computer]]s.
There are many different areas within [[computer]] [[science]]. In some areas, scientists only work with ideas "on paper". In other areas they use those ideas to make things like computers and [[Computer program|computer programs]].


A person who works with computers will often need [[mathematics]], [[science]], and [[logic]] in order to design and work with computers.
A person who works in computer science will often need to understand [[logic]] and [[mathematics]].


== Common tasks for a computer scientist ==
== Common tasks for a computer scientist ==
=== Asking questions ===
=== Asking questions ===
This is so that they can find new and easier ways to do things, and the way to approach problems with this information.
This is so people can find new and easier ways to do things, and the way to approach problems with this information.


Computers can do some things easily (for example: simple math, or sorting out a list of names from A-to-Z). But 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 [[wikt:task|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 [[heuristic|close guess]]. A computer will answer these simpler questions much faster.
While computers can do some things easily (like simple math, or sorting out a list of names from A-to-Z), 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 [[wikt:task|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 [[heuristic|close guess]]. A computer will answer these simpler questions much faster.


=== Answering the question ===
=== Answering the question ===
[[Algorithm]]s are a specific set of instructions or steps on how to complete a task. For example, a computer scientist wants to sort [[playing cards]]. There are many ways to sort them - by suits (diamonds, clubs, hearts, and spades) or by numbers (2, 3, 4, 5, 6, 7, 8, 9, 10, Jack, Queen, King, and Ace). By deciding on a set of steps to sort the cards, the scientist has created an algorithm. The scientist then needs to test whether this algorithm works. This shows how well and how fast the algorithm sorts cards.
[[Algorithm]]s are a specific set of instructions or steps on how to complete a task. For example, a computer scientist wants to sort [[playing cards]]. There are many ways to sort them - by suits (diamonds, clubs, hearts, and spades) or by numbers (2, 3, 4, 5, 6, 7, 8, 9, 10, Jack, Queen, King, and Ace). By deciding on a set of steps to sort the cards, the scientist has created an algorithm. The scientist then needs to test whether this algorithm works. This shows how well and how fast the algorithm sorts cards.


A simple but slow algorithm is: 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 take a very long time.
A simple but slow algorithm is: pick up two cards and check whether they are sorted correctly. If they are not, reverse them. Then do it again with another two, and repeat them all until they are all sorted. This is called a [[bubble sort]]. This method will work, but it will take a very long time.
A better algorithm is: find the first card with the smallest suit and smallest number (2 of diamonds), and place it at the start. After this, look for the second card, and so on. This algorithm is much faster, and does not need much space. This sorting algorithm is called selection sort.
A better algorithm is: find the first card with the smallest suit and smallest number (2 of diamonds), and place it at the start. After this, look for the second card, and so on. This algorithm is much faster, and does not need much space. This algorithm is called a "[[selection sort]]".


[[Ada Lovelace]] wrote the first computer algorithm in 1843, for a computer that was never finished. Computers began during [[World War II]].<ref>{{Cite news|url=https://www.worldsciencefestival.com/infographics/a_history_of_computer_science/|title=A Brief History of Computer Science {{!}} World Science Festival|work=World Science Festival|access-date=2018-03-20|language=en-US}}</ref> Computer science separated from the other sciences during the 1960s and 1970s. Now, computer science has its own methods, and has its own technical terms. It is related to [[electrical engineering]], [[mathematics]], and [[language science]].
[[Ada Lovelace]] wrote the first computer algorithm in 1843, for a computer that was never finished. Computers began during [[World War II]].<ref>{{Cite news|url=https://www.worldsciencefestival.com/infographics/a_history_of_computer_science/|title=A Brief History of Computer Science {{!}} World Science Festival|work=World Science Festival|access-date=2018-03-20|language=en-US}}</ref> Computer science separated from the other sciences during the 1960s and 1970s. Now, computer science has its own methods, and has its own technical terms. It is related to [[electrical engineering]], [[mathematics]], and [[language science]].
Line 58: Line 58:
* [[Operating system]]s (big computer programs, e.g. [[Linux]], [[Microsoft Windows]], [[Mac OS]]) to control the computer hardware and software.
* [[Operating system]]s (big computer programs, e.g. [[Linux]], [[Microsoft Windows]], [[Mac OS]]) to control the computer hardware and software.
* [[Cryptography]] (hiding data)
* [[Cryptography]] (hiding data)
* [[Parallel computing]] (many instructions are carried out simultaneously)
* [[Theoretical computer science]] (how information can be processed)


=== Computer science at work ===
=== Computer science at work ===
* [[Artificial intelligence]] (making computers learn and talk, similar to people)
* [[Artificial intelligence]] (making computers learn and talk, similar to people)
* [[Computer algebra]] (using computers for [[Mathematics|Mathematical problems]])
* [[Computer architecture]] (building a computer)
* [[Computer architecture]] (building a computer)
* [[Computer graphics]] (making pictures with computers)
* [[Computer graphics]] (making pictures with computers)
Line 77: Line 78:
* [[Robot]]s (using computers to control machines)
* [[Robot]]s (using computers to control machines)
* [[Software engineering]] (how [[programmer]]s write programs)
* [[Software engineering]] (how [[programmer]]s write programs)
* [[Blockchain]] (use blockchain technology for security, and privacy)


=== What computer science does ===
=== What computer science does ===
* [[Benchmark]] (''<s><u>testing a computer's power or speed)</u></s>''
* [[Benchmark]] (testing a computer's power or speed)
* [[Computer vision]] (how computers can see and understand images)
* [[Computer vision]] (how computers can see and understand images)
* [[Collision detection]] (how computers help robots move without hitting something)
* [[Collision detection]] (how computers help robots move without hitting something)
Line 90: Line 92:
* [[Human-computer interaction]] (how humans use computers)
* [[Human-computer interaction]] (how humans use computers)
* [[Information security]] (keeping data safe from other people)
* [[Information security]] (keeping data safe from other people)
* [[Internet]] (a large [[network]] that joins almost all computers)
* [[Internet]] (a large [[Computer network|network]] that joins almost all computers)
* [[Web application]]s (computer programs on the Internet)
* [[Web application]]s (computer programs on the Internet)
* [[Software optimization|Optimization]] (making [[software|computer programs]] work faster)
* [[Software optimization|Optimization]] (making [[software|computer programs]] work better)
* [[Software metric]]s (ways to measure computer programs, such as counting lines of code or number of operations)
* [[Software metric]]s (ways to measure computer programs, such as counting lines of code or number of operations)
* [[Very large system integration|VLSI design]] (the making of a very large and complex computer system)
* [[Very large system integration|VLSI design]] (the making of a very large and complex computer system)
Line 98: Line 100:
==Related pages==
==Related pages==
* [[Computing]]
* [[Computing]]
* [[Formal language]]
* [[Turing Award]]
* [[Turing Award]]
* [[Computer jargon]]
* [[Computer jargon]]
Line 103: Line 106:


==References==
==References==
{{reflist}}
{{Computer science}}
{{Sister project links| wikt=computer science|c=Category:Computer science | b=Computer science | q=Computer science|n=no|s=no| v=Computer science | voy=no | species=no | d=no}}
{{Sister project links| wikt=computer science|c=Category:Computer science | b=Computer science | q=Computer science|n=no|s=no| v=Computer science | voy=no | species=no | d=no}}


{{reflist}}
{{authority control}}
{{authority control}}
[[Category:Computer science| ]]
[[Category:Computer science| ]]

Latest revision as of 13:00, 18 March 2024

large capital lambda Plot of a quicksort algorithm
Example of Computer animation produced using Motion capture Basic computer architecture
Computer science deals with the theoretical foundations of computation and practical techniques for their application.

Computer science is the science of information. Computer scientists study different ways of reading, using, and encoding information.

There are many different areas within computer science. In some areas, scientists only work with ideas "on paper". In other areas they use those ideas to make things like computers and computer programs.

A person who works in computer science will often need to understand logic and mathematics.

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

Asking questions[change | change source]

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

While computers can do some things easily (like simple math, or sorting out a list of names from A-to-Z), 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 a specific set of instructions or steps on how to complete a task. For example, a computer scientist wants to sort playing cards. There are many ways to sort them - by suits (diamonds, clubs, hearts, and spades) or by numbers (2, 3, 4, 5, 6, 7, 8, 9, 10, Jack, Queen, King, and Ace). By deciding on a set of steps to sort the cards, the scientist has created an algorithm. The scientist then needs to test whether this algorithm works. This shows how well and how fast the algorithm sorts cards.

A simple but slow algorithm is: pick up two cards and check whether they are sorted correctly. If they are not, reverse them. Then do it again with another two, and repeat them all until they are all sorted. This is called a bubble sort. This method will work, but it will take a very long time.

A better algorithm is: find the first card with the smallest suit and smallest number (2 of diamonds), and place it at the start. After this, look for the second card, and so on. This algorithm is much faster, and does not need much space. This algorithm is called a "selection sort".

Ada Lovelace wrote the first computer algorithm in 1843, for a computer that was never finished. Computers began during World War II.[1] Computer science separated from the other sciences during the 1960s and 1970s. Now, computer science has its own methods, and has its own technical terms. 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 (hardware). 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]

Related pages[change | change source]

References[change | change source]

  1. "A Brief History of Computer Science | World Science Festival". World Science Festival. Retrieved 2018-03-20.