
Digital Fundamentals (11th Edition)
11th Edition
ISBN: 9780132737968
Author: Thomas L. Floyd
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Textbook Question
Chapter 3, Problem 19P
Determine the output waveform in Figure 3-8513
Expert Solution & Answer

Want to see the full answer?
Check out a sample textbook solution
Students have asked these similar questions
7. See the code below and solve the following.
public class Test {
public static void main(String[] args) {
int result = 0;
}
result = fn(2,3);
System.out.println("The result is:
+ result);
// fn(x, 1) = x
// fn(x, y)
=
fn(x, y-1) + 2, when y>1
public static int fn(int x, int y) {
if (x <= 1)
return x;
else
return fn(x, y-1) + 2;
}
}
7-1. This program has a bug that leads to infinite recursion. Modify fn(int x, int y) method to fix
the problem. (2 point)
7-2. Manually trace the recursive call, fn(2,3) and show the output (step by step). (2 point)
7-3. Can you identify the Base Case in recursive method fn(int x, int y)? (1 point)
6. See the code below and solve the following.
import java.io.*;
public class DataStream {
}
public static void main(String[] args)
}
DataOutputStream output = new DataOutputStream(new FileOutputStream("temp.dat"));
output.writeUTF("Book1");
output.writeInt(85);
output.writeUTF("Book2");
output.writeInt(125);
output.writeUTF("Book3");
output.writeInt(70);
output.close();
// ToDo: Read all data from temp.dat and print the data to the standard output (monitor)
6-1. This program has a compile error, and the message is “Unhandled exception type
FileNotFoundException". How do you fix this error? (1 point)
6-2. Is FileNotFoundException a checked exception or an unchecked exception? (1 point)
6-3. What is the difference between checked exception and unchecked exception? (1 point)
6-4. Please complete the above program by reading all data from temp.dat and print the data
to the standard output (monitor) by using System.out.print, System.out.println or
System.out.printf method. (2 points)
Write a program that reads a list of integers from input and determines if the list is a palindrome (values are identical from first to last and last to first). The input begins with an integer indicating the length of the list that follows. Assume the list will contain a maximum of 20 integers. Output "yes" if the list is a palindrome and "no" otherwise. The output ends with a newline.
Hints: - use a for loop to populate the array based on the specified size (the first number entered)
- use a for loop to check first value with last value, second value with second from end, etc.
- if the values do not match, set a Boolean variable to flag which statement to output (yes or no)
Ex: If the input is (remember to include spaces between the numbers):
6 1 5 9 9 5 1
the output is:
yes
Ex: If the input is:
5 1 2 3 4 5
the output is: C++ coding
Chapter 3 Solutions
Digital Fundamentals (11th Edition)
Ch. 3.1 - When a 1 is on the input of an inverter, what is...Ch. 3.1 - An active-HIGH pulse (HIGH level when asserted,...Ch. 3.2 - When is the output of an AND gate HIGH?Ch. 3.2 - When is the output of an AND gate LOW?Ch. 3.2 - Describe the truth table for a 5-input AND gate.Ch. 3.3 - When is the output of an OR gate HIGH?Ch. 3.3 - When is the output of an OR gate LOW?Ch. 3.3 - Describe the truth table for a 3-input OR gate.Ch. 3.4 - When is the output of a NAND gate LOW?Ch. 3.4 - When is the output of a NAND gate HIGH?
Ch. 3.4 - Describe the functional differences between a NAND...Ch. 3.4 - Write the output expression for a NAND gate with...Ch. 3.5 - When is the output of a NOR gate HIGH?Ch. 3.5 - When is the output of a NOR gate LOW?Ch. 3.5 - Describe the functional difference between a NOR...Ch. 3.5 - Write the output expression for a 3-input NOR with...Ch. 3.6 - When is the output of an XOR gate HIGH?Ch. 3.6 - When is the output of an XNOR gate HIGH?Ch. 3.6 - How can you use an XOR gate to detect when two...Ch. 3.7 - List six process technologies used for...Ch. 3.7 - What does the term volatile mean in relation to...Ch. 3.7 - What are two design entry methods for programming...Ch. 3.7 - Prob. 4CUCh. 3.7 - Write a VHDL description of a 3-input NOR gate,Ch. 3.7 - Write a VHDL description of an XOR gate.Ch. 3.8 - How is fixed-function logic different than PLD...Ch. 3.8 - Prob. 2CUCh. 3.8 - Identify the following IC logic designators: LS HC...Ch. 3.8 - Prob. 4CUCh. 3.8 - What does the term hex inverter mean? What does...Ch. 3.8 - A positive pulse is applied to an inverter input....Ch. 3.8 - A certain gate has a propagation delay time of 6...Ch. 3.8 - Prob. 8CUCh. 3.8 - Prob. 9CUCh. 3.8 - Prob. 10CUCh. 3.9 - Prob. 1CUCh. 3.9 - If two different input waveforms are applied to a...Ch. 3.9 - Prob. 3CUCh. 3 - An inverter performs the NOR operation.Ch. 3 - An AND gate can have only two inputsCh. 3 - If any input to an OR is 1, the output is 1.Ch. 3 - If all inputs to an AND gate are 1, the output is...Ch. 3 - A NAND gate has an output that is opposite the...Ch. 3 - A NOR gate can be considered as an OR gate...Ch. 3 - The output of an exclusive-OR is 0 if the inputs...Ch. 3 - Prob. 8TFQCh. 3 - Once programmed, PLD logic can be changed.Ch. 3 - Fan-out is the number of similar gates that a...Ch. 3 - When the input to an inverter is HIGH (1), the...Ch. 3 - An inverter performs an operation known as...Ch. 3 - The output of an AND gate with inputs A, B, and C...Ch. 3 - The output of an OR gate with inputs A, B, and C...Ch. 3 - A pulse is applied to each input of a 2-input NAND...Ch. 3 - A pulse is applied to each input of a 2-input NOR...Ch. 3 - A pulse is applied to each input of an...Ch. 3 - Prob. 8STCh. 3 - The purpose of a programmable link in an AND array...Ch. 3 - The term OTP means open test point one-time...Ch. 3 - Prob. 11STCh. 3 - Prob. 12STCh. 3 - Two ways to enter a logic design using PLD...Ch. 3 - Prob. 14STCh. 3 - In-system programming of a PLD typically utilizes...Ch. 3 - To measure the period of a pulse waveform, you...Ch. 3 - Prob. 17STCh. 3 - The input waveform shown in Figure 3-76 is applied...Ch. 3 - A combination of inverters is shown in Figure...Ch. 3 - If the waveform in Figure 3-76 is applied to point...Ch. 3 - Draw the rectangular outline symbol for a 4-input...Ch. 3 - Determine the output, X, for a 2-input AND gate...Ch. 3 - Repeat problem 5 for the waveforms in Figure 3-79Ch. 3 - The input wave forms applied to a 3-input AND gate...Ch. 3 - The input waveforms applied to a 4-input AND gate...Ch. 3 - Draw the rectangular outline symbol for a 3-input...Ch. 3 - Write the expression for a 5-input OR gate with...Ch. 3 - Determine the output for a 2-input OR gate when...Ch. 3 - Repeat Problem 7 for a 3-input OR gate.Ch. 3 - Repeat Problem 8 for a 4-input OR gate.Ch. 3 - For the five input waveforms in Figure 3-8219,...Ch. 3 - Draw the rectangular outline symbol for a 4-input...Ch. 3 - Show the truth table for a 3-input OR gate.Ch. 3 - For the set of input waveforms in Figure 3-83,...Ch. 3 - Determine the gate output for the input waveforms...Ch. 3 - Determine the output waveform in Figure 3-8513Ch. 3 - As you have learned, the two logic symbols shown...Ch. 3 - Repeat Problem 17 for a 2-input NOR gate.Ch. 3 - Determine the output waveform in Figure 3-87 and...Ch. 3 - Repeat Problem 19 for a 4-input NOR gate.Ch. 3 - The NAND and the negative-OR symbols represent...Ch. 3 - How does an exclusive-OR gate differ from an OR...Ch. 3 - Repeat Problem 17 for an exclusive-OR gate.Ch. 3 - Repeat Problem 17 for an exclusive-NOR gateCh. 3 - Determine the output of an exclusive-OR gate for...Ch. 3 - In the simple programmed AND array with...Ch. 3 - Determine by row and column number which fusible...Ch. 3 - Describe a 4-input AND gate using VHDL.Ch. 3 - Describe a 5-input NOR gate using VHDLCh. 3 - In the comparison of certain logic devices, it is...Ch. 3 - Prob. 34PCh. 3 - Determine tPLHandtPHL from the oscilloscope...Ch. 3 - Prob. 36PCh. 3 - If a logic gate operates on a dc supply voltage of...Ch. 3 - The variable ICCH represents the dc supply current...Ch. 3 - Examine the conditions indicated in Figure 3-92,...Ch. 3 - Determine the faulty gates in Figure 3-93 by...Ch. 3 - Using an oscilloscope, you make the observations...Ch. 3 - Prob. 42PCh. 3 - Every time the ignition switch is turned on in the...Ch. 3 - What failure(s) would you suspect if the output of...Ch. 3 - Modify the frequency counter in Figure 3-16 to...Ch. 3 - Prob. 46PCh. 3 - Design a circuit to fit in the beige block of...Ch. 3 - Modify the logic circuit for the intrusion alarm...Ch. 3 - Further modify the logic circuit from Problem 48...Ch. 3 - Sensors are used to monitor the pressure and the...Ch. 3 - In a certain automated manufacturing process,...Ch. 3 - Open file P03-52. For the specified fault, predict...Ch. 3 - Open file P03-53. For the specified fault, predict...Ch. 3 - Open file P03-54. For the observed behavior...Ch. 3 - Open file P03-55. For the observed behavior...
Additional Engineering Textbook Solutions
Find more solutions based on key concepts
In what year was Plankalkl designed? In what year was that design published?
Concepts Of Programming Languages
What is a data sublanguage?
Database Concepts (8th Edition)
This optional Google account security feature sends you a message with a code that you must enter, in addition ...
SURVEY OF OPERATING SYSTEMS
When a file is opened in this mode, data will be written at the end of the files existing contents. a. output m...
Starting Out with Python (4th Edition)
A program uses two classes: Animal and Dog. Which class is the superclass and which is the subclass?
Starting Out with Java: From Control Structures through Data Structures (4th Edition) (What's New in Computer Science)
What techniques can be used to constrict the arc in plasma arc cutting, producing a narrower, more controlled c...
Degarmo's Materials And Processes In Manufacturing
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
- Design and draw a high-level "as-is" process diagram that illustrates a current process related to a product or service offered through the SSDCI.gov database.arrow_forwardCompare last-mile connections for connecting homes and businesses to the Internetarrow_forwardExplain wireless networking standardsarrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Systems ArchitectureComputer ScienceISBN:9781305080195Author:Stephen D. BurdPublisher:Cengage LearningPrinciples of Information Systems (MindTap Course...Computer ScienceISBN:9781285867168Author:Ralph Stair, George ReynoldsPublisher:Cengage LearningEBK JAVA PROGRAMMINGComputer ScienceISBN:9781305480537Author:FARRELLPublisher:CENGAGE LEARNING - CONSIGNMENT
- Fundamentals of Information SystemsComputer ScienceISBN:9781337097536Author:Ralph Stair, George ReynoldsPublisher:Cengage LearningNp Ms Office 365/Excel 2016 I NtermedComputer ScienceISBN:9781337508841Author:CareyPublisher:CengageOperations Research : Applications and AlgorithmsComputer ScienceISBN:9780534380588Author:Wayne L. WinstonPublisher:Brooks Cole

Systems Architecture
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning

Principles of Information Systems (MindTap Course...
Computer Science
ISBN:9781285867168
Author:Ralph Stair, George Reynolds
Publisher:Cengage Learning

EBK JAVA PROGRAMMING
Computer Science
ISBN:9781305480537
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT

Fundamentals of Information Systems
Computer Science
ISBN:9781337097536
Author:Ralph Stair, George Reynolds
Publisher:Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage

Operations Research : Applications and Algorithms
Computer Science
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Brooks Cole
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