You are on page 1of 2

University of Central Punjab

Faculty of Engineering
Subject: Logic Design & Switching Theory
Problem Sheet 1 for BSEE F11 Sec A-B-C-D
Instructor: Asst.Prof. Mohammad Salman Aslam
Semester: Spring 2013 Date: 12-03-2013

Assignment Related to Numbering System and Codes Conversions


Question 1: Convert each following base-R integer to the equivalent base10 integer
(a) (111011011010)2

(b) (6575243674)8

(c) (1DE9CABF23)16

(d) (01001011011)2

(e) (0475235671)8

(f) (02AD9CFE67)16

(g) (101110110101101101)2 (h) (5763473241371273)8

(i) (F1AB93255FB17C9A)16

Question 2: Perform the indicated operations for the given Binary Numbers.
(a) (10110011101+11010111001)2

(b) (110111011011001+100111011010111)2

(c) (011101101101+101101101110)2

(d) (10111101011101+11011101101110)2

(e) 11110110110101 11101011101101 (f) 11011101011010 10101001110110


(g) 111011011011001 101101100110101 (h) 101110110101111 100111001101001
(i) (1111011011) X (1110101101) (j) (110101111) X (110111101) (k) (1011101011) X (10110101)
(l) (10001111) (1011)
(m) (1010100011) (11011)
(o) (11011001100110011) (10110010)

(n) (10011101011010) (1010111)

Question 3: Perform the following conversions as per required in each part.


(a) (5602354)8 to Hexa. (b) (111001011011101011)2 to Deci. (c) (7869556894)10 to Oct.
(d) (EFB2AC9)16 to Deci.

(e) (74654.8739)10 to Hexa.

(g) (8974.7654)10 to Octal

(h) (77465432435)8 to Binary (i) (110001010101110)2 to Octal

(f) (465743676564)8 to Decimal

Question 4: Perform the Octal, addition, subtraction, multiplication and division on the
following given octal numbers.
(a) (17365) + (65265)

(b) (256576376) + (76765734)

(c) (647657) - (377765)

(d) (761561756345) - (454767567657)

(e) (76647657) X (7776)


(g) (657665) (476)

(f) (476435634) X (765775)


(h) (67743437355) (66737)
1

Question 5: Perform the Hexadecimal, addition, subtraction, multiplication and division on the
following given Hexadecimal numbers.
(a) (A2CDE) + (DCBFA)

(b) (9DAC5CADBE) + (67ADFABCDE)

(c) (DACB5) - (CAE42)

(d) (FE98746A3B45) - (89FADC7CADE

(e) (ABCDEF) X (FEDCBA)

(f) (EACFEACAD) X (FECACAEC)

(g) (C3FAD) (4A)

(h) (FECACBA73B) (CABA)

Question 6: Determine the Decimal equivalents of the following binary numbers in each of the
three representations: Signed Magnitude or True Magnitude form, 1s Complement, & 2s
Complement form.
(a) 110111010011 (b) 000101001110 (c) 110101111111 (d) 100110110111 (e) 1110100011111
(f) 111111010000100 (g) 11000111100111
Question 7: (a) Perform the given signed addition and subtraction problems using 2s
complement numbers method.

(a) (+273) + (+179) (b) (-241) + (-159) (c) (+187) + (-259)

(d) (-219) + (+168)

(e) (+364) - (+341) (e) (-293) - (-158) (f) (+279) - (-338)

(g) (-482) - (+269)

Question 8: Perform the given operations asked both by using (i) BCD and (ii) XS-3 codes.
Arithmetic methods.

(a) (275) + (496) (b) (689) + (789) (c) (3756) + (2737)

(d) (45572) + (99367)

(e) (86) - (24)

(h) (6357) - (4198)

(f) (920) - (265)

(g) (4676) - (2589)

Question 9: Perform decimal numbers to Gray code conversion on parts a, b, c, d, - Binary


numbers to Gray code. Conversion on parts e, f, g, Gray code to Binary numbers. Conversions on
parts h, I, j.

(a) (520)

(b) (862)

(c) (967)

(d) (1046)

(e) (1011110101001001010)

(f) (111110001010010101)

(g) (111111001010000101001)

(h) (1101010111101011110)

(i) (101011101111011111)

(j) (100111101011110110011)

Question 10: Write down the ASCII code equivalent of following statement using 8-bit even
parity code bit system.

*** Faculty of Engineering University of Central Punjab ***


2

You might also like