Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

San Jose State UniversityCS 154Pop Quiz #14_ FA20_ CS-154 Sec 04 - Formal Lang and Comput.

Beoordeling
-
Verkocht
-
Pagina's
8
Cijfer
A+
Geüpload op
06-07-2021
Geschreven in
2020/2021

Pop Quiz #14 Due Oct 19 at 11:59pm Points 3 Questions 3 Available after Oct 19 at 9am Time Limit None Allowed Attempts 2 Attempt History Attempt Time Score KEPT Attempt 2 7 minutes 3 out of 3 LATEST Attempt 2 7 minutes 3 out of 3 Attempt 1 295 minutes 2 out of 3 Score for this attempt: 3 out of 3 Submitted Oct 19 at 4:30pm This attempt took 7 minutes. Question 1 1 / 1 pts Give the language L produced by the following PDA. M. L(M) contains string with less 0's than 1's L(M) contains string with equal numbers of 0's and 1's 11/9/2020 Pop Quiz #14: FA20: CS-154 Sec 04 - Formal Lang and Comput None is a correct answer L(M) contains string with unequal numbers of 0's and 1's Correct! Correct! L(M) contains string with more 0's than 1's Question 2 1 / 1 pts Choose the missing transition in the PDA below to accept the following

Meer zien Lees minder
Instelling
Vak

Voorbeeld van de inhoud

11/9/2020 PoP Quiz #15: FA20: CS-154 Sec 04 - Formal Lang and Comput


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



Take the Quiz Again



Attempt History
Attempt Time Score
LATEST Attempt 1 less than 1 minute 6 out of 6




m
er as
co
Score for this attempt: 6 out of 6




eH w
Submitted Oct 21 at 7:23pm




o.
This attempt took less than 1 minute.
rs e
ou urc
Question 1 pts
o
aC s
vi y re



Consider the following PDA M.
ed d
ar stu
is
Th
sh




Choose the number for the language that is produced by the above
machine M.

L(M) = language _______________ (Fill in a number)

n0(w) = number of 0 in string w.
This study source was downloaded by 100000823516103 from CourseHero.com on 07-06-2021 09:42:44 GMT -05:00

https://sjsu.instructure.com/courses/1373758/quizzes/1387091?module_item_id=10755460 1/8
https://www.coursehero.com/file/76602473/PoP-Quiz-15-FA20-CS-154-Sec-04-Formal-Lang-and-Computpdf/

, 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/

Geschreven voor

Instelling
Vak

Documentinformatie

Geüpload op
6 juli 2021
Aantal pagina's
8
Geschreven in
2020/2021
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$7.99
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF


Ook beschikbaar in voordeelbundel

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
Themanehoppe American Intercontinental University Online
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
347
Lid sinds
4 jaar
Aantal volgers
224
Documenten
3784
Laatst verkocht
2 dagen geleden

3.5

55 beoordelingen

5
25
4
7
3
7
2
3
1
13

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen