Convert the following binary number to decimal: 11111111.


128+64+32+16+8+4+2+1=255

Computer Science & Information Technology

You might also like to view...

What output is produced by the following code fragment?

``` int limit = 100, num1 = 15, num2 = 40; if (limit <= limit) { if (num1 == num2) System.out.println("lemon"); System.out.println("lime"); } System.out.println("grape"); ```

Computer Science & Information Technology

For which of the following reasons would you zip files?

A) To e-mail them as an attachment B) To organize the Documents folder C) To delete files D) To decrease the resolution

Computer Science & Information Technology

To fill the object with a different color, use the Shape Fill button on the contextual Format tab.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Which of the following loop headers will arrange for the loop body to execute exactly 10 times?

a) for (int i = 1; i < 10; ++i) b) for (int i = 0; i <= 10; ++i) c) for (int i = –5; i < 5; ++i) d) for (int i = 2; i < 20; ++i)

Computer Science & Information Technology