subject

Bits as operation codesLater in the course, you will study in some depth how certain bits in computer instructions are used as codes to let the computer know which operation to perform. For example, one code might indicate that an addition should be performed, whereas another code might indicate that a compare for equality should be performed. In this exercise, you design, construct, and test a circuit that performs this kind of function. Your circuit has three inputs and a single output. The first two inputs are used as codes to indicate what should be done to the third input to produce the output. There are four possibilities for the two-bit codes: 00, 01, 10, and 11. We'll use the codes as follows:(1) If the first two input values are 0 (code 00), the output should be 0, no matter what the third input is. Here, the function of the circuit becomes a set-to-zero function on the third input.(2) If the first input is 0 and the second is 1 (code 01), the output should be the same as the third input. The function of the circuit is the identity function on the third input.(3) If the first input is 1 and the second is 0 (code 10), the output should be the negation of the third input.(4) If the first two inputs are 1 (code 11), the output should be 1 no matter what the third input is. The function is a set-to-one operation. Download the document lab_08_04.docx. Using the document complete the following. Make a truth table that gives the appropriate output values according to this discussion, write the corresponding Boolean expression, construct the circuit with the simulator, and test the circuit by checking the output values for each setting of the switches. Include a screenshot or drawing of the circuit in the document. Once you have completed the table, save your file with your last name in the file name (Example: lab_08_04_Jones. doc). To upload and submit your assignment, click the Choose File button below to find and select your saved document.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 04:31
Jennifer has to set up a network in a factory with an environment that has a lot of electrical interference. which cable would she prefer to use? jennifer would prefer to use because its metal sheath reduces interference.
Answers: 1
question
Computers and Technology, 23.06.2019 16:00
Write a grading program for a class with the following grading policies: a. there are two quizzes, each graded on the basis of 10 points. b. there is one midterm exam and one final exam, each graded on the basis of 100 points. c. the final exam counts for 50% of the grade, the midterm counts for 25%, and the two quizzes together count for a total of 25%. (do not forget to normalize the quiz scores. they should be converted to a percentage before they are averaged in.) any grade of 90 or more is an a, any grade of 80 or more (but less than 90) is a b, any grade of 70 or more (but less than 80) is a c, any grade of 60 or more (but less than 70) is a d, and any grade below 60 is an f. the program will read in the student’s scores and output the student’s record, which consists of two quiz and two exam scores as well as the student’s average numeric score for the entire course and final letter grade. define and use a structure for the student reco
Answers: 2
question
Computers and Technology, 23.06.2019 19:00
Write a program that displays the following menu: geometry calculator 1. calculate the area of a circle 2. calculate the area of a rectangle 3. calculate the area of a triangle 4. quit enter your choice (1-4): if the user enters 1, the program should ask for the radius of the circle and then display its area. use the following formula: area = ď€(the square of r) use 3.14159 for ď€ and the radius of the circle for r. if the user enters 2, the program should ask for the length and width of the rectangle and then display the rectangle’s area. use the following formula: area = length * width if the user enters 3, the program should ask for the length of the triangle’s base and its height, and then display its area. use the following formula: area = base * height * .5 if the user enters 4, the program should end. input validation: display an error message if the user enters a number outside the range of 1 through 4 when selecting an item from the menu. do not accept negative values for the circle’s radius, the rectangle’s length or width, or the triangle’s base or height. note: if the user enters an improper menu choice (1-4), the program prints "the valid choices are 1 through 4. run the program again and select one of those." if the user enters a negative radius, the program prints "the radius can not be less than zero." if the user enters a negative value for height or base, the program prints "only enter positive values for base and height."
Answers: 1
question
Computers and Technology, 23.06.2019 21:10
Asample of 200 rom computer chips was selected on each of 30 consecutive days, and the number of nonconforming chips on each day was as follows: 8, 19, 27, 17, 38, 18, 4, 27, 9, 22, 30, 17, 14, 23, 15, 14, 12, 20, 13, 18, 14, 20, 9, 27, 30, 13, 10, 19, 12, 26. construct a p chart and examine it for any out-of-control points. (round your answers to four decimal places.)
Answers: 2
You know the right answer?
Bits as operation codesLater in the course, you will study in some depth how certain bits in compute...
Questions
Questions on the website: 13722359