What is the numeric value of the string

Assignment Help Basic Computer Science
Reference no: EM13209787

Consider numbers having a binary representation consiting of aninfinite string of the form 0.yyyyyy..., where y is a k-bitsequence. For example, the binary representation of 1/3 is0.01010101... (y = 01, and k=2), while the representation of 1/5 is0.001100110011... (y = 0011, and k=4). A: Give a formula in terms of y and k for the value represented by the infinite string. Hint: Consider the effect of shifting the binary point k positions to the right. B:What is the numeric value of the string for the following values of y? Note that the value of k is implied; e.g.for case i, k=3, etc. i: 101 ii: 10101 iii: 000111

Reference no: EM13209787

Questions Cloud

Explain why vending machines are so prevalent in tokyo : Tokyo's streets are characterized by a plethora of vending machines-dispensing everything from soft drinks, candy bars, and cigarettes to magazines, personal toiletries and beer. Unlike other major cities such as New York and London.
Write a program in c++ for a server : Write a program in C++ for a server (called math solver) which solves three math problems: factorial (i.e. n!), exponent with base 2 (i.e. 2n), and cube (i.e. n3).
Discuss the special problems in developing objective : Discuss the special problems in developing objective, dependent measures in clinical research. If the results are not discussed in terms of statistical probability, Why not?
Improve any of your human relationships : Describe how critical thinking could help you improve any of your human relationships (only to the degree you are comfortable discussing them here).
What is the numeric value of the string : What is the numeric value of the string for the following values of y? Note that the value of k is implied; e.g.for case i, k=3, etc. i: 101 ii: 10101 iii: 000111
Which of the proposed mergers would not be challenged : Suppose there are 9 firms in the photographic film industry with corresponding market shares as given in the table above. Under present merger guidelines with respect to industry HHI and the change in HHI resulting from a merger
Print a header line with appropriate labels for each column : Print a header line with appropriate labels for each column. Format each data line to vertically align each column right-justified.
Jackie robinson and his legacy : How many number of copies were issued at one time when Jules Tigel wrote Baseball's Great Experiment: Jackie Robinson and his Legacy
Differences between an indictment and an information : What are the merits and downfalls of each? Which would you prefer if being charged in a criminal case? Why?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  What is optimal strategy if n is known

Consider the numerical 20 questions game. In this game, player 1 thinks of a number in the range 1 to n. Player 2 What is an optimal strategy if n in known?

  Steps to diagnose application changed from original state

Write down steps would you take in diagnosing the application which has been changed from its original state? Describe the answer.

  Use of visitor pattern to supply additional functionality

Rather than use the Visitor pattern to supply additional functionality. Give the details and compare the advantages and disadvantages of this approach when compared to the Visitor pattern.

  Multiplexors whose control bit allows

Multiplexors whose control bit allows you to select between one of two modes right shift or left shift. Include logic to perform arithmetic shift left and arithmetic shift right . This means you must include logic to perform sign extension in ..

  Give examples of 3 simple (scalar or primitive) data types

Give examples of 3 simple (scalar or primitive) data types commonly provided by programming languages, and identify the method used to represent each data type in the machine

  Identify system operation and section of it shop

Write down the four major support activities you require to be aware of, and what is critical requirement for each of these activities.

  Verify local police department-s findings on firm-s case

Tension over case is running high in city. What do you require to ask police investigator for, and what procedures must you follow?

  Convert hexadecimal number into unpacked bcd number

Convert any hexadecimal number from 00 to 63h placed in AX into its equivalent unpacked BCD number in AX. Multiply byte in register AL by byte in register BL. Place result in AX.

  Difference and similarity between matlab and vba syntax

1. What's one difference you've noticed between MATLAB and VBA syntax? What is one similarity?

  Servlet to return randomly chosen greeting

Write a servlet that returns a randomly chosen greeting from a list of five different greetings.

  Kinds of system-building methods used by dorfman

Recognize the kinds of system-building methods used by Dorfman to create its wireless warehouse system. Explain the methodologies you would recommend

  Write a declaration for an enumerated data type

A pet store sells dogs, cats, birds, and hamsters. Write a declaration for an enumerated data type that can represent the types of pets the store sells.

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