Digital Fundamentals
11th Edition
ISBN: 9780133514896
Author: Floyd
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Textbook Question
Chapter 1, Problem 15P
Form a single logical statement from the following information:
- The light is ON if SW1 is closed.
- The light is ON if SW2 is closed.
- The light is OFF if both SW1 and SW2 are open.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
Draw a ladder diagram that will have the following results:
a. Lamp L2 and Lamp L3 deactivated while Lamp L1 activated the moment power is turned ON.
b. Lamp L1 and Lamp L3 deactivated while Lamp L2 activated when switch S2 is pressed and released.
c. Lamp L1 and Lamp L2 deactivated while Lamp L3 activated when switch S3 is pressed and released.
d. Lamp L2 and Lamp L3 deactivated while Lamp L1 activated when switch S1 is pressed and released.
Write an Arduino code to control two LEDs using two push buttons, given the bellow setup:
LED 1 is connected to pin 5
LED 2 is connected to pin 4
Button 1 is connected to pin 8
Button 2 is connected to pin 9
If both push buttons are pressed, LED 1 is ON and LED 2 is OFF. If one of the push buttons is pressed LED 2 is ON and LED 1 is OFF.
hint: you may use the if..else if statement (note: you may use other approaches)
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.
Draw circuit diagram
Chapter 1 Solutions
Digital Fundamentals
Ch. 1.1 - Prob. 1CUCh. 1.1 - Prob. 2CUCh. 1.1 - Prob. 3CUCh. 1.1 - Prob. 4CUCh. 1.1 - Prob. 5CUCh. 1.2 - Prob. 1CUCh. 1.2 - What does bit mean?Ch. 1.2 - What are the bits in a binary system?Ch. 1.2 - Prob. 4CUCh. 1.2 - Prob. 5CU
Ch. 1.2 - Prob. 6CUCh. 1.2 - What is the purpose of a timing diagram?Ch. 1.2 - What is the main advantage of parallel transfer...Ch. 1.3 - When does the NOT function produce a HIGH output?Ch. 1.3 - When does the AND function produce a HIGH output?Ch. 1.3 - Prob. 3CUCh. 1.3 - Prob. 4CUCh. 1.3 - What is a logic gate?Ch. 1.4 - What does a comparator do?Ch. 1.4 - What are the four basic arithmetic operations?Ch. 1.4 - Prob. 3CUCh. 1.4 - Prob. 4CUCh. 1.4 - Prob. 5CUCh. 1.4 - Prob. 6CUCh. 1.4 - What does a counter do?Ch. 1.5 - List three major categories of programmable logic...Ch. 1.5 - Prob. 2CUCh. 1.5 - Name the steps in the programming process.Ch. 1.5 - Prob. 4CUCh. 1.5 - Prob. 5CUCh. 1.6 - What is an integrated circuit?Ch. 1.6 - Prob. 2CUCh. 1.6 - Generally, in what classification does a...Ch. 1.7 - What is the basic function of an oscilloscope?Ch. 1.7 - Name two main differences between an oscilloscope...Ch. 1.7 - What does the volts/div control on an oscilloscope...Ch. 1.7 - What does the sec/div control on an oscilloscope...Ch. 1.7 - Prob. 5CUCh. 1.7 - Prob. 6CUCh. 1.8 - Prob. 1CUCh. 1.8 - Prob. 2CUCh. 1.8 - Prob. 3CUCh. 1.8 - Prob. 4CUCh. 1 - An analog quantity is one having continuous valuesCh. 1 - Prob. 2TFQCh. 1 - Prob. 3TFQCh. 1 - Prob. 4TFQCh. 1 - In positive logic, a LOW level represents a binary...Ch. 1 - If the period of a pulse waveform increases, the...Ch. 1 - Prob. 7TFQCh. 1 - The basic logic operations are AND, OR, and MAYBE.Ch. 1 - If the input to an inverter is a 1, the output is...Ch. 1 - Two broad types of digital integrated circuits are...Ch. 1 - Prob. 1STCh. 1 - Prob. 2STCh. 1 - Prob. 3STCh. 1 - Prob. 4STCh. 1 - Prob. 5STCh. 1 - An inverter performs the NOT operation changes a...Ch. 1 - The output of an AND gate is HIGH when any input...Ch. 1 - The output of an OR gate is HIGH when any input is...Ch. 1 - The device used to convert a binary number to a...Ch. 1 - An example of a data storage device is the logic...Ch. 1 - VHDL is a logic device PLD programming language...Ch. 1 - A CPLD is a controlled program logic device...Ch. 1 - An FPGA is a field-programmable gate array fast...Ch. 1 - A fixed-function IC package containing four AND...Ch. 1 - An LSI device has a circuit complexity of from 10...Ch. 1 - Prob. 1PCh. 1 - Prob. 2PCh. 1 - List three common products that can have either a...Ch. 1 - Explain the difference between positive and...Ch. 1 - Prob. 5PCh. 1 - List the sequence of levels (HIGH and LOW) that...Ch. 1 - Prob. 7PCh. 1 - Prob. 8PCh. 1 - Prob. 9PCh. 1 - Prob. 10PCh. 1 - Determine the duty cycle of the waveform in Figure...Ch. 1 - Prob. 12PCh. 1 - What is the total serial transfer time for the...Ch. 1 - What is the period if the clock frequency is 3.5...Ch. 1 - Form a single logical statement from the following...Ch. 1 - A logic circuit requires HIGHs on all its inputs...Ch. 1 - A basic 2-input logic circuit has a HIGH on one...Ch. 1 - A basic 2-input logic circuit has a HIGH on one...Ch. 1 - Name the logic function of each block in Figure...Ch. 1 - A pulse waveform with a frequency of 10 kHz is...Ch. 1 - Consider a register that can store eight bits....Ch. 1 - Which of the following acronyms do not describe a...Ch. 1 - What do each of the following stand for? SPLD CPLD...Ch. 1 - Prob. 24PCh. 1 - Prob. 25PCh. 1 - A fixed-function digital 1C chip has a complexity...Ch. 1 - Prob. 27PCh. 1 - Label the pin numbers on the packages in Figure...Ch. 1 - A pulse is displayed on the screen of an...Ch. 1 - A waveform is measured on the oscilloscope and its...Ch. 1 - The period of a pulse waveform measures four...Ch. 1 - Prob. 32PCh. 1 - Prob. 33PCh. 1 - Prob. 34PCh. 1 - Explain the signal-tracing method of...Ch. 1 - Prob. 36PCh. 1 - Prob. 37PCh. 1 - Prob. 38PCh. 1 - If the symptom of a particular system is an...Ch. 1 - Prob. 40PCh. 1 - Prob. 41PCh. 1 - Prob. 42PCh. 1 - Assume that you have isolated the problem down to...
Additional Engineering Textbook Solutions
Find more solutions based on key concepts
What Ada construct provides support for abstract data types?
Concepts of Programming Languages (11th Edition)
Write a for loop that displays all of the odd numbers, 1 through 49.
Starting Out with Java: From Control Structures through Data Structures (4th Edition) (What's New in Computer Science)
Write a function called f to determine if one character string exists inside another string. The first argument...
Programming in C
Write a program to print the value of EOF.
C Programming Language
The file seq-full.hcl contains the HCL description for SEQ, along with the declaration of a constant IIADDQ hav...
Computer Systems: A Programmer's Perspective (3rd Edition)
C++ Language Elements Suppose that the classes Dog and Cat derive from Animal, which in turn derives from Creat...
Starting Out with C++: Early Objects (9th Edition)
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- The Petri net shown in the following figure can be deadlocked. a. If t1 fires before t2 b. If t2 fires before t3. c. True d. Falsearrow_forwardUsing the following schemaƟc connecƟons write the code such that the circuit meet the following criteria:1. If push button 1 is pressed LED 1 turns on only. Everything else should be off.2. If push button 2 is pressed piezo speaker should play tone 500 for ½ sec and LED 5 turns on.arrow_forwardA device is to be installed to control elevators in a building with several floors. The system will use the following logic/rules to move elevators between floors:● Each elevator has a set of m buttons, one for each floor. These illuminate when pressed and cause the elevator to visit the corresponding floor. The illumination is canceled when the elevator visits the corresponding floor. ● Each floor, except the first floor and top floor has two buttons, one to request an up-elevator and one to request a down-elevator. These buttons illuminate when pressed. The illumination is canceled when an elevator visits the floor and then moves in the desired direction.● When an elevator has no requests, it remains at its current floor with its doors closed. The basic course of Action for an elevator scenario is: 1. Passenger presses the floor button (that is the button on the wall). 2. Elevator system detects the floor button pressed. 3. Elevator moves to the floor. 4. Elevator doors open. 5.…arrow_forward
- State the correct answer;arrow_forward- Use a push button as input and LEDs (2-3 -> depends on your design) as outputs - Ticker counts 1-2-3-4-1-2-3-4 indefinitely in ticker periods of 500ms (in total 4x500 makes 2 seconds). Show this counting in serial output. - Count button press within these 2 sec periods. Show press count in serial output as well - If button press counter is greater than 3 within a 2 sec interval, an output LED toggles.arrow_forwardSelect the correct logical test from the following Select one: a. if(D1=1 , "ON","OFF") b. if(D1=1 then "ON" else "OFF") c. if(D1=1 true "ON" false "OFF") d. None of thesearrow_forward
- Arduino programming exercises using Uno Microcontroller Write a program that lights a green LED attached to pin 3. The green LED should turn off after a button attached to pin 4 has been pushed and released 3 times. Each time the button is pushed it will turn on a red LED attached to pin 7 and turn off a yellow LED attached to pin 9. When the button is not pushed the red LED will be off and the yellow LED will turn on. Assume the button is wired active low. Turn on green LED Leave it on Turn on yellow LED Leave it on Check the state of the button If the button is pressed Add 1 to a counter variable Turn off yellow LED Turn on red LED After the button is pressed, turn on yellow LED, turn off red LED If the counter is 3 or more (>2) Turn off green LEDarrow_forwardIn a restaurant called BINARY, the comfort room is designed to accommodate 3 people simultaneously. The owner is planning to install a sensor in each cubicle. Outside the comfort room 2 light bulbs will be setup indicating the number of occupied cubicles. Each bulb represents a binary digit that lights-up based on the number of occupied cubicle. Now design a system that counts the number of occupied cubicles and use the bulbs to display that number in binary form. Note that the light bulbs represents a binary number. Apply Logic circuits and show your detailed solution and validate your answers using Logicly (https://logic.ly/demo/samples)arrow_forwardFind the value of each of the status flags for the following instructions, Supposes that the flags are initially 0. (Choose Two Only) a) DEC AL, where AL= 00H b) SUB AX, BX, where AX= 0000H, BX= 8000H c) XLAT , where AL=02H, BX=0004H, DS=0100Harrow_forward
- Draw State Diagram of the control software for: A telephone answering system that records incoming messages and displays the number of accepted messages on an LED. The system should allow the telephone customer to dial in from any location, type a sequence of numbers (identified as tones), and play any recorded messagesarrow_forwardUsing Python and gpiozero library. Write a python script that meets the below requirements Red LED (on GP13) is on by default On button press (on GP2) turn off red and turn on Green LED (on GP26) While green is on, sound Buzzer (on GP3) in quarter-second increments After two seconds, turn off green and turn on Yellow LED (on GP19) After one second, turn off yellow and return to red (step 1)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
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- 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
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education
Boolean Algebra - Digital Logic and Logic Families - Industrial Electronics; Author: Ekeeda;https://www.youtube.com/watch?v=u7XnJos-_Hs;License: Standard YouTube License, CC-BY
Boolean Algebra 1 – The Laws of Boolean Algebra; Author: Computer Science;https://www.youtube.com/watch?v=EPJf4owqwdA;License: Standard Youtube License