Please select a subject first
Advertisements
Advertisements
Draw the Logic Circuit of the following Boolean Expression
(U' + v).(V' + W')
Concept: Application of Boolean Logic - Digital Electronic Circuit Design Using Basic Logic Gates (NOT, AND, OR, NAND, NOR)
Derive a Canonical POS expression for a Boolean function FN, represented by the following truth truth table:
| X | y | z | FN (X, Y, Z) |
| 0 | 0 | 0 | 1 |
| 0 | 0 | 1 | 1 |
| 0 | 1 | 0 | 0 |
| 0 | 1 | 1 | 0 |
| 1 | 0 | 0 | 1 |
| 1 | 0 | 1 | 0 |
| 1 | 1 | 0 | 0 |
| 1 | 1 | 1 | 1 |
Concept: Obtaining Sum of Product (SOP) and Product of Sum (POS) Form the Truth Table
Reduce the following Boolean Expression to its simplest form using K-Map:
`G(U, V,W, Z) = sum(3,5 , 6 , 7 , 11 , 12 ,13, 15)`
Concept: Reducing Boolean Expression (SOP and POS) to Its Minimal Form
State DeMorgan's Laws of Boolean Algebra and verify them using a truth table.
Concept: DeMorgan’S Law/Theorem and Their Applications
Draw the Logic Circuit of the following Boolean Expression using only NOR Gates
(A+B).(C+D)
Concept: Application of Boolean Logic - Digital Electronic Circuit Design Using Basic Logic Gates (NOT, AND, OR, NAND, NOR)
Derive a Canonical POS expression for a Boolean function G, represented by the following truth table:
| X | Y | Z | G(X, Y, Z) |
| 0 | 0 | 0 | 0 |
| 0 | 0 | 1 | 0 |
| 0 | 1 | 0 | 1 |
| 0 | 1 | 1 | 0 |
| 1 | 0 | 0 | 1 |
| 1 | 0 | 1 | 1 |
| 1 | 1 | 0 | 0 |
| 1 | 1 | 1 | 1 |
Concept: Obtaining Sum of Product (SOP) and Product of Sum (POS) Form the Truth Table
Reduce the following Boolean Expression to its simplest form using K-Map:
`E (U, V, Z, W) = sum (2, 3 , 6, 8, 9, 10, 11 , 12 , 13 )`
Concept: Use of Karnaugh Map for Minimization of Boolean Expressions (Up to 4 Variables)
Verify the following using Boolean Laws : U'+V = U'V'+ U' .V + U.V
Concept: Commutative Law
Draw the Logic Circuit for the following Boolean Expression: (X'+Y).Z + W'
Concept: Application of Boolean Logic - Digital Electronic Circuit Design Using Basic Logic Gates (NOT, AND, OR, NAND, NOR)
Derive a Canonical POS expression for a Boolean function F, represented by the following truth table
| P | Q | R | F(P,Q,R) |
| 0 | 0 | 0 | 1 |
| 0 | 0 | 1 | 0 |
| 0 | 1 | 0 | 0 |
| 0 | 1 | 1 | 1 |
| 1 | 0 | 0 | 1 |
| 1 | 0 | 1 | 0 |
| 1 | 1 | 0 | 0 |
| 1 | 1 | 1 | 1 |
Concept: Obtaining Sum of Product (SOP) and Product of Sum (POS) Form the Truth Table
Reduce the following Boolean Expression to its simplest form using K-Map
`F (X, Y, Z, W) = sum (0, 1, 4, 5, 6, 7, 8, 9, 11, 15)`
Concept: Use of Karnaugh Map for Minimization of Boolean Expressions (Up to 4 Variables)
Which of the following is an invalid datatype in Python?
Concept: Introduction of Exception Handling in Python
Which of the following statement(s) would give an error after executing the following code?
S="Welcome to class XII" # Statement 1
print(S) #Statement 2
S="Thank you" # Statement 3
S[0]= '@' # Statement 4
S=S+"Thank you" # Statement 5Concept: Built-in Exceptions in Python
Rao has written a code to input a number and check whether it is prime or not. His code is having errors. Rewrite the correct code and underline the corrections made.
def prime():
n=int(input("Enter number to check :: ")
for i in range (2, n//2):
if n%i=0:
print("Number is not prime \n")
break
else:
print("Number is prime \n’)Concept: Built-in Exceptions in Python
Predict the output of the Python code given below:
def Diff(N1,N2):
if N1>N2:
return N1-N2
else:
return N2-N1
NUM= [10,23,14,54,32]
for CNT in range (4,0,-1):
A=NUM[CNT]
B=NUM[CNT-1]
print(Diff(A,B),'#', end=' ')Concept: Handling Exceptions in Python
Atharva is a Python programmer working on a program to find and return the maximum value from the list. The code written below has syntactical errors. Rewrite the correct code and underline the corrections made.
def max_num (L):
max=L(O)
for a in L:
if a > max
max=a
return maxConcept: Syntax Errors in Python
Which of the following operators will return either True or False?
Concept: Introduction of Exception Handling in Python
“In a Python program, if a break statement is given in a nested loop, it terminates the execution of all loops in one go.”
Concept: Handling Exceptions in Python
An exception may be raised even if the program is syntactically correct.
Concept: Exceptions in Python
The code given below accepts a number as an argument and returns the reverse number. Observe the following code carefully and rewrite it after removing all syntax and logical errors. Underline all the corrections made.
define revNumber (num) :
rev = 0
rem = 0
While num > 0:
rem ==num %10
rev = rev*10 + rem
num = num//10
return rev
print (revNumber (1234))Concept: Syntax Errors in Python
