Preview

Languages, Grammars and Automata Theory

Powerful Essays
Open Document
Open Document
992 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Languages, Grammars and Automata Theory
Languages, Grammars, and Automata Theory
Discrete Mathematics
Linda Chalk
Colorado Technical University
Professor Timothy Manzke
December 17, 2010

Languages, grammars and automata theory are all related to computer applications. Grammar is the rule for language structure regardless of the meaning. For computer programming languages context free grammar (CFG) is commonly used. Formal language as opposed to natural language must be used with computer applications because natural language is too vague for computer applications. Automata is a way to test an expression to determine if it is part of the language (Pfeifer, 2005).
A deterministic finite automata (DFA) is a machine that is the most simple to understand which will help with the more complicated machines because many important properties of the DFA are found in the more complicated machines. DFA’s are found in many things like vending machines and elevators. The DFA works starting in a ‘start state’ then by reading a string, then producing an output of true or false according to how the machine is setup. As long as there is data entering the machine the output will change according to what was read in and how the configuration of the machine states what the output reports. A deterministic algorithm will always run the same way each time with the input of identical information (Sedgewick, n.d.). The difference between deterministic finite state automata and nondeterministic finite state automata is a DFA can only be in one state at a time when the nondeterminism happens when there is more than one choice of state (LaValle, 2006).
A formal language is defined by alphabet and formation rules. The alphabet is built on a set of symbols that can have special meaning. The formation of the symbols will define well-formed strings which are called words, expressions, formulas or terms (Sakharov, n.d.). Examples of language formation rules are the proposition, p^q, and negation, ~p V ~q.
The



References: bubble sort. (n.d.). Retrieved December 19, 2010, from Your Dictionary.com: http://computer.yourdictionary.com/bubble-sort LaValle, S. M. (2006). Planning Algorithms. Retrieved December 19, 2010, from Nondeterministic Finite Automata: http://planning.cs.uiuc.edu/node558.html Pfeifer, R. F. (2005, November 17). Part II: Automata Theory, Grammars, and Formal Languages Sakharov, A. (n.d.). Formal Language. Retrieved December 17, 2010, from MathWorld: http://mathworld.wolfram.com/FormalLanguage.html Sedgewick, R. a. (n.d.). Finite State Automata. Retrieved December 19, 2010, from cs.princeton.edu: http://www.cs.princeton.edu/introcs/73fsa/

