Search Header Logo

Logic Gates and Programming Quiz

Authored by VIGNESHWARAN K

Engineering

University

Used 3+ times

Logic Gates and Programming Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

For which of the following combination, bulb will glow (ON):

1. A = 0, B = 1, C = 1, D = 1

2. A = 1, B = 0, C = 0, D = 0

3. A = 0, B = 0, C = 0, D = 1

4. A = 1, B = 1, C = 1, D = 0

A = 0, B = 1, C = 1, D = 1

A = 1, B = 0, C = 0, D = 0

A = 0, B = 0, C = 0, D = 1

A = 1, B = 1, C = 1, D = 0

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

The output of the logic gate in figure is

0

1

A(bar)

A

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

The output of the logic circuit given below represents _________ gate?

1. OR

2. NOR

3. AND

4. NAND

OR

NOR

AND

NAND

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

What does the following function check for? (all necessary headers to be included and function is called from main)

full stack

invalid index

empty stack

infinite stack

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

What happens if the following program is executed in C and C++?

Error in C and successful execution in C++

Error in both C and C++

Error in C++ and successful execution in C

A successful run in both C and C++

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

Calculate the voltage at point C in the given circuit.

+1.48 V

+0.94 V

+11.6 V

+3 V

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

What are the minimum and maximum output voltages?

0 V, 4 V

0 V, 8 V

0 V, 12 V

0 V, 16 V

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?