Question

In: Computer Science

Solve the following problems - assembly - computer organization and architecture- william stallings 1) What is...

Solve the following problems - assembly - computer organization and architecture- william stallings

1) What is the difference between the twos complement representation of a number and
the twos complement of a number?

2) What are the four essential elements of a number in floating-point notation?

3) Give a reason for the use of guard bits.

Solutions

Expert Solution

1.) What is the difference between the two's complement representation of a number and the two's complement of a number?

Answer : The difference between the two's complement representation of a number and the two's complement of a number is that ,

a.)With the two's complement representation of a number ,we can easily identify whether the integer is negative (or) positive

b.)Whereas the two's complement of a number is nothing but, the computation is involved which performs complementing of each and every bit of the specified number and adding one to the number.

2) What are the four essential elements of a number in floating-point notation?
Answer :

Floating-point representation of a number is given below :

where,

1st bit ( )represents the sign bit

m represents the mantissa(significand)

R represents the base of the number

e represents the exponent.

Hence,from the above,we can understand that the four essential elements of a number in floating-point notation are :

a.)Sign

b.)Mantissa(Significand)

c.)Base

d.)Exponent

3) Give a reason for the use of guard bits.

Guard Bits:

a.)Additional Bits  which are added to the registers are called the Guard Bits.

b.)They are filled at the right end of the significand with 0s(zeros) in the register.

Reason for the use of guard bits :

a.)They are mainly used for the betterment of the rounding accuracy in numbers .

b.)The main reason is to reduce the unwanted loss of bits .


Related Solutions

why study computer architecture and organization ?
why study computer architecture and organization ?
why study computer architecture and organization
why study computer architecture and organization
Computer Architecture 1. Define what a "word" is in computer architecture: The size (number of bits)...
Computer Architecture 1. Define what a "word" is in computer architecture: The size (number of bits) of the address The total number of bits of an instruction (e.g. 16 bits) Word and width are synonymous. A word is the contents of a memory register. 2. What is the difference between a register’s width and a register’s address? (choose all that apply - there may be more than one correct answer) They are both the same! Address is the same for...
Question 1. Differentiate between computer organization and computer architecture. State computer evolution and its various generations....
Question 1. Differentiate between computer organization and computer architecture. State computer evolution and its various generations. Differentiate between general purpose and special purpose computers. Which computer can be truly named as the first general-purpose computer? Question 2. Differentiate the high level, assembly, and machine-level languages. How compilers are different from interpreters? Write a brief note on system software and how it is different from application software? Write a brief note on Mnemonic and registers. Question 3. Briefly explain the function...
Thinking as a Technologist, in broad terms what problems do computer technology solve, and what problems...
Thinking as a Technologist, in broad terms what problems do computer technology solve, and what problems does it create? Where can it help an organization/society work better, and what potential abuses would you warn the organization/society about?
About Cache, computer organization, computer architecture, computer science. Cache Question: A[0] is at memory address 0x0FED...
About Cache, computer organization, computer architecture, computer science. Cache Question: A[0] is at memory address 0x0FED CBA0. Array B[] is right after array A[] in the data memory. Both arrays have 10 integers Based on memory address for A[0] of 32 bits, i know that the cache index and tag is 27 bits, offset is 4 bits and index is 1 bit. Q: Will the tag and cache index change for A[8] and B[8]? And how will it change? I...
what is service oriented architecture and cloud architecture and how they impact in an organization
what is service oriented architecture and cloud architecture and how they impact in an organization
what are the advantages of using computer aided programs to solve problems withe the hardy cross...
what are the advantages of using computer aided programs to solve problems withe the hardy cross method. P.s. it was answered incorrectly the first time
Computer Architecture and Organization(c++) Write a C++ program that prompts the user to enter a hexadecimal...
Computer Architecture and Organization(c++) Write a C++ program that prompts the user to enter a hexadecimal value, multiplies it by ten, then displays the result in hexadecimal. Your main function should a) declare a char array b) call the readLn function to read from the keyboard, c) call a function to convert the input text string to an int, d) multiply the int by ten, e) call a function to convert the int to its corresponding hexadecimal text string, f)...
Solve the following problems. a) What is the order of the differential equation ? ′ =...
Solve the following problems. a) What is the order of the differential equation ? ′ = ? 2 − 3? − 10? Is it linear ? b) Determine whether the differential equation ? ′ = ? 2 − 3? − 10 possesses constant solutions. If yes find these constant solutions. c) Find the value(s) of ? so that the function ? = ? ?? is a solution of ? ′′ − 3? ′ − 10? = 0. Do you think...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT