Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

self-check 5.2 cs-040: exploring computer science 1 dimitrova 4th / uni…

Question

self-check 5.2
cs-040: exploring computer science 1 dimitrova 4th / unit 5: what more can i do with basic programming

  1. as taught in the video from the binary lesson, add the following binary numbers and select the correct answer.

10011001
11001101
○ 256
○ 358
○ 533
○ 31

Explanation:

Step1: Convert first binary to decimal

$10011001 = 1\times2^7 + 0\times2^6 + 0\times2^5 + 1\times2^4 + 1\times2^3 + 0\times2^2 + 0\times2^1 + 1\times2^0 = 128 + 0 + 0 + 16 + 8 + 0 + 0 + 1 = 153$

Step2: Convert second binary to decimal

$11001101 = 1\times2^7 + 1\times2^6 + 0\times2^5 + 0\times2^4 + 1\times2^3 + 1\times2^2 + 0\times2^1 + 1\times2^0 = 128 + 64 + 0 + 0 + 8 + 4 + 0 + 1 = 205$

Step3: Sum the two decimals

$153 + 205 = 358$

Answer:

B. 358