text
stringlengths
0
381k
==Other uses==
===Common names===
* Compound (music), an attribute of a time signature
* Compound interest, in finance, unpaid interest that is added to the principal
* Compound chocolate, an inexpensive chocolate substitute that uses cocoa but does not have cocoa butter
===Proper names===
* The Compound (book)|''The Compound'' (book), a 2008 young adult novel by S. A. Bodeen
* Compound (company), a venture capital firm previously known as Metamorphic Ventures
* Eisenhuth Horseless Vehicle Company, or Compound, a former US automobile manufacturer
{{disambiguation}}
Computer science
<div class="thumb tright">
<div class="thumbinner" style="width:300px;">
{| style="border:1px solid #ccc;"
|-
| File:Lambda lc.svg|144px|alt=large capital lambda|Programming language theory|link=Programming language theory
| File:Sorting quicksort anim frame.svg|144px|alt=Plot of a quicksort algorithm|Computational complexity theory|link=Computational complexity theory
|-
| File:Activemarker2.PNG|144px|alt=Example of Computer animation produced using Motion capture|Computer graphics|link=Computer graphics (computer science)
| File:ABasicComputer.gif|144px|alt=Basic computer architecture|Human–computer interaction|link=Computer architecture
|}
<div class="thumbcaption"> Computer science deals with the theoretical foundations of computation and practical techniques for their application.</div>
</div>
</div>
'''Computer science''' is the science of information. Computer scientists study different ways of reading, using, and code|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 program|computer programs.
A person who works in computer science will often need to understand logic and mathematics.
== Common tasks for a computer scientist ==
=== Asking questions ===
This is so people can find new and easier ways to do things, and to use information to approach problems.
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 f...
=== Answering the question ===
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...
A simple but slow algorithm is: from one end of the deck, take the first and second cards and check whether they are sorted in the correct order. If they are not, switch them so they are sorted. Do this again with the second and third cards. Repeat these steps with the third and fourth cards, and continue until you get...
A better algorithm is: find the first card with the smallest suit and smallest number (ace of spades, according to :en:Standard_52-card_deck#New-deck_order_(NDO)|New Deck Order), and place it at the start. After this, look for the second card, and so on. This algorithm is much faster than bubble sort. This algorithm is...
Ada Lovelace wrote the first computer algorithm in 1843, for a computer that was never finished. Computer software 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=...
Computer science has two areas of study. They are known as theoretical computer science and applied computer science. Theoretical computer science looks at how computers do things so that computers can be faster. It also tries to figure out what the limits of computers are. Applied computer science looks at what comput...
Computer engineering looks at the physical computer hardware|parts of computers (hardware). Software engineering looks at the use of software|computer programs and how to make them.
== Parts of computer science ==
=== Central math ===
* Boolean algebra (when something can only be true or false)
* Computer numbering formats (how computers count)
* Discrete mathematics (math with numbers a person can count)
* Symbolic logic (clear ways of talking about math)
*Order of operations (which Operation (mathematics)|math operations are performed first)
=== How an ideal computer works ===
* Algorithmic information theory (how easily can a computer answer a question?)
* computational complexity theory|Complexity theory (how much time and memory does a computer need to answer a question?)
* Computability theory (can a computer do something?)
* Information theory (math that looks at information|data and how to process data)
* Computation|Theory of computation (how to answer questions on a computer using algorithms)
* Graph theory (math that looks for directions from one point to another)
* Type theory (what kinds of data should computers work with?)
* Denotational semantics (math for computer languages)
* Algorithms (looking at how to answer a question)
* Compilers (turning words into computer programs)
* Lexical analysis (how to turn words into data)
* Microprogramming (how to control the most important part of a computer)
* Operating systems (big computer programs, e.g. Linux, Microsoft Windows, Mac OS to control the computer hardware and software)
* Cryptography (hiding data)
* Parallel computing (doing many instructions at the same time)
* Theoretical computer science (how information can be processed)
=== Computer science at work ===
* Artificial intelligence (making computers learn and talk, similar to people)
* Computer architecture (designing a computer)
* Computer graphics (making pictures with computers)
* Computer networks (joining computers to other computers)
* Computer program (how to tell a computer to do something)
* Computer programming (writing, or making, computer programs)
* Computer security (making computers and their data safe)
* Databases (a way to sort and keep data)
* Data structure (how to build or group data)
* Distributed computing (using more than one computer to solve a difficult problem)
* Information retrieval (getting data back from a computer)
* Programming languages (languages that a programmer uses to make computer programs)
* Program specification (what a program is supposed to do)
* Program verification (making sure a computer program does what it should do, see debugging)
* Robotics (using computers to control robots and machines)
* Software engineering (how programmers write programs)
* Blockchain (use blockchain technology for security, and privacy)
=== What computer science does ===
* Benchmark (testing a computer's power or speed)
* Computer vision (how computers can see and understand images)
* Collision detection (how computers help robots move without hitting something)