Write the truth table for a device

Assignment Help Basic Computer Science
Reference no: EM13220074

1. Build a device which will input a 4-bit two's complement number and output the square of the number. Use Binary Coded Decimal representation for the input. Fill out the truth table for the device and calculate the minimal sum logic for each output. 2. Use full adders to design a device which will calculate 8x-y, where x and y are 4-bit signed inputs. Use 8-bit arithmetic. 3. Write the truth table for a device which will input a 4-bit signed number and output the absolute value of twice the number. The output should be in Binary Coded Decimal representation. 4. Use Full Adders and logic gates to design a device which will multiply a given 4-bit signed input x by -2.

Reference no: EM13220074

Questions Cloud

Write a program that computes the cost of a long-distance : Write a program that computes the cost of a long-distance call. The cost of the call is determined according to the following rate schedule: a. Any call started between 7:00 A.M. and 9:00 P.M.
Explain the engine cylinder temperature : What is the maximum height, neglecting all forms of friction, to which a car of mass 1000 kg an be driven on 1.00 gallon of fuel given that the engine cylinder temperature is 2000 degrees celsius and the exit temp is 800 degrees celsius.
What story added value to military equipment produce by firm : Consider a firm that produces military equipment. It employs 2,000 workers and pays each of them a competitive wage of $40,000 per year; its total labor costs are therefore $80 million per year. The firm also has other, non-labor costs of $30 million..
Indicate whether or not there is a carry : 1 ) What is the base-10 equivalent of: 1111, a 4-bit one's complement number 4) Add the following 16-bit 2's complement numbers (represented in Hex): 78CF + FAB4 and indicate whether or not there is a carry and/or an overflow generated. Also, if n..
Write the truth table for a device : The output should be in Binary Coded Decimal representation. 4. Use Full Adders and logic gates to design a device which will multiply a given 4-bit signed input x by -2.
Create a details element that displays the summary : Write an HTML5 element (or elements) to accomplish each of the following tasks: a. Students were asked to rate the food in the cafeteria on a scale of 1 to 10.
Explain what individual atoms or functional groups : What individual atoms or functional groups could you add to the carbons to make the molecule hydrophobic?
What should al have done to sell chain successfully : Bill sees a classified ad offering a used DVD player for $5. On the opposite page, he sees a big color ad from a national electronics chain offering new DVD players for $50. Bill values a DVD player at $75 so long as it works, regardless of whether i..
Explain what is the rate law for the reaction : What is the rate law for the reaction? Please show step by step solution.

Reviews

Write a Review

 

Basic Computer Science Questions & Answers

  Generated by some condition that occurs as a result

Program: Generated by some condition that occurs as a result of an instruction execution, such as arithmetic overflow, division by zero, attempt to execute an illegal machine instruction, and reference outside a user's allowed memory space.

  Write an assembly program using marie

Write an assembly program using MARIE to receive an input in decimal that represents the number of numbers in a list. Then input a list of numbers one by one, display the number of numbers in the list as well as the numbers one by one, and find th..

  What factors are involved in selecting architecture

Under what architecture would you classify technologies such as virtualization, cloud computing, and Web-based applications? Last, what factors are involved in selecting the architecture that is right for your organization?

  Why ratings for high quality pages must all get same rating

Ratings for high quality pages should all get the same rating. For example, a high quality page for a common interpretation of the query should get the same rating as a high quality page for a minor interpretation of the query.

  Choose one schedule development tools

In this discussion, choose one of the schedule development tools introduced or another tool that you are already familiar with that was not identified in the studies. Identify the tool and complete the following.

  Reverse a sixteen-bit binary number by lc program

How to reverse a 16-bit binary number by LC-3 program? Program should assume that the word to be reversed is stored in memory location x3100.

  Write a program that simulates an xor operation

Write a program that simulates an XOR operation. The input should be a word representing a binary number (0s and 1s). Your program should XOR all the digits from left to right and output the results as "True" or "False."

  Determine maximum size of register file in instruction-set

You are designing simple 32-bit instruction-set architecture which requires to support 45 opcodes, three source operands and one destination operand. Determine the maximum size of register file that this architecture can use?

  Write a program that reads in an integer

Write a program that reads in an integer, and breaks it into a sequence of individual digits. For example, the input 16384 is displayed as 1 6 3 8 4 You may assume that the input has no more than five digits and is not negative

  Identify and evaluate two online stores

Identify and evaluate two online stores that sell business furniture. Briefly summarize your findings.

  How to convert a string of binary into decimal

how to convert a string of binary into decimal and a decimal into binary using java

  Corporate goal for scr new training activity

We require corporate goal for SCR which refers to new training activity. Create a draft to show Jesse. Draft project scope statement for TIMS system

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd