Creating the table showing decimal value

Assignment Help Data Structure & Algorithms
Reference no: EM1380138

Question1) Using 5 bits to represent each number, write the representation of 7 and -7 in 1's complement, signed magnitude, and 2's complement integers.

Question2) Write the 6-bit 2's complement representation of -32.

Question3) Convert these decimal numbers to 8-bit 2's complement binary numbers
a. 102 b. 64 c. 33 d. -128 e. 127

Question4) Assume if the last digit of a 2's complement binary number is 0, then number is even. If the last two digits of a 2's complement binary number are 00 (e.g., the binary number 01100), what does that tell you about the number?

Question5 )without changing their values convert the following 2's complement binary numbers into 8-bit 2's complement numbers.
a. 1010 b. 011001 c. 1111111000 d. 01

Question6) Create table showing the decimal value of all 4-bit 2's complement numbers

 

Reference no: EM1380138

Questions Cloud

Sql statements : Suppose that the tables T1 and T2 have a 1:1 relationship. Suppose that T2 has the foreign key. Demonstrate the SQL statements necessary to move the foreign key to T1.
Spreadsheet to compute projected total costs and profits : Prepare a spreadsheet to compute your projected total costs, total revenues, and total profits for giving seminar on cost estimating.
Identifying flaws in the design : Identify flaws in design of the Report of Consumers that follows. What assumptions about users and tasks did you make in order to assess this design?
Formula to compute number of address bus conductors : If an address bus needs to be able to address 8-devices, how many conductors will be needed? What if each of those devices also requires to be able to talk back to the I/O control device?
Creating the table showing decimal value : Assume if the last digit of a 2's complement binary number is 0, then number is even. If the last two digits of a 2's complement binary number are 00
Construct an annotated bibliography : Construct an annotated bibliography - Should employers screen potential employees on the basis of lifestyle, physical appearance or personality tests?
Difference between formulas and functions : Assume your mother in law heard that you prepared the budget for the high school reunion picnic and has asked if you could help her to make a monthly household budget.
Question about passing parameters : Provide an example of when passing parameters through value as opposed to passing them by reference is a better method. Provide an example of when passing parameters through reference
Explain benefits of isdn : Sometimes ISDNs are used in locations that do not support DSL or cable modem connections. Your selections may be analog modems or an ISDN connection in those remote locations.

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Effective address-addressing mode of instruction is direct

Evaluate the effective address if the addressing mode of the instruction is (a) direct; (b) immediate; (c) relative; (d) register indirect.

  Program for stack by using dynamically allocated array

Write a C++ class which implements stack by using a dynamically allocated array. Initial size of particular stack must be determined when it is created.

  Create algorithm to perform any sequence of two operations

Let A[1, n] be an array of real numbers. Create an algorithm to perform any sequence of the following two operations: Add(i, x): add the value x to A[i].

  Analyze algorithm to determine length of longest substring

Explain and analyze the algorithm to determine the length of longest substring that appears both forward and backward in an input string T[1 . n].

  How many leaf nodes can a decision tree have

At most how many leaf nodes can a decision tree have if it is consistent with a training set containing 100 examples?

  Explain advantages of eager decision tree algorithm

Explain advantages and disadvantages of new algorithm compared with eager decision tree algorithm, and advantages and disadvantages of new algorithm compared with lazy kNN algorithm.

  Write algorithm to prompt for and accept four numbers

Write the algorithm which will prompt for and accept four numbers, sort them into ascending sequence and display them to screen. Your algorithm is to include module called Order _two_numbers.

  Generalize 2-3 algorithms for insert and delete

Generalize the 2-3 algorithms for INSERT and DELETE to K-J trees, where non-leaf vertices have between K and J children for fixed integers K >=2, and J>= 2K-1.

  Algorithm for finding smallest element in unsorted array

Consider the following algorithm for finding the smallest element in an unsorted array: RANDOMMIN(A[1 .. n]). What is the exact expected number of executions of line ( )?

  Design algorithm determining annual profit for company

Your goal is to solve the following simple programming exercise. You have been asked by your accounting department to design an algorithm determining the annual profit for your company.

  Describe ambiguity in proposed algorithm

Describe the distinction between an ambiguity in a proposed algorithm and an ambiguity in the representation of an algorithm. Describe how the use of primitives helps remove ambiguities in an algorithm's representation.

  Write algorithm to find median value using queries

As queries are expensive, you would like to calculate median using as few queries as possible. Provide the algorithm which finds median value using at most O(log n) queries.

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