Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Title: Number Conversions OBJECTIVES In this iLab, you will be asked to perform

ID: 3662263 • Letter: T

Question

Title: Number Conversions

OBJECTIVES

In this iLab, you will be asked to perform several conversions. You will also be asked to explain.

II. PROCEDURE

Convert 8-bit binary 100102 to decimal. Show all work. If fewer than 8 bits are given, assume zeros are padded on the left.



Convert 8-bit binary 100011002 to decimal. Show all work.



Convert 8-bit binary 1101002 to decimal. Show all work.



Explain how the modulus ‘%’ functions.



Convert decimal 45 to binary using the modulus function. Show all work.



Convert decimal 66 to binary using the modulus function. Show all work.



What is the decimal value of 1100102?

Explanation / Answer

1. Convert 8-bit binary 100102 to decimal. Show all work. If fewer than 8 bits are given, assume zeros are padded on the left.

=> 1*2^4 + 0*2^3 + 0*2^2 + 1*2^1 + 0*2^0
=> 16 + 0 + 0 + 2 + 1 = 19

2. Convert 8-bit binary 100011002 to decimal. Show all work.
=> 1*2^7 + 0*2^6 + 0*2^5 + 0*2^4 + 1*2^3 + 1*2^2 + 0*2^1 + 0*2^0
=> 128 + 8 + 4 + 1
=> 141

3. Convert 8-bit binary 1101002 to decimal. Show all work.
=> 1*2^5 + 1*2^4 + 0*2^3 + 1*2^2 + 0*2^1 + 0*2^0
=> 32 + 16 + 4 + 1
=> 53


4 Explain how the modulus ‘%’ functions.
=> it return the remainder when a is divided by b;
=> 6%5 = 1


5 Convert decimal 45 to binary using the modulus function. Show all work.
=> 45 % 2 = 1; 22 % 2 = 0; 11 % 2 = 1; 5 % 2 = 1; 2%2 = 0; 1%2 = 1;
=> 101101

6 Convert decimal 66 to binary using the modulus function. Show all work.
=> 66 % 2 = 0; 33 % 2 = 1; 16 % 2 = 0; 8 % 2 = 0; 4 % 2 = 0; 2%2 = 0; 1%2 = 1;
=> 1000010


7 What is the decimal value of 1100102?
1*2^5 + 1*2^4 + 0*2^3 + 0*2^2 + 1*2^1 + 0*2^0
=> 32 + 16 + 2
=> 48

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote