Ask Computer Engineering Expert

Problem 1:

Use the repeated subtraction method to convert the number 91 to binary (show your conversion steps clearly). What would be the representation of (-91)10 in an 8-bit binary signed magnitude form?

Problem 2:

Convert the following binary numbers to the destination base (show your conversion steps clearly):

a) (1011.11000)2 = ( )10

b) (111110110001)2 = ( )16

Problem 3:

A computer system uses a simplified 14-bit floating point with excess-16 bias to represent binary numbers. What are the least and the biggest binary number handled by this computer? (Give the numbers in a scientific binary representation)

Problem 4:

Use only two input gates to draw the logical diagram of the following Boolean expression: F(x,y,z) = x ¯y+x ¯yz+((y+z)) ¯. Simplification is not allowed.

Problem 5: Binary representation systems:

Consider the binary number 10110100. What does this binary number represents in decimal (base 10) when it is used in: 

a) An 8-bit unsigned whole numbers system?

b) An 8-bit signed magnitude system?

c) An 8-bit one’s complement system?

d) An 8-bit two’s complement system?

Problem 6: Explaining an advertisement

The detailed specifications of a laptop are: 

- Intel Core i3 / 2.2 GHz

- 4 GB ( 2 x 2 GB) DDR2 SDRAM

- 500 GB HDD / 5400 rpm

- 15.6-inch, 1366 x 768 ( HD )

Monitor resolution is 1366x768 pixels

- VGA ¦ 2 x headphone output ¦ Microphone input ¦ 2 x USB 2.0 ¦ 2 x USB 3.0 ¦ LAN ¦ HDMI

External ports

Problem 7: Combinational and sequential logic

Consider the Boolean expression F(a,b,c) = a ¯bc+((b ¯+c)) ¯+((b+c ¯)) ¯+a((b ¯+c ¯)) ¯.

a) Use DeMorgan’s law to convert F(a,b,c) to a sum of products form.

b) Draw the truth table of F(a,b,c).

c) Use Boolean identities and Boolean algebra to simplify F. Show your simplification steps clearly.

Hint: Your answer should contain only two terms.

Problem 8:

The capacity of a recent external hard disk drive is 2 Terabytes (TB). How many Gigabytes (GB) and Kilobytes (KB) are there in this hard disk drive?

(The student can represent his answer is a power of 2 or a power of ten. Both can be considered as correct.)

Problem 9:

Express the number -33 in an 8-bit Complement one and complement two binary forms.

Problem 10: Signed Magnitude representation and arithmetic

A computer uses an 8-bit Signed Magnitude system to represent numbers.

a) What is the decimal equivalent of the following binary numbers: 000010012 and 000111002?

b) Use signed magnitude arithmetic to add 000010012 to 000111002.

c) Does the system overflow in the previous question (Problem 1-b)? Why/Why not?

Problem 11: Boolean Algebra

Consider the following Boolean function: F(a,b,c)=a ¯b ¯c ¯+ab ¯.

a) Use DeMorgan’s law, other Boolean identities and Boolean algebra to find the complement F ¯ of the function F. You should also represent F ¯ in its simplest sum of products form.

b) Draw the truth table of the function F and deduce the truth table of its complement function F ¯.

Hint: Including the terms a ¯b ¯c ¯  ;ab ¯c ; F and F ¯ is quite enough.

c) Using the pre-drawn truth table give another sum of products form for the complement function F ¯.

Hint: One of the terms is a ¯b ¯c and still four other terms: F ¯=a ¯b ¯c+xxx+xxx+xxx+xxx

Problem 12:

Using a "word" of 3 bits, list all of the possible signed binary numbers and their decimal equivalents that are representable in a Signed magnitude system.

Problem 13:

Draw the truth table of  (xy) ¯ and x ¯+y ¯ to prove that the following DeMorgan's Laws is valid: (xy) ¯ = x ¯+y ¯.

Problem 14: Boolean Algebra and digital logic

The following table is the truth table of a function F.

a) Give the Boolean expression of the function F(a,b,c) in a sum of products form.

b) Draw the truth table of the complement F ¯ of the function F. Deduce F ¯ in a sum of products form.

c) Use Boolean algebra and Boolean identities to simplify F ¯ to its simplest form. 

Problem 15: Binary representations

Show how the number -127 is represented in binary using:

a) 8-bit Signed magnitude system

b) 8-bit two’s complement system

c) 14-bit floating point representation with excess 16 bias (1 sign bit, 5 bits exponent, 8 bits significand)

Problem 16:

