Who would like to learn some (theoretical) computer science?

Aug 27, 2020 12:11 AM

MrPet

Views

429

Likes

11

Dislikes

0

Because of the big Rona, I am at the moment very bored, thus the idea to make a post about some computer sciency stuff emerged in my brain. Because I suck at programming, I can only offer some theoretical things like simple automata theory, formal languages (regular expressions, context free grammar etc.) and/or turing machines with a bit of complexity and computability (computable vs non-computable problems) sprinkled in.

That means if yall are interested in this kinda stuff, let me know and I will deliver it hot and ready.

computer_science

Deliver that sweet knowledge!!

5 years ago | Likes 1 Dislikes 0

A finite state automata or finite state machine.

4 years ago | Likes 1 Dislikes 0

Rectangle!

5 years ago | Likes 2 Dislikes 0

Well I wasn't there, so of course I am square.

5 years ago | Likes 1 Dislikes 0

I’m ready! Tell me about this diagram!

5 years ago | Likes 2 Dislikes 0

b likes q3 and a likes q4 and q5 equally

5 years ago | Likes 1 Dislikes 0

The diagram is a senseless DFA (deterministic finite automaton).

5 years ago | Likes 2 Dislikes 0

By golly, DFA, FSA, and FSM are all the same thing. The acronym DFA is new to me.

5 years ago | Likes 1 Dislikes 0

A NFA (non-deterministic) could omit edges for actions/letters or have multiple edges for the same action/letter. 2/2

5 years ago | Likes 1 Dislikes 0

The D for deterministic just means that every state has an edge for every action/letter. So that a clear walk is always possible. 1/2

5 years ago | Likes 1 Dislikes 0

DFAs are simple, in the sense of what they can and can't express. A dfa does not have memory like a turing machine so it's not as powerfull.

5 years ago | Likes 2 Dislikes 0

Finite state automata (FSA or FSM). I’ve created many programs based on state machines.

5 years ago | Likes 1 Dislikes 0

I see no exit in this state machine.

5 years ago | Likes 1 Dislikes 0

q1 is the accepting state. Finite state automata may be a more general term, they can be deterministic DFA or non-deterministic NFA.

5 years ago | Likes 1 Dislikes 0