Save
Upgrade to remove ads
Busy. Please wait.
Log in with Clever
or

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever
or

Username is available taken
show password


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
Your email address is only used to allow you to reset your password. See our Privacy Policy and Terms of Service.


Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.
focusNode
Didn't know it?
click below
 
Knew it?
click below
Don't Know
Remaining cards (0)
Know
0:00
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how

FA4- Automata

QuestionAnswer
1. TRUE OR FALSE. Elimination of null and unit productions and symbols is called reduction of CFG Group of answer choices True False TRUE
2. TRUE OR FALSE. Given the CFG with P: S -> AC | a, A -> a. After simplification of the CFG, the resulting grammar is S λ. FALSE
3. FILL IN THE BLANKS (use all caps for your answer). A reduced _______ is the result of removing useless symbols and productions. GRAMMAR
4. FILL IN THE BLANKS (use all caps for your answer). Useless symbols are those variables and terminals that do not appear in any derivation of strings of _________. TERMINALS
5. FILL IN THE BLANKS. Given the CFG with P: S --> AC | a, A --> a. The non-generating symbol is ___. C
6. FILL IN THE BLANKS. Consider the CFG with P: S --> aC | bX A --> CAd | bSX | a C --> aSC | bCX X --> SCD | aCX | ad After simplification, the resulting grammar is S bX and X ___. ad
7. TRUE OR FALSE. Consider the CFG with P: S --> aC | bX A --> CAd | bSX | a C --> aSC | bCX X --> SCD | aCX | ad Is X a useful symbol? TRUE
8. TRUE OR FALSE. Consider the CFG with P: S --> aC | bX A --> CAd | bSX | a C --> aSC | bCX X --> SCD | aCX | ad Is A reachable? FALSE
9. TRUE OR FALSE. Consider the CFG with P: S --> aC | bX A --> CAd | bSX | a C --> aSC | bCX X --> SCD | aCX | ad Is C useful? FALSE
10. TRUE OR FALSE. In a CFG, a non-terminal symbol is nullable if there is a derivation that starts with that non-terminal symbol and leads to a null. TRUE
11. TRUE OR FALSE. A CFG is in CNF if a production has a non-terminal leads to a string of a non-terminal and a terminal symbol. FALSE
12. TRUE OR FALSE. If a production has a non-terminal symbol leading to a terminal symbol, it is said to be in CNF. TRUE
13. TRUE OR FALSE. The production B cDa is in GNF. FALSE
14. TRUE OR FALSE. The production D dD is not in GNF. FALSE
15. TRUE OR FALSE. One of the steps in converting a CFG into GNF is removing all null productions and not removing unit productions. FALSE
Created by: krazyhippo
 

 



Voices

Use these flashcards to help memorize information. Look at the large card and try to recall what is on the other side. Then click the card to flip it. If you knew the answer, click the green Know box. Otherwise, click the red Don't know box.

When you've placed seven or more cards in the Don't know box, click "retry" to try those cards again.

If you've accidentally put the card in the wrong box, just click on the card to take it out of the box.

You can also use your keyboard to move the cards as follows:

If you are logged in to your account, this website will remember which cards you know and don't know so that they are in the same box the next time you log in.

When you need a break, try one of the other activities listed below the flashcards like Matching, Snowman, or Hungry Bug. Although it may feel like you're playing a game, your brain is still making more connections with the information to help you out.

To see how well you know the information, try the Quiz or Test activity.

Pass complete!
"Know" box contains:
Time elapsed:
Retries:
restart all cards