View All num of num See all Photos Intel Corporation www.intel.com Overview Reviews Salaries Interviews Jobs Photos Benefits 4.6k Reviews 15k Salaries 1.7k Interviews 2.3k Jobs Follow Add Interview Follow Add Interview Interview Question Post Silicon Validation Engineer Interview Folsom, CA Intel Corporation Convert a decimal number into binary form. Tags: See more , See less 8 Answer Add Tags Answer Interview Answer 1 Answer ▲ 0 ▼ If you are not very familiar with the powers of 2, you can write them down, from left to right, before starting the process. eg. 1024, 512, 256, 128, 64, 32, 16, 8, 4, 2, 1Find the largest power of 2 that is less than the decimal number, then:1 - write a '1' for that power-of-2's column2 - subtract that power-of-2 from the number and keep the remainder3 - check next lower power-of-2 to see if it is less than the remainder4 - if no write a '0' for that power-of-2's place and goto step 35 - if yes, goto step 1Example:Starting with the decimal number 209, the largest power-of-2 that is less than 209 is 128. We write a '1' and subtract 128 from 209 leaving 81. The next smaller power-of-2 is 64. 64 is less than 81 so we write a '1', subtract 64 from 81 leaving a remainder of 17. We then check 32 and write a '0', check 16 and write a '1', leaving a remainder of 1. Next is 8, then 4, then 2, taking a '0' for each leaving a '1' for 1. Putting all this together yields a solution of '11010001' binary, which is 0xD1 (hex) and 209 decimal.I hope this helps. JimmyT on 2013-09-03 Interviews > Post Silicon Validation Engineer > Intel Corporation Add Answers or Comments To comment on this, Sign In or Sign Up.