San Jose State UniversityCS 154PoP Quiz #15_ FA20_ CS-154 Sec 04 - Formal Lang and Comput.
4 views 0 purchase
Course
CS 154
Institution
San Jose State University
poP Quiz #15
Due Oct 21 at 11:59pm Points 6 Questions 6
Available after Oct 21 at 9am Time Limit None Allowed Attempts 2
Attempt History
Attempt Time Score
LATEST Attempt 1 less than 1 minute 6 out of 6
Score for this attempt: 6 out of 6
Submitted Oct 21 at 7:23pm
This attempt took less tha...
, 11/9/2020 PoP Quiz #15: FA20: CS-154 Sec 04 - Formal Lang and Comput
n1(w) = number of 1 in string w.
1. {w: 0n1n, n ≥ 0}
2. {w: 0m1n, m,n ≥ 0, m n}
3. {w: n0(w) = n1(w) * 2 }
4. {w: n1(w) = n0(w) * 2}
5. {w: n0(w) < n1(w) }
6. {w: n0(w) > n1(w) }
7. {w: n0(w) = n1(w) }
8. {w: n0(w) n1(w) }
9. {w: w is not a palindrome.}
10. {w: w is a palindrome.}
11. {w: w is a palindrome of even length.}
12. None is a correct answer.
m
er as
co
eH w
o.
Correct!
rs e
ou urc
3
o
orrect Answers 3 (with margin: 0)
aC s
vi y re
Question 2 pts
ed d
ar stu
Consider the following PDA M.
is
Th
sh
Choose the number for the language that is produced by the above
machine M.
L(M) = language _______________ (Fill in a number between 1 and 12)
n0(w)
This study source was downloaded = number of
by 100000823516103 0CourseHero.com
from in string w.on 07-06-2021 09:42:44 GMT -05:00
https://sjsu.instructure.com/courses/1373758/quizzes/1387091?module_item_id=10755460 2/8
https://www.coursehero.com/file/76602473/PoP-Quiz-15-FA20-CS-154-Sec-04-Formal-Lang-and-Computpdf/
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Themanehoppe. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $7.99. You're not tied to anything after your purchase.