Perform the arithmetic operations

Assignment Help Basic Computer Science
Reference no: EM13917159

Question 1:

(a) Convert the following binary into (i) decimal, (ii) octal et (iii) hexadecimal 10100001111.1101

(b) Perform the following operation using 10's complement

(162)10 - (27)10

(c) Convert the following numbers into binary and perform the arithmetic operations in (i) and (ii) using signed binary numbers with 2's complement. Use 7 bits to represent the integer part of decimal numbers and the sign bit. Use three bits to represent the fractional
part.

(i) (4.5)10 - (9)10
(ii) (8.5)10 + (9)10

Question 2:

Design a 4- bit combinational circuit 2's complementer. The circuit generates at the output the 2's complement of the input binary numbers. Answer the following questions:

(i) Complete the following truth table. A,B,C,D indicate the input binary number to be complemented using 2's complement and W,X,Y, Z represent the output 2's complement of the input binary number. The variable D is the least significant bit and A is the most
significant bit of the binary number.

(ii) Simplify the Boolean function W in its Sum of Products form using K-Map

(iii) Show that the Boolean function W can be constructed using exclusive-OR gates

(iv) Implement the Boolean function Z in its Product of Sums form with a decoder constructed with NAND gates (see figure below) and external gate (s) connected to the decoder outputs.

Reference no: EM13917159

Questions Cloud

Calculate the exponential expression : let X be exponentially distributed with rate λX. Given X = u, let Y be a Poisson random variable of rate u. (a) Calculate the expression for fX|Y (u|0) in closed form and draw it as a function of u (hint: try not to calculate any integrals).
Company recognizes an expense and a liability : The company's accrued liabilities include accrued wages, self-insurance, accrued taxes, accrued utilities, and accrued interest etc. The company recognizes an expense and a liability for financial reporting for the accrued liabilities.
Operating budget depends : The operating budget depends on key information developed in the..
Define and use global named constants : If you are using the Citrix remote lab, follow the login instructions located in the iLab tab in Course Home.Locate the Visual Studio 2010 icon and launch the application.
Perform the arithmetic operations : Convert the following numbers into binary and perform the arithmetic operations in (i) and (ii) using signed binary numbers with 2's complement. Use 7 bits to represent the integer part of decimal numbers and the sign bit. Use three bits to repres..
Create a histogram and polygon using the commuting data : Select a column of data other than Commuting Time from the STATES data file and create a Histogram and Polygon using the Commuting data as an example. 150 points (50 extra) will be assigned for completing this task
Involve buying goods from other companies : involve buying goods from other companies rather than making them internally.
The management of oak creek stadium : After receiving 21 different setups, the management of Oak Creek Stadium has decided on the attached ER diagram and instance tables for the development of a database to keep track of its operations.
Show that the set of trembling hand perfect equilibria : Show that the set of trembling hand perfect equilibria of this extensive game is disjoint from the set of behavioral strategy profiles associated with the trembling hand perfect equilibria of its strategic form.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Compute the pipeline speed-up ratio

Given the datapath shown in, and the latencies above for the individual elements of the datapath, compare clock cycle time of the single-cycle.

  What will be stored in ecx

Assuming that 00417005 is the address loaded in EDI, what will be the value stored in EDI following the repne scasb instruction? What will be stored in ECX

  Write a php script that computes the total cost

Write a PHP script that computes the total cost of the ordered light bulbs from above after adding 6.2 percent sales tax. The program must inform the buyer of exactly what was ordered, in a table.

  Provide an explanation of hashtables

In your comparison, be sure to include an explanation of one way hashtables are similar to your selected data structure and one way in which they are different.

  Explain the past in using nonrelational structures

What limitations have you or someone you know encountered in the past in using nonrelational structures (such as in a Microsoft® Excel® or Word file) to store data? What were the advantages

  Evaluate the natural settings of the test environment

Assess the reliability of data gathered via paid Internet users. Describe and assess the evaluation method being used by the testing company, i.e., nonvisual and verbal recording of browser activities and tester's vocal comments.

  Examine and analyze the principles of polymorphism

Examine and analyze the principles of polymorphism, inheritance and encapsulation. Use the Library to get started on finding resources.

  Display the basic annual membership cost

In cell C5 insert a lookup function to display the basic annual membership cost of the first client.Insert a function in cell E5 to calculate total amount. The function should add the cost of membership plus, if applicable, the locker fee. The locker..

  4 bit binary representation using excess 7

Assuming a 4 bit binary representation using excess 7 list all bit sequences for integers -7 to +8

  Create a new table that adds a new column

Create a new table that adds a new column to the l_foods table. Use a row function that will add together the price and the price_increase columns. Name the new column new_price.

  Design a hashed file of words

Design a hashed file of words that could be used as a spell checker. What would you use as a hash function? Would your choice of a hash function depend on the language from which the words are chosen? Why should such a file not be stored as a sequent..

  The new value for the discountpercent column

Create a trigger named Products_UPDATE that checks the new value for the DiscountPercent column of the Products table. This trigger should raise an appropriate error if the discount percent is greater than 100 or less than 0.

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