YZ 00 01 11 10
X
0
0 0 1 1
1
1 1 1 0
Related Questions:
- What is a logic gate?
- Define truth table.
- Define Boolean function.
- What is Karnaugh map and why is it used?
- Draw the graphical symbols of AND, OR, NOT, NAND, and NOR gates and write their functions.
- Explain how NAND and NOR gates can be created using AND, OR, and NOT gates.
- Draw truth tables of the following Boolean functions.
- Simplify the Boolean functions of Question 5 using Karnaugh map.
- Draw the logic circuits of the following Boolean functions.
- What will be the output of the following program?
- Write the syntax of an if-else statement in C.
- Why do we use the return 0 statement in the main function of a C program?
- Write a program to check whether a given number is even or odd using the modulus operator.
- Explain different types of format specifiers used in C with examples.
- Write a program that takes input from the user for marks of five subjects, calculates the percentage, and prints the grade based on the following criteria: 90% and above: A+ 80%-89%: A 70%-79%: B 60%-69%: C Below 60%: Fail
- Differentiate between if and if-else selection structures.
- Differentiate between else-if and switch selection structures.
- What is a nested selection structure?
- Write the following statement using the if-else statement.
- Write the following statement using the conditional operator.