Binary number handled by computer

Assignment Help Basic Computer Science
Reference no: EM131194141

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?

Verified Expert

91 – 64 = 27; 27 – 16 = 11 ; 11 – 8 = 3 ; 3 - 2 = 1 ; 1 – 1 = 0 - The detailed specifications of a laptop are: ? Intel Core i3 / 2.2 GHz Intel Core i3: The processor type 2.2 GHz: Processor’s speed or processor’s clock speed

Reference no: EM131194141

Questions Cloud

Competitive advantage in the global arena : How do operations and supply chain processes provide a competitive advantage in the global arena?
Principal kafele talks school climate and culture : Review the video titled "Principal Kafele Talks School Climate and Culture in U.S. Education"- Propose at least two (2) steps that you could take in order to help to build a positive school climate in your home school district.
Discuss issues that are included with us drug policy reform : Identify and discuss the issues that are included with US DRUG POLICY REFORM. Provide a narrative timeline describing how the reform has evolved over the past 50 years.
How much charge can the battery supply : What must be the area of a parallel plate capacitor, with plates separated a distance d = 0.01 mm and relative permittivity of 4 for the dielectric between the plates to supply the same charge as the battery in (a)?
Binary number handled by computer : 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?
How would you recommend the planned order release : How would you recommend the planned order release (POR) and bill of materials (BOM) for all components for a week? Draw the feeder lines and show the arrangement of feeding components for assembly.
Why investing in any health care organizations technology : Justify the primary reasons why investing in any health care organization's technology and information system should align with the overall organization's strategic goals.
Discuss the problems of getting survey data in real world : Discuss the problems of getting survey data in the real world, also discuss ethics you need to consider when gathering survey data. Also give an example of a real world product and give suitable survey questions
What is the conductivity of the silicon used : If the velocity of the carriers is 2000 m/s, how many free charges (electrons) must be present in the device at all times?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Determining contents of memory of specified address

Find the contents of memory from address 0x1800 up to, but not including, 0x1809, after this code is executed.

  Measuring it value

Measuring IT Value

  Best way to multiply a chain

What is the best way to multiply a chain of matrices with dimensions that are 10 x 5, 5 x 2, 2 x 20, 20 x 12, 12 x 4, and 4 x 60? Please show work.

  Determine the maximum period obtainable from lcg

Determine the maximum period obtainable from following LCG? Xn+1 = aXn (mod 24). What must be the value of a?

  Creating relational databases

Consider the following set of database tables. The diagram shows a database made up of 6 tables with all primary keys underlined. Please take note of foreign keys (most of them carry the same names as the corresponding primary keys they reference)..

  It auditor certifications and requirements

Use the Web to conduct research on IT Auditor Certifications. Write a report which provides and explains the following: 3 IT Auditor Certifications and Requirements

  Audit report related to fisma

Please write a brief report listing the controls tested and the result of the test. You may express your opinion or thoughts on the findings. The goal is familiarize everyone with an Audit Report related to FISMA.

  Write code statements to create a decimal format object

Then write a statement that uses that object to print the value of the result, properly formatted.

  Find a shortest path from 1 to all nodes

Find a shortest path from 1 to all nodes using the binary heap method, Dial's algorithm, the D'Esopo-Pape algorithm, the SLF method, and the SLF/LLL method.

  The quality of the discussion by making frequent

Discussion responses should be on topic, original, and contribute to the quality of the Discussion by making frequent, informed references to lesson materials and Seminars. Initial Discussion responses should be around 150 words. Responses to your cl..

  How the different tasks will play a part in future career.

How the different tasks will play a part in your current position or future career.

  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.

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