What is the largest positive number you can represent

Assignment Help Computer Engineering
Reference no: EM13322816

You wish to express -64 as a 2's complement number.

a. How many bits do you need (the minimum number)?

b. With this number of bits, what is the largest positive number you can represent? (Please give answer in both decimal and binary).

c. With this number of bits, what is the largest unsigned number you can represent? (Please give answer in both decimal and binary).

 

Reference no: EM13322816

Questions Cloud

At what rate must the magnetic field change : At what rate must the magnetic field change with the time if an induced current of 10 A is to appear in the loop?The resistivity of copper is 1.7X10^-8 ohm.
Computes the final price for a sales transaction : Create a C program that contains a function that computes the final price for a sales transaction and return that value to a calling method.
Explain hc3h5o2(aq) to obtain a solution with ph=4.7 : How many moles of NaOH must be added to 0.550 L of 0.191 mol/L HC3H5O2(aq) to obtain a solution with pH=4.7. Assume the temperature is 25oC. (For HC3H5O2, pKa=4.89 at 25oC).
Write ieee floating point representation of the following : Write IEEE floating point representation of the following decimal numbers.
What is the largest positive number you can represent : With this number of bits, what is the largest unsigned number you can represent? (Please give answer in both decimal and binary).
Convert these decimal numbers to 8-bit 2s complement binary : Convert these decimal numbers to 8-bit 2's complement binary numbers.
Make a c program that squares the number : Make a C program that accepts an integer value at the main method from the keyboard and in turn passes the value to a function that squares the number
One-second delay between each toggle : Write a program to continuously turn all four green LEDs ON and OFF (toggle). There should be a one-second delay between each toggle.
What is the greatest magnitude negative number : What is the largest positive number one can represent in an 8-bits 2's complement code? Write your result in binary and decimal.

Reviews

Write a Review

Computer Engineering Questions & Answers

  The c++ libraries on strings have many functions

The C++ libraries on strings have many functions that can be used to handle various string operations. Write a function called stringlast that can be used to find the last n characters in a string and return a pointer to this new string

  Write a shell script instead of a shell function

When might it be necessary or advisable to write a shell script instead of a shell function? Give as many reasons as you can think of.

  Express how the required task can be achieved

The parameter element is a data item to be added to the array. The parameter position is the array index at which the new element will be inserted. be sure to account for elements that must be moved over to make room for the new element.

  Write java program that can serve as simple calculator

Write down a Java program that can serve as a simple calculator. This calculator keeps track of a single number (of type double) that is called result and that starts out as 0.0.

  What are the advantages of modular programming in rts

What are the advantages of modular programming in RTS and can all the tasks  meet their respective deadlines when priority ceiling protocol is used for resource scheduling?

  Write down a java program that reads in 10 integers

Write down a C# program that calculates the square root of each number in the multiplication table for values from 1*1 up to 10*10. Be sure to provide labels for your rows and columns.

  Simple textual table defining catalogues of retail store

make a function to read a series of catalogue records from a file into a vector of catalogue objects. You will need to use the class ifstream that is derived from istream, like so.

  The advantages and disadvantages of standardization

find the advantages and disadvantages of standardization in computer hardware and system software.

  Why both support pass-by-reference and pass-by-value

For primitive data types, C# implements pass-by-value as the default.although , VB6.0 implements the pass-by-reference as the default. They both support pass-by-reference and pass-by-value.

  How to create a user named victor

design a user named VICTOR who can create tables, views, indexes, and can grant object privileges to other users on any object that he creates. Save your work as a .sql file.

  The solution is about the kinds of ai systems

The solution is about the types of AI systems that could be used to help make systems more efficient. It also explains how they would help.

  Suggest a fragmentation design of the account relation

Suggest a fragmentation design of the Account relation

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