1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
WITCHER [35]
3 years ago
9

Convert (35.125)10 to binary

Computers and Technology
1 answer:
cupoosta [38]3 years ago
7 0

Answer:

The answer is: 100011.001₂.

Explanation:

First, transform to binary the integer part: 35. Divide the number repeatedly by 2, keeping track of each remainder, until we get a quotient that is equal to 0:

  • 35 ÷ 2 = 17 + 1;
  • 17 ÷ 2 = 8 + 1;
  • 8 ÷ 2 = 4 + 0;
  • 4 ÷ 2 = 2 + 0;
  • 2 ÷ 2 = 1 + 0;
  • 1 ÷ 2 = 0 + 1;

Now, construct the integer part base 2 representation, by taking the remainders starting from the bottom of the list:

  • 35₁₀ =  100011₂

Then, transform to binary the fractional part: 0.125. Multiply it repeatedly by 2, keeping track of each integer part of the results, until we get a fractional part that is equal to 0:

  • 0.125 × 2 = 0 + 0.25;
  • 0.25 × 2 = 0 + 0.5;
  • 0.5 × 2 = 1 + 0;

Construct the fractional part base 2 representation by taking all the integer parts of the multiplying operations, starting from the top of the list.

0.125₁₀ =  0.001₂

Then you have:

35.125₁₀ =  100011.001₂

You might be interested in
What is your favorite food
Stella [2.4K]

Answer:

mo:mo choumin

Explanation:

7 0
3 years ago
Read 2 more answers
Would these statements cause an error? Why or why not? int year = 2019; int yearNext = 2020; int & ref = year; & ref = y
zalisa [80]

Answer: YES

Explanation:

int year=2019;

int yearNext=2020;

 int &ref=year;

<em>&ref=yearNext</em>; {This line leads to error as references cannot be reassigned}

(//compilation error: lvalue required as left operand of assignment

) lvalue(&ref) is not something which can be assigned.

To get this better, here are the difference between pointers and reference variables

Pointers

Pointers can be incremented

Array can be formed with pointers

Pointers can be reassigned

Pointer can be declared as void  

Reference variable

References cannot be incremented

Array cannot be formed with references

References cannot be reassigned as references shares the address of the variable its assigned

References can never be void

3 0
3 years ago
It is important to name your files in a variety of formats. true or false
blsea [12.9K]

True.You can bold important things or italicize them to make them more visible so you can find them easier and more efficiently.

<em>IMPORTANT FILES </em>pops out more than IMORTANT FILES

Good Luck :)

<em>Klicker</em>

3 0
3 years ago
Read 2 more answers
Assume that the variables gpa, deansList and studentName, have been declared and initialized . Write a statement that both adds
Alborosie

Answer:

Following are the statement which is given below:

if (gpa > 3.5)  // check the condition if gpa exceeds 3.5.

{

deansList++;  // increment of 1 in the deansList variable

cout << studentName;  // display the studentName,  

}

Explanation:

The description of the statement

  • In the if statement we check the condition of "gpa" .if  "gpa"  is greater then 3.5 then it executed the statement inside the if block otherwise nothing will be executed.
  • if control moves to the if part it adds to 1 to the deansList.
  • Finally, display the value of studentName.
3 0
3 years ago
10.
Rama09 [41]
This is 100% f a l s e !!
8 0
3 years ago
Other questions:
  • . Reorder the following efficiencies from smallest to largest:
    9·1 answer
  • We will pass in 2 values, X and Y. You should calculate XY XY and output only the final result. You will probably know that XY X
    13·1 answer
  • What is one of the most helpful things about having a role model?
    10·2 answers
  • Write a CPP Program to read an integer number. Use a pointer to display this numbe
    5·1 answer
  • Computer keyboard failures can be attributed to electrical defects or mechanical defects. A repair facility currently has 25 fai
    14·1 answer
  • A 5-stage MIPS pipeline has a register file without forwarding mechanism. How many NOPs (or bubbles) will you need to add to mak
    9·1 answer
  • Select the correct answer from each drop-down menu.
    7·1 answer
  • Coding 5 - Classes The Item class is defined for you. See the bottom of the file to see how we will run the code. Define a class
    13·1 answer
  • What is syllabus of diploma in computer after class 10​
    10·1 answer
  • Why is computer economics important?​
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!