Coquitlam College
Lab 2-2
Rita Ester
CSCI 100 Fall 2025
Binary Number Conversions
Do not use any calculator or online converters for this assignment.
Use the "Add submission" button to submit your calculations and your answers in the online text
editor of this lab before the due date.
1. What are the decimal numbers for the 8-bit binary numbers below?
0000 0101
0000 1010
0110 0110
1001 1001
Example how to write down your calculations: Multiply and add up the power-of-two-numbers.
0010 1010 (bin) = 0x128 + 0x64 +1x32 + 0x16 + 1x8 + 0x4 + 1x2 + 0x1 (dec) = 42 (dec)
For assistance watch this video: "How to convert binary to decimal?"
2. What are the 8-bit
5
16
20
57
(one byte) binary numbers for the decimal numbers below?
Eample how to write down your calculations: Strike through unused power-of-two-numbers.
71 (dec) = 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 (dec) = 0100 0111 (bin)
Where is the strike-trough
formatting?
For assistance watch this video: "How to convert decimal to binary?"