Kerala Plus One Computer Science Chapter Wise Questions and Answers Chapter 2 Data Representation and Boolean Algebra
Plus One Data Representation and Boolean Algebra One Mark Questions and Answers
Question 1.
___________ is a collection of unorganized fact.
Answer:
Data
Question 2.
Data can be organized into useful ____________
Answer:
Information
Question 3.
___________ is used to help people to make decision.
Answer:
Information
Question 4.
Processing is a series of actions or operations that convert inputs into __________
Answer:
Output
Question 5.
The act of applying information in a particular context or situation is called ____________
Answer:
Knowledge
Question 6.
What do you mean by data processing?
Answer:
Data processing is defined as a series of actions or operations that converts data into useful information.
Question 7.
Odd man out and justify your answer.
(a) Adeline
(b) 12
(3) 17
(d) Adeline aged 17 years is in class 12.
Answer:
(d) Adeline aged 17 years is in class 12. This is information. The others are data.
Question 8.
Raw facts and figures are known as _______
Answer:
data
Question 9.
Processed data is known as _______
Answer:
Information
Question 10.
Which of the following helps us to take decisions?
(a) data
(b) information
(c) Knowledge
(d) intelligence
Answer:
(b) information
Question 11.
Manipulation of data to get information is known as ___________
Answer:
Data processing
Question 12.
Arrange the following in proper order
Process, Output, Storage, Distribution, Data Capture, Input.
Answer:
- Data Capture
- Input
- Storage
- Process
- Output
- Distribution
Question 13.
Pick the odd one out and give reason:
(a) Calculation
(b) Storage
(c) Comparison
(d) Categorization
Answer:
(b) Storage. It is one of the data processing stage the others are various operations in the stage Process
Question 14.
Information may act as data. State true or False.
Answer:
False
Question 15.
Complete the Series.
- (101)2, (111)2, (1001)2, ……….
- (1011)2, (1110)2, (10001)2, ………
Answer:
- 1011, 1101
- 10101, 10111
Question 16.
What are the two basic types of data which are stored and processed by computers?
Answer:
Characters and number
Question 17.
The number of numerals or symbols used in a number system is its _______________
Answer:
Base
Question 18.
The base of decimal number system is ________
Answer:
10
Question 19.
MSD is ________
Answer:
Most Significant Digit
Question 20.
LSD is _________
Answer:
Least Significant Digit
Question 21.
Consider the number 627. Its MSD is _________
Answer:
6
Question 22.
Consider the number 23.87. Its LSD is __________
Answer:
7
Question 23.
The base of Binary number system is ___________
Answer:
2
Question 24.
What are the symbols used in Binary number system?
Answer:
0 and 1
Question 25.
Complete the following series,
(101)2, (111)2, (1001)2
Answer:
1011, 1101
Question 26.
State True or False. In Binary, the unit bit changes either from 0 to 1 or 1 to 0 with each count.
Answer:
True
Question 27.
The base of octal number system is ________
Answer:
8
Question 28.
Consider the octal number given below and fill in the blanks.
0, 1, 2, 3, 4, 5, 6, 7, __
Answer:
10
Question 29.
The base of Hexadecimal number system is ________
Answer:
16
Question 30.
State True or False.
In Positional number system, each position has a weightage.
Answer:
True
Question 31.
In addition to digits what are the letters used in Hexadecimal number system.
Answer:
A(10), B(11), C(12), D(13), E(14), F(15)
Question 32.
Convert (1110.01011)2 to decimal.
Answer:
1110.01011 = 1 × 23 + 1 × 22 + 1 × 21 + 0 × 20 + 0 × 2 – 1 + 1 × 2 – 2 + 0 × 2 – 3 + 1 × 2 – 4 + 1 × 2 – 5
= 8 + 4 + 2 + 0 + 0 + 0.25 + 0 + 0.0625 + 0.03125
= (14.34375)10
Question 33.
1 KB is bytes.
(a) 25
(b) 210
(c) 215
(d) 220
Answer:
(b) 210
Question 34.
The base of the hexadecimal number system is ________.
Answer:
16
Question 35.
A computer has no _________
(a) Memory
(b) l/o device .
(c) CPU
(d) IQ
Answer:
(d) IQ
Question 36.
Pick the odd man out.
(AND, OR, NAND, NOT)
Answer:
NOT
Question 37.
Select the complement of X + YZ.
(a) \(\bar{x}+\bar{y}+\bar{z}\)
(b) \(\bar{x} .\bar{y}+\bar{z}\)
(c) \(\bar{x} \cdot(\bar{y}+\bar{z})\)
(d) \(\bar{x}+\bar{y} \cdot \bar{z}\)
Answer:
(c) \(\bar{x} \cdot(\bar{y}+\bar{z})\)
Question 38.
Select the expression for absorption law.
(a) a + a = a
(b) 1 + a = 1
(c) o . a = 0
(d) a + a . b = a
Answer:
(a) a + a . b = a
Question 39.
What is the characteristic of logical expression?
Answer:
Logical expressions yield either true or false values
Question 40.
Name the table used to define the results of Boolean operations.
Answer:
Truth Table
Question 41.
According to ________ law, \(\bar{x}+\bar{y}=\overline{x y}\) and \(\overline{x y}=\bar{x}+\bar{y}\)
Answer:
De Morgan’s law
Question 42.
A NOR gate is ON only when all its inputs are
(a) ON
(b) Positive
(c) High
(d) OFF
Answer:
(d) OFF
Question 43.
The only function of a NOT gate is __________
Answer:
Invert an output signal
Question 44.
NOT gate is also known as _________
Answer:
Inverter
Question 45.
What is the relation between the following statements?
x + 0 = x and x . 1 = x
Answer:
One is the dual of the other expression.
Question 46.
The algebra used to solve problems in digital systems is called __________
Answer:
Boolean Algebra
Question 47.
Pick the one which is not a Basic Gate.
(AND, OR, XOR, NOT)
Answer:
XOR
Question 48.
Select the universal gates from the list. (NAND, NOR, NOT, XOR)
Answer:
NAND, NOR
Question 49.
Which is the final stage in data processing?
Answer:
Distribution of information is the final stage in data processing
Question 50.
Fill up the missing digit.
(41)8 = ( )16
Answer:
- Step 1: Divide the number into one each and write down the 3 bits equivalent.
- Step 2: Then divide the number into group of 4 bits starting from the right then write its equivalent hexadecimal.
Answer:
So the answer is 21.
Question 51.
Real numbers can be represented in memory by using __________
Answer:
Exponent and Mantissa
Question 52.
Consider the number 0.53421 x 10-8 Write down the mantissa and exponent.
Answer:
Mantissa: 0.53421
Exponent: -8
Question 53.
Characters can be represented in memory by using _________
Answer:
ASCII Code
Question 54.
ASCII Code of A’ is __________
Answer:
(100 0001)2 = 65
Question 55.
ASCII Code of’a’ is __________
Answer:
(110 0001)2 = 97
Question 56.
Define the term ‘bit’?
Answer:
A bit stands for Binary digit. That means either 0 or 1.
Question 57.
Find MSD in the decimal number 7854.25
Answer:
Because it has the most weight
Question 58.
ASCII stands for __________.
Answer:
American Standard Code for Information Interchange
Question 59.
List any two image file formats.
Answer:
BMP, GIF
Question 60.
Name the operator which performs logical multiplication.
Answer:
AND
Question 61.
Name a gate which is ON when all its inputs are OFF.
Answer:
NAND or NOR
Question 62.
Specify the laws applied in the following cases.
- a (b + c) = ab + ac
- (a + b) + c = a + (b + c)
Answer:
- Distribution law
- Associative law
Question 63.
Pick the correct Boolean expression from the following.
(a) \(A +\bar{A}=163.\)
(b) \(\text { A. } \bar{A}=1\)
(c) \(A \cdot \overline{A B}=A + B\)
(d) A + AB = A
Answer:
(a) & (d)
Question 64.
1’s complement of the binary number 110111 is _________
Answer:
Insert 2 zeroes in the left-hand side to make the binary number in the 8-bit form 00110111
To find the 1’s complement, change all zeroes to one and all ones to zero. Hence the answer is 11001000
Plus One Data Representation and Boolean Algebra Two Mark Questions and Answers
Question 1.
Why do we store information?
Answer:
Normally large volume of data has to be given to the computer for processing so the data entry may be taken more days, hence we have to store the data. After processing these stored data, we will get information as a result that must be stored in the computer for future references.
Question 2.
What is source document.
Answer:
Acquiring the required data from all the sources for the data processing and by using this data design a document, that contains all relevant data in proper order and format. This document is called source document.
Question 3.
Briefly explain data, information and processing with real-life example.
Answer:
Consider the process of making coffee. Here data is the ingredients – water, sugar, milk and coffee powder
Information is the final product i.e. Coffee Processing is the series of steps to convert the ingredients into final product, Coffee. That is mix the water,sugar and milk and boil it. Finally pour the coffee powder.
Question 4.
ASCII is used to represent characters in memory. Is it sufficient to represent all characters used in the written languages of the world? Propose a solution. Justify.
Answer:
No It is not sufficient to represent all characters used in the written languages of the world because it is a 7 bit code so it can represent 27 = 128 possible codes. To represent all the characters Unicode is used because it uses 4 bytes, so it can represent 232 possible codes.
Question 5.
The numbers in column A have an equivalent number in another number system of column B.
Find the exact match
A | B |
(12)8 | (1110)2 |
F16 | 25 |
(19)16 | 10 |
(11)8 | (13)16 |
(17)8 | |
9 |
Answer:
A | B |
12 | 10 |
F | (17)8 |
(19)16 | 25 |
(11)8 | 9 |
Question 6.
- Name various number systems commonly used in computers.
- Include each of the following numbers into all possible number systems
123 569 1101
Answer:
- The number system is binary, octal, decimal, and hexadecimal
- All possible number systems are
- 123 Octal, decimal, and hexadecimal
- 569 Decimal, hexadecimal
- 1101 Binary, Octal, Decimal, Hexadecimal
Question 7.
Fill up the missing digit. (Score 2)
If (220)a = (90)b then (451)a = ( )10
Answer:
It contains 2 & 9, so a and b 2, b 8. The values of a can be 8 or 10. The values of b can be 10 or 16. L.H.S > R.H.S. a < b and a b also.
The possible values of a and b are given below.
Question 8.
Convert (106)10 = ( )2?
Answer:
Question 9.
Convert (106)10 = ( )8?
Answer:
Question 10.
(106)10 = ( )16?
Answer:
Question 11.
Convert (55.625)10 = ( )2?
Answer:
First convert 55, for this do the following
Write down the remainders from bottom to top.
(55)10 = (110111 )2
Next convert 0.625, for this do the following.
Write down the remainder from top to bottom. So the answer is
(55.625)10 = (110111.101)2
Question 12.
Convert (55.140625)10 = ( )8?
Answer:
First convert 55, for this do the following.
Write down the remainders from bottom to top.
(55)10 = (67)8
Next convert 0.140625, for this do the following.
Write down the remainders from top to bottom. So the answer is
(55.140625)10 = (67.11 )8
Question 13.
Convert (55.515625)10 = ( )16
Answer:
First convert 55, for this do the following.
Write down the remainders from bottom to top.
ie. (55)10 = (37)16
Next convert .515625
So the answer is
(55.515625)10 = (37.84)16
Question 14.
Convert (101.101)2 = ( )10?
Answer:
101.101 = 1 × 22 + 0 × 21 + 1 × 20 + 1 × 2-1 + 0 × 2-2 + 1 × 2-3 = 4 + 0 + 1 + 1/2 + 0 + 1/8 = 5 + 0.5 + 0.125
(101.101)2 = (5.625)10
Question 15.
Convert (71.24)8 = ( )10?
Answer:
71.24 = 7 × 81 + 1 × 80 + 2 × 8-1 + 4 × 8=2
= 56 + 1 + 2/8 + 4/82
= 57 + 0.25 + 0.0625 (71.24)8
(71.24)8 = (57.3125)10
Question 16.
Convert (AB.88)16 = ( )10?
Answer:
= 160 + 11 + 0.5 + 0.03125
(AB.88)16 = (171.53125)10
Question 17.
Convert (1011)2 = ( )8?
Answer:
Step I: First divide the number into groups of 3 bits starting from the right side and insert necessary zeroes in the left side.
0 0 1 | 0 1 1
Step II: Next write down the octal equivalent.
So the answer is (1011)2 = (13)8.
Question 18.
Convert (110100)2 = ( )16
Answer:
- Step I: First divide the number into groups of 4 bits starting from the right side and insert necessary zeroes in the left side.
- Step II: Next write down the hexadecimal equivalent.
So the answer is (110100)2 = (34)16.
Question 19.
(72)8 = ( )2?
Answer:
Write down the 3 bits equivalent of each digit.
So the answer is (72)8 = (111010)2.
Question 20.
Convert (AO)16 = ( )2 ?
Answer:
Write down the 4 bits equivalent of each digit
So the answer is (AO)16 = (1010 0000)2.
Question 21.
Convert (67)8 = ( )16?
Answer:
Step I: First convert this number into the binary equivalent for this do the following
Step II: Next convert this number into the hexadecimal equivalent for this do the following.
So the answer is (67)8 = (37)16
Question 22.
Convert (A1)16 = ( )8?
Answer:
Step I: First convert this number into binary equivalent. For this do the following
Step II: Next convert this number into octal equivalent. For this do the following.
So the answer is (A1)16 = ( 241)8.
Question 23.
What is the use of the ASCII Code?
Answer:
ASCII means American Standard Code for Information Interchange. It is a 7-bit code. Each and every character on the keyboard is represented in memory by using the ASCII Code.
eg: A’s ASCII Code is 65 (1000001), a’s ASCII Code is 97 (1100001)
Question 24.
Pick invalid numbers from the following.
- (10101)8
- (123)4
- (768)8
- (ABC)16
Answer:
- (10101)8 – Valid
- (123)4 – Valid
- (768)8 – Invalid. Octal number system does not contain the symbol 8
- (ABC)16 – Valid
Question 25.
Convert the decimal number 31 to binary.
Answer:
(31)10 = (11111)2
Question 26.
Find decimal equivalent of (10001 )2
Answer:
= 1 × 24 + 0 × 23 + 0 × 22 + 0 × 21 + 1 × 20
= 16 + 0 + 0 + 0 + 1
= (17)10
Question 27.
If (X)8 =(101011 )2 then find X.
Answer:
Divide the binary number into groups of 3 bits and write down the corresponding octal equivalent.
X = 53
Question 28.
Fill the blanks:
(a) (………..)2 = (AB)16
(b) (——D—–)16 = (1010 1000)2
(c) 0.2510 = (—–)2
Answer:
Write down the 4bit equivalent of each digit
(a) (………..)2 = (AB)16
= (10101011)2
(b) (——D—–)16 = (1010 1000)2
(A D 8)16 =(1010 1101 1000)2
(c) 0.2510 = (—–)2
0.2510 = (0.01)2
Question 29.
Which is the MSB of representation of -80 in SMR?
Answer:
It is 1 because In SMR if the number is negative then the MSB is 1.
Question 30.
Write 28.756 in Mantissa exponent form.
Answer:
28.756 = .28756 × 100
= .28756 × 102
= .28756 E + 2
Question 31.
Represent -60 in 1’s complement form.
Answer:
+60 = 00111100
Change all 1 to 0 and all 0 to 1 to get the 1’s complement.
-60 is in 1’s complement is 11000011
Question 32.
Define Unicode.
Answer:
The limitations to store more characters is solved by the introduction of Unicode. It uses 16 bits so 216 = 65536 characters(i.e, world’s all written language characters) can store by using this.
Question 33.
Subtract 1111 from 10101 by using 2’s complement method.
Answer:
To subtract a number from another number find the 2’s complement of the subtrahend and add it with the minuend. Here the subtrahend is 1111 and minuend is 5 bits. So insert a zero. So subtrahend is 01111. First, take the 1’s complement of the subtrahend and add 1 to it
Here is a carry. So ignore the carry and the result is +ve.
So the answer is 110
Question 34.
You purchased a soap worth Rs. (10010)2 and you gave Rs. (10100)2 and how much rupees will you get back in binary.
Answer:
Subtract (10010)2 from (10100)2
You will get rupees (10)2
Question 35.
Draw the logic circuit diagram for the following Boolean expression.
Answer:
Question 36.
Simplify the expression using basic postulates and laws of Boolean algebra.
- \(\bar{x}+x \cdot \bar{y}\)
- \(x(y+y . z)+y(\bar{x}+x z)\)
Answer:
- \(\bar{x}+\bar{y}\)
- y
Question 37.
Show \(A(\bar{B}+C)\) using NOR gates only.
Answer:
Question 38.
The following statement Demorgan’s theorem of Boolean algebra. Identify and state ‘Break the line, change the sign’.
Answer:
Demorgan’s theorems,
Demorgan’s first theorem,
\(\overline{x + y}\) = \(\bar{x} . \bar{y}\)
Demorgan’s second theorem,
\(\overline{x – y}\) = \(\bar{x} + \bar{y}\)
Question 39.
Prove algebraically that
\(x \cdot y + x \cdot \bar{y} \cdot z\) = x . y + x . z
Answer:
\(x \cdot y + x \cdot \bar{y} \cdot z\) = \(x(y+\bar{y} . z)\)
= x . (y + z) = x . y + x . z
Hence proved.
Question 40.
State which of the following statements are logical statements.
(a) AND is a logical operator
(b) ADD 3 to y
(c) Go to class
(d) Sun rises in the west.
(e) Why are you so late?
Answer:
(a) and (d) are logical statements because these statements have a truth value which may be true or false.
Question 41.
Express the integer number -39 in sign and magnitude representation.
Answer:
First find the binary equivalent of 39 for this do the following
In sign and magnitude representation, -39 in 8-bit form is (10100111)2.
Question 42.
- Which logic gate does the Boolean expression \(\overline{\mathrm{AB}}\) represent?
- Some NAND gates are given. How can we construct AND gate, OR gate, and NOT gate using them?
Answer:
1. NAND
2. AND gate
Question 43.
Perform the following number conversions.
- (110111011.11011)2 = (….)8
- (128.25)10= (…..)8
Answer:
1. 110111011.11011
Step 1: Insert a zero in the right side of the above number and divide the number into groups of 3 bits as follows
110 111 011 . 110 110
Step 2: Write down the corresponding 3 bit binary equivalent of each group
6 7 3 .6 6
Hence the result is (673.66)8
2. It consists of 2 steps.
Step 1: First convert 128 into octal number for this do the following
Write down the remainders from bottom to top.
(128)10 = (200)8
Step 2: Then convert .25 into octal number for this do the following
(0.25)10 = (0.2)8.
Combine the above two will be the result.
(128.25)10= (200.2)8
Question 44.
Represent -38 in 2’s complement form.
Answer:
+38 = 00100110
First take the 1 ’s complement for this change all 1 to 0 and all 0 to 1
2’s complement of -38 is (11011010)8.
Plus One Data Representation and Boolean Algebra Three Mark Questions and Answers
Question 1.
Differentiate manual data processing and electronic data processing?
Answer:
In manual data processing human beings are the processors. Our eyes and ears are input devices. We get data either from a printed paper, that can be read using our eyes or heard with ears. Our brain is the processor and it can process the data, and reach in a conclusion known as result. Our mouth and hands are output devices.
In electronic data processing the data is processing with the help of a computer. In a super market, key board and hand held scanners are used to input data, the CPU process the data, monitor and printers (Bill) are output devices.
Question 2.
Complete the series.
- 3248, 3278 ,3328, …., ….
- 5678, 5768, 605s, ……, …..
Answer:
1. (324)8 = 3 × 82 + 2 × 81 + 4 × 80
= 3 × 64 + 2 × 8 + 4 × 1
= 192 + 16 + 4 = (212)10
(327)8 = 3 × 82 + 2 × 81 + 7 × 80
= 192 + 16 + 7 = (215)10
(332)8= 3 × 82 + 3 × 81 +2 × 80
= 192 + 24 + 2 = (218)10
So the missing terms are (221)10, (224)10 we have to convert this into octal.
So the missing terms are (335)8, (340)8
2. (567)8 = 5 x 82 + 6 x 81 + 7 x 80
= 5 x 64 + 6 x 8 + 7 x 1
= 320 + 48 + 7 = (375)10
(576)8 = 5 x 82 + 7 x 81 + 6 x 80
= 320 + 56 + 6 = (382)10
(605)8 = 6 x 82 + 0 x 81 + 5 x 80
= 6 + 64 + 0 + 5
= 384 + 0 + 5 = (389)10
So the missing terms are (396)10, (403)10 we have to convert this into octal.
So the missing terms are (614)8, (623)8
Question 3.
Fill up the missing digits.
- (4……)8 = (……110)2
- (…….7……)8 = (100…….110)2
Consider the following
Answer:
1. 4…….100 and 110……….6
So (46)8 = (100 110)2
2. 100…….4
7……111
110………6
So (476)8 = (100 111 110)2
Question 4.
Fill up the missing numbers.
- (A…….)16 = (……..1001)2
- (…….B…….)16 = (1000………1111)2
Consider the following:
Answer:
1. A……..1010
1001………9
So (A9)16 = (1010 1001)2
2. B…….1011
1000………8
1111………F
So (8BF)16 = (1000 1011 1111)2
Question 5.
Complete the Series.
- 6ADD, 6ADF, 6AE1, ……., …….
- 14A9, 14AF, 14B5, …….., ……
Answer:
1. Consider the sequence
6ADD, 6ADF, 6AE1, ………….
Here the ‘numbers’ are
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F, 10, 11,——–
The difference between 6ADD & 6ADF is 2
Similarly 6ADF & 6AE1 is 2
So Add 2 to 6AE1 we will ge 6AE3 Then add 2 to 6AE3 we will get 6AE5 Therefore the missing terms 6AE3, 6AE5
2. Consider the sequence.
14A9, 14AF, 14B5, ———
The difference between 14A9 and 14AF is 6.
The normal sequence is
The difference between 14AF and 14B5 is also 6.
The normal sequence is
Similarly the next 6 terms in the sequence are given below.
Similarly the next 6 terms are
So the missing terms are 14BB and 14C1
Question 6.
Find the octal numbers corresponding to the following numbers using the shorthand method.
- (ADD)16
- (DEAD)16
Answer:
1. (ADD)16
Step 1: Write down the 4 bit binary equivalent of each digit
Step 2: Divide this number into groups of 3 bits starting from the right and write down the octal equivalent.
(ADD)(ADD)16 = (5335)(ADD)8
2. (DEAD)16
Step 1: Write down the 4 bit binary equivalent of each digit.
Step 2: Divide this number into groups of 3 bits starting from the right and write down the octal equivalent.
(DEAD)16 = (157255)8
Question 7.
If (126)x = (56)y, then find x and y.
Answer:
L.H.S contains 2 & 6, so x ≠ 2
R.H.S contains 5 & 6, so y ≠ 2
L.H.S > R.H.S
So x < y and x ≠ y also The possible values of x and y are given below.
Case I:
Let x = 8 then y = 10
It is grater than (56)10
so when x = 8 then y ≠ 10
case II:
let x = 8 and y = 16
Question 8.
If (102)x = (42)y then (154)x = ( )y.
Answer:
L.H.S contains 2, so x ≠ 2
R.H.S contains 5 & 4, so y ≠ 2
L.H.S > R.H.S
So x < y and x ≠ y also
The possible values of x and y are given below.
case I:
let x = 8 and y = 10
So when x = 8 then y ≠ 10
case II:
let x = 8 and y = 16
So x = 8 and y = 16
then we have fo find the hexadecimal equivalent of (154)8 For this first convert this into binary thus again convert it into hexadecimal. First write down the 3 bit equivalent of 154.
Then divide this number into groups of 4 bits starting from the right and write down the hexa decimal equivalent.
so the result is (154)8 = (6C)16
Question 9.
Fill up the missing digit.
If (121)a = (441)b then (121)b = ( )10
Answer:
L.H.S. contains 2, so a ≠ 2
R.H.S. contains 4, so b ≠ 2
L.H.S. < R.H.S. So a > b and a b also.
Hence the values of a can be 10 or 16.
The values of b can be 8 or 10.
The possible values of a and b are given below.
Case I:
Let a = 16 and b = 10
(121 )16 = (289)10, so b ≠ 10
Case II:
Let a = 16 and b = 8
(121)16 = (289)10
(441)8 = 4 × 82 + 4 × 81 + 1 × 80
= 256 +32 + 1
= (289)10.
So a = 16 and b = 8.
Then (121)8 = 1 × 82 + 2 × 81 + 1 × 80
= 64 + 16 + 1 = (81)10
Question 10.
Fill up the missing digit. (Score 3)
If (128)a = (450)b then (16)a = ( )10
Answer:
L.H.S. contains 2 & 8, so a 2 and a ≠ 8.
R.H.S. contains 4 and 5, so b ≠ 2.
L.H.S. < R.H.S. so a > b and a ≠ b also.
The possible values of a and b are given below.
Case I:
a = 16 and b = 8
(128)16 = (296)10
(450)8 = (296)10 So a = 16 and b = 8.
Then (16)16 = 1 × 16 + 6 × 160 = (22)10
Question 11.
Fill up the missing digit.
(3A.6D)16 = ( )8
Answer:
Step I: Write down the 4 bits equivalent of each digit.
Step II: Divide this number into groups of 3 bit starting from the right side of the left side of the decimal point and starting from the left side of the right side of the decimal point.
So 00/111/010.011/011/010
Step III: Write the octal equivalent of each group. SO we will get. (72.332)8.
(3A.6D)16 = (72.332)8
Question 12.
What are the various ways to represent integers in computer?
Answer:
There are three ways to represent integers in computer. They are as follows:
- Sign Magnitude Representation (SMR)
- 1’s Complement Representation
- 2’s Complement Representation
1. SMR:
Normally a number has two parts sign and magnitude, eg: Consider a number +5. Here + is the sign and 5 is the magnitude. In SMR the most significant Bit (MSB) is used to represent the sign. If MSB is 0 sign is +ve and MSB is 1 sign is – ve.
eg: If a computer has word size is 1 byte then
Here MSB is used for sign then the remaining 7 bits are used to represent magnitude. So we can represent 27 = 128 numbers. But there are negative and positive numbers. So 128 + 128 = 256 number. The numbers are 0 to +127 and 0 to -127. Here zero is repeated. So we can represent 256 – 1 = 255 numbers.
2. 1 ‘s Complement Representation: To get the 1’s complement of a binary number, just replace every 0 with 1 and every 1 with 0. Negative numbers are represented using 1’s complement but +ve number has no 1’s complement.
eg: To find the 1’s complement of 21 +21 = 00010101
To get the 1 ‘s complement change all 0 to 1 and all 1 to 0.
-21 = 11101010
1’s complement of 21 is 11101010
3. 2’s Complement Representation: To get the 2’s complement of a binary number, just add 1 to its 1’s complement +ve number has no 2’s complement.
eg: To find the 2’s complement of 21 +21 =00010101
First take the 1’s complement for this change all 1 to 0 and all 0 to 1
2’s complement of 21 is 1110 1011
Question 13.
Write short notes about Unicode (3)
Answer:
It is like ASCII Code. By using ASCII, we can represent limited number of characters. But using Unicode we can represent all of the characters used in the written languages of the world.
eg: Malayalam, Hindi, Sanskrit.
Question 14.
Match the following.
1. (106)10 | a. (171.53125)10 |
2. (71.24)8 | b. (6a)16 |
3. (AB.88)16 | c. (20)8 |
4. (10)16 | d. (10000000)2 |
5. (128)10 | e. (10)16 |
6. (16)10 | f. (57.3125)10 |
Answer:
1 – b, 2 – f, 3 – a, 4 – c, 5 – d, 6 – e
Question 15.
Find the largest number in the list.
- (1001)2
- (A)16
- (10)8
- (11)10
Answer:
Convert all numbers into decimal
1. (1001)2 = 1 × 23 + 0 × 22 + 0 × 21 + 1 × 20
= 8 + 0 + 0 + 1
= (9)10
2.) (A)16 = (10)10
3. (10)8 = 1 × 81+0 × 80
= (8)10
So the largest number is 4 – (11)10
Question 16.
Subtract 10101 from 1111 by using 2’s complement method.
Answer:
To subtract a number from another number find the 2’s complement of the subtrahend and add it with the minuend. Here subtrahend is 10101 and minuend is 1111 First take the 1’s complement of the subtrahend and add 1 to it.
1’s complement of 10101 is 01010 add 1 to it
Here is no carry. So the result, is -ve and take the 2’s complement of 11010 and put a -ve symbol. So 1’s complement of 11010 is 00101 add 1 to this
So the result is -00110
Question 17.
Mr. Geo purchased (10)2 kg sugar @Rs. (110 10)2 and (1010)2 kg Rice @Rs. (10100)2. So how much rupees he has to pay in decimal.
Answer:
Convert each into decimal number system multiply and sum it up.
(10)2 = (2)10
(11010)2 = 1 × 24 + 1 × 23 + 0 × 22 + 1 × 21 + 0 × 21
= 16 +8 + 0 +2 + 0
= (26)10
(1010)2 = 1 × 23 + 0 × 22 + 1 × 21 +0 × 20
= 8 + 0 + 2 + 0
= (10)2
(10100)2 = 1 × 24 + 0 × 23 + 1 × 22 +0 × 21 + 0 × 20
= 16 + 0 + 4 + 0 + 0
= (20)2
therfore 2 × 26 + 10 × 20
= 52 + 200
= 252
So Mr. Geo has to pay Rs. 252/-
Question 18.
Mr. Vimal purchased a pencil @ Rs. (101)2, a pen @ Rs. (1010)2 and a rubber @ Rs. (10)2. So how much rupees he has to pay in decimal.
Answer:
Add 101 + 1010 + 10
then convert (10001)2 into decimal
(10001)2 = 1 × 24 + 0 × 23 + 0 × 22 + 0 × 21 + 1 × 20
= 16 + 0 + 0 + 0 + 1
= (17)10
So Mr. Vimal has to pay Rs. 17/-
Question 19.
Mr. Antony purchased 3 books worth Rs. a total of (1100100)2. At last he returned a book worth Rs. (11001)2. So how much amount he has to pay for the remaining two books in decimal number sys¬tem.
Answer:
then convert (1001011 )2 into decimal
(1001011)2 = 1 × 26 + 0 × 25 + 0 × 24 + 1 × 23 + 0 × 22 + 1 × 21 + 1 × 20
=64 + 0 + 0 + 8 + 0 + 2 + 1
= (75)10
So he has to pay Rs. 75/-
Question 20.
Mr. Leones brought two products from a supermarket a total of Rs. (11010010)2 and he got a discount of Rs. (1111)2 So how much he has to pay for these products in the decimal number system.
Answer:
Subtract (1111)2 from (11010010)2
then convert (11000011)2 into decimal
(11000011)2 = 1 × 27 + 1 × 26 + 0 × 25 + 0 × 24 + 0 × 23 + 0 × 22 + 1 × 21 + 1 × 20
=128 + 64 + 0 + 0 + 0 + 0 + 2 + 1
= (195)10
Question 21.
A textile showroom sells shirts with a discount of Rs. (110010)2 on all barads. Mr. Raju wants to buy a shirt worth Rs. (11111000)2. So after discount how much amount he has to pay in decimal.
Answer:
Substract (110010)2 from (11 111 000)2
then convert (11000110)2 into decimal
(11000110)2 = 1 × 27 + 1 × 26 + 0 × 25 + 0 × 24 + 0 × 23 + 1 × 22 + 1 × 21 + 0 × 20
= 128 + 64 + 0 + 0 + 0 + 4 + 2 + 0
= (198)10
Question 22.
Mr. Lijo purchased a product worth Rs. (1110011)2 and he has to pay VAT @ Rs. (1100)2. Then calculate the total amount he has to pay in decimal.
Answer:
Add (1110011)2 and (1100)2
then convert (1111111)2 into decimal
(1111111)2 = 1 × 26 + 1 × 25 + 1 × 24 + 1 × 23 + 1 × 22 + 1 × 21 + 1 × 20
= 64 + 32 + 16 + 8 + 4 + 2 + 1
= (127)10
Question 23.
By using truth table, prove the following laws of Boolean Algebra.
- Idempotent law
- Involution law
Answer:
1. A + A = A
A = A = A
2. (A1)1 = A
Question 24.
Consider the logical gate diagram.
- Find the logical expression for the circuit given.
- Find the compliment of the logical expression.
- Draw the circuit diagram representing the compliment.
Answer:
1. \((x+\bar{y}) \cdot z\)
2. \((\bar{x} . y)+\bar{z}\)
3.
Question 25.
Draw the logic circuit diagram for the following Boolean expression.
\(A \cdot(\bar{B} + \bar{C})+\bar{A} \bar{B} \bar{C}\)
Answer:
Question 26.
Consider a bulb with three switches x, y and z. Write the Boolean expression representing the following states.
- All the switches x, y and z are ON
- x is ON and y is OFF or Z is OFF
- Exactly one switch is ON.
Answer:
- xy . z
- \(x \bar{y}+\bar{z}\)
- \(x . \bar{y} . \bar{z}+\bar{x} . y . \bar{z}+\bar{x} . \bar{y} . \bar{z}\)
Question 27.
Match the following.
A | B |
i. Idempotent law | a. x + (y + z)=(x + y)+z |
ii. Involution law | b. x + xy = x |
iii. Complementarity law | c. x + y = y + x |
iv. Commutative law | d. xx- 0 |
v. Absorption law | e. x = x |
vi. Associative law | f. x + x = x |
Answer:
i – f, ii – e, iii – d, iv – c, v – b, vi – a
Question 28.
Explain the principle of duality.
Answer:
It states that starting with a Boolean relation, another Boolean relation can be derived by
- Changing each OR sign (+) to a AND sign (.)
- Changing each AND sign (.) to an OR sign (+)
- Replacing each 0 by 1 and each 1 by 0.
The relation derived using the duality principle is called the dual of the original expression,
eg: x + 0 = x is the dual of x . 1 = x
Question 29.
Draw the circuit diagram for \(F=A \bar{B} C+\bar{C} B\) using NAND gate only.
Answer:
\(F=A \bar{B} C+\bar{C} B\)
= (A NAND (NOT B) NAND C) NAND ((NOT C) NAND B)
Question 30.
Draw a logic diagram for the function f = YZ + XZ using NAND gates only.
Answer:
f = YZ + XZ
= (Y NAND Z) NAND (X NAND Z)
Question 31.
How do you make various basic logic gates using NAND gates.
Answer:
1. AND operation using NAND gate,
A.B = (A NAND B) NAND (A NAND B)
2. OR operation using NAND gate,
A + B = (A NAND A) NAND (B NAND B)
3. NOT operation using NAND gate,
NOT A = (A NAND A)
Question 32.
Which of the following Boolean expressions are correct? Write the correct forms of the incorrect ones.
- A + A1 = 1
- A + 0 = A
- A . 1 = A
- A . A1 = 1
- A + A . B = A
- A . (A + B) = A
- A + 1=1
- \((\overline{\mathrm{A} . \mathrm{B}})=\overline{\mathrm{A}} . \overline{\mathrm{B}}\)
- A + A1B = A + B
- A + A = A
- A + B . C = (A+B) . (B+C)
Answer:
- Correct
- Correct
- Correct
- Wrong, A . A1 = 0
- Correct
- Correct
- Correct
- Wrong \(\overline{\mathrm{A} . \mathrm{B}}=\overline{\mathrm{A}}+\overline{\mathrm{B}}\)
- Correct
- Correct
- Wrong, A + B . C = (A + B) . (A + C)
Question 33.
Prove algebraically that (x + y)’ . (x’ + y’) = x’ . y’
Answer:
LHS = (x + y)’ . (x’ + y’)
= (x’ . y’) . (x’ . y’)
= x’ . y’ . x’ + x’ . y’ . y’
= x’ . y’ + x’ . y’
= x ‘. y’ = RHS
Hence proved.
Question 34.
Give the complement of the following Boolean Expression.
- (A + B) . (C + D)
- (P + Q) + (Q + R) . (R + P)
- (B + D’) . (A + C’)
Answer:
1. ((A+B) . (C+D))1 = (A+B)’ + (C+D)’
= A’ . B’ + C’ . D’
2. ((P+Q) + (Q+R) . (R.P))’ = (P+Q) ‘. ((Q+R) . (R+P))’
= P’ . Q’ . (Q+R)’ + (R+P)’
= P’ . Q’ . (Q’ . R’ + R’ . P’),
3. ((B+D’).(A+C’))’ = (B+D’)’0 + (A+C’)’
= B’ . D” + A’ . C”
= B’ . D + A’ . C
Question 35.
State and prove the idempotent law using truth table. Idempotent law
Answer;
Idempotent law states that
- A + A = Aand
- A . A = A Proof
1. A + A = A
Truth table is as follows:
ie. A + A = A as it is true for both values of A. Hence proved.
2. A . A = A
Truth table is as follows:
ie. A . A = A itself. It is true for both values of A. Hence proved.
Question 36.
State the Absorption laws of Boolean algebra with the help of truth tables.
Answer:
Absorption law states that
A + A . B = A and A . (A + B) = A
Proof:
The Truth table of the expression A + A . B=A is as follows.
Here both columns A and A + A . B are identical. Hence proved.
For A . (A + B) = A, the truth table is as follows:
Both columns A & A . (A + B) are identical. Hence proved
Question 37.
State Demorgen’s laws. Prove anyone with truth table method.
Answer:
Demorgan’s first theorem states that (A + B)’ = A’ . B’
ie. the complement of sum of two variables equals product of their complements,
The second theorem states that (A . B)’ = A’ + B’
ie. The complement of the product of two variables equals the sum of the complement of that variables.
Proof:
Truth table of first one is as follows:
From the truth table the columns of both (A + B)’ and A’ . B’ are identical. Hence proved.
Question 38.
Fill in the blanks:
- (0.625)10 = (……….)2
- (380)10 = (……..)16
- (437)8 = (………)2
Answer:
- (0.101)2
- (17C)16
- (100 011 111)2
Question 39.
What do you mean by universal gates? Which gates are called Universal gates? Draw their symbols.
OR
Construct a logical circuit for the Boolean expression \(\bar{a} \cdot b+a \cdot \bar{b}\). Also write the truth table.
Answer:
Universal gates:
By using NAND and NOR gates only we can create other gate hence these gates are called Universal gate.
NAND gate:
NOR gate:
Truth table:
Logical circute:
Question 40.
Computers uses a fixed number of bits to respresent data which could be a number, a character, image, sound, video etc. Explain the various methods used to represent characters in memory.
Answer:
Representation of characters.
1. ASCII(American Standard Code for Information Interchange):
It is 7 bits code used to represent alphanumeric and some special characters in computer memory. It is introduced by the U.S. government. Each character in the keyboard has a unique number.
eg: ASCII code of ‘a’ is 97.
When you press ‘a’ in the keyboard , a signal equivalent to 1100001 (Binary equivalent of 97 is 1100001) is passed to the computer memory. 27 = 128, hence we can represent only 128 characters by using ASCII. It is not enough to represent all the characters of a standard keyboard.
2. EBCDIC(Extended Binary Coded Decimal Interchange Code):
It is an 8 bit code introduced by IBM(International Business Machine). 28 = 256 characters can be represented by using this.
3. ISCII(Indian Standard Code for Information Interchange):
It uses 8 bits to represent data and introduced by standardization committee and adopted by Bureau of Indian Standards(BIS).
4. Unicode:
The limitations to store more characters is solved by the introduction of Unicode. It uses 16 bits so 216 = 65536 characters (i.e, world’s all written language characters) can store by using this.
Question 41.
Draw the logic circuit for the function
\(f(a, b, c)=a . b . c+\bar{a} . b+a . \bar{b}+a . b . \bar{c}\)
OR
Prove algebrically.
\(x . y+x . \bar{y} . z=x . y .+x . z\)
Answer:
OR
\(x \cdot y+x \cdot \bar{y} \cdot z=x \cdot(y+\bar{y} \cdot z)\)
= x . (y + z) = x . y + x . z
Hence proved.
Question 42.
Following are the numbers in various number systems. Two of the numbers are same. Identify them:
- (310)8
- (1010010)2
- (C8)16
- (201)10
OR
Consider the following Boolean expression:
(B’ + A)’ = B . A’
Identify the law behind the above expression and prove it using algebriac method.
Answer:
1. (310)8 = 3 * 82 + 1 * 81 + 0 * 80
= 192 + 8 + 0
= (200)10
2. (1010010)2 = 1 × 26+ 0 × 25 + 1 × 24 + 0 × 23 + 0 × 22 + 1 × 21 + 0 × 20
= 64 + 0 + 16 + 0 + 0 + 2 + 0
= (82)10
3. (C8)16 = C × 16 + 8 × 160
= 12 × 16 + 8 × 1
= 192 + 8
= (200)10
Here (a) (310)8 and (C8)16 are same
OR
This is De Morgan’s law (B’ + A’) = (B’)’ . A’
= B . A’
Hence it is proved
Question 43.
Find the decimal equivalent of hexadecimal number (2D)16. Represent this decimal number in 2’s complement form using 8 bit word length.
Answer:
Convert (2D)16 to binary number for this write down the 4 bit binary equivalent of each number
(2D)16 = (00101101 )2
First find the 1’s complement of (00101101 )2 and add 1 to it
Hence 2’s complement is (11010011)2
Question 44.
Answer any one question from 15(a) and 15(b).
1. Draw the logic circuit for the Boolean expression:
\((A+\overline{B C})+\overline{A B}\)
2. Using algebraic method prove that
\(\bar{Y} \cdot \bar{Z}+\bar{Y} \cdot Z+Y \cdot Z+Y=1\)
Answer:
1.
OR
2. L.H.S. = \(\bar{Y} \cdot \bar{Z}+\bar{Y} \cdot Z+Y Z+Y\)
= \(\bar{y} \cdot(\bar{z}+z)+y \cdot(z+1)\)
= \(\bar{y}. 1+\bar{y} \cdot 1=y \cdot y=1\)
Question 45.
With the help of a neat circuit diagram, prove that NAND gate is a universal gate.
Answer:
1. AND operation using NAND gate,
A . B = (A NAND B) NAND (A NAND B)
2. OR operation using NAND gate,
A + B = (A NAND A) NAND (B NAND B)
3. NOT operation using NAND gate,
NOT A = (A NAND A)
Question 46.
Boolean expression:
\((A+\overline{B C})+\overline{A B}\)
OR
Using algebraic method, prove that
\(\bar{Y} \cdot \bar{Z}+\bar{Y} \cdot Z+Y \cdot Z+Y=1\)
Answer:
OR
= Y . Z + Y . Z + Y . Z + Y
= Y . (Z + Z) + Y . (Z + 1)
= Y . 1 + Y. 1
= Y + Y
= 1
Hence the result.
Plus One Data Representation and Boolean Algebra Five Mark Questions and Answers
Question 1.
Explain the components of Data processing.
Answer:
Data processing consists of the techniques of sorting, relating, interpreting and computing items of data in order to convert meaningful information. The components of data processing are given below.
- Capturing data: In this step acquire or collect data from the user to input into the computer.
- Input: It is the next step. In this step appropriate data is extracted and feed into the computer.
- Storage: The data entered into the computer must be stored before starting the processing.
- Processing/Manipulating data: It is a laborious work. It consists of various steps like computations, classification, comparison, summarization, etc. that converts input into output.
- Output of information: In this stage we will get the results as information after processing the data.
- Distribution of information: In this phase the information(result) will be given to the concerned persons/computers.
Question 2.
Define computer. What are their characteristics?
Answer:
A computer is an electronic device used to perform operations at very high speed and accuracy.
Following are the characteristics of the computer.
- Speed: It can perform operations at a high speed.
- Accuracy: It produces result at a high degree of accuracy.
- Diligence: Unlike human beings, a computer is free from monotony, tiredness, lack of concentration etc. We know that it is an electronic machine. Hence it can work four hours without making any errors.
- Versatility: It is capable of performing many tasks. It is useful in many fields.
- Power of Remembering: A computer consists of huge amount of memory. So it can store and recall any amount of information. Unlike human beings, it can store huge amount of data and can be retrieved when needed.
Disadvantages of computer:
- No. IQ: It has no intelligent quotient. Hence they are slaves and human beings are the masters. It can’t take its own decisions.
- No feelings: Since they are machines they have no feelings and instincts. They can perform tasks based upon the instructions given by the humans (programmers)