Assignment 2 2026
Unique number:
Due Date: 30 June 2026
QUESTION 1
1.1 Convert Binary 10111₂ to Decimal
10111₂
= 1 × 2⁴ + 0 × 2³ + 1 × 2² + 1 × 2¹ + 1 × 2⁰
= 16 + 0 + 4 + 2 + 1
= 23₁₀
Answer: 10111₂ = 23₁₀
1.2 Convert Decimal 255 to Hexadecimal
255 ÷ 16 = 15 remainder 15
15 = F and 15 = F
Answer: 255₁₀ = FF₁₆ Terms of use
By making use of this document you agree to:
Use this document as a guide for learning, comparison and reference purpose,
Terms of use
Not to duplicate, reproduce and/or misrepresent the contents of this document as your own work,
By making use of this document you agree to:
Use this document
Fully accept the consequences
solely as a guide forshould you plagiarise
learning, reference,orand
misuse this document.
comparison purposes,
Ensure originality of your own work, and fully accept the consequences should you plagiarise or misuse this document.
Comply with all relevant standards, guidelines, regulations, and legislation governing academic and written work.
Disclaimer
Great care has been taken in the preparation of this document; however, the contents are provided "as is" without any express or
implied representations or warranties. The author accepts no responsibility or liability for any actions taken based on the
information contained within this document. This document is intended solely for comparison, research, and reference purposes.
Reproduction, resale, or transmission of any part of this document, in any form or by any means, is strictly prohibited.
, +27 81 278 3372
QUESTION 1
1.1 Convert Binary 10111₂ to Decimal
10111₂
= 1 × 2⁴ + 0 × 2³ + 1 × 2² + 1 × 2¹ + 1 × 2⁰
= 16 + 0 + 4 + 2 + 1
= 23₁₀
Answer: 10111₂ = 23₁₀
1.2 Convert Decimal 255 to Hexadecimal
255 ÷ 16 = 15 remainder 15
15 = F and 15 = F
Answer: 255₁₀ = FF₁₆
1.3 Determine the 2’s complement of 10001₂
Given number: 10001₂
Step 1: Find the 1’s complement by changing 1s to 0s and 0s to 1s.
10001₂ → 01110₂
Step 2: Add 1.
01110₂ + 1₂ = 01111₂
Answer: 2’s complement of 10001₂ = 01111₂
1.4 Perform the following additions
1.4 a
Disclaimer
Great care has been taken in the preparation of this document; however, the contents are provided "as is"
without any express or implied representations or warranties. The author accepts no responsibility or
liability for any actions taken based on the information contained within this document. This document is
intended solely for comparison, research, and reference purposes. Reproduction, resale, or transmission
of any part of this document, in any form or by any means, is strictly prohibited.
, +27 81 278 3372
345₈ + 227₈
345₈
+ 227₈
-------
574₈
Check:
345₈ = 229₁₀
227₈ = 151₁₀
229 + 151 = 380₁₀
380₁₀ = 574₈
Answer: 345₈ + 227₈ = 574₈
1.4 b
3A2₁₆ + 1C5₁₆
3A2₁₆
+ 1C5₁₆
--------
567₁₆
Check:
3A2₁₆ = 930₁₀
1C5₁₆ = 453₁₀
930 + 453 = 1383₁₀
1383₁₀ = 567₁₆
Answer: 3A2₁₆ + 1C5₁₆ = 567₁₆
1.4 c
Disclaimer
Great care has been taken in the preparation of this document; however, the contents are provided "as is"
without any express or implied representations or warranties. The author accepts no responsibility or
liability for any actions taken based on the information contained within this document. This document is
intended solely for comparison, research, and reference purposes. Reproduction, resale, or transmission
of any part of this document, in any form or by any means, is strictly prohibited.