
Table of Contents All Chapters 1. File Pointer 2. File Pointer Methods 2.1. tell() Method 2.2....
Binary: 11101
11012=1×23+1×22+0×21+1×20=8+4+0+1=1310
Answer: 13 in decimal
Using the Distributive Law:
A⋅(B+B′)=A⋅1=AA \cdot (B + B’) = A \cdot 1 = AA⋅(B+B′)=A⋅1=A
The select lines (S1, S0) = (1, 0) select I2 as the output.
I2 = 0
Answer: 0
Answer: 0001 0001 (11 in BCD)
This is a D Flip-Flop, where the next state simply follows the input.
Answer: 0011
A | B | Sum | Carry |
---|
0 | 0 | 0 | 0 |
0 | 1 | 1 | 0 |
1 | 0 | 1 | 0 |
1 | 1 | 0 | 1 |
A\B | 0 | 1 |
---|---|---|
0 | 0 | 1 |
1 | 1 | 0 |
The simplified Boolean expression is:
f(A,B)=A⊕Bf(A, B) = A \oplus Bf(A,B)=A⊕B
Answer: A XOR B
Table of Contents All Chapters 1. File Pointer 2. File Pointer Methods 2.1. tell() Method 2.2....
Table of Contents All Chapters 1. File Handling 2. Types of File 3. open() and close() Methods 4. File Modes...
Table of Contents All Chapters 1. Modules in Python 2. Pre-defined Modules 2.1. math 2.2. random...
Table of Contents All Chapters 1. Iterators 1.1. Iterable 1.2. Iterator 1.3. Iterator Protocol...
Table of Contents All Chapters 1. Polymorphism 2. Key Concepts of Polymorphism 3. Types of Polymorphism 3.1. Polymorphism...
Table of Contents All Chapters 1. Inheritance 2. Concepts of Inheritance 3. Types of Inheritance 3.1. Single Inheritance...
Table of Contents All Chapters 1. Classes and Objects 2. Class in Python 3. Class Structure 3.1. Attributes...
Table of Contents All Chapters 1. Python Function 2. Define Function 3. Function Arguments 4. Function Parameters 5. Local and...
Table of Contents All Chapters 1. Python Dictionary 2. Access Dictionary items 3. Change Dictionary items 4. Add items in...