Convert the following decimal fraction to binary with a maximum of four places to the right of the binary point: 57.55. Show your conversion steps clearly.

Problem 17:

Construct the XOR operator using only NAND gates.

Hint: x XOR y = ((x ' y)' (xy' )' )'

Problem 18: Boolean Algebra and digital logic

Consider the Boolean expression F= a(b+c ¯) + a ¯((bc ¯ ) ¯ )+ac+b

a) Use the distributive law and DeMorgan’s law to represent F in a sum of product form.

b) Draw the truth table of F.

c) Analyze your truth table, what can you deduce?

d) What would be the most simplified version of F and its complement function F ¯?

Hint: No need to do any simplification. Recall what you deduced in part c.

Problem 19: Binary representations and arithmetic

A computer system has two different ways to represent signed numbers: Signed magnitude and two’s complement.

a) Show how this computer represents the number 7710in these two different binary systems (an 8-bit signed magnitude and 8-bit two’s complement).

b) Show how this computer represents the number (-42)10 in these two different binary systems (an 8-bit signed magnitude and 8-bit two’s complement).  

c) Show how this computer uses two’s complement arithmetic to add these numbers in binary (77 + (-42)). Is there an overflow? Why or why not?

Problem 20: 

Convert the following binary numbers to the destination base.

a. (A4D.F)16 = (……………)2

b. (732)8 = (……………)2

Problem 21: Binary representation systems

Consider the following decimal numbers: + 17 and -26.

A. Signed magnitude system:

a. How does an 8-bit signed-magnitude computer system represent these numbers in binary?

In an 8 bit signed magnitude system:

b. Add these binary numbers in binary (in a signed magnitude system). Show your calculations clearly.

B. Two’s complement system:

a. How does an 8-bit two’s complement computer system represent these numbers in binary?

b. Add these binary numbers in binary (in a two’s complement system). Show your calculations clearly.

Problem 22: A simple floating point system

A computer system uses a simplified 14-bit floating point with excess-16 bias to represent binary numbers.

a) How does this system represent the number -33 in binary? +33?

b) How does this system represent the number 64 in binary?

c) Show how can this system add +33 and 64 in binary? Represent your answer in a 14-bit floating point with excess-16 bias form.

Problem 23: Boolean algebra

Consider the following Boolean function:

F(x,y,z) = x‾y‾z‾ + xyz + xy‾z + x‾yz + x‾y‾z + x‾yz‾

a) Draw the truth table of F(x,y,z). 

Hint: No need for too many details in the truth table (x,y,z and F are enough)

b) Use Boolean identities and Boolean algebra to simplify F to its simplest form. Show your simplification steps clearly.

c) Verify your answer by drawing the truth table of your simplified F.

d) Draw the logical diagram of your simplified F.

Problem 24:

Convert the following binary numbers to the destination base. Show your conversion steps clearly. 

a. (1001100)2 = ()8

b. (011010101)2 = ()16 or ()16

Problem 25:

Use the division remainder method to convert the number 115 to binary. Show your conversion steps clearly. 

Problem 26:

Convert 0.0625 from base 10 to base 2. Show your conversion steps clearly.

Problem 27:

Construct an AND gate using only NAND gates. Put labels on your logical circuit to explain how you have obtained the output “xy” from the inputs “x” and “y”.

Problem 28: Binary representations and arithmetic 

Consider the decimal numbers -93.

a) Represent this number in an 8-bit binary signed magnitude form.

b) Represent this number in an 8-bit binary two complement’s form.

c) Use 8-bit two complement’s arithmetic to subtract 93 from 01100111 (+103). Show your calculations clearly. Show the result in two complement and decimal form. 

Hint: you should calculate 103 - 93.

Problem 29: Boolean expressions and digital logic

The truth table of the Boolean expression F(a,b,c) is given below:

2107_Truth table of boolean expression.jpg

a) Give the Boolean expression F(a,b,c) in a sum of products form.

b) Use Boolean identities and Boolean algebra to simplify F. Show your simplification steps clearly.

Hint: Your answer should contain only two terms.

Problem 30: A simple floating point system 

A computer system uses a simplified 14-bit floating point with excess-16 bias to represent binary numbers.

a) How does this system represent the number -0.062510 in binary?

Hint: You have already converted 0.062510 to binary in Part 2 - question 5.

b) What is the decimal version of: 01010010110000? 

Problem 31:

Assuming 2’s complement 8-bit representation, consider the following:

650_8-bit representation.jpg

Is the result correct? Why or why not? What can you deduce?

Problem 32:

Draw the combinational circuit that directly implements the Boolean expression:

