Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

2nd yr week 1 stld

Total questions: 25

Worksheet time: 15mins

Name
Class
Date
1.

A signed integer has been stored in a byte using the 2’s complement format. We wish to store the same integer in a 16-bit word. We should

a)

copy the original byte to the most significant byte of the word and fill the more significant byte with zeros.

b)

copy the original byte to the more significant byte of the word and fill the less significant byte with zeros.

c)

copy the original byte to the less significant byte of the word and make each bit of the more significant byte equal to the most significant bit of the original byte.

d)

copy the original byte to the less significant bytes as well as the more significant byte of the word.

2.

An equivalent 2’s complement of the 2’s complement number 1101 is

a)

11010

b)

001101

c)

110111

d)

111101

3.

The 2’s complement representation of –17 is

a)

101110

b)

101111

c)

111110

d)

110001

4.

4-bit 2’s complement representation of a decimal number is 1000. The number is

a)

+8

b)

0

c)

–7

d)

–8

5.

The range of signed decimal numbers that can be represented by 6-bit 2’s complement number is

a)

–31 to +31

b)

–63 to +63

c)

–64 to +63

d)

–32 to +31

6.

11001, 1001 and 11100 correspond to the 2’s complement representation of which one of the following sets of numbers?

a)

25, 9 and 57 respectively

b)

–6, –6 and –6 respectively

c)

–7, –7 and –7 respectively

d)

–25, –9 and –57 respectively

7.

Decimal 43 in Hexadecimal and BCD system is respectively

a)

2B, 0100 0011

b)

2B, 0010 0011

c)

2B, 0011 0100

d)

B2, 0010 1011

8.

A new Binary Coded Pentary (BCP) system is proposed in which every base-5 number is represented by a corresponding 3-bit binary code. For example, base-5 number 24 will be represented by code 010100. In this numbering system, code 10001001 corresponds to the decimal number in base-5 system

a)

423

b)

1324

c)

2201

d)

4321

9.

X = 01110 and Y = 11001 are two 5-bit numbers represented in two’s complement format. The sum of X and Y represented in two’s complement format using 6 bits is

a)

100111

b)

001000

c)

000111

d)

101001

10.

The two numbers represented in signed magnitude and 2’s complement form are P = 11101101 and Q = 11100110. If P is subtracted from Q, the value obtained in 2’s complement form is

a)

10000111

b)

00001111

c)

11111001

d)

11111101

11.

The number of bytes required to represent the decimal number 1856357 in packed BCD (Binary Coded Decimal) form is _____

4 lines
12.

P, Q, and R are the decimal numbers corresponding to the 4-bit binary numbers considered in signed magnitude, 1’s complement, and 2’s complement representations respectively. If P + Q + R is considered in 6-bit 2’s complement representation, the result is

a)

111101

b)

110101

c)

110010

d)

111001

13.

If two 2’s complement numbers having sign bits x and y are added and the sign bit of the result is z, then the occurrence of overflow is indicated by the Boolean function

a)

xy ˉz

b)

x ˉyz

c)

x ˉy ˉz+xyz ˉ

d)

xy+yz+zx

14.

The logical expression y=A+A ˉB is equivalent to

a)

y=AB

b)

y=A ˉB

c)

y=A+B

d)

y=A+B ˉ

15.

The minimized form of the logical expression (A ˉBC ˉ+AB ˉC ˉ+A ˉBC+ABC) is

a)

AC+BC+A ˉB

b)

AC ˉ+B ˉC+A ˉB

c)

AC ˉ+BC+A ˉB

d)

AC ˉ+B ˉC+AB

16.

The number of distinct Boolean expressions of 4 variables is

a)

16

b)

256

c)

1024

d)

65536

17.

The functions W, X, Y, and Z are as follows: W&=R+PQ+R ˉS@X&=PQR ˉ+P ˉQR+PQ ˉR ˉS@Y&=RS+PR+PQ+P ˉQ@Z&=RS+PQ+Q ˉR+PQ ˉS Then

a)

W=Z,X=Z ˉ

b)

W=Z,"  " X=Y

c)

W=Y

d)

W=Y=Z

18.

The Boolean expression AC+BC ˉ is equivalent to

a)

AC+BC+AC ˉ

b)

C ˉ+AC+BC ˉ+AC ˉ

c)

AC+BC+BC+ABC

d)

ABC+AB ˉC+ABC ˉ

19.

The Boolean expression of the truth table shown is

a)

B(A+C)(A ˉ+C)

b)

B(A+C)(A ˉ+C)

c)

B ˉ(A+C)(A ˉ+C)

d)

B(A ˉ+C)(A ˉ+C ˉ)

20.

The Boolean function Y=AB+CD is to be realized using only 2-input NAND gates. The minimum number of gates required is

a)

2

b)

3

c)

4

d)

5

21.

The Boolean expression Y=A'B'C'D+A'BCD'+AB'C'D+ABC'(D') ˉ can be minimized to

a)

Y=A ˉBCD+A ˉBC+ACD

b)

Y=A ˉBCD+BCD+ABCD

c)

Y=ABCD+BCD+ABCD ˉ

d)

Y=A'BCD'+B'(C^' ) ˉD+ABC'D'

22.

If X=1in the logic equation [X+Z]Y ˉ+(Z ˉ+XY)X ˉZ+Z(X+Y)=1 then

a)

Y=Z

b)

Y=2

c)

Z=1

d)

Z=0

23.

In the sum of products function Σ(2,3,4,5) the prime implicants are

a)

XY,XY ˉ

b)

X ˉY,XY ˉZ

c)

X ˉYZ,XYZ,XY ˉZ

d)

X ˉYZ,XYZ,XY ˉZ,YZ

24.

The Boolean expression (X+Y)(X+Y ˉ)+X simplifies to

a)

X

b)

Y

c)

XY

d)

X+Y

25.

For an n-variable Boolean function, the maximum number of prime implicants is

a)

2(n-1)

b)

n/2

c)

2^n

d)

2^(n-2)