Board C 3
Board C 3
01. Rony and Johny bought books worth Taka (346)8 and (10110110)2 respectively from this year's Ekeshey
book fair. [DB’23]
(c) Find the total number of books bought by stem’s Ronnie and Johnny in decimal number system. 3
(d) Determine by the 2's complement method which of the two persons in the stem bought the more
expensive book. 4
Answer
(c) Total Value= Cost of Rony’s Book+ Cost of Jony’s book
= ৳ (346)8 + ৳ (10110110)2
= ৳ (3 × 82 + 4 × 81 + 6 × 80 )10 + ৳ (1 × 27 + 0 × 26 + 1 × 25 + 1 × 24 + 0 × 23 + 1 × 22 + 1 × 21 +
0 × 20 )10
= ৳ (3 × 64 + 4 × 8 + 6 × 1)10 + ৳ (128 + 32 + 16 + 4 + 2)10
= ৳ (230)10 + ৳ (182)10
= ৳ (230 + 182)10
= ৳ (412)10
∴ In total they both bought books worth (412)10 taka.
1
3 4 6
(d) ⏞ 100
(346)8 = 011 ⏞ 110
⏞ = (11100110)2
2
Answer
(c) By question,
X = (83)10
⇒ (123)n = (83)10 ⇒ (1 × n2 + 2 × n1 + 3 × n0 )10 = (83)10
⇒ (n2 + 2n + 3)10 − (83)10 = 0 ⇒ (n2 + 2n + 3 − 83)10 = 0
⇒ (n2 + 2n − 80)10 = 0 ⇒ (n2 + 10n − 8n − 80)10 = 0
⇒ (n(n + 10) − 8(n + 10))10 = 0 ⇒ ((n + 10)(n − 8))10 = 0
∴ n = −10, 8
∵ The base of the number system is natural numbers and 1 is greater than 1, −10 < 1 and −10 ∉ ℕ
∴ n ≠ −10 ; ∴ n = 8
(d) From “c” we get, n = 8
1 2 3
⏞ 010
∴ X = (123)8 = 001 ⏞ 011
⏞ = (1010011)2
[From "c" we get, X = (83)10]
Y = (43)16 = (4 × 161 + 3 × 160 )10 = (67)10
4 3
Again, Y = (43)16 = ⏞ 0100 ⏞0011 = (1000011)2
X − Y = (83)10 − (67)10 = (16)10
−128 ≤ 83 ≤ 127
−128 ≤ 67 ≤ 127
−128 ≤ 16 ≤ 127
∵X, Y and X-Y each have values within the 8-bit register.
∴ This can be done using 8-bit registers.
∴ (347)10 = (15B)16
(d) Red team's total runs scored in 1st two innings= (1101010)2 + (C3)16
= (1 × 26 + 1 × 25 + 0 × 24 + 1 × 23 + 0 × 22 + 1 × 21 + 0 × 20 )10 + (𝐶 × 161 + 3 × 160 )10 [∵ (C)196 = (12)10 ]
= (64 + 32 + 8 + 2 + 192 + 3)10
= (301)10 <runs scored in the 1st innings by the green team, that is (347)10
∴ The sum of the runs of the two innings of the red team is less than that of the first innings of the green team.
06. Two students in by the teacher in ICT class were asked to write two decimal numbers, one wrote (+63) and
the other (+70). Then sir said that he has invented a new number system with 0, 1, 2, 3 and 4. [JB’23]
(c) Convert the number (2FC)16 to sir's new number system. 3
(d) Find the difference of two decimal numbers of stimulus by addition. 4
4
Answer
(c) The number system invented by Sir has 5 digits in total, i.e. it is a 5 based number system.
(2FC)16
= (2 × 162 + F × 161 + C × 160 )10
= (2 × 256 + 15 × 16 + 12 × 1 )10
= (512 + 240 + 12)10
= (764)10
∴ (764)10
= (11024)5
5
Answer
(c) Price of Kakli's clothes
= (167)8 taka = (1 × 82 + 6 × 81 + 7 × 80 )10 taka
= (64 + 48 + 7)10 taka = (119)10 taka
Price of Pali's clothes
= (79)16 = (7 × 161 + 9 × 160 )10 = (112 + 9)10 = (121)10 taka
(d) Kakoli's dress price = (167)8 = (001 110 111)2
The Price of Polly's dress = (79)16 = (0111 1001)2
Difference = (167)8 − (79)16 = (01110111)2 − (0111 1001)2 = (01110111)2 + (− 0111 1001)2
∴ (67)10
= (1000011)2
6
Here, in 8-bit registers.
+B it’s money: 0 1 0 0 0 0 1 1
↓↓↓↓↓↓↓↓
1 0 1 1 1 1 0 0 [1’s Com.]
+1
−B it’s money: 1 0 1 1 1 1 0 1 [2’s Com.]
∴ Difference = (101)2
(101)2 = (1 × 22 + 0 × 21 + 1 × 20 )10 = (5)10
101
⏟ = (5)8
(← ) = 101
2
5
101 0101
(← ) = (← ) = 0101
⏟ = (5)16
2 2
5
∴ Required difference = (101)2 = (5)8 = (5)10 = (5)16
(d) A’s money,
100 1000 0100 1000
( ← ) = (← ← ) = 0100 ⏟ ⏟
1000 = (48)16
2 2
4 8
B’s money,
∴ (67)10 = (43)16
C’s money,
5 0 5
⏞ 000
(502)8 = 101 ⏞ 010
⏞ = (101000010)2
1 0100 0010 0001 0100 0010
= ( ← ← ) = (← ← ← )
2 2
= 0001
⏟ ⏟
0100 ⏟
0010
1 4 2
= (142)16
Difference in money of A and B
(48)16 > (43)16
48
−43
5
∴ Difference = (5)16
Difference in money of B and C Difference in money of C and A
(43)16 < (142)16 (142)16 > (48)16
2 + 16 = 18 [∵ 2 < 8]
2 + 16 = 18 [∵ 2 < 3] 18 − 8 = 10 ⇒ A
18 − 3 = 15 ⇒ F 142
4+1=5
4+1=5 − 48 4 + 16 = 20 [∵ 4 < 5]
142 FA
− 43 4 + 16 = 20 [∵ 4 < 5] 20 − 5 = 15 ⇒ F
FF
20 − 5 = 15 ⇒ F 0+1=1
0+1=1 1≮1
1≮1 ∴ Difference (FA)16
∴ Difference (FF)16
Ascending order: ∵ (5)16 < (FA)16 < (FF)16
∴ Money difference between A and B < Money difference between C and A < Money difference between B
and C
7
10. Taskin sir was discussing number system of ICT subject in the class. At one point of the class the teacher
asked Sohel and Rohan their marks in the 1st term examination. Sohel said (105)8 and Rohan said (4F)16 .
Mita sitting in the back said,”Sir, I got (100111)2 marks.” [DB’19]
(c) Convert the marks obtained by Mitu in decimal. 3
(d) Is it possible to determine the difference of the marks scored by Sohel and Rohan using summation?
Analyze and give opinion. 4
Answer
(c) Mita got (100111)2 marks. If it is converted to decimal then,
(100111)2 = 1 × 25 + 0 + 0 + 1 × 22 + 1 × 21 + 1 × 2o = (39)10
That is , Mita’s marks in decimal is (39)10.
(d) Similar to question 03(d)
11. Kristi, Piyal and Mukto bought gifts with (5D7)16 , (750)8 and (999)10 taka respectively on the occasion
of their classmate’s wedding. [RB’19]
(c) Determine the total cost of the gifts of Kristi and Mukto mentioned in the stem in binary number system. 3
(d) Determine the cost of the gifts of Piyal and Kristi in hexadecimal and decimalrespectively. 4
Answer
(c) Price of Kristi’s gift in the stem = (5D7)16 . Converting this to decimal we get,
5D7 = 5 × 162 + D(13) × 161 + 7 × 160 = 1495
Price of Mukti’s gift = (999)10 ∴ Total = 999 + 1495 = (2494)10 .Converting this to binary we get,
Reminder
2 2494
0
2 1247
1
2 623
1
2 311
1
2 155
1
2 77
1
2 38
0
2 19
2 9 1
2 4 1
2 2 0
2 1 0
1
0
∴ Total in binary= (2494)10 = (100110111110)2
8
(d) In case of Piyal, (750)8 = (111101000)2 = (1E8)16
In case of Kristi, (5D7)16 = 5 × 162 + 13(D) × 161 + 7 × 160 = (1495)10
That is, cost price of Piyal’s gift in hexadecimal is (1E8)16 and cost price of Kristi’s gift in decimal is
(1495)10.
12. Roni gets an idea about different number types in the class. Based on this idea Roni’s sister’s age is (110101)2
years that of his brother is (53)8 years. Roni and his brother bought two school bags of same brand and same
model from different shops with (207)16 and (510)10 taka respectively. [Ctg.B’19]
(c) Determine the difference of the ages of Roni’s sister and brother using summation. 3
(d) Give your opinion by determining the price of their school bags in octal. 4
Answer
(c) Ronnie's sister's age = (110101)2
Ronnie's brother's age = (5 3)8
5 3
( ↙ ↘ )
101 011 2
∴ Ronnie's brother's age= (101011)2
Now, (110101)2 > (101011)2
∴ Ronnie's sister is older.
11010100
(101011)2 = 1’s complement of (00101011)2 = +1
11010101 [2′ s comp]
13. The age of Sumi, Sumi’s father and Sumi’s mother are respectively (10)16 , (100)8 and (2F)16 years.
[SB’19]
(c) Convert the age of Sumi’s mother to octal. 3
(d) How many times is the age of Sumi’s father than Sumi? Analyze. 4
9
Answer
(c) Sumi’s mother’s age is (2F)16 years which is a hexadecimal number. Hexadecimal to binary conversion:
2 F
0010 1111
∴ (2F)16 = (00101111)2
Binary to octal:
101 111
5 7
∴ (101111)2 = (57)8
∴Age of Sumi’s mother is (57)8 years. (Ans.)
(d) Here, Sumi’s age is (10)16 years.
Sumi’s father’s age is (100)8 years.
Conversion of Sumi’s age to decimal:
(10)16 = 1 × 16 + 0 × 16° = 16
Conversion of Sumi’s father’s age to decimal:
(100)8 = 1 × 82 + 0 × 8′ + 0 × 8° = 64
∴ (100)8 = (64)10
64
∴ Sumi’s father’s age is = 16 = 4 times of Sumi. (Ans.)
14. The ICT teacher was teaching the number system in the class. When a student was asked about his roll
number, he said (375)10. The teacher converted the roll number to a number system consisting of 8 unique
symbols. Knowing the previous year roll number of the student to be (17C)16, the teacher commented that
his result of the last exam was well. [BB’19]
(c) Convert the current roll number of the student to the number system showed by theteacher. 3
(d) Evaluate the comment of the teacher by determining the difference of the roll numbers using summation. 4
Answer
(c) The number system showed by the teacher is octal number system.
8 375
8 46-7 ∴ (375)10 = (567)8
8 5-6
0-5
(d) Similar to question 02(d)
15. The marks obtained by Jhumi and Rumi in the test examination respectively (920)10 and (920)8. Their class
roll numbers are respectively (37)8 and (3A)16. [JB’19]
(c) Convert the mentioned two roll numbers in the stem into conventional numbers system. 3
(d) Is it possible to determine the difference of the marks scored by Jhumi and Rumi by summation?
Analyze. 4
Answer
(c) Jhumi’s roll number is (37)8
Here, (37)8
/ ↘
011 111
∴ The corresponding decimal number is = (20 + 21 + 22 + 23 + 24 ) = (31)10
Rumi’s roll number is (3A)16
/ ↘
0011 1010
∴ Decimal number = (21
+ 2 + 24 + 25 ) = (58)10
3
10
16. ‘ICT teacher of college ‘A’ wrote the numbers (63)10 , (63)8 and (63.8)16 on the board and showed the
sum of the 2nd and 3rd number. Then he said, “All the mathematical calculations inside a computer are done
by only one operation”. [CB’19]
nd rd
(c) Express the sum of the 2 and 3 number using in binary. 3
st nd
(d) It is possible to determine the difference of the 1 and 2 number using the operation mentioned in the
stem? Analyze. 4
Answer
(c)
2nd number (63)8 = (110011)2 (6 3)8
/ \
3rd number (63.8)16 = (1100011.1)2 110 011
(63.8)16
∴ Sum,
/ \
110011.00
1100011.1 110 0011.1000
(10010110.1)2
(d) Similar to question 02(d)
17. [Din.B’19]
X = (36.75)10 P = (57)8
Y = (59. F)16 Q = (30)10
Scenario-A Scenario-B
(c) Find the sum of X and Y of scenario-A in binary. 3
(d) Determine the difference between P and Q mentioned in scenario-B using 2’s complement process. 4
Answer
(c) X = (36.75)10
Conversion to Binary:
∴ (36.75)10 = (100100.1100)2
Y = (59. F)16
Conversion to Binary:
11
18. Rana and Sumi got (62)8 and (2F)16 marks in the ICT exam out of (110010)2 marks.
[DB, JB, SB, Din.B’18]
(c) Convert the total marks in ICT exam to decimal. 3
(d) Is it possible to determine the difference of the marks scored by Rana and Sumi using summation?
Analyze mathematically. 4
Answer
(c) Similar to question 10(c)
(d) Similar to question 02(d)
19. ICT teacher was teaching number system in the class. But getting disturbed due to inattention of one of the
students, he asked him his roll number. The student answered (31)10. Then when the teacher asked the him
what his roll number was in the previous class, he answered (15)10. The teacher then said. “Due to your
inattention you got poor result.” [DB’17]
(c) Express the current class roll of student in the stem in binary number system. 3
(d) Evaluate the change of result of the student by only finding the difference of his roll numbers of the two
classes using summation. 4
Answer
(c) Current Class Roll = (31)10
Conversion to Binary:
∴ (31)10 = (11111)2
(d) Similar to question 02(d)
20. Adnan Jami asked his uncle to know the sum of two numbers (E)16 and (7)8 . Uncle showed Adnan Jami
the sum and said that all the mathematical operations inside the computer like––addition, subtraction,
multiplication, division are done by a single operation, and addition also uses one type of circuit. [RB’17]
(c) Subtract the numbers in the stem by using the operation that uncle indicated. 3
Answer
(c) Similar to question 02(d)
21. Sneha and Mita were discussing the test results. Sneha said, I got (4C)16 in ICT in exam. Mita says I got
(103)8 marks in ICT. Their brother who was studying in class 5 did not understand who got more marks.
[Ctg.B’17]
(c) How many marks in the stem Sneha and Mita scored on decimal based number system – – Analyze. 3
(d) Find the difference between the number obtained by Sneha and Mita in the stem in 2's complement
method using 8 bit register. 4
Answer
(c) Similar to question 04(c)
(d) Similar to question 02(d)
22. Asif’s father is a teacher of ICT. When he wanted to know the obtained marks of Asif in ITC he told him
that he got (112)8 in half-yearly exam and (7F)16 annual exam. [BB’17]
(c) Convert the obtained number of Asif in half-yearly exam into hexadecimal number. 3
(d) The marks obtained by Asif in annual exam is how much less or more than (80)10 ? Give logic in
regards to your answer. 4
12
Answer
(c) Asif's half-yearly exam marks = (112)8
Conversion to Binary:
= (1001010)2
13
T-02: Boolean Algebra and Logic Gate
Here,
P = A ̅, Q = B ̅, R = A + C, S = QR, T = P + S, U = (T. T) ̅, ∴ X = ̅̅̅̅̅ T. T
= ̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅
(P + S). (P + S) = (A̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅
̅ + QR). (A ̅ + QR) = {A̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅
̅+B ̅(A + C)}. {A ̅+B ̅(A + C)}
Which is the logic equation of X.
14
(d) The logic equation of X, X= {A ̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅
̅+B ̅(A + C)}. {A ̅+B ̅(A + C)}
After simplification we obtain,
̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅
X = {A̅+B ̅(A + C)}. {A ̅+B ̅ (A + C)}
= A̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅
̅+B ̅
̅(A + C) = A. B ̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅
̅ + (A + C) =A. ̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅
̅ + (A + C)
B
=A (B ̅ + ̅̅̅̅̅̅̅
A + C) = A(B + ̅̅̅̅̅̅̅
A + C)= A(B + A ̅ . C̅)
= AB + A ̅ AC̅ = AB + 0 =AB
Simplified circuit
That is, the entire circuit of the stem can be replaced by just an AND gate.
03. ̅C
F = AB
Fig-1 Fig-2 [Ctg.B’23]
(c) Construct the truth table of the logic function of stem Fig.-1. 3
(d) “Logic circuit of the logic function of Fig-1 can be implemented by the logic gate of Fig-2 of the stem”
– draw and analyze the logic circuit. 4
Answer
(c) Truth table of fig-1 logic function of the stem:
Input Process Output
A B C 𝐁̅ 𝐀𝐁̅ 𝐅 = 𝐀𝐁̅𝐂
0 0 0 1 0 0
0 0 1 1 0 0
0 1 0 0 0 0
0 1 1 0 0 0
1 0 0 1 1 0
1 0 1 1 1 1
1 1 0 0 0 0
1 1 1 0 0 0
(d) Figure 2 shows the NAND gate, which is basically a universal gate. Any type of Boolean function can be
implemented by such a gate.
F = AB̅C = AB.
̅̅̅̅̅ ̅̅̅̅̅̅̅̅̅
BC = AB. ̅̅̅̅̅
BC
15
Answer
(c) The truth table of scenario-1 is as follows:
INPUT PROCESS OUTPUT
A B ̅
C A ̅
B C̅ ABC A̅ BC̅ A
̅B̅C̅ ̅C
AB ̅ BC̅ + A
X= ABC + A ̅B̅C̅ + AB
̅C
0 0 0 1 1 1 0 0 1 0 1
0 0 1 1 1 0 0 0 0 0 0
0 1 0 1 0 1 0 1 0 0 1
0 1 1 1 0 0 0 0 0 0 0
1 0 0 0 1 1 0 0 0 0 0
1 0 1 0 1 0 0 0 0 1 1
1 1 0 0 0 1 0 0 0 0 0
1 1 1 0 0 0 1 0 0 0 1
(d) ̅ ̅ ̅̅̅̅̅̅̅
Applying SOP Method to the truth table of Scenario-2 we get- X = AB = A + B ̅ That is, Scenario-2 basically
indicates NOR ( ). It is a Universal Gate, that is, any function can be implemented with it.
Simplifying scenario-1 we get-
X = ABC + A̅ BC̅ + A
̅B̅C̅ + AB
̅C
= B(AC + A̅ C̅) + B
̅(AC + A̅ C̅)
̅ . C̅)(B + B
= (AC + A ̅̅̅̅̅̅. 1 = A⨁C
̅) = A⨁C ̅̅̅̅̅̅
By implementing this with NOR we get
X = ̅̅̅̅̅̅̅
A⨁C = AC + A ̅ . C̅
A + C = ̅̅̅̅
= AC + ̅̅̅̅̅̅̅ AC + ̅̅̅̅̅̅̅
A+C
̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅
= ̅̅̅̅̅̅̅
A A + C = ̅̅̅̅̅̅̅
̅ + C̅ + ̅̅̅̅̅̅̅ ̅ + C̅ + ̅̅̅̅̅̅̅
A A+C
05. [BB’23]
16
06. Look at the two pictures below and answer the questions: [CB’23]
A B X
0 0 1
0 1 0
1 0 0 N 2N
1 0 1
Fig-1 Fig-2
(c) Implement the figure-1 of the stem by basic gates. 3
Answer
(c) Applying Sum of Products (SOP) method to truth table we get –
X=A ̅ + AB = ̅̅̅̅̅̅̅̅
̅. B A ⊕ B, which is the X-NOR gate Equation.
In implementing the X-NOR gate as a fundamental gate
X = ̅̅̅̅̅̅̅̅
A ⊕ B = AB + A ̅B̅ = AB + ̅̅̅̅̅̅̅
A+B
07. [Din.B’23]
Input Output
A B C X
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 1
Fig-1 Fig-2
(c) Implement the simplified value of X obtained from Fig-1 by NAND gate. 3
Answer
(c) Applying the SOP process in Figure-1
X =A ̅ BC + AB ̅C + ABC̅ + ABC
=A ̅ BC + AB ̅C + ABC̅ + (ABC + ABC + ABC)
= (A ̅ BC + ABC) + (AB ̅C + ABC) + (ABC̅ + ABC)
= BC(A + A) + CA(B + B) + AB(C̅ + C)
̅ ̅
= AB. 1 + BC. 1 + CA. 1
= AB + BC + CA
It has to be implemented by NAND.
X = AB + BC + CA
= ̿̿̿̿
AB + BC ̿̿̿̿ + CA
̿̿̿̿
= ̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅
̅̅̅̅̅
AB. ̅̅̅̅
BC. ̅̅̅̅
CA.
17
08. [MB’23]
Input Output
P Q R
0 0 1
0 1 1
1 0 1
Logic Circuit 1 1 0
Fig-1 Fig-2
Truth Table
(c) Which gate is equivalent to the logic circuit? Explain. 3
(d) “It is possible to implement the gate shown in Fig-2 only by NOR Gate”-Analyze. 4
Answer
(c) From Logic Circuit we get,
̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅
Y = ̅̅̅̅̅̅̅
̅+B
A ̅ + ̅̅̅̅̅̅̅
A+B
̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅
̅ ̅
= (A B) + A + B = ̅̅̅̅̅̅̅̅̅̅̅̅
̅̅̅̅̅̅̅ AB + A ̅. B
̅
= ̅̅̅̅̅̅̅
A⨁B = A⨁B
∴ Logic circuit is equivalent to X-OR gate
(d) Applying SOP method to the Truth Table of Figure-2, we get-
R=P ̅Q̅+P ̅Q + PQ̅
̅ ̅
= P(Q + Q) + PQ ̅
=̅P. 1 + PQ̅
=P̅ + PQ ̅
̅
= (P + P)(P ̅+Q ̅)
= 1. (P̅+Q ̅)
=P̅+Q ̅
̅̅̅̅
= PQ, Which is the equation of NAND gate.
It can be implemented only by NOR, R = PQ ̅̅̅̅ = P
̅+Q ̅ = ̅̅̅̅̅̅̅
̅+Q
P ̅
09. Read the stem and answer the following questions: [DB’19]
INPUT OUTPUT INPUT OUTPUT INPUT OUTPUT
A B X A B X A B X
0 0 0 0 0 1 0 0 1
0 1 0 0 1 0 0 1 0
1 0 0 1 0 0 1 0 0
1 1 1 1 1 1 1 1 0
Fig-1 Fig-2 Fig-3
(c) Fig-1 is related to which gate? Give its description. 3
(d) Is it possible to implement the gate of figure-2 using the gate of figure-3? Give logic in favor of your
answer. 4
18
Answer
(c) Fig 1 of the stem is related to AND gate. AND gate is described below:
A
AND gate: B C = AB
A B
AND gate circuit: evwZ
Bulb
= AB. A B = (A + B)(A + B) = (A + B) + (A + B)
Then the logic circuit should be -
A B
X = (A + B) + (A + B) = A⨁B
Alternative:
After the discussion it can be said that gate of fig-2 can be implemented using gate of fig-1.
10. [RB’19]
M R S
X
Y
Z
19
Answer
(c) In the stem,
M R S
M R S
M+R+S
M+R+S=Y
M+R+S = M+R+S
M.R.S=M+R+S
∴ Y = M + R + S = M. R. S hv Y which is the value of Y.
S S
11. [SB’19]
A
B
C Y
F = AB + A + B
Fig-1 Fig-2
(c) Determine the simplified value of Y. 3
(d) “The gate of the simplified value of F is used in binary addition”-Analyze. 4
Answer
(c)
A
ABC ABC. A+B+C
B
C
A+B+C
̅̅̅̅̅̅ ̅̅̅̅̅̅̅̅̅̅̅̅̅
Here, Y = ABC A + B + C = (A̅+B
̅ + C̅)(A
̅. B
̅. C̅) [De Morgan’s law]
̅A
=A ̅B
̅C̅ + A
̅B ̅C̅ + A
̅B ̅B̅C̅C̅ = A
̅B̅ C̅ + A
̅B̅ C̅ + A
̅B̅ C̅ [∵ A. A = A]
̅B
= A ̅ C̅(Ans. )[∵ A + A + A = A]
20
(d) F = ̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅
AB + ̅̅̅̅̅̅̅
A + B = ̅̅̅̅
AB. ̿̿̿̿̿̿̿
A + B [De Morgan’s law]
̅̅̅̅
= AB (A + B) = ̅
(A +B ̅)(A + B) = AA ̅+A ̅ B + AB ̅ + BB
̅
=A ̅ B + AB ̅ [∵ AA ̅ = 0] = A ⨁ B
The gate of the simplified value of F is X − OR gate.
Binary addition is done in half adder using X-OR gate.
Full-adder is a type of circuit that can add a carry bit and two number bits and output the sum and the carry bit.
The inputs of full-adder are X, Y. From Ci , sum S and carry Co are found. From input X, Y of the first
half adder, sum S1 and carry C1 and C2 are obtained. That’s why,
S2 = S1 ⨁Ci = X⨁Y⨁Ci … … … … …. (3) [Since S1 = X⨁Y; as per (1)]
and C2 = S1 Ci = (X⨁Y)Ci … … … … .. (4)
The inputs of full-adder are X, Y. From Ci , sum S and carry Co are found. So, the sum-
S = X⨁Y⨁Ci = S1 ⨁Ci = S2 … … … .. (5)
Carry, Co = XYCi + XYCi + XYCi + XYCi = Ci (XY + XY) + XY(Ci + Ci )
= Ci (X⨁Y) + XY = C2 + C1 … … … .. (6) [according to (4)]
Ci
X S1 S(S2)
Y
C1 C2
C0
12. [BB’19]
PQ R
A F
(c) F = P + Q. (R + P) = P. Q. (P + R) = P. (Q + (P + R))
Truth Table:
Input 𝐎𝐮𝐭𝐩𝐮𝐭
P Q R 𝐅 = 𝐏𝐐
0 0 0 0
0 0 1 0
0 1 0 1
0 1 1 1
1 0 0 0
1 0 1 0
1 1 0 0
1 1 1 0
21
(d) From (c) we get F = PQ
Again, gate A is NOR gate.
∴ F = PQ = PQ = P + Q = P + Q
P Q
13. [CB’19]
A B
Fig-2
Fig-1
(c) Show the value of Y in truth table. 3
(d) Is it possible to implement the equivalent circuit of fig-1 using the gate represented by fig-2. 4
Answer
(c) Y = (A̅̅̅̅̅̅̅
+B ̅) + (A̅̅̅̅̅̅̅
+B ̅)
= ̅̅̅̅̅̅̅
A+B =A ̅. B
̅=A ̅B
Input 0utput
A B ̅𝐁
𝐀
0 0 0
0 1 1
1 0 0
1 1 0
(d) Fig-2 is NAND Gate.
Y=A ̅ . B = AB
Implementation by NAND Gate:
22
Answer
(c) y = P. P. Q + Q. P = PQ + QP = P ⨁ Q
∴ Truth table of X-OR Gate is given below:
Input Output
P Q Y
0 0 0
0 1 1
1 0 1
1 1 0
(c) Simplify the output equation of the logic circuit in the stem. 3
(d) State the importance of NAND gate by implementing the value of F in the stem through NAND gate. 4
Answer
(c) F = p̅qr + p̅qr̅ + pr = p̅q(r + r̅ ) + pr = p̅q + pr [∵ r + r̅ = 1]
(d) F = p̅q + pr = ̅̅̅̅̅̅̅̅̅̅
p̅q + pr = ̅̅̅̅̅̅̅̅
̅̅
p̅̅q̅. pr
̅̅̅
23
Any type of logic circuit can only be implemented by NAND gate. Such as: Output equation of X-OR gate:
f=A⊕B=,A.B+A,B, which requires two ends, two NOT and one OR gate to implement with the help of the
basic gate.
One NAND IC (74HC00), one AND IC (74HC08), and one OR IC (74HC32) usually have four NAND,
AND & OR gates respectively. And the IC of 74HC04 or NOT Gate has 6 NOT gate.
This means, on the one hand, we have to use more expensive basic gates, and on the other hand, there are
some additional unused gates, which are not useful. Now let's see what happens when implementing the X-
OR gate with NAND:
16. Read the stimulus and answer the following questions: [RB’17]
Input Output Input Output
P Q R P Q R
0 0 1 0 0 1
0 1 1 0 1 0
1 0 1 1 0 0
1 1 0 1 1 1
Truth table-1 Truth table-2
(c) Truth Table-1 Represents NAND Gate – Prove. 3
(d) Is the gate represented by truth table-2 possible to implement the gate represented by truth table-1? Analyze. 4
Answer
(c) Similar to question 09(d)
(d) True Sarani-2 represents the X-NOR gate.
17. Armsman Mr. Jisan room has to be kept under high security. So he has to cross 2 doors to enter his room.
Turning on either of the 2 switches on the first door opens the door. If 2 switches are turned on or off
simultaneously, it does not open. But in the case of the second door, the opposite of the first door has to be
done. [Ctg.B’17]
(c) Determine the truth table of the logic gate that the first gate of the stimulus indicates. 3
(d) Analyze the truth with the truth table of the second gate of the stem. 4
24
Answer
(c) Let, switches A and B
When switched ON, Value = 1
When switched OFF, Value = 0
Here, if the value of two switches A and B is 0 or 1 simultaneously, the fan is off, i.e. F = 0
If one of the two is 0 and the other is 1, then the fan is on, that isF = 1, the system indicates XOR gate
where,
F=A⊕B=A ̅ B + AB ̅
Truth table:
A B F=A ̅ B + AB
̅
0 0 0
0 1 1
1 0 1
1 1 0
(d) Let there be two switches A and B; Value=1 in ON and Value=0 in OFF
Truth Table:
A B Door
0 0 1
0 1 0
1 0 0
1 1 0
18. Mr. Atiq uses the bed switch to operate the fan in his bedroom. He turned off the bed sweet as he felt cold.
As a result, the fan stopped. How is this possible, he thought, when a switch on the fan was turned on but
the fan stopped? [BB’17]
(c) Explain the reason why the fan stops by drawing the circuit of the stem. 3
(d) Does changing the stem circuit cause the fan to turn off even if a switch is turned off? Explain. 4
Answer
(c) The two switches in the stimulus are A and B
Here, the fan F will turn on only when the two switches are simultaneously ON. Otherwise, the fan will be
off.
Circuit: Here the switch is connected in two
series. If either of the two is turned off,
the circuit will be disconnected. As a
result, the fan will be turned off.
(d) If switches A and B are connected in parallel in the stimulus circuit, the fan will be ON if one of the switches
is OFF and at least one is ON .
Circuit:
If only two switches A and B are turned off in that circuit, then the circuit will be disconnected and the fan
will be off.
25
19. [SB’17]
(c) y = AB + AB = A ⊕ B
20. [JB’17]
Alternative:
26
21. Observe the stem below- [CB’17]
A B
1
C
2
___ ____
23. F = AB + B C [DB’16]
(c) Construct a truth table based on the function in the stem. 3
(d) Is it possible to implement the function with only NAND gates in the stem? Analyze. 4
Answer
(c) F=A ̅B + B̅C
Truth Table:
A B C A ̅ ̅ A
B ̅B ̅C
B F=A̅B + B
̅C
0 0 0 1 1 0 0 0
1 0 0 0 1 0 0 0
0 1 0 1 0 1 0 1
0 0 1 1 1 0 1 1
1 1 0 0 0 0 0 0
1 0 1 0 1 0 1 1
0 1 1 1 0 1 0 1
1 1 1 0 0 0 0 0
(d) Similar to question 03(d)
27
_____ _____ ______ _______
24. X = AB + BC , Y = AB . C + ABC + AB + BC [RB’16]
(c) Show that X is implemented using only NOR gates. 3
(d) Simplifying “Y” to Boolean Algebra Simplifies Circuit Implementation” – Analyze. 4
Answer
(c) Similar to question 09(d)
(d) Y = ̅̅̅̅ ̅̅̅̅
ABC + ABC + AB + BC
Its circuit:
scenario-2 scenario-2
(c) Find the simplified value of y. 3
(d) Compare the simplified value of y with the logic gate obtained from the truth table of scenario-2. 4
Answer
̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅
̅̅̅̅ ̅̅̅̅̅̅̅̅̅
(c) Y = (A + B). (A A + B + ̅̅̅̅
̅ B + B) = ̅̅̅̅̅̅̅ ̅B + B
A
̅̅̅̅̅̅̅̅̅̅̅̅̅
= ̅̅̅̅̅̅̅
A+B+A ̅+B ̅ + B = ̅̅̅̅̅̅̅
A + B + ̅̅̅̅̅̅̅
A+1
= ̅̅̅̅̅̅̅
A + B + 1̅ = ̅̅̅̅̅̅̅
A+B
28
(d) The truth table of scenario 2 represents X-OR gate.
To be 'c', ; it Y = ̅̅̅̅̅̅̅̅
A + B represents the NOR gate.
Observe the logic circuit of the stem and answer the following questions.
(c) Implement the value of Q using a NOR gate. 3
(d) The logic circuit used in the stem can be implemented with the minimum number of gates—Verify the
statement analytically. 4
29
Answer
(c) Similar to question 04(d)
(d) Here, by simplifying P,
P = ̅̅̅̅̅̅̅̅̅
̅̅̅̅
x̅ y. ̅̅̅̅
x y̅ = ̅̅̅̅̅̅̅̅̅̅
x̅ y + xy̅ = x̅ y + xy̅ = x⨁y
Simplifies Q,
Q = ̅̅̅
xy = xy
Implementation by minimum number of gates:
28. Take a look at the stem below and answer the question below- [Din.B’16]
Fig-1 Fig-2
(c) Construct the truth table of Figure-1. 3
Answer
(c) Similar to question 09(c)
01. [BB’23]
30
02. [JB’23]
= A ⊕ B = AB + AB = 0 + AB + AB + 0
= AA + AB + AB + BB
= A(A + B) + (A + B)B
= (A + B)(A + B) = (A + B) + (A + B)
(d) Incrementing an input in the circuit of the stem turns it into a full adder.
Below is the implementation of a full adder using a half adder:
31
Answer
(d) Figure-2 mainly indicates Decoder.
If N = 3 , 2N = 23 = 8
∴ It is 3 × 8 decoder.The block diagram of the circuit is:
Its truth table:
Input Output
X Y Z D0 D1 D2 D3 D4 D5 D6 D7
0 0 0 1 0 0 0 0 0 0 0
0 0 1 0 1 0 0 0 0 0 0
0 1 0 0 0 1 0 0 0 0 0
0 1 1 0 0 0 1 0 0 0 0
Figure: Block diagram of 3×8 line 1 0 0 0 0 0 0 1 0 0 0
decoder 1 0 1 0 0 0 0 0 1 0 0
1 1 0 0 0 0 0 0 0 1 0
1 1 1 0 0 0 0 0 0 0 1
Figure: Truth table of 3×8 line decoder
04. [Din.B’23]
Input Output
A B C X
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 1
Fig-1 Fig-2
(d) Is it possible to implement a full addition circuit by Fig-2? Do the analysis. 4
32
Answer
(d) It is not possible to implement Full-Adder circuit by Fig-2.
Figure-2 is a Half-Adder, its truth table: On the other hand, truth table for Full Adder:
Input Output Input Output
A B C0 S A B Ci Co S
0 0 0 0 0 0 0 0 0
0 1 0 1 0 0 1 0 1
1 0 0 1 0 1 0 0 1
1 1 1 0 0 1 1 1 0
1 0 0 0 1
1 0 1 1 0
1 1 0 1 0
1 1 1 1 1
As we can see, Half Adder always adds two bits to give sum and output carry bit and Full Adder always
adds three bits to give sum and carry bit.
In the case of addition of two binary numbers, the addition of two bits is enough to determine the sum bit in
the rightmost cell [cell of 20] and the carry bit relative to it. But the cells to its left [21 and higher exponents]
may require addition of the carry bit in addition to the two bits of the number to be added. That is, in the
case of complete addition, a circuit capable of determining the sum and output carry of three bits is needed
in all cells except the rightmost cell. Although the work can be done by Full-Adder, it cannot do Image-2 of
the stem ie Half Adder. Hence, implementation of full summation circuit by Fig-2 is impossible.
However, a full adder can be made with 2 half adders, in which case the implementation of a full adder
circuit is possible.
05. [Ctg.B’19]
X Y Ci
Co
33
(d) The new circuit that can be found by decreasing an input number on the circuit of the stem is a half adder.
X H/A S
Y C
S=̅ X Y + XY̅ C = XY = XY
= ̿̿̿̿̿̿̿̿̿
̅Y. XY
X ̅
̅̅̅̅̅̅̅̅̅̅
= ̅̅
̅̅̅
X Y. ̅̅ ̅̅
XY̅
X Y
06. [JB’19]
Ci S
A F/A Co
B
Fig-1 Fig-2 Fig-3
(c) Describe the circuit for summation formed by combination of fig-1 and fig-2. 3
(d) It is possible to implement fig-3 using the combined circuit of fig-1 and fig-2. 4
Answer
(c) Half adder is created by the combination of fig-1 and fig-2 which acts as the circuit for summation.
The adder that can add 2 bits and can hold the carry bit is called a half adder.
A half adder is created by the combination of an X-OR gate and an AND gate. Fig-1 is X-OR gate and fig-
2 is AND gate. The half adder formed by their combination is showed below:
34
Now adding carry C1 and C2 by an OR gate, the carry Co of full adder is found.
A block diagram is shown below-
X C1
F/A C2 Co
Y
H/A S2
Ci S
In the figure below, the implementation of a full adder by two half adders using logic gates si shown:
Ci
Ci S1 S
X S1
Y C2
C1 Co
C1
Figure: Implementation of full adder using half adder
In this way a full adder can be created using two half adders.
07. [Din.B’19]
35
Output equations-
X = O4 + O5 + O6 + O7
Y = O2 + O3 + O6 + O7
Z = O1 + O3 + O5 + O7
Oo O1 O2 O3 O4 O5 O6 O7
(d) In converting computer understandable language to human understandable language, the role of block
diagram-2 is significant.
Block diagram-2 is a decoder. So, for getting 2n number of outputs, n number of inputs are required. The
given figure is of a 2 to 4 decoder. Binary number is decoded using decoder.
In a 2 to 4 decoder, one of the 4 output lines from 2 input lines has 1. 1 is found in one of the output lines
and the rest of the outputs are 0. But which line will have 1 it depends on the input lines. Here truth table
and equation for a 2 to 4 single bit decoder is shown:
Truth Table
A1 Ao D3 D2 D1 Do
0 0 0 0 0 1
0 1 0 0 1 1
1 0 0 1 0 0
1 1 1 0 0 0
Mean term Equations
Do = A1 . Ao D1 = A1 . Ao
D2 = A1 . Ao D3 = A1 . Ao
08. Adnan Jami asked his uncle to know the sum of two numbers (E)16 and (7)8 . Uncle showed Adnan Jami
the sum and said that all the mathematical operations inside the computer like––addition, subtraction,
multiplication, division are done by a single operation, and addition also uses one type of circuit. [RB’17]
(d) Show the process of adding these two numbers using the circuit mentioned by uncle. 4
Answer
(d) Similar to question 05(c)
09. Observe the block diagrams and answer the following questions. [CB’16]
Truth Table:
A B S C
0 0 0 0
0 1 1 0
1 0 1 0
1 1 0 1
(d) Similar to question 06(d)
36
10. Answer the questions based on the stem below.
[Din.B’16]
Fig-1 Fig-2
(d) Analyze the role of diagram in the stem in making binary addition circuit. 4
Answer
(d) Similar to question 06(d)
01. [JB’23]
(c) Explain the device encircled with dots (......) in the stem. 3
(d) What will be the values of X, Y and Z when the 4th, 5th and 7th clock pulse is applied to the stem image?
Analyze. 4
Answer
(c) In the stem, the device surrounded by dots (…) is a 3 to 8 decoder.
Decoder is basically the reverse device of encoder. This will give 2n number of outputs for n number of
inputs.
If N = 3 then, 2N = 23 = 8
∴ It is 3 × 8 decoder. Block diagram of the circuit:
Truth table:
Input Output
X Y Z D0 D1 D2 D3 D4 D5 D6 D7
0 0 0 1 0 0 0 0 0 0 0
0 0 1 0 1 0 0 0 0 0 0
0 1 0 0 0 1 0 0 0 0 0
0 1 1 0 0 0 1 0 0 0 0
1 0 0 0 0 0 0 1 0 0 0
1 0 1 0 0 0 0 0 1 0 0
Figure: Block diagram of : 3 × 8 line decoder 1 1 0 0 0 0 0 0 0 1 0
1 1 1 0 0 0 0 0 0 0 1
Figure: Truth table of 3 × 8 line decoder
37
Drom truth table we get,
Function:
D0 = x̅ y̅ z̅ D4 = x y̅ z̅
D1 = x̅ y̅ z D5 = x y̅ z
D2 = x̅ y z̅ D6 = x y z̅
D3 = x̅ yz D7 = x y z
(d) The picture given here is a picture of a ripple counter. The table of the ripple counter looks like this-
Clock Pulse q2 q1 q0
0 0 0 0
1 0 0 1
2 0 1 0
3 0 1 1
4 1 0 0
5 1 0 1
6 1 1 0
7 1 1 1
We can say that the output will be 100 in the 4th clock pulse, 101 in the 5th clock pulse, 111 in the 7th clock
pulse.
02. [SB’17]
(d) Evaluate the logic circuit obtained by interchanging the gates marked No. 2 and 3 of the stem for use in
a binary addition circuit. 4
Answer
(d) The two gates marked 2 and 3 are interchanged in the stimulus,
38
CQ Knowledge-Based Questions & Sample Answers from Previous Board Exams
39
16. What is Unicode? [Ctg.B, CB, Din.B’19, RB’17]
Ans: Unicode is used to code every language around the world - big or small into the computer. Unicode is
mainly a 2 byte or 16 bit code. By this code 65,536 or 216 number of unique symbols can be specified.
17. What is Universal Gate? [Ctg.B, JB’19]
Ans: All types of gates can be implemented by using NAND gate and NOR gate, so they are called universal
gates.
18. What is code? [BB’19; DB, JB, SB, Din.B’18; Din.B'17; RB’16]
Ans: To make the CPU understand each letter, number, or special symbol used in a computer system
separately, unique signals are created using different formats of bits (0 & 1). This unique signal is called
code.
19. What is truth table? [Din.B’19]
Ans: The table where different values of the variable as input and value of the function as the output are
expressed together is called truth table.
20. What is Boolean postulate? [DB’17]
Ans: Some rules are assumed to be true for summation and multiplication in Boolean Algebra. These rules
are called Boolean postulates.
21. What is logic gate? [Ctg.B’17, SB, BB’16]
Ans: The Digital Electronic Circuit that is used to implement the basic operations of Boolean Algebra:
logical OR, Logical AND Logical NOT.
22. What is decoder? [SB’17]
Ans: Decoder is a type of digital circuit that converts code or computer understandable language to human
understandable language That is decoder converts digital signal to analog signal.
23. What is 2’ Complement? [SB’17]
Ans: The number that is obtained by reversing every bit of a binary number is called 1’s complement. The
number obtained by adding 1 to the 1’s complement of the binary number is called 2’s complement.
24. What is Boolean Algebra? [JB’17]
Ans: George Boole was the first to discover the relation between Mathematics and logic and made a type of
algebra on the basis of Mathematics and logic which is called Boolean Algebra.
01. “It is possible to convert coded data into uncoded data.”—Explain. [DB’23; JB’19]
Ans: The expression refers to the circuit called decoder.
Decoder mainly is a n-to-2nline circuit, Which basically converts any code converted to n-bit code to actual
value. such as: 2-to-4 Decimal Decoder
Input Output Product
X Y 𝐃𝟎 𝐃𝟏 𝐃𝟐 𝐃𝟑
0 0 1 0 0 0 𝐃0 = x̅ y̅
0 1 0 1 0 0 𝐃1 = x̅ y
1 0 0 0 1 0 𝐃2 = x y̅
1 1 0 0 0 1 𝐃3 = yy Fig: Logic circuit of 2 × 4 Line Decoder
40
02. 'Binary and BCD are not the same.'—Explain. [DB’23]
Ans: Difference between BCD code and Binary numbers:
BCD code Binary Numbers
(i) BCD code is not a number system. (i) Binary code is a number system.
(ii) It is used to express decimal numbers into (ii) In this number system, only two numbers
binary numbers. (0,1) are used.
(iii) Expressing decimal numbers in BCD code is (iii) It is quite difficult to express decimal
very easy. numbers into binary numbers.
(iv) Only remembering the binary equivalents of
(iv) Determining binary numbers requires
the decimal numbers 0 to 9 is sufficient for
calculations.
performing calculations.
(v) It takes more amount of bits to express any (v) It takes less amount of bits to express any
number in BCD code. number in binary number system.
(vi) For example: The BCD code of (137)10 is (vi) For example: The binary equivalent of
= (0001 0011 0111) BCD (137)10 = (10001001)2
Thus, "Binary and BCD are not the same" - the saying is correct.
03. Explain, “ASCII code is an alphanumeric code.” [RB’23]
Ans: ASCII code is one type of Alphanumeric code. Alphanumeric code is the code used to express the
data contained in all buttons including all letters, mathematical symbols, special meaning symbols, digits
from 0-9 on computer keyboard errors. ASCII is one such alphanumeric code. Its full form is American
Standard Code for Information Interchange. In ASCII-7 and ASCII-8, 7 and 8 bits respectively are used to
express 27 = 128 ও 28 = 256 unique symbols. This code is widely used in microcomputers. This code is
used to exchange alphanumeric data between the computer and the device used for input/output (eg:
keyboard, mouse, monitor, printer, etc.).
04. De-Morgan's theorem makes the interchange between rational addition and rational multiplication – Explain.
[RB’23]
Ans: De-Morgan’s 1st Theorem:
̅̅̅̅̅̅̅̅…..= A
ABCD ̅+ B
̅ + C̅ + D
̅ + …….
There are NOT and OR (Boolean/Logical Addition) operations on the right side, and NOT and AND
(Boolean/Logical Multiplication) operations on the left side.
De-Morgan’s 2nd theorem:
̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅
A+B+C+D = A ̅. B
̅. C̅. D
̅ … ….
There are NOT and OR (Boolean/Logical Addition) operations on the left side, and NOT and AND
(Boolean/Logical Multiplication) operations on the right side.
That is, in both de Morgan's theorems in Boolean algebra, we can see that both sides are NOT operations,
and if one side has OR, the other side has AND. That is, in simple terms, De-Morgan's theorem makes the
trade-off between rational addition and rational multiplication.
41
05. Explain 5 + 3 = 10. [Ctg.B’23; Ctg.B’17]
Ans: 5 + 3 = 10 ⇒It is possible in Octal system.
In our daily calculation (Decimal) rule, 5 should be 5 + 3 = 8. But Octal has no digits except 0,1,2,3,4,5,6
and 7. So, (5)8 + (3)8 = (5)8 + (2)8 + (1)8 = (7)8 + (1)8 is fine, then 1 is added to 7, meaning 7 goes
to the next digit. Since 8 is not missing, the cycle of 80 is completed once. As a result, the cell of 80 is
reset to 0 again, but the cell just to its left increases by 1.
∵ (7)8 = (07)8 ∴ 81 cell had 0 before addition.
∴ After addition (0 + 1) = 1.
∴ In octal,
(7)8 + (1)8 = 108
⇒ (5)8 + (2)8 + (1)8 = (10)8
∴ (5)8 + (3)8 = (10)8
06. Explain P + 1 = 1. [Ctg.B’23]
Ans: P+1 is the OR operation between P and 1. This can be shown in the Electrical Circuit Diagram:
Here, whether the P switch is ON(1) or OFF (0), Parallelly Connected the bulb will always be ON(1) as the
other switch is 1(ON).
This can be shown in the truth table as follows:
Same Same
08. Explain code that integrate almost all languages. [SB’23]
Ans: Unicode is the code that unites almost all languages.
The code used to encode all major and minor languages in the world is known as Unicode. Unicode was
developed in 1991 by a group of computer engineers from Apple Inc and Xerox Corporation. It is a 2 byte
or 16 bit code that can specify 216 or 65,536 symbols. As a result, it has been possible to express the
languages of many countries through this code. Bengali has started to be used through Unicode in Windows
from the Windows 2000 version of the operating system.
42
09. Why NAND gate is called universal gate? [BB’23]
Ans: Any Boolean function basically has at most three types of operations. For example: AND, OR and
NOT molecular gates can be implemented with the help of NAND gates, so NAND gates are called universal
gates.
Implementation of NOT Gate by NAND:
Q = A. A = A, which is the equation of NOT gate.
Implementation of AND Gate by NAND:
10. “Unicode has changed the alphabets of all native languages of the world to computer alphabets” -Explain.
[BB’23]
Ans: Unicode converted all the world's native language characters to computer characters.
All the world's languages are coded through the use of Unicode, which specifies 65,536 unique symbols. By
using Unicode, 65,536 characters can be specified by 2-byte or 16-bit codes. As a result, all languages of the
world can be properly expressed through it. Among these Hex 0980 to Hex 09FF represent Bengali letters
and symbols. Thus Unicode represents all languages of the world.
11. Show how 9 + 7 = 20 is possible. [JB’23]
Ans: 9 + 7 = 20 is only possible when 9 and 7 are decimal or hexadecimal and this 20 is 20 in octal.
(9 + 7)10 = (16)10
∴ (16)10 = (20)8
12. Showed D-Morgan's 1st theorem for 2 variables by circuit. [JB’23]
Ans: De Morgan's 1st Theorem: A + B = A . B
Left Hand Side Right Hand Side
That is, BCD requires more bits than Binary. And it is always true that BCD will require the same or more
number of codes as binary.
43
14. What is required to find the value of a number in positional number system? Explain. [CB’23]
Ans: To find the value of a number in the positional number system, 3 things need to be known:
1. Each digit has its own value
2. Basics of number system
3. The local value of the digits of the number
Example- In hexadecimal number system 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E each digit value is 0, 1, 2,
3, 4, 5 , 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 respectively. Base of the number system is 16.
Then the value of 4B3 = 4 × 162 + 11(𝐵) × 161 + 3 × 160 = 4 × 256 + 11 × 16 + 3 × 1 = 1203
15. Which is the most commonly used 8 bit? Explain. [Din.B’23]
Ans: The most widely used 8-bit code is the ASCII-8 code, which is basically an improved version of ASCII-7.
ASCII-8
`
The ASCII-7 version did not have a parity bit.
The full form of ASCII is American Standard Code For Information Interchange. ANSI invented this
alphanumeric code in 1963. ASCII was originally a 7-bit code, with the first three zone bits and the next
four value bits. This allows 27=128 unique characters to be encoded. Among these were 32 Command
Characters and 96 Symbolic Characters Among the Symbolic Characters there were '0'-'9' 'a'-'z' and 'A'-'Z'
in addition to numbers. The Zone bits of the digits were 011, that is, to write the ASCII-7 code of 5, the 4-
bit binary value of 5 must be given with 011.(5)10 = (101)2 = (0101)2
∴ ASCII-7code of 5 ⇒ 011⏟ 0101
⏟
𝑧one value
Later, when more characters were required to be computer coded, an additional bit was added called the
parity bit, resulting in ASCll-7 being upgraded to ASCll-8. The question focuses on this code itself. In this
case, (000 0000)ASCII−7 to (111 1111)ASCll−7 becomes (000 0000)ASCII−7 to (0 111 1111)𝐴𝑆𝐶11−8 , and
new characters are encoded from (1 000 0000)ASCll−8 to (1 111 1111)ASCll−8 ) keeping the value of these
first 128 identical.
The currently widely used unicode is basically the extended version of ASCll-8.
16. Which circuit has 2n number of inputs and n number of outputs? Explain. [Din.B’23]
Ans: If the encoder inputs are 2n, then the number of outputs is n.
As we know, it is possible to express a total of 2n different numbers from 0 to maximum 2𝑛−1 by n bits.
That is, if we want to see for 2n different inputs, how much is its binary code, i.e. want to encode it, then we
have to use n bits, that is, we have to keep n number of Output Lines. The circuit used in this work is called
Encoder. That is, the circuit mentioned in the question is Encoder.
17. Explain, 'Output is the logical opposite of Input'. [MB’23]
Ans: The statement basically refers to NOT Gate.
We get from the principle of Boolean complement:
0̅ = 1; 1̅ = 0; A. A̅ = 0; A + A̅=1
NOT Gate also basically works as Logical Inverter, it gives Output = 0 if Input signal is 1, Output = 1 if
Input Signal is 0.
̅̅̅̅̅̅̅
That is, the output of the NOT gate = Input
44
18. How 6 + 5 + 3 = 1110- Explain. [DB’19]
Ans: If 6, 5, 3 are expressed in Octal, Hexadecimal or Decimal and their sum is expressed in binary number
then 6 + 5 + 3 = 1110. In hexadecimal, decimal or Octal-
(6 + 5 + 3)8 = (16)8 = (1110)2
(6 + 5 + 3)10 = (14)10 = (1110)2
(6 + 5 + 3)16 = (E)16 = (1110)2
That is, the relationship is possible.
19. Unicode can understand “Bangla language”- Explain. [DB’19]
Ans: Unicode is a type of alpha numeric code. Unicode is a 2 byte or 16 bit code using which 65,536 or 216
number of unique symbols can be specified. With the help of Unicode all languages around the world-big
or small, can be coded into computer easily. Unicode is compatible with the ASCII code. That is, the first
256 codes of Unicode are similar to the 256 codes of ASCII. Since Bangla language is also included in the
Unicode so it can understand the Bangla language.
20. 2’s complement make the digital circuits simple-Explain. [RB’19]
Ans: 2’s complement is one of the ways to convey negative values. It simplifies the circuit. It is because-
(i) Complex circuit is needed to form real value which is not needed in 2’s complement.
(ii) In 1’s complement +0 and −0 are found which is not found in 2’s complement.
That’s why 2’s compliments make the circuits simple.
21. Simplify F = AB + AC + BC. [RB’19]
Ans: Given that, F = AB + AC + BC = AB + C(A + B)
= (AB + C). (AB + A + B) = (AB + C)(B(A + 1) + A) = (AB + C). (A + B)
which is the simplified form.
22. Explain "1 + 1 + 1 = 1". [Ctg.B’19]
Ans: In case of Boolean Algebra, 1 + 1 + 1 = 1. As per the Boolean axiom of Boolean Algebra,
1 + 1 = 1. Again, according to Associative law, (1 + 1) + 1 = 1 + (1 + 1).
Therefore, 1 + 1 + 1 = (1 + 1) + 1 = 1 + 1 = 1
23. Explain the circuit to convert the language of computers to human understandable language. [Ctg.B’19; DB'17]
Ans: The circuit to convert the language of computers to human understandable language is the decoder.
Decoder is a digital circuit in which from n number of inputs, 2n number of outputs are obtained where
maximum one output line contains 1 and the rest are 0. It depends on the inputs which output line will have
1. Different types of decoders are used among which 2 to 4 decoder, 3 to 8 decoder, 4 to 16 decoder are
popular. It is possible to implement two 2 to 4 decoders. Also, it is possible to implement two 8 to 3 decoders
and it is possible to implement a 4 to 16 decoder using two 3 to 8 decoders.
24. “Only the sign changes when 2’s complement is done”-Explain. [SB’19]
Ans: Only the sign of the number is changed when 2’s complement is done.
2’s complement is formed by adding 1 to the 1’s complement. In this case, the sign bit is also changed.
Negation of binary numbers consisting of signs is done by converting them to 2’s complement. That’s why
using summation, the difference of two numbers can be found out. As in this case, only negation is done, so
the value does not change only the sign changes.
45
25. How many NAND gates are needed to implement an AND gate with 5 inputs? Explain. [SB’19]
Ans: 4 NAND gates are needed to implement an AND gate with 5 inputs.
5 inputs of the AND gate A1 A2 A3 A4 A5.
A1 A1 A2
A1 A2
A2
A1 A2A3 A4
A3 A3 A4 A1 A2A3 A4
A3 A4
A4 A1 A2A3 A4A5
A1 A2A3 A4A5
A5
26. A 4-bit binary counter can count how many numbers? Explain. [BB’19]
Ans: A 4-bit binary counter can count from 0 to 15.
Counter is a type of sequential circuit that can count the number of pulses given to it as input. Counter is a
type of register that is used for special purpose. The input pulse of the counter (which is called a count pulse)
can be any other pulse than the clock pulse. The count may come after a certain period of time or may also
come irregularly. Counter can follow different types of sequence or order bit the easiest and simple sequence
is the binary sequence The counter that follows binary sequence is called a sequence counter. An n bit binary
counter is a circuit made of n number of flip-flops and corresponding gates that can follow the sequence of
calculations of n binary bit, that is, from 0 to 2n – 1.
27. The number next to FF is 100 – Explain. [BB’19]
Ans: In hexadecimal number system, the number next to (FF)16 is (100)16 . Hexadecimal number system
consists of 16 digits: 0 to 9, A, B, C, D, E, F. So (FF)16 is the highest 2-digit number in this system. The
number next to it will be the smallest number consisting of 3 digits. That’s why the number next to (FF)16
is (100)16 .
28. It has been possible to code all the languages of the world-Explain. [JB’19]
Ans: It has been possible to code all the languages of the world using Unicode by which 65,536 number of
unique symbols has been specified. Using the Unicode 216 symbols can be specified through 2 byte or 16
bits. As a result, all languages around the world can be expressed using it. In it Hex 0980 to Hex 09FF
expresses Bangla letters and symbols. In this way Unicode expresses all the languages around the world.
29. Is 9 + 7 = 10 possible? Explain. [CB’19]
Ans: 9 + 7 = 10 is only possible when calculate in hexadecimal number system.
The system of writing or expressing any number is called number system. The base of the hexadecimal
number is 16 that is there are 16 digits here (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F). For this 10 comes here
instead of 16 in decimal number system. That’s why 9 + 7 = 10 in hexadecimal number system.
30. Explain M (M + N) = M. [Din.B’19, CB’16]
Ans: M(M + N) = MM + MN = M + MN = M(1 + N) = M. 1 = M
31. Explain the number system used in digital devices [Din.B’19, CB’16]
Ans: The number system used in digital devices is binary number system that only deals with 0 and 1. Binary
number system only works with two numbers. In this case generally logic 0 means from 0 to +0.8 Volt and
logic 1 means from +2 Volt to +5 Volt. In this case 0.8 to 2 is not defined. Usually, 0 indicates OFF and 1
indicates ON. In this way binary number system is used. In this case decimal number system is not used
because then 10 different different electrical conditions would have been needed which is time consuming.
46
32. Implement OR gate using NAND gate. [Din.B’19]
Ans: OR gate is implemented by using NAND as follows:
A
Y = A. B = A + B = A + B Y=A+B
B
33. Explain 3 based number system. [DB, JB, SB, Din.B’18]
Ans: The number system where only three digits or symbols are used is called a 3 based number system. In
this case the symbols can be 0, 1 and 2 and the base will be 3. So, to convert a decimal number to a 3 based
number system, it is to be divided by 3. After converting to 3 based number, the base has to be considered
3. For example:
(121)3 = (1 × 32 + 2 × 31 + 1 × 30 )10 = (16)10 . It is 3 based number system.
34. NOR gate functions as a basic gate when all of its inputs are same-Explain. [DB, JB, SB, Din.B’18]
Ans: NOR gate functions as basic gate when all of its inputs are same.
y = A+A =A
A
In this case, NOT gate is a basic gate, so NOR gate works as basic gate when all of its inputs are same.
35. Explain the most used alpha numerical code before the emergence of Unicode. [DB’17]
Ans: The most used alpha numerical code before Unicode is ASCII code. ASCII is the short form of American
Standard Code for Information Interchange. ASCII is a widely used code which is formed of 8 bits.
36. In what logic 1 + 1 = 1 and 1 + 1 = 10 - Explain. [RB, SB’17]
Ans: By Boolean addition 1 + 1 = 1 and by binary addition 1 + 1 = 10. By Boolean addition or logical
addition 1 + 1 = 1. On the other hand, in binary addition 1 + 1 = 10. It is because the logical addition of
Boolean addition is important. On the contrary, binary addition being an addition of two digits (0 and 1) ,
here 1 + 1 = 10 that is, the number after 1 is 10 as the base of binary system is 2.
37. Unicode is a blessing to people of all languages around the world-Explain. [Ctg.B’17]
Ans: Unicode is a 16-bit alpha numeric code whose other name is the universal code. All letters, numbers
and symbols are used in Unicode to use in digital devices. It is easier to convert to any standard code from
the Unicode. So, it can be said that Unicode is a blessing to people all the languages around the world.
38. There are 4 flip-flops in a 4-bit register-Explain. [SB’17]
Ans: One flip-flop can store one bit data. Register is a circuit formed of a bunch of flip-flops and gates
where each flip-flop stores one binary bit. In an n-bit register, there are n number of flip-flops and can store
n-bit binary data. Thus, it can be said that there are 4 flip-flops in a 4-bit register.
39. The advantages of XOR gate are more than that of OR gate-Explain. [BB’17]
Ans: OR gate is used in logical addition of two or more binary numbers. XOR gate is a special gate. X-OR
gate is used in addition of two or more binary numbers. That’s why the advantages of XOR gate are more
than that of OR gate.
40. Why the number (11)10 is called positional number? Explain. [JB’17]
Ans: Here the number (11)10 belongs to decimal number system whose base is 10. In this system there are
total 10 symbols from 0 to 9. That’s why (11)10 is a positional number.
41. Why is digital signal suitable in case of computers? Explain. [JB’17]
Ans: Digital instruments work on binary mode. One switch can be off in digital signal or signal may be
present or absent. Binary number system is related to this. That’s in case of computers digital signal is
suitable.
42. What type of number is 5D? Explain. [CB’17]
Ans: 5D is a hexadecimal number. Because a digit and a letter are used in the number namely 5 and D.
Among the four number systems only in hexadecimal system these digits and letters are used.
47
43. Output, Input’- Its logical opposite-Explain. [CB’17]
Ans: The logical inverse statement of input and output is applicable on NOT gate. NOT gate is a basic gate
which has an input and an output. This gate functions as logical complement. In logical complement,
complement of 0 is 1 and complement of 1 is 0. That is the input and output of NOT gate are opposite. That’s
why it is also called an inverter.
44. Explain the importance of forming 2’s complement. [Din.B’17]
Ans: In forming the 2’s complements the values of (+0) and (-0) are same which is similar to reality. Simple
circuit is needed to form 2’s compliment and it works very fast. The same circuit can be used in forming 2’s
complement for addition, subtraction, multiplication and division. That’s why the importance of forming 2’s
complement in modern computers is significant.
45. Explain 1 + 1 = 1. [DB’16]
Ans: 1 + 1 = 1 is a logical addition that can be implemented by OR gate. If any one of the inputs of an OR
gate is 1, the output becomes 1.
46. Subtraction can be done by addition-Explain. [RB’16]
Ans: The value obtained by adding 1 to the 1’s complement of a binary number is called 2’s complement.
2’s compliment is the binary value of the negative value of any number. If any number can be turned negative
and added to the mentioned negative number then it is actually subtraction. Therefore using 2’s compliment
subtraction can be done with the help of addition.
47. Computers do not take the number (267)10 directly-Explain. [Ctg.B’16]
Ans: Logic level 0 and 1 are related to binary number system. That’s why in computers and all other
electronic devices binary number system is used. As the (267)10 number do not belong to binary number
system so computers do not take the number directly.
48. Explain whether the number (298)8 is correct or not. [SB’16]
Ans: The number (298)8 is not correct. The symbols in octal number system are 0,1,2,3,4,5,6,7. That is
there are 8 basic symbols in octal system. Thus, the base of an octal system is 8. As the digits 8 and 9 are
used in the number so it is not an octal number.
49. XOR gate is a combined gate of all logic gates-Explain. [BB’16]
Ans: It is seen by implementing the XOR gate that all basic gates AND, OR and NOT are used. So, it can
be said that XOR gate is a combined gate of all logic gates.
50. “The figure represents logical addition" – Explain. [JB’16]
Ans: The figure is an OR gate which represents logical addition.
The figure is of an OR gate. The inputs of the OR gate are added by logical addition or by Boolean
system and the output result is shown. For example:
which represents logical addition.
51. “Octal is a 3-bit code”- Explain. [Din.B’16]
Ans: Three bits in binary are found when any digit in octal is converted to binary. The number system in
which 8 basic symbols (0,1,2,3,4,5,6,7) are used is called octal number system. For example, to express 7,
3 bits (111) are required, that is, within 3 bits any symbol or digit of the octal number system can be
expressed.
48