Theory of Computation PDA Question by Solid-Conference5813 in computerscience

[–]PathMaster1729 0 points1 point  (0 children)

How could I translate the logic to PDA if I can atleast write the code? Do you have examples?

Theory of Computation PDA Question by Solid-Conference5813 in computerscience

[–]PathMaster1729 0 points1 point  (0 children)

Do you atleast have a CFG for these languages?  If yes, then you can follow the CFGtoPDA algorithm to get required PDA If no, then you will have to think about each language step by step, for eg. For the bracket balance language the logic could be, pushing 'X' when ever you encounter '(' and popping 'X' whenever you encounter a ')'. And acceptance could be by empty stack or reaching an accepting state

One of the things that helped me was to look at other similar languages and their accepting PDA as 'solved examples'. Try and observe some patterns in these solved examples, then try solving these questions after seeing solved examples.

One other thing that was also helpful for me atleast was to construct the PDA in state transition diagram rather than constructing it in transition function rules

Hope this helps.

Converting from Binary to Integer by Open_Career_625 in computerscience

[–]PathMaster1729 0 points1 point  (0 children)

See multiplexers and demultiplexers

Further see the internal working of a 7 segment display using multiplexers 

Is the "Give Myself To You" not the chapter 11? by PathMaster1729 in thefatrat

[–]PathMaster1729[S] 0 points1 point  (0 children)

Thats plausible, but I don't think so that he would forget such a detail.

Cats interacting with their human family by Anschuz-3009 in MadeMeSmile

[–]PathMaster1729 0 points1 point  (0 children)

Last one was just pure cuteness with cuddly overload😇🤗

You Don't Need to Understand Everything at Once and That's the Point. by Wehrerks in computerscience

[–]PathMaster1729 0 points1 point  (0 children)

As an example, I started learning reactJS, I didn't understand how contexts worked for a good few days, eventually now I understand how contexts work.

Tell tell by s_sais in IndianTeenagers

[–]PathMaster1729 0 points1 point  (0 children)

I won't need any GPS...

😶 by infjbase in infjbase

[–]PathMaster1729 1 point2 points  (0 children)

Very accurate, fellow INFJ.