please help me.
Truth table:
Form a Truth Table that has 4 inputs and 4 outputs. The heading of the table should look like this:
a2 | a1 | b2 | b1 | out4 | out3 | out2 | out1 |
---|
The table should have 16 rows, corresponding to the 16 different input patterns. Input value a2 corresponds to the left bit of a 2-bit number called a; a1 is the right bit of a. b2 and b1 are the left and right bits of a second 2-bit number called b. The output bits out4 through out1 represent the binary version of the product of a and b -- out4 is the left-most bit of the product, out1 is the right-most bit, etc.
Boolean Expression:
Form a Boolean Expression for each of the output columns in your table, using the techniques seen in class. You must have 4 separate Boolean Expressions for this part; one each for out1, out2, out3, and out4. Each of your Boolean Expressions should have as many terms (the things being "added" together) as there are 1's in the column for that output bit.
Circuit Designs:
Create a Logic Diagram (circuit diagram using gates) for the out4, out3, and out1 Boolean expressions you formed in the previous step.
Step by stepSolved in 6 steps with 4 images
- ID: A Name: ID: A 6. There are 32 students standing in a classroom. Two different algorithms are given for finding the average height of the students. Algorithm A Step 1: All students stand. gniwolldi odT gaihnel vd Step 2: A randomly selected student writes his or her height on a card and is seated. Step 3: A randomly selected standing student adds his or her height to the value on the card, records the new value on the card, and is seated. The previous value on the card is erased. Step 4: Repeat step 3 until no students remain standing. Step 5: The sum on the card is divided by 32. The result is given to the teacher. Algorithm B Step 1: All students stand. Step 2: Each student is given a card. Each student writes his or her height on the card. Step 3: Standing students form random pairs at the same time. Each pair adds the numbers written on their cards and writes the result on one student's card; the other student is seated. The previous value on the card is erased. Step 4: Repeat…arrow_forwardC Programming Language Note: Input and Output Must be the same Write in C Languagearrow_forwardprint the star pyramid pattern as shown.arrow_forward
- Tracing Exercise: What will be displayed exactly after the following .m file is executed? n = [1 -88 300 27 -10 17]; p = n(1); for j = 3:length(n), p = p + n(j) end k = 0; tt = 10; while k < 15 k = k + 3 tt = tt + k end disp (k) disp (tt)arrow_forwardThe International Standard Book Number (ISBN) is a number that uniquely identifies a book. Publishers can buy or receive ISBNs from the International ISBN Agency. There are two types of ISBNs: ISBN-13 and ISBN-10, which are 10- and 13-digits long, respectively.ISBN-10 has a pattern, where the last digit can be found using the first 9. Additionally, ISBN-10 can also be used to calculate its ISBN-13 equivalent (and vice versa). Write two functions in ISBN.java. The main method is implemented for you so you can test your functions. Instructions on how to run this file to make use of the test.txt file are detailed below. calculateISBN10(int[] isbn) computes the last digit of the ISBN-10 number. The first 9 of the 10 digits of the ISBN will be passed to the function as the parameter isbn integer array of size 10. The last integer in the array will be -1. Your job is to calculate the last digit (called the check digit), and update the last index of the isbn array with the computed…arrow_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