WorksheetsLIC, DE, C++ and Microprocessors
Total questions: 15
Worksheet time: 9mins
Which of the following is the correct syntax to print a message in C++ language?
cout <<"Hello world!";
Cout << Hello world! ;
Out <<"Hello world!;
None of the above
C++ is ______________
object oriented programming language
procedural programming language
both procedural and object-oriented programming language
functional programming language
Let x=2 , y=0 and k=!(x||y). What is the value of k?
1
0
2
3
Let x=2 ,y=2 and k=(y>x) ? 4:6. What is the value of k?
1
2
6
4
Which of the following correctly declares an array in C++?
array{10};
array array[10];
int array;
int array[10];
The number of possible inputs and outputs for a NAND gate are respectively......
3 and 1
2 and 1
1 and 1
All true
When inputs are different; output is high - this is the logic of
NOR gate
NAND gate
XOR gate
XNOR gate
The figure is a
flip flop
latch
sequential logic circuit
combinational logic circuit
The complement of a sum of variable is equal to the product of complements of the variables.This statement is better known as
Boolean law of addition
De Morgan's first theorem
De Morgan's second theorem
Boolean complementary principle
In a standard SOP expression,
All variables in the domain appear in each product term
All variables in the domain appear in non complemented form in each product term
All variables in the domain appear in the total expression
All variables in the domain appear in the total expression in non complemented form
Pick the universal gate/ gates
NOR
NOT
XOR
XNOR
How a perfect integration is achieved in op-amp?
With the aid of proper capacitor
With the aid of high gain
Proper role of rate
All above
None of these
An op-amp can be used to generate the following wave form?
Ramp
Triangular
Square
All of these
None of these
The gain of a voltage follower op-amp circuit is
zero
one
infinite
cannot be predicted
For the proper working of an op-amp we must have
Proper feedback capacitor
At least one power source
Two power supplies
Proper feedback resistor
