Practice on change base

Express each binary number in decimal

  1. 1001
  2. 11011
  3. 11011011
  4. 100000
  5. 11111111
  6. 110111011011

Express each decimal number in binary

  1. 34
  2. 61
  3. 223
  4. 400
  5. 1024
  6. 12340

Express each hexadecimal number in decimal

  1. 3A
  2. 1E9
  3. 3E7C
  4. A03
  5. 209D
  6. 4B07A

Express each decimal number in hexadecimal

  1. 34
  2. 61
  3. 223
  4. 400
  5. 1024
  6. 12340

If it is possible, you can write codes to check your answers.