Concept explainers
Suppose a two-lane road converges to one lane to pass through a tunnel. To coordinate the use of the tunnel, the following signal system has been installed:
A car entering either end of the tunnel causes red lights above the tunnel entrances to be turned on. As the car exits he tunnel, the lights are turned off. If an approaching car finds a red light on, it waits until the light is turned off before entering the tunnel.
What is the flaw in this system?
Want to see the full answer?
Check out a sample textbook solutionChapter 3 Solutions
Computer Science: An Overview (12th Edition)
Additional Engineering Textbook Solutions
Starting Out with Java: From Control Structures through Objects (6th Edition)
Digital Fundamentals (11th Edition)
Starting Out with C++ from Control Structures to Objects (9th Edition)
Starting Out with C++ from Control Structures to Objects (8th Edition)
Concepts of Programming Languages (11th Edition)
Objects First with Java: A Practical Introduction Using BlueJ (6th Edition)
- Draw the high level state machine and data path for: an elevator that can move between floors 1 and 20 of a building. The destination of the elevator can be set by pressing the button for a specific floor, the value representing the desired floor is F. Once the value of F is input, if the current level C is greater than F the elevator will descend one floor per clock cycle. If the C is less than F, the elevator will ascend one floor per clock cycle. If C is equal to F, the elevator will not move. If there is no desired floor currently input, the elevator will remain idle until a floor is selected. Assume the elevator initial starts at level 1. The elevator cannot go below floor 1 or above floor 20. For any multibit inputs, outputs, or variables, state how many bits are needed.arrow_forwardDescribe a logic function for an alarm system by constructing a truth table, logic circuit and a Boolean expression. The ALARM output is '1' if PANIC input is '1', or if the ENABLE input is '1', the EXITING input is '0' and the house is not SECURE. The house is SECURE if the inputs of WINDOW, GARAGE and DOOR are all 1. (Reduce the circuit if possible, only)arrow_forwardWrite a Boolean expression for the network.arrow_forward
- The Amplitude Modulation (AM) is a technique used in communication for transmitting information via radio carrier wave. AM works by varying the amplitude of the transmitted signal in relation to the information being sent. The equations of the carrier signal, the original signal to send, and the modulated signal combining the two signals are respectively: VI-V sin (2πƒct) V2=Vm sin (2πfmt) V3=Vcsin (2πfct)+ Vm sin (2πfmt)* sin (2nfct) C Supposing that Vc =Vm=1, fc-20, fm=1. Write a MATLAB program that plots the three signals with single call, the graphs must be contain (desired title, axis labels, annotations, with symbols for color, style, and marker) for each graph. Use the step 0.0025 for the time.arrow_forwardA DFA is defines as (Q, S, 6, q0, F) where Q (q0, q1, q2, q3, q4, q5), S= (0, 1), F= (q3, 94), and the transilion function & is defined as in table below: q0 (start) q1 q2 q1 q1 93 q2 94 92 q3 (accepting state) q5 q5 94 (accepting state) q5 q5 q5 q5 Show/prove that this DFA is minimal or otherwise?arrow_forwardDraw the logic diagram of following below. traffic light is installed at a junction of a railroad and a road. the traffic light is controlled by two switches in the rails placed one mile apart on either side of the junction. a switch is turned on when the train is over it and is turned off otherwise. the traffic light changes from green (logic 0) to red (logic 1) when the beginning of the train is one mile from the junction. the light changes back to green when the end of the train is one mile away from the junction. all trains are less than 2 miles long.arrow_forward
- 2. Develop a ladder program for following system: PB 1 is used for main system ON. PB 2 is used Main OFF. Lights will be switched on and off with following sequence. Lights White light Action Switch ON for 30 second when sensor 1 is sensed Red light Green light Orange light Yellow light Switch ON for 1minute when sensor 2 is sensed Switch ON for 2 minute when sensor 3 is sensed Switch ON when no sensors are sensed Switch ON when all sensors are sensedarrow_forwardImplement the following Boolean function F(A, B, C, D)= m(1,4, 6, 7, 8,9, 12, 13,15) with: An 8x1 MUX. Assume that the inputs A, B, and C are used for the select lines.arrow_forwardA nuclear power station has a safety system based on three inputs to a logic circuit (network). A warning signal (S = 1) is produced when certain conditions in the nuclear power station occur based on these three inputs. CREATE THE LOGIC CIRCUIT SHOWING ALL THE POSSIBLE SITUATIONS. INPUTS BINARY VALUE T P W 1 0 1 0 1 0 DESCRIPTION OF PLANT Temperature > 115°C Temperature 15 bar Reactor pressure 120 litres/hour Cooling water <= 120 litres/hourarrow_forward
- A sequential circuit has one input X and four outputs Z₁ Z₂ Z3 Z4. Z1 Z2 Z3 Z4 represents the gray code encoded number equal to the number of pairs of adjacent 1's that have been received as inputs. Use the gray code that is on page 22 of the textbook. For example, if the circuit had received 7 pairs of 1's as inputs, Z₁ Z2 Z3 Z4 = 1011. In addition, the circuit resets when the circuit receives 5 pairs of 1's. Find a Moore state graph and table for the circuit. Examples Input sequence: Output sequences: X = 1 0 1 1 1 0 0 1 1 0 1 1 0 1 0 1 1 10 Z₁ = 0 0 0 0 0 0000000000100 Z₂ 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 0 0 Z3 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 - Z4 = 0 0 0 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 X 11111111 Input sequence: Output sequences: Z₁ = 0 0 0 0 0 100 Z2 0 0 0 0 1 100 = Z3 = 0 0 1 1 1 1 0 0 Z4 0 1 1 0 0 0 0 1 =arrow_forwardThe process shown in figure 1 involves pumping fluid from Tank A to Tank B. The operation of the process can be described as follows, Before starting, PS1 must be closed. When the start button is pushed, the pump starts. The button can then be released and the pump continues to operate. When the stop button is pushed, the pump stops. PS2 and PS3 must be closed 8s after the pump starts. If either PS2 or PS3 opens, the pump will shutoff and will not be able to start again for another 15 s. For the above mentioned conditions develop a ladder program using direct method and provide the allocation list. PS1 PS2 PS3 Tank Tank Pump Figure 1 B.arrow_forwardExercise 1 The truth table of the functions F1(x,y,z) and F2(x.y.z) are given below: y F1 F1 1 1 1 1 1 1 1 0. 1 1 1 1 1 1 1 1 1. Determine the Boolean functions of F1(x.y,z) and F2(x.y.z). 2. Give the Implementation circuits of F1(x.y,z) and F2(x.y.z). 3. Implement Fi(x.y,z) and F2(x.y,z). Use: https://circuitverse.org/simulatorarrow_forward
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education