0% found this document useful (0 votes)
138 views4 pages

CS302 Assignment 1 Solution

This document provides the step-by-step workings and calculations to solve multiple mathematical problems involving conversions between different number systems, including binary, decimal, octal and hexadecimal. Several long decimal numbers are first converted to their equivalent octal values using repeated long division. These octal results, along with values in other bases, are then combined using addition and subtraction to obtain a final octal result.

Uploaded by

Abdullah Mustafa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
138 views4 pages

CS302 Assignment 1 Solution

This document provides the step-by-step workings and calculations to solve multiple mathematical problems involving conversions between different number systems, including binary, decimal, octal and hexadecimal. Several long decimal numbers are first converted to their equivalent octal values using repeated long division. These octal results, along with values in other bases, are then combined using addition and subtraction to obtain a final octal result.

Uploaded by

Abdullah Mustafa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

QUESTION NO 1:

SOLUTION:
You are required to perform stated operations. You must consider the stated bases or number system for
your final answer. You can use indirect conversion or repeated division methods only. Your solution
must list down all the steps of calculations and conversions involved. In the case of direct results, major
marks will be deducted.

( 2 F 1 AD )16+ ( 103589 )10+ ( 767657 )8 −( 110010101010101011111 )2=()8=()16=()10


Solution

This is Decimal value not Octal, now we convert this into Octal.

8 192941
8 24117 ------------------- 5
8 3014 -------------------5
8 376 -------------------- 6
8 47 ---------------------- 0
5 ------------------------7

This is octal value.


Now we convert next Decimal into Octal same as previous Decimal.

103589
8 12948------------------ 5
8 1618 ----------------- 4
8 202 ------------------ 2
8 25 -------------------- 2
3 ------------------------ 1
This is octal value.
Now we convert next Decimal into Octal same as previous Decimal.
Now we convert Binary value into octal value.

( 2 F 1 AD )16+ ( 103589 )10+ ( 767657 )8 −( 110010101010101011111 )2=()8=()16=()10

5 7 0 6 5 5
+ 3 1 2 2 4 5
1 1 0 3 1 2 2

1 1 0 3 1 2 2
+ 7 6 7 6 5 7
2 0 7 3 1 0 1

Now do subtraction:
6 2 5 2 5 3 7

- 2 7 7 3 0 0 1

4 1 5 7 5 3 6
1105758
8 69109------------------14-E
8 4319----------------- 5
8 269 ------------------ 15-F
8 16 ---------------------13-D
1------------------------ 0
=
So finally

QUESTION NO 2:
SOLUTION:

Simplify the stated Boolean Expression using Boolean Algebra Laws. You must state the properties of
each simplification step.
( A B+C )∗D+ ( AC + A D )∗E+ ( B C+ D )∗E+ AB D+ BC E+ D
Solution

You might also like