F(x,y,z)= xz + (xy + z')

Problem 33: Boolean Algebra and Digital Logic 

Consider the following logical diagram of a logical function F:

1019_Logical diagram of a logical function.jpg

a) Give the Boolean expression of the above logical diagram’s output function F(a,b,c).

b) Draw the detailed truth table of F.

c) If F1 is the simplified version of F and   what would be the Boolean expression of F1?

d) Use Boolean algebra and Boolean identities to prove that F1 is really a simplified version of F (found in part a).

Problem 34: Binary representations 

Consider the binary number 10011100. What does this binary number represent in decimal (base 10) when it is used in:

a) An 8-bit unsigned whole numbers system?

b) An 8-bit signed magnitude system? 

c) An 8-bit one’s complement system? 

d) An 8-bit two’s complement system? 

Problem 35:

Convert each of the following decimal numbers to the destination radix (unsigned 8 bits representation).

a) (102)10 = (……………)2 

b) (168)10=(………….)16

c) (01001010)2 = (………)10

d) (01001010)2= (……….)16

e) 618 = (……………)2

Problem 36:

A) How many nano seconds (ns) are in 12 microseconds (?s)?  

B) How many bits do we have in 6 MB file?  

Problem 37:

Draw the truth table and rewrite the expression below as the products of sum: f=xz’+y’z+x’y

Problem 38:

Given  the following expression F=(x+y)(x+z)(x’+z)

a) Use Boolean algebra and Boolean identities to simplify F to its simplest form. 

b) Draw the truth table of the function F.

c) Draw the logic diagram for simplified F.

Problem 39: The Von-Neumann Model

The Von-Neumann model given below contains three main components: CPU, Main Memory and Input/Output system. It also contains the following sub-components: Control Unit (CU), Arithmetic Logic Unit (ALU), Program Counter Register (PC), Instruction Register (IR), data registers (also called general purpose registers). Use the two lists given above to answer the following questions.

1200_Von newmann model.jpg

1) During the fetch process: 

a. In which component does the system find the needed instruction?

b. In which sub-component does the system find the address of the needed instruction?

c. Which sub-component is responsible for fetching the instruction?

d. In which sub-component does the system store the fetched instruction? 

In the following, consider that the fetched instruction is an “Add” instruction (add two numbers).

2) During the decode process, in which sub-components does the system store the needed operands? 

3) During the execute process: 

a. Which sub-component is responsible for executing the instruction?

b. Where does this sub-component store the result?

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91950210
  • Price:- $60

Priced at Now at $60, Verified Solution

Have any Question?


Related Questions in Computer Engineering

Does bmw have a guided missile corporate culture and

Does BMW have a guided missile corporate culture, and incubator corporate culture, a family corporate culture, or an Eiffel tower corporate culture?

Rebecca borrows 10000 at 18 compounded annually she pays

Rebecca borrows $10,000 at 18% compounded annually. She pays off the loan over a 5-year period with annual payments, starting at year 1. Each successive payment is $700 greater than the previous payment. (a) How much was ...

Jeff decides to start saving some money from this upcoming

Jeff decides to start saving some money from this upcoming month onwards. He decides to save only $500 at first, but each month he will increase the amount invested by $100. He will do it for 60 months (including the fir ...

Suppose you make 30 annual investments in a fund that pays

Suppose you make 30 annual investments in a fund that pays 6% compounded annually. If your first deposit is $7,500 and each successive deposit is 6% greater than the preceding deposit, how much will be in the fund immedi ...

Question -under what circumstances is it ethical if ever to

Question :- Under what circumstances is it ethical, if ever, to use consumer information in marketing research? Explain why you consider it ethical or unethical.

What are the differences between four types of economics

What are the differences between four types of economics evaluations and their differences with other two (budget impact analysis (BIA) and cost of illness (COI) studies)?

What type of economic system does norway have explain some

What type of economic system does Norway have? Explain some of the benefits of this system to the country and some of the drawbacks,

Among the who imf and wto which of these governmental

Among the WHO, IMF, and WTO, which of these governmental institutions do you feel has most profoundly shaped healthcare outcomes in low-income countries and why? Please support your reasons with examples and research/doc ...

A real estate developer will build two different types of

A real estate developer will build two different types of apartments in a residential area: one- bedroom apartments and two-bedroom apartments. In addition, the developer will build either a swimming pool or a tennis cou ...

Question what some of the reasons that evolutionary models

Question : What some of the reasons that evolutionary models are considered by many to be the best approach to software development. The response must be typed, single spaced, must be in times new roman font (size 12) an ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As