You May Also Find These Documents Helpful

  • Good Essays

    The first language and its rules I will describe is Visual Basic. Visual Basic has a few different rules and they are described on Microsoft’s website in a document. This document is called (“Visual Basic Naming Rules”) and they read as such:…

    • 878 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Unity/501/0598

    • 1800 Words
    • 8 Pages

    Language: May be spoken, written or signed. Sounds or symbols are grouped together to form meaningful words. Symbols or words are grouped together to form meaningful phrases.…

    • 1800 Words
    • 8 Pages
    Good Essays
  • Powerful Essays

    Formal language is communication that focuses on professional expression with attention to roles, protocol, and appearance. It is characterized by its vocabulary and syntax or the grammatical arrangement of words in a sentence.…

    • 2039 Words
    • 9 Pages
    Powerful Essays
  • Powerful Essays

    Ap Psychology Unit 6 Essay

    • 1319 Words
    • 6 Pages

    rules for deriving meaning in a given language. Syntax, also a part of grammar, is a set of…

    • 1319 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    ‘A simple definition’ of language ‘might be that it is “a system of symbols and rules that enable us to communicate” and that ‘words, either written or spoken are symbols’ and ‘rules specify how words are ordered to form sentences’ (Harley, 2008, pg.5). However this can be debated and as a result ‘many linguists think that providing a formal definition of language is a waste of time’ (Harley, 2008, pg5). ‘There is no human society that does not have a fully developed language; being human and being a language user go hand in hand’…

    • 650 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Eymp 5

    • 542 Words
    • 3 Pages

    Language can be defined as being made up of socially shared rules that include the following:…

    • 542 Words
    • 3 Pages
    Satisfactory Essays
  • Better Essays

    In logic languages, rules are not defined into great details as in imperative languages. Rules are specified in no particular order, so implementation must use the language to achieve desired results. Based on idea of using logical sentences to represent programs and perform computations. A very common example is Prolog for a logic language.…

    • 1672 Words
    • 7 Pages
    Better Essays
  • Powerful Essays

    Interview with a Bilingual

    • 1918 Words
    • 8 Pages

    Dulay, H., M.K. Burt & S. Krashen. (1982) Language Two. New York: Oxford University Press.…

    • 1918 Words
    • 8 Pages
    Powerful Essays
  • Good Essays

    Language and Cognition

    • 1135 Words
    • 4 Pages

    There is no one standard definition for the term language, however as the term is used in psychology, certain criteria must be met for vocalizations to be considered language. The critical components of language are that it be communicative, arbitrary, structured, generative, and dynamic. The communicative property of language allows individuals to verbalize and exchange thoughts and ideas. The arbitrary property is that a given sound or symbol represents a certain thing, but it does not matter which sound or symbol is applied to which thing as long as the application is used consistently. The structure of language means that utterances must follow a pattern of established grammatical rules. The generative property of language allows for the combination of words to generate an unlimited number of meanings. The dynamic aspect means that the language is constantly growing and changing, with new words being added.…

    • 1135 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    Effective Communication

    • 1911 Words
    • 8 Pages

    Human spoken and pictorial languages can be described as a system of symbols (sometimes known as lexemes) and the grammars (rules) by which the symbols are manipulated. The word "language" also refers to common properties of languages. Language learning normally occurs most intensively during human childhood. Most of the thousands of human languages use patterns of sound or gesture for symbols which…

    • 1911 Words
    • 8 Pages
    Powerful Essays
  • Better Essays

    The best way to understand and study language is to first define what language is, thereby eliminating such information as animal communication. There are five main points that language must meet are: communicative, arbitrary, structured, generative, and dynamic (Pati, 2000) (STIR, (n.d.)) (Willingham, 2007). Communicative means that the language allows at least two individuals to express themselves and understand the expressions thus are able to communicate (Pati, 2000) (STIR, (n.d)). Arbitrary means that there is no logical reason that any particular element of the language has a particular meaning, nor is there any reason that the meaning of one symbol preclude that the symbol of an opposing symbol have any similarities in its elements (Pati, 2000) (STIR, (n.d.)). Structured means that there must be rules that structure the way the symbols are put together to express meaning, and if the structure is not followed the meaning would either not have meaning, or not express the correct meaning (Pati, 2000) (STIR, (n.d.)). Generative means that that the symbols of the language can be put together in unlimited ways to…

    • 1907 Words
    • 8 Pages
    Better Essays
  • Satisfactory Essays

    Language is structured communication with rules and a set of symbols that are spoken, signed or written.…

    • 722 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    We have seen an example of use of finite automata in describing the operation of a simplified version of vending machine. Many other systems operating in practice can also be modeled by finite automata such as control circuits of computers, computer network communication protocols, lexical analysers for compilers etc. Many of those systems fall into the class of systems called reactive system.…

    • 524 Words
    • 3 Pages
    Satisfactory Essays
  • Better Essays

    ASL and its context

    • 972 Words
    • 4 Pages

    A language is a system composed of several different components, including symbols and grammatical signals. It allows a community or group of individuals a form of interaction, communication, emotional connection, and the ability to pass on traditions and customs from generation to generation. These systems do not have to be vocal auditory, since languages are about communication regarding of the mode. All languages have a set of symbols that can be seen as words or signs representing something in particular. The same goes for grammatical signals, which shows how these symbols are place together in order to convey an idea or thought.…

    • 972 Words
    • 4 Pages
    Better Essays
  • Satisfactory Essays

    Automata, DFA

    • 406 Words
    • 4 Pages

    1. The language L = {w|w has exactly two 0’s and at least two 1’s } is the intersection…

    • 406 Words
    • 4 Pages
    Satisfactory Essays