EY41 Lecture Exercise #1
EY41 Lecture Exercise #1
EY41 Lecture Exercise #1
EY41 –
PROGRAMMABLE
LOGIC CONTROLLER
SUBMMITED BY:
EARL PATRICK S. EUGENIO
LECTURE EXERCISE #1
Lecture Exercise #1 : BINARY BASICS
DIRECTIONS:
Convert the given values into its decimal value. Show your solution and box the final
answer. Please submit your work in PDF format. (5pts each)
Example:
Given:
101101102 → ________ 10
Solution:
1. 100101112
2. 011011112
3. 110011002
4. 100010112
5. 10238
6. 3428
7. 6828
8. F12A16
9. FFFF16
10. 1B2F16
1. 100101112 = 151
Solution:
(10010111)₂= (1 × 2⁷) + (0 × 2⁶) + (0 × 2⁵) + (1 × 2⁴) + (0 × 2³) + (1 × 2²)
+ (1 × 2¹) + (1 × 2⁰) = (151)₁₀
2. 011011112 = 111
Solution:
(01101111)₂ = (0 × 2⁷) + (1 × 2⁶) + (1 × 2⁵) + (0 × 2⁴) + (1 × 2³) + (1 × 2²)
+ (1 × 2¹) + (1 × 2⁰) = (111)₁₀
3. 110011002 = 204
Solution:
4. 100010112 =139
Solution:
5. 10238 = 531
Solution:
6. 3428 = 226
Solution:
7. 6828=
8. F12A16= 61,738
Solution:
9. FFFF16 = 65535
Solution:
Solution: