Share
Explore BrainMass

Theoretical Computer Science

Theoretical computer science is a division of general computer science and mathematics which focuses on the abstract and mathematical aspects of computing. The field of theoretical computer science is interpreted broadly to include algorithms, data structures, computational complexity, distributed computing, parallel computing, and quantum computing. Work in this field is often distinguished by its emphasis on mathematical technique and formal proofs.

Formal algorithms have existed for many years. However, it was not until 1936 when Alan Turing, Alonzo Church and Stephan Kleene formalized the definition of an algorithm. These developments have led to the modern study of logic, computability and computer science as a whole. Now the filed is abuzz with talk of the future of quantum computing, the most exciting potential future path that modern computing might take.

Turing, Church (credit: Princeton University, Institution of Mathematics) and Kleene (credit: Konrad Jacobs, Erlangen)

The most important fields of theoretical computer science, and accordingly, those most often taught and studied, are as follows:

  • theory of computation, including automata, computability and computational complexity theories
  • programming language theory
  • compiler theory
  • artificial intelligence

Categories within Theoretical Computer Science

Programming Language Theory

Postings: 31

Programming language theory deals with the design and implementation of different computer science languages.

Compiler Theory

Postings: 17

Compiler theory deals with the design, implementation and optimization properties of language compilers.

Theory of computation

Summarize the significance of the halting problem in the field of theoretical computer science.

Write a Turing machine algorithm to perform a unary decrement.

Write a Turing machine algorithm to perform a unary decrement. Assume that the input number may be 0, in which case a single 0 should be output on the tape to signify that the operation results in a negative number. When writing Turing machine algorithm, include comments for each instruction or related group of instructions.

Logic : Turing Machines

Please see the attached file for the fully formatted problems. (a) We wish to design a Turing machine which, using monadic notation, inputs a pair (in, n) of positive integers in standard starting position (on an otherwise blank tape), and which halts scanning the rightmost of a string of in is on an otherwise blank tape. W

Automata

Let  be a 3cnf-formula. An  assignment to the variables of  is one where each clause contains two literals with unequal truth values. In other words an  -assignment satisfies  without assigning three true literals in any clause. a. Show that the negation of any -assignment to

Automata and Computability

Consider the problem of testing whether a Turing machine M on an input w ever attempts to move its head left when its head is on the left-most tape cell. Formulate this problem as a language and show that it is undecidable.

Automata and Computability

A Turing machine with doubly infinite tape is similar to an ordinary Turing machine except that its tape is infinite to the left as well as to the right. The tape is initially filled with blanks except for the portion that contains the input. Computation is defined as usual except that the head never encounters an end to the t

What major features should a perfect programming language include?

I have noticed that there are many languages, is this because no one language has all the major elements needed to be a perfect programming Language? What major features should a perfect programming language include? I am trying to understand the concepts and struggling.

Devise a Turing machine with the indicated characteristics.

Devise a Turing machine with input given in unary notation (i.e., a string of n 1's denotes the integer n, and numbers are delimited by 0's) such that the machine produces the following output: 0 if x is divisible by 4 1 if x is congruent to 1 modulo 4 2 if x is congruent to 2 modulo 4 3 if x is congruent to 3 modulo