Let Σ = {0, 1, 2}. Draw the diagram of a finite state machine that takes as input two strings from Σ∗ and outputs their sum (as ternary strings). The machine should read pairs of digits at a time – one from the first string in the sum, and one from the second string in the sum.

As, when a number is divided by 3, there are only 3 possibilities.
The remainder can be either 0, 1 or 2. Here, state 0 represents
that the remainder when the number is divided by 3 is 0. State 1
represents that the remainder when the number is divided by 3 is 1
and similarly state 2 represents that the remainder when the number
is divided by 3 is 2. So if a string reaches state 0 in the end, it
is accepted otherwise rejected.
Let Σ = {0, 1, 2}. Draw the diagram of a finite state machine that takes...
4. Construct a finite-state machine that changes every other bit, starting with the second bit, of an input string, and leaves the other bits unchanged. (Show as a diagram.) 5. Construct a finite-state machine that accepts bit strings that contain at least 3 consecutive 1's. 6. Construct a finite-state machine that accepts bit strings that do not contain any 3 consecutive l's
4. Construct a finite-state machine that changes every other bit, starting with the second bit, of an input...
Design the following finite state machine (FSM). It has two 1-bit inputs (in1 and in2) and two 1-bit outputs (out1 and out2). The first output (out1) bit should be equal to one if, on both of the last two cycles, in1 and in2 were EQUAL to each other; otherwise, out1 should equal zero. The second output (out2) should be equal to 1 if, on the last cycle, in1 and in2 were NOT EQUAL to each other; otherwise, out2 should equal...
Let L = {0^n 1^n | n ≥ 0}. Draw the state diagram of a Turing
machine deciding L= Σ∗\L(basically the complement of L), where Σ =
{0,1}, and Γ = {0,1,#,U}, and “\” is set subtraction.
I understand that the complement of L will be {0^n 1^m | n=!m} U
{(0 U 1)* 1 0 {0 U 1)*}.
How should I draw the state diagram with this?
Let L = {0"1" | n > 0}. Draw the state diagram...
Consider a finite state machine with a control input called mode. When mode = 0, the machine operates as a mod-3 down counter, where the outputs are the count values. When mode = 1, the machine's output progresses through 1133 number (1 digit per clock cycle). Complete each of the steps which follow. (a) Draw the state diagram for this machine. (b) Write RTL Verilog code which implements this design. Submit your printed source code by the due date and...
2. Let Σ={0,1}be the alphabet for this part. Draw an FSM bubble diagram which accepts the language of all binary strings which represent integers evenly divisible by 3. Thus, your machine should accept 0, 11, 110, 1001, 1100, 1111, 10010, etc. We won't be fussy about leading 0's on your integers, so you have the option to accept or reject 00, 011, and also empty string {?}.
Plz show all the steps
A Moore finite state machine has one input X and one output Z. Let No be the number of O's received so far on the input X. Also, let N be the number of 1's received so far on the input A Finally, let the difference D = Ni-No and let the sum S= M + No. The output Z is equal to 1 when the following conditions are satisfied: D 20 and 1 SSs4....
Design a state machine that implements the following description: Let’s design a simple controller for an elevator. The elevator can be at one of two floors: first or second. There is a button that controls the elevator (one input), and it has two values: up or down. Also, there are two lights in the elevator that indicate the current floor: blue for first, and yellow for second. At each time step, the controller checks the current floor and current input...
Discrete mathematics
2) Let be eumber of ternary strings (of 0s, 1s and 2s) of length n that have no adjacent even digits. For example, so (the empty string), s3 (the strings 0, 1 and 2), while s2 5: 01, 0, 12, 2 because the strings 00,02, 20, 22 are not allowed, as they have adjacent even digits. As another example, the string 10112 is allowed, while the strings 10012 and 120121 are not allowed (a) Find #3; (b) find...
3. Finite State Machine. Using a ROM based finite state machine (FSM), design a bi-directional repetitive 3-bit modulo-6 (0,1,2,3,4,5) counter (see Table 3). The design has one input named Dir and three outputs named B2, B1 and BO. The outputs (B2, B1 and BO) are dependent upon being in the present state only. After each clock pulse, when Dir is at logic "O', the outputs (B2, B1, BO) step through the count sequence in following order:- 0,1,2,3,4,5. After each clock...
Design a finite state machine for a traffic light at the intersection of north-south traffic and east-west traffic. The light can be red, green or yellow. Assume a 30 second clock. Assume that the light will change only if a car is coming in the other direction. If cars are in both north-south and east-west, the light will change from one direction to the other. What are the machine states? What are the inputs? What are the outputs? Draw state...