I have a question in computation theory and automata . are the variables declared in programming language terminal symbols or non-terminal symbols .
are the variables declared in programming language **terminal** symbols or **non-terminal** symbols
152 Views Asked by GAMEOVER At
1
There are 1 best solutions below
Related Questions in AUTOMATA-THEORY
- how to model and verify model
- Context Free Grammar for L= { a^n b^m c^m d^2n }, where n and m are >= 0
- NFA or e-NFA for the condition , n % 5 = 0 where n is the number of 1s
- Is there a parsing algorithm for languages generated by context-sensitive grammars?
- If an Infinite language is passed to Machine M, the subsidiary which gives a finite solution to the infinite input tape is?
- Automata theory: Formal definition of indistinguishable & distinguishable strings and example confusion
- Can epsilon production be assumed in a left recursive grammar
- Prove that the following problem is undecidable by a reduction from the halting problem:
- what is the Context-Free Grammar for the following language?
- DFA- Set of all strings whose 10th symbol from the right end is 1
- Can we transfer every DFA to DFAs with start state having no in edge?
- NFA or DFA accepting # of positions of 4k between 0's
- Regular expression for odd length of a's and odd length of b's
- Using bracket for automata
- unable to display tables and diagrams in python for non deterministic finite automata
Related Questions in LANGUAGE-THEORY
- Intersection of two Deterministic Finite Automata (DFA)
- Rust is the automatic dereference of Box types prohibative?
- concatenation two strings recursive
- Why is L = {a^ib^i , 0<i<5} regular?
- are the variables declared in programming language **terminal** symbols or **non-terminal** symbols
- Does aabbabb belong to the regular expression ((a*| b*)bb)*?
- Recognizabilty of a set in regards to their size bounds
- Recursive vs recursively enumerable language in Turing Machines?
- Why is TryParse the way round that it is?
- What is the name of this programming language feature and are there any real-world languages that support it?
- What actually is the assignment symbol in python?
- Why can't a left-recursive, non-deterministic, or ambiguous grammar be LL(1)?
- Pumping lemma for CFL
- Confusion over the abstract formatting of an AST declaration of functions
- Alternative to backing up in a scanner?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
According to theory of automata, Variables in programming are nonterminals i.e. a finite set of other symbols, each of which represents a language. Nonterminal symbols (or syntactic variables) are replaced by groups of terminal symbols according to the production rules. In programming, variables are considered to be non-terminals because, variables represents data but not the variables themselves are data. They are just representing the data with names known as non-terminals in automata theory. Since, the variables in programming are obeying the properties of non-terminals in automata theory, variables are said to be non-terminals in programming because the compilers of the programming languages are designed by using automata.
Variables in programming are non-terminals