ECC Trimester 3 2018: ENS1161D Computer Fundamentals Assignment 2
VerifiedAdded on 2023/04/21
|12
|2022
|306
Homework Assignment
AI Summary
This document presents a detailed solution to a Computer Fundamentals assignment (ENS1161D) focusing on several key areas of theoretical computer science. The assignment covers functions defined on a set, including calculations of composite and inverse functions. It also delves into relations between sets, represented by matrices, and explores the logical matrix product to determine relationships. A significant portion of the assignment is dedicated to number systems, including conversions between decimal, octal, binary, and hexadecimal representations, as well as binary and hexadecimal addition. Additionally, the solution addresses the conversion of decimal fractions to binary and performs binary addition. The document also includes solutions for BCD addition and explores the interpretation of binary numbers with flags for carry, negative, and overflow conditions. Finally, the assignment concludes with calculating row and column positions in arrays based on sequence positions, utilizing ceiling and modulo functions.
1 out of 12