Saturday Questions-24-Sep-2022. Questions on Number Conversion

Saturday Questions

Questions on Conversion

Varanasi Software Junction: Saturday Questions.


  1. Write a program to convert decimal to binary  and back. 
  2. Write a program to convert decimal to octal  and back.
  3. Write a program to convert decimal to hexadecimal and back.
  4. Write a program to multiply binary, octal and hexadecimal.
  5. Sort arrays of binary, octal and hexadecimal.
  6. Write a program to convert binary to hexadecimal and octal, also do the back conversion.
  7. Count the number of ones in a decimal number by treating it as binary.

Contact us for software training, education or development










 

Post a Comment

0 Comments

Me