1) Context free Grammar is ?
2) The idea of an automation with a stack as auxiliary storage... ?
3) A Pushdown automata is.....if there is at most one transition applicable to each configuration ?
4) The graphical representation of the transition of finite automata is ?
5) If two sets A and B have no common elements i.e (A intersection B) has no element then such sets are known as ?
7) 'A language is regular if and only if it is accepted by a finite automation' ?
8) Which of the following does not belong to the context free grammer?
9) A regular grammar is a..... ?
10) The context free language are closed under... ?
- A Compiler
- A language expression
- A regular expression
- None of these
Show/Hide Answer
Answer = B
Explanation: Context free Grammar generate the context free languages. These are defined by the rule of the form A -> b Where A a non terminal and b is the string of terminals.
Explanation: Context free Grammar generate the context free languages. These are defined by the rule of the form A -> b Where A a non terminal and b is the string of terminals.
2) The idea of an automation with a stack as auxiliary storage... ?
- Finite automata
- Push down automata
- Deterministic automata
- None of these
Show/Hide Answer
Answer = B
Explanation: Push down automata manipulate the stack, as a part of performing a transition.
Explanation: Push down automata manipulate the stack, as a part of performing a transition.
3) A Pushdown automata is.....if there is at most one transition applicable to each configuration ?
- Deterministic
- Non Deterministic
- Finite
- Non Finite
Show/Hide Answer
Answer = A
Explanation:If in every situation only one transition is available as continuation of computation, then the result is a deterministic push down automation (DPDA).
Explanation:If in every situation only one transition is available as continuation of computation, then the result is a deterministic push down automation (DPDA).
4) The graphical representation of the transition of finite automata is ?
- Finite diagram
- State diagram
- Node diagram
- E-R diagram
Show/Hide Answer
Answer = B
Explanation: State diagram is called the graphical representation of Finite automata.
Explanation: State diagram is called the graphical representation of Finite automata.
5) If two sets A and B have no common elements i.e (A intersection B) has no element then such sets are known as ?
- Intersection
- Union
- Disjoint
- Complement
Show/Hide Answer
Answer = C
Explanation:If two sets have no element in common then they are called disjoint sets.
6) The domain D of the relation R is defined as the.... ? Explanation:If two sets have no element in common then they are called disjoint sets.
- Set of all elements of ordered pair which belongs to R
- Set of all last elements of ordered pair which belongs to R
- Set of all first elements of ordered pair which belongs to R
- None of these
Show/Hide Answer
Answer = C
Explanation: No explanation for this question
Explanation: No explanation for this question
7) 'A language is regular if and only if it is accepted by a finite automation' ?
- The given statement is true
- The given statement is false
- The given statement is partially true
- Sometime true, sometimes false
Show/Hide Answer
Answer = A
Explanation: A regular language is accepted by the finite automation. Every regular language is context free.
Explanation: A regular language is accepted by the finite automation. Every regular language is context free.
8) Which of the following does not belong to the context free grammer?
- Terminal symbol
- Non-terminal symbol
- Start symbol
- End symbol
Show/Hide Answer
Answer = D
Explanation:Context free grammar consist of terminal symbols, non terminal symbols, set of production rules, a start symbol but does not have any End symbol.
Explanation:Context free grammar consist of terminal symbols, non terminal symbols, set of production rules, a start symbol but does not have any End symbol.
9) A regular grammar is a..... ?
- Context free grammar
- Non context free grammar
- English grammar
- None of above
Show/Hide Answer
Answer = A
Explanation: Regular grammar is context free grammar. Such a grammar restricts its rules to a single non terminal on the left hand side and right hand side consisting of a single terminal.
Explanation: Regular grammar is context free grammar. Such a grammar restricts its rules to a single non terminal on the left hand side and right hand side consisting of a single terminal.
10) The context free language are closed under... ?
- Union
- Kleene star
- Concatenation
- All of above
Show/Hide Answer
Answer = D
Explanation: Context free language is closed under union, kleene star and concatenation.
Explanation: Context free language is closed under union, kleene star and concatenation.
Do You Like This? Please take 5 seconds to share with your firends.
0 comments:
Post a Comment