How many minimum bits should prashant store c

Assignment Help Basic Computer Science
Reference no: EM131160327

Prashant takes as input 2 integer number a and b, whose value is in between 0 to 127. He stores them as 7 bit numbers. He write the following code to process these number to produce a third number c. c= a-b. In how many minimum bits should Prashant store c.

Reference no: EM131160327

Questions Cloud

How two dimensional arrays are initialized : 1. How two dimensional arrays are initialized? 2. How to output the elements of one dimensional array?
Caused solely by differences in productivity : In 2010, many unskilled workers in the United States earned the Federal minimum wage of $7.25 per hour. By contrast, average earnings in 2010 were about $17.00 per hour, and certain highly skilled professionals, such as doctors and lawyers, earned $1..
Present two policy recommendations based on the issue : Use critical thinking to analyze the issue using economic concepts and theory learned in our class. Present two policy recommendations based on this issue. Use additional references to back up your arguments.
Create the box model conventions for your web site : Create the box model conventions for your web site. Build on the typographic classes you created in Portfolio 1.5 . Think about the different spacing requirements for your content, and decide how the legibility can be enhanced using the box proper..
How many minimum bits should prashant store c : Prashant takes as input 2 integer number a and b, whose value is in between 0 to 127. He stores them as 7 bit numbers. He write the following code to process these number to produce a third number c. c= a-b. In how many minimum bits should Prash..
Why ethical standards are important for client progress : Identify the ethical standards of the APA or ACA code specific to Janice's concerns that the counselor should follow to provide professional and ethical services. Identify specific sections of the ethical code, described in your own words, which ma..
Input size and basic operation : Q1.Why do we use input size and basic operation to analyze the complexity of an algorithm? Can we use other measures for complexity analysis of algorithms? Illustrate the key concepts by example.
Explain the root cause of the crisis to document strengths : Examine and explain the root cause of the crisis to document the strengths and weaknesses of the methodology used to implement solutions.
What is the present value of cash outflows : What is the present value of cash outflows for each of these alternatives, using the after-tax cost of debt as the discount rate?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  The organization code of ethics

The organization  code of ethics?

  Define intellectual property and global information

Intellectual Property and Information.(a) Define Intellectual Property and Global Information in an IT context. How are intellectual property rights in conflict with the globalization of information?

  Describe the structure of the world wide web

Describe the structure of the World Wide Web as interconnected hypertext documents and create and validate HTML documents - create presentations using Cascading Style Sheets and DHTML.

  Application depicting a chosen cpu

Could you help me present at least one diagram built in Visio, PowerPoint, or similar application depicting a chosen CPU or memory architecture for a system?

  Analyze and evaluate interface design models

Analyze and evaluate interface design models

  What is occurring and the possible uses of the information

Is the activity occurring in packets 9-18 abnormal? If so, provide a detailed interpretation of what is occurring, and the possible uses of the information gained. You don't have to tell me IP xx.xx.xx.xx is accessing port x on IP xx.xx.xx.xx. I ..

  Flowchart and desk check for an algorithm

Flowchart and desk check for an algorithm that will receive two integer items from a terminal operator, and display to the screen their sum, difference, product and quotient. Note that the quotient calculation (first integer divided by second integer..

  Dealing with artificial intelligence

Giving reasons list why Perl is not commonly used as a programming language when dealing with artificial Intelligence?

  Compare the conventional and renormalized som algorithms

Compare the conventional and renormalized SOM algorithms, keeping in mind the following two issues:

  Write a flowchart with single alternative decision structure

Write a flowchart with a single alternative decision structure that assigns 0 to the variable b and assigns 1 to the variable c it the variable a is less than 10

  Write a program that reads a value

Write a program that reads a value (say n) from the user and ouputs "Hello world" n times. Verify that the user has entered an integer. If the input is 3, the output will be "hello world" 3 times.

  User enters a negative number or a nondigit number

If the user enters a negative number or a nondigit number, throw and handle an appropriate exception and prompt the user to enter another nonnegative number.

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