Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Loading...
User Settings
close menu
Welcome to Scribd!
Upload
Read for free
FAQ and support
Language (EN)
Sign in
0 ratings
0% found this document useful (0 votes)
15 views
Toc 04
Uploaded by
Ritu Raj
AI-enhanced
Copyright:
© All Rights Reserved
Available Formats
Download
as PDF or read online from Scribd
Download
Save
Save TOC 04 For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Toc 04
Uploaded by
Ritu Raj
0 ratings
0% found this document useful (0 votes)
15 views
16 pages
AI-enhanced title
Document Information
click to expand document information
Original Title
TOC 04
Copyright
© © All Rights Reserved
Available Formats
PDF or read online from Scribd
Share this document
Share or Embed Document
Sharing Options
Share on Facebook, opens a new window
Facebook
Share on Twitter, opens a new window
Twitter
Share on LinkedIn, opens a new window
LinkedIn
Share with Email, opens mail client
Email
Copy link
Copy link
Did you find this document useful?
0%
0% found this document useful, Mark this document as useful
0%
0% found this document not useful, Mark this document as not useful
Is this content inappropriate?
Report
Copyright:
© All Rights Reserved
Available Formats
Download
as PDF or read online from Scribd
Download now
Download as pdf
Save
Save TOC 04 For Later
0 ratings
0% found this document useful (0 votes)
15 views
16 pages
Toc 04
Uploaded by
Ritu Raj
AI-enhanced title
Copyright:
© All Rights Reserved
Available Formats
Download
as PDF or read online from Scribd
Save
Save TOC 04 For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download as pdf
Jump to Page
You are on page 1
of 16
Search inside document
Fullscreen
26+h Jul) 2023 q sols) The alt possible sequence of States folloded by oe | [znpat string ‘oloo’ is given NDFA ore Shown belo: ee ee ge ae bees | 43 iL B B 2 te A any The all. states aie by the rg | is Bis indicated as Shown) be} nde S* (40, otos)= $40,44-43, 24) it JAW Possible Paths followed by the Input String, ‘elos’ Oeeit “a0 £ vy ‘ Path of = 9o-9 Fe 540-2540 259 j[Pathix2 ¢ 4o-23 potd Jol qo 2 344 Path 93% Jo-25 Jo+oqo2993 9 3 qy Path 04 & Jos Jo +3 qy ath 85% 40 79 13The given string < ejoc' is completely Consumed ox Priessed | SY Petiowing Path di Path2 bat NFA halts IN Non-Final | LE States Yo and 43° vespectively therefore the Sting! cioc’ is | _ Net lacepled ty path 4d) and Path 2 | | ee The Given Shiny ‘Gico" is Completely consumed by Path 3 and NFA halts of Alene Final Stele 4q There #he sting toien is accepted: by path. Bisot a “The Shing ‘odoo' is) not completely donsumed bY Path ‘Gand Paths - eens the eticcal AS Qo+ eared by Using. | these es 1 n Sd na nick edie bar _dppd . xopdd| : iar | Ace Neo og by ND : In DEA, a Sting is Said to be accepted sif the Tanai _System halts in a Final state after PIBLESSING. the enn __ String. since thee can be Only one Possible Path Far g ————— mines. Satts “Shing in DEA, we can definatly conFisrn Whether a pe ne accepted the ae i one path that leads to a Final state after complete cone f Sumphen of stAng then the shing is ¢& States te the accepted by NFA. * Examples consides- NFA given in Pellowing TTabe. Identify all possible Sequence of states and Paths Followed by sthe znput Sting [38 abb | bbe ee bbaga , baal, iero Hgeitt The all Possible sequence of states Followed eying 'abb' 15 given NDFA Shxon below 8% (ae, abb)=8{4,6.'5) Path + Jo —*9 4329 dF 2) bbaaa i AL re it ¢ Xe. rs ne ae shez p p oats pinay eo y 5 1 43 r Fre 8% (Jo, bbaaa)= f41/23,48 Al) Possible Paths are shown belod> pathi-— te qe b> 40 S548 : Path2 — do—>> dos 41 29 42 Path3 — to 29 qo > 44 8 2 [Path — to Par a ee ee| S¥ (qo, baab)= § 94-9243, te} All Possible Paths ave shown below? Pathd — qo 2s qo 43 Path 2 - de P5442 5 qo 5 05 Path 3 — 4o—P 5 W525 a3 bo aE The string 'baab’ is complekly consumed by NFA 2 N Dh ioh aesien ee ates fe AS 4 labd and aacd. | j going-| The Symbol Set for the. FAO: : ee [ee fawicr ay |_The language set for the | Caiven FA. | Leg abc, abd aacdy | the FA fer the Given Language The constwded FA is described as _ Ae) Aho 5, BG AoE) Pe ts Wheres Q=f 40194, 12,93) Witey Bibicid Yip fe} oppyprial 10 5 q0,a)=42, §(4i b= 12) $C4. $(42d)= VF 8(43 ,Cd= 44. (42) desig Pei are] [Design FA do ace Soins | The Symbol Set For eA ies Pia we | athe ‘Language set st | Ta npiese dy Be AR ea ee | Le Yab,aab,abb , aabb b The : ea fre LS Zonsinvcied as Follows? } any | == aoe a The came FA is described oS Follows: a’ M=(Quz, $) 401F) = 4 ‘ where, — i : s ee @24 40,44, IF) : =faiby & |e a=44, S44 blade, S44) 94 SAE Wea Yo= Initia) state Fs {ar} Constevel- the FA of the eae The symbol set for given EA wage L=S am es | min} ee fatbNiwe)4 ap az The Language set fos given FA {asbeb ab, abb, aabb S_Constructed! jas Toilews * FR OF Lhe Language ee ee oo: _The constrded Fa is described by __™= (9) 840,86) an 3 oy) Design the DFA fir the language (fiat } Such every Shing WL. |W ends With di andi and ends with zero ,Stavts ith 4. Soi8t The Symbol Set for givenFA Z=fody The language set for gvenItA L+{ 0440, 004 Fodd, OMIO, 2255 The constweied DFA. is f= (9,215, 401F) DHE, i | 407 44,42 193,44* Equivalence of NEA AX DFAS In the Case of FA, TWO Strvchurely diFfeeEnt FA i _ ke be equivalent if there behaviour towards Shing Kp _\s the same. “ 4 _Exampler i Les ‘ ek, there be Too. Fine Automate » M4 (NFA) ao _ these are equivalent if evesy stang, D accepled by iy s alse accepted by Ma .and every Shing % Belected by 1, — fale abe rejected by Ma and vise versa fe si tos EA Ase equivalent if their acceptance & non: Converting NEA to ifs equivalent DFAg ; Example ¢ i ea cere ot) convert the 5 Polloging NFA *4olits equivalent DEA. i Curent tp Smee! State ae: : — eal Aotie oh el Aes _ W4e Gen ope: xe ;The obtain Dea or corehruced BFA Ws ae — fre (9. 8:48) :g [oS “convert the. NFA eave nn Fl lowing, Figure toi ana ; 7 LT] capent ZIP. sie a I stale aw os ie ae = [a1] [at.a2] [1] : He | basi ib i z r 7&4 = [s4.92 pbs || ) Fatary | E a aay [41-42] =a sl The aca OEE or Gnehied FA is Eee! as Plows. Me(Q.e) S40, F) oe , a-{, ea), an}| ©4St Avg 2023 Fiz Initial Stede Fe} (a4, 46)) E "0 coment the NFA given in Following Table +o its coovespending! DFA ea mal | | cumzent FIP. Syyabels ‘a Ec Groebpeel) yoo tori, aa e a4 ta . | io 42 MeO. 43 eo 43 ‘Ww 93 . " 1 34F = i a : Er ; SoIMF | ANN equivalent DFA PF given NFA is Sho2n below: 7q cursent TIP Symbo) s state ° 3 i = [ar (22] (ar] F : al 42 = ie) é E (a5) = (as) [fay] 1 : = : Pan me Ud A j . ie {s.24) ld £%-4i) 4%) | t[ts,4F) | Cig. 12) (93,9F] (3aJ| es eee DEA is describe as pes | thew “ebbein DFA oF consreted DIA vied DF seudescree Be 8 Felag re lees One Ap. ep) ist faa, (al. ud. ag) (ig), (23-47) sa) [say yy [ee Youd} = [eas E sate : | ransiten is shoon In felloding diagear) Ag | L 43 UH = Initial State. Fe § Gq, (13,99 aj = sar)| Sen) chibhcl : Transifon is sheen in SE Tee one. qe= Initia) State 2 } fae 44:42,43), fioa.4a]} 28) Design a DFA oves fort} to accePh ol) Shing ending ai, ol ot do. lar i = ie The SYmMbo) Set for DFA z=}o ay pt The language’ Set! fer the DEA | b=} e4, 40 1604, 104,00, 110, - --} | ] i ane DEA By the Given Shing. is constwcled as belo’ the consineted FA is an. NFA eae ane abtai an equivalent DFA as Shown belo:a oes q vi . B. S ee Cosent Tip Symbol State 6 a [}> [se] | (aays Weep [ae] | [| [aoa] | Tas. aa} fa a.) '40142] fies da ar} ‘Beras] To 92¢6})|- Go.a4,9F] | (Go, a2] bar e 7 Guy (ae 2] Ge.a2 ar] [The obtain DEA is descvibe aS Follaost M=(@1S, $:doiF) Bs. Where » || [92) (ae), (fea, (fear Gon ay, Casaiadt | | z=fo.4} i | the fransiken is shawn in diagramy below s l ee aaaa oar}. [90122 Ae)\
You might also like
The Subtle Art of Not Giving a F*ck: A Counterintuitive Approach to Living a Good Life
From Everand
The Subtle Art of Not Giving a F*ck: A Counterintuitive Approach to Living a Good Life
Mark Manson
Rating: 4 out of 5 stars
4/5 (6016)
Principles: Life and Work
From Everand
Principles: Life and Work
Ray Dalio
Rating: 4 out of 5 stars
4/5 (625)
The Gifts of Imperfection: Let Go of Who You Think You're Supposed to Be and Embrace Who You Are
From Everand
The Gifts of Imperfection: Let Go of Who You Think You're Supposed to Be and Embrace Who You Are
Brené Brown
Rating: 4 out of 5 stars
4/5 (1113)
Never Split the Difference: Negotiating As If Your Life Depended On It
From Everand
Never Split the Difference: Negotiating As If Your Life Depended On It
Chris Voss
Rating: 4.5 out of 5 stars
4.5/5 (909)
The Glass Castle: A Memoir
From Everand
The Glass Castle: A Memoir
Jeannette Walls
Rating: 4.5 out of 5 stars
4.5/5 (1739)
Sing, Unburied, Sing: A Novel
From Everand
Sing, Unburied, Sing: A Novel
Jesmyn Ward
Rating: 4 out of 5 stars
4/5 (1245)
Grit: The Power of Passion and Perseverance
From Everand
Grit: The Power of Passion and Perseverance
Angela Duckworth
Rating: 4 out of 5 stars
4/5 (619)
Hidden Figures: The American Dream and the Untold Story of the Black Women Mathematicians Who Helped Win the Space Race
From Everand
Hidden Figures: The American Dream and the Untold Story of the Black Women Mathematicians Who Helped Win the Space Race
Margot Lee Shetterly
Rating: 4 out of 5 stars
4/5 (937)
The Perks of Being a Wallflower
From Everand
The Perks of Being a Wallflower
Stephen Chbosky
Rating: 4.5 out of 5 stars
4.5/5 (2120)
Shoe Dog: A Memoir by the Creator of Nike
From Everand
Shoe Dog: A Memoir by the Creator of Nike
Phil Knight
Rating: 4.5 out of 5 stars
4.5/5 (546)
The Hard Thing About Hard Things: Building a Business When There Are No Easy Answers
From Everand
The Hard Thing About Hard Things: Building a Business When There Are No Easy Answers
Ben Horowitz
Rating: 4.5 out of 5 stars
4.5/5 (358)
Her Body and Other Parties: Stories
From Everand
Her Body and Other Parties: Stories
Carmen Maria Machado
Rating: 4 out of 5 stars
4/5 (831)
Elon Musk: Tesla, SpaceX, and the Quest for a Fantastic Future
From Everand
Elon Musk: Tesla, SpaceX, and the Quest for a Fantastic Future
Ashlee Vance
Rating: 4.5 out of 5 stars
4.5/5 (479)
Bad Feminist: Essays
From Everand
Bad Feminist: Essays
Roxane Gay
Rating: 4 out of 5 stars
4/5 (1062)
The Emperor of All Maladies: A Biography of Cancer
From Everand
The Emperor of All Maladies: A Biography of Cancer
Siddhartha Mukherjee
Rating: 4.5 out of 5 stars
4.5/5 (275)
Steve Jobs
From Everand
Steve Jobs
Walter Isaacson
Rating: 4.5 out of 5 stars
4.5/5 (814)
The Outsider: A Novel
From Everand
The Outsider: A Novel
Stephen King
Rating: 4 out of 5 stars
4/5 (1953)
Angela's Ashes: A Memoir
From Everand
Angela's Ashes: A Memoir
Frank McCourt
Rating: 4.5 out of 5 stars
4.5/5 (443)
Brooklyn: A Novel
From Everand
Brooklyn: A Novel
Colm Tóibín
Rating: 3.5 out of 5 stars
3.5/5 (2029)
The Little Book of Hygge: Danish Secrets to Happy Living
From Everand
The Little Book of Hygge: Danish Secrets to Happy Living
Meik Wiking
Rating: 3.5 out of 5 stars
3.5/5 (434)
The World Is Flat 3.0: A Brief History of the Twenty-first Century
From Everand
The World Is Flat 3.0: A Brief History of the Twenty-first Century
Thomas L. Friedman
Rating: 3.5 out of 5 stars
3.5/5 (2281)
A Man Called Ove: A Novel
From Everand
A Man Called Ove: A Novel
Fredrik Backman
Rating: 4.5 out of 5 stars
4.5/5 (4952)
The Yellow House: A Memoir (2019 National Book Award Winner)
From Everand
The Yellow House: A Memoir (2019 National Book Award Winner)
Sarah M. Broom
Rating: 4 out of 5 stars
4/5 (99)
The Sympathizer: A Novel (Pulitzer Prize for Fiction)
From Everand
The Sympathizer: A Novel (Pulitzer Prize for Fiction)
Viet Thanh Nguyen
Rating: 4.5 out of 5 stars
4.5/5 (125)
Yes Please
From Everand
Yes Please
Amy Poehler
Rating: 4 out of 5 stars
4/5 (1961)
Devil in the Grove: Thurgood Marshall, the Groveland Boys, and the Dawn of a New America
From Everand
Devil in the Grove: Thurgood Marshall, the Groveland Boys, and the Dawn of a New America
Gilbert King
Rating: 4.5 out of 5 stars
4.5/5 (273)
The Art of Racing in the Rain: A Novel
From Everand
The Art of Racing in the Rain: A Novel
Garth Stein
Rating: 4 out of 5 stars
4/5 (4264)
A Tree Grows in Brooklyn
From Everand
A Tree Grows in Brooklyn
Betty Smith
Rating: 4.5 out of 5 stars
4.5/5 (1934)
The Woman in Cabin 10
From Everand
The Woman in Cabin 10
Ruth Ware
Rating: 3.5 out of 5 stars
3.5/5 (2599)
A Heartbreaking Work Of Staggering Genius: A Memoir Based on a True Story
From Everand
A Heartbreaking Work Of Staggering Genius: A Memoir Based on a True Story
Dave Eggers
Rating: 3.5 out of 5 stars
3.5/5 (232)
Team of Rivals: The Political Genius of Abraham Lincoln
From Everand
Team of Rivals: The Political Genius of Abraham Lincoln
Doris Kearns Goodwin
Rating: 4.5 out of 5 stars
4.5/5 (235)
Wolf Hall: A Novel
From Everand
Wolf Hall: A Novel
Hilary Mantel
Rating: 4 out of 5 stars
4/5 (4059)
Fear: Trump in the White House
From Everand
Fear: Trump in the White House
Bob Woodward
Rating: 3.5 out of 5 stars
3.5/5 (805)
On Fire: The (Burning) Case for a Green New Deal
From Everand
On Fire: The (Burning) Case for a Green New Deal
Naomi Klein
Rating: 4 out of 5 stars
4/5 (75)
Rise of ISIS: A Threat We Can't Ignore
From Everand
Rise of ISIS: A Threat We Can't Ignore
Jay Sekulow
Rating: 3.5 out of 5 stars
3.5/5 (139)
Manhattan Beach: A Novel
From Everand
Manhattan Beach: A Novel
Jennifer Egan
Rating: 3.5 out of 5 stars
3.5/5 (883)
John Adams
From Everand
John Adams
David McCullough
Rating: 4.5 out of 5 stars
4.5/5 (2520)
The Unwinding: An Inner History of the New America
From Everand
The Unwinding: An Inner History of the New America
George Packer
Rating: 4 out of 5 stars
4/5 (45)
The Light Between Oceans: A Novel
From Everand
The Light Between Oceans: A Novel
M.L. Stedman
Rating: 4.5 out of 5 stars
4.5/5 (789)
The Constant Gardener: A Novel
From Everand
The Constant Gardener: A Novel
John le Carré
Rating: 3.5 out of 5 stars
3.5/5 (109)
Experiment 03
Document
6 pages
Experiment 03
Ritu Raj
No ratings yet
Experiment 05
Document
3 pages
Experiment 05
Ritu Raj
No ratings yet
TOC (03rd Aug - 04th Aug)
Document
12 pages
TOC (03rd Aug - 04th Aug)
Ritu Raj
No ratings yet
Saquib Ahmad Algorithm Design Strategy
Document
11 pages
Saquib Ahmad Algorithm Design Strategy
Ritu Raj
No ratings yet
SB Collect
Document
2 pages
SB Collect
Ritu Raj
No ratings yet
Little Women
From Everand
Little Women
Louisa May Alcott
Rating: 4 out of 5 stars
4/5 (105)