wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Logic Gates and Programming Quiz

Total questions: 15

Worksheet time: 5mins

Name
Class
Date
1.

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)

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

b)

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

c)

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

d)

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

2.

The output of the logic gate in figure is

a)

0

b)

1

c)

A(bar)

d)

A

3.

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

1. OR

2. NOR

3. AND

4. NAND

a)

OR

b)

NOR

c)

AND

d)

NAND

4.

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

a)

full stack

b)

invalid index

c)

empty stack

d)

infinite stack

5.

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

a)

Error in C and successful execution in C++

b)

Error in both C and C++

c)

Error in C++ and successful execution in C

d)

A successful run in both C and C++

6.

Calculate the voltage at point C in the given circuit.

a)

+1.48 V

b)

+0.94 V

c)

+11.6 V

d)

+3 V

7.

What are the minimum and maximum output voltages?

a)

0 V, 4 V

b)

0 V, 8 V

c)

0 V, 12 V

d)

0 V, 16 V

8.

Propagation time is directly proportional to

a)

x

b)

1/x

c)

x2

d)

1/x2

9.

Mobility of proton or hole at room temperature is

a)

650 cm2/V sec

b)

260 cm2/V sec

c)

240 cm2/V sec

d)

500 cm2/V sec

10.

What is 80/20 rule?

a)

80% instruction is generated and 20% instruction is executed

b)

80% instruction is executed and 20% instruction is generated

c)

80% instruction is executed and 20% instruction is not executed

d)

80% instruction is generated and 20% instructions are not generated

11.

Which among the following defines the angular distance between two points oneach side of major lobe especially when the radiation drops to zero?

a)

Half power beam width (HPBW)

b)

First null beam width (FNBW)

c)

Side lobe level (SLL)

d)

Front to back ratio (FBR)

12.

According to the directivity of a small loop, which value of 'θ' contributes to achieve the maximum value of radiation intensity (Umax)?

a)

b)

90°

c)

180°

d)

270°

13.

Which among the following is regarded as a condition of an ordinary endfire array?

a)

α < βd

b)

α > βd

c)

α = ±βd

d)

α ≠ ±βd

14.

Which of the following is a Dirichlet condition with respect to the signal x(t)?

a)

x(t) has a finite number of discontinuities in any period

b)

x(t) has finite number of maxima and minima during any period

c)

x(t) is absolutely integrable in any period

d)

all of the mentioned

15.

According to Parseval's Theorem for non-periodic signal, ∫∞−∞|x(t)|2dt.

a)

∫∞−∞|X(F)|2dt

b)

∫∞−∞|X∗(F)|2dt

c)

∫∞−∞X(F).X∗(F)dt

d)

All of the mentioned