Exit Exam All Q
Exit Exam All Q
Institute of technology
School of Electrical Engineering & Computing
Model Exit Exam
1. Which of the following majorly determines the number of emitters in a TTL digital circuit?
A. Fan – in
B. Fan – out
C. Propagation delay
D. Noise immunity
2. What are the basic gates in MOS logic family?
A. NAND and NOR
B. AND and OR
C. NAND and OR
D. AND and NOR
3. How must the output of a gate in a TTL digital circuit act when it is HIGH?
A. Acts as a voltage source
B. Acts as a current sink
C. Acts as a current source
D. Acts as a voltage sink
4. The negative numbers in the binary system can be represented by
A. sign magnitude
B. 2\s complement
C. 1\s complement
D. all the above
5. Convert the octal number 7401 to Binary.
A. 1.111e+11
B. 1.1111e+11
C. 1.111e+11
D. 1.11e+11
6. Find the hex sum of (93)16 + (DE)16.
C.
A. (171)16
B. 271)16
C. (179)16
D. (181)16
7. Perform 2’s complement subtraction of (7)10 − (11)10.
A. 1100 (or -4)
B. 1101 (or -5)
C. 1011 (or -3)
D. 1110 (or-6)
8. What is the gray equivalent of (25)10
A. 1101
B. 110101
C. 10110
D. 10101
9. Conversion of fractional number 0.6875 into its equivalent binary number:
A. 0.1011
B. 0.1111
C. 0.10111
D. 0.0101
10. Convert the decimal number 82.67 to its binary, hexadecimal and octal equivalents A.
(1010010.10101011)2; (52. ab)16.
B. (42.88f5c28)16.
C. (41.88f5c)16.
D. (42.88f5c)16.
13. Convert the decimal number 430 to Excess-3 code:
A. 110110001
B. 110110000
C. 110110011
D. 110100001
14. following subtraction (i) 11001-10110 using 1’s complement
A. 11
B. 111
C. 10
D. 10011
15. The hexadecimal number for (95.5)10 is
A. (5f.8) 16
B. (9a.b) 16
C. (2e.f) 16
D. (5a.4) 16
16. How many two-input AND and OR gates are required to realize Y=AB+CD+E? A. 2, 2
B. 2, 3
C. 3, 3
D. 3, 2
17. If a 3-input NOR gate has eight input possibilities, how many of those possibilities will
result in a HIGH output? A. 1
B. 2
C. 7
C.
D. 8
18. If a signal passing through a gate is inhibited by sending a LOW into one of the inputs, and
the output is HIGH, the gate is a(n):
A. AND
B. NAND
C. NOR
D. OR
19. The format used to present the logic output for the various combinations of logic inputs to
a gate is called a(n):
A. Boolean constant
B. Boolean variable
C. Truth table
D. Logic function
20. What does the small bubble on the output of the NAND gate logic symbol mean?
A. open collector output
B. tristate
C. The output is inverted.
D. none of the above
21. A logic probe is again applied to the pins of a 7421 IC with the following results. Is there
a problem with
C.
B. 4
C. 5
D. 6
26. The minimum number of NOR gates required to implement the Boolean function
A+AB+ABC is equal to A. 0
B. 1
C. 4
D. 7
27. In the given figure, A = B = 1 and C = D = 0. Then Y =
A. 0
B. 1
C. Either 0 or 1
D. Indeterminate
28. In the circuit of the given figure, Y =
A. 0
B. 1
C. X
D. X’
29. The digital logic family which has the lowest propagation delay time is
A. ECL
B. TTL
C. CMOS
C.
D. PMOS
30. The logic circuit given figure below converts a binary code ABC into
A. Excess-3 Code
B. Gray Code
C. BCD code
D. Hamming Code
31. In the circuit shown below in Fig-1, Transistor Q & Diode D are ideal with negligible
collector-to-emitter saturation voltage and negligible voltage drops across diode under
forward bias. If Vcc , is +5 V X and Y are digital signals with DV as logic d and Vcc as
logic 1, the Boolean expression for Z is
A.
B. X Y
C. X Y
D. X Y
A. AC BC AB
B. AC BC AB
C. AC + BC +AB
D. A’C’ A’B BC’
A. B=C
B. B = C’
C. C=0
C.
D. C=1
37. The Boolean expression (X +Y)(X +Y’) (X’Y’) + X’ simplifies to
A. X
B. Y
C. XY
D. X+Y
38. The Minimum Boolean expression for the following circuit is
A. A+B+C
B. A+B
C. AB+AC+BC
D. A+BC
39. An order of precedence of operations for Boolean algebra is
A. highest to lowest priority is NOT, then OR, then AND
B. highest to lowest priority is NOT, then AND, then OR
C. lowest to highest priority is NOT, then AND, then OR
D. lowest to highest priority is NOT, then OR, then AND
40. Which of the following Boolean algebra statements represent distributive law
41. Which of the following Boolean algebra statements represent distributive law
C.
42. Which of the following Boolean algebra statements represent commutative law
A. A. (A+B)+CA+(B+C)
B. B. A.(B+C)(A.B)+(A.C)
C. C. A+BB+A
D. D. A+AA
43. Match the List-I with List –II select correct answer
List-I List=II
a) A+B=B+A
1. Commutative Law
b) (A+B).(A+C)=A.A+A.C+B.A+B.C
2. Associative Law
c) A B A B
3. Distributive Law
d) A.(B.C)=(A.B). C
4. Demorgans law
45. The simplified expression for 𝐹(𝐴, 𝐵, 𝐶, 𝐷) = ∏(1, 3, 6, 9, 11, 12, 14)
A. F = BD + B'D' + A'C'D'
B. F = C'D' + AB' + CD'
C. F = AC' + AD + C'D + AB'C
D. F = A'C' + AD' + C'D + AB'C
46. For the K map in the given figure the simplified Boolean expression is
49. The K- Map for Boolean function is shown below in figure. The number of the essential
prime implicates for the function is
A. 4
B. 5 C. 6
D. 8
50. A function of Boolean variables, X, Y and Z is
expressed in terms of the min- terms as
F(X, Y, Z) = (1, 2, 5, 6, 7). Which one of the product of sums given below is equal to the
function F(X, Y, Z )
52. The number of product terms in the minimized sum of-product expression obtained through
the following K-map is (where, "d" denotes don't care states)
A. 2 B. 3 C. 4 D. 5
53. Which one of the following gives the simplified sum of products
expression for the Boolean function F = m 0 + m 2 + m 3 + m 5,
where m 0, m 2, m 3 and m 5 are minterms corresponding to
the inputs X, Y and Z with X as the MSB and Z as the LSB?
57. The number of select lines ‘m’, required to select one out of ‘n’ input lines is
A. 𝑚 = 𝑙𝑜𝑔2𝑛
B. 𝑚 = log 𝑛
C. 𝑚 = ln 𝑛
D. 𝑚 = 2𝑛
58. How many 3-line-to-8-line decoders are required for a 1-of-32 decoder?
A. 1
B. 2
C. 4
D. 8
59. For the device shown here, let all D inputs be LOW, both S inputs be HIGH, and the input
be LOW. What is the status of the Y output?
A. LOW
B. HIGH
C. Don't Care
D. Cannot be determined
C.
60. For the device shown here, assume the D input is LOW, both S inputs are HIGH, and the
input is HIGH. What is the status of the outputs?
A. data generation
B. serial-to-parallel conversion
C. parity checking
D. data selector
62. Consider the 2-bit multiplexer (MUX) shown in the figure. For OUTPUT to be the XOR
of C and D, the values for A0, A1, A2 and A3 are ___________.
A. A0 = 0, A1= 0, A2 =1,A3 =1
C.
B. A0 = 1, A1= 0, A2 =1,A3 =0
C. A0 = 0, A1= 1, A2 =1,A3 =0
D. A0 = 1, A1= 1, A2 =0, A3 =0
63. Consider the circuit shown in the figure. The Boolean expression F implemented by the
circuit is
A. F = m( 0,1,3,5,9,10,14)
B. F = m( 2,3,5,7,8,12,13)
C. F = m( 1,2,4,5,11,14,15)
D. F = m( 2,3,5,7,8,9,12)
A. Comparator
B. Multiplexer
C. Demultiplexer
D. Parity Generator
68. A 4:1 multiplexer is to be used for generating the output carry of a full adder. A and B are
the bits to be added while in is the input carry and out is the output carry. A and B are to
be used as the select bits with A being the more significant select bit.
Which one of the following statements correctly describes the choice of signals to be
connected to the inputs I0, I1, I2 and I3 and so that the output is C?
A. I0 =0 , I1 = Cin, I2
= Cin , I3 = 1 B. I0 =1
, I1 = Cin, I2 = Cin ,
I3 = 1 C. I0 = Cin , I1
= 0, I2 = 1, I3 = Cin
D. I0 =0 , I1 = Cin, I2 = 1 , I3 = Cin
69. A four-variable Boolean function is realized using 4 1 multiplexers as shown in the figure.
70. What are the minimum number of multiplexers required to generate a 2 input AND gate
and a 2 input Ex-OR gate.
A. 1 and 2
B. 1 and 3 C. 1 and 1 D. 2 and 2
C.
A. To apply Vcc
B. To connect ground
C. To active the entire chip
D. To active one half of the chip
73. Which digital system translates coded characters into a more useful form?
A. Encoder
B. Display
C. Counter
D. Decoder
A. IC 74154
B. IC 74155
C. IC 74139
D. IC 74138
75. Which error detection method uses one’s complement arithmetic?
A. Simple parity check
B. Two-dimensional parity check
C. CRC
D. Checksum
76. Which gates are ideal for checking the parity bits?
A. AND
B. NAND
C. EX-OR
D. EX-NOR
C.
A. PIPO
B. SIPO
C. PISO
D. SISO
79. Synchronous counters eliminate the delay problems encountered with asynchronous
(ripple) counters because the:
A. Input clock pulses are applied only to the first and last stages
B. Input clock pulses are applied only to the last stage
C. Input clock pulses are not used to activate any of the counter stages
D. Input clock pulses are applied simultaneously to each stage
80. The truth table for an S-R flip-flop has how many VALID entries?
A. 1
C.
B. 2
C. 4
D. 3
81. When both inputs of a J-K flip-flop cycle, the output will ………………
A. Be invalid
B. Change
C. Not change
D. Toggle
82. Which of the following is correct for a gated D-type flip-flop?
A. The Q output is either SET or RESET as soon as the D input goes HIGH or LOW
B. The output complement follows the input when enabled
C. Only one of the inputs can be HIGH at a time
D. The output toggles if one of the inputs is held HIGH
83. A basic S-R flip-flop can be constructed by cross-coupling of which basic logic gates?
A. AND or OR gates
B. XOR or XNOR gates
C. NOR or NAND gates
D. AND or NOR gates
84. Whose operations are faster among the following?
A. Combinational circuits
B. Sequential circuits
C. Latches
D. Flip-flops
85. The sequential circuit is also called ___________
A. Flip-flop
B. Latch
C. Strobe
D. Adder
C.
C. 4
D. 5
92. The characteristic equation of S-R latch is ____________
A. Q(n+1) =
(S + Q(n))R’
B. Q(n+1) =
SR + Q(n)R
93. One major difference between a NAND based S’-R’ latch & a NOR based S-R latch is __
A. The inputs of NOR latch are 0 but 1 for NAND latch
B. The inputs of NOR latch are 1 but 0 for NAND latch
C. The output of NAND latch becomes set if S’=0 & R’=1 and vice versa for NOR
latch
D. The output of NOR latch is 1 but 0 for NAND latch
94. When is a flip-flop said to be transparent? A. When the Q output is opposite the
input
B. The J represents “jump,” which is how the Q output reacts whenever the clock goes
high and the J input is also HIGH
C. The letters were chosen in honor of Jack Kilby, the inventory of the integrated
circuit
D. All of the other letters of the alphabet are already in use
97. Four J-K flip-flops are cascaded with their J-K inputs tied HIGH. If the input frequency
(fin) to the first flip-flop is 32 kHz, the output frequency (fout) is ________
A. 1 kHz
B. 2 kHz
C. 4 kHz
D. 16 kHz
98. Determine the output frequency for a frequency division circuit that contains 12 flip-flops
with an input clock frequency of 20.48 MHz
A. 10.24 kHz
B. 5 kHz
C. 30.24 kHz
D. 15 kHz
99. In D flip-flop, D stands for _____________
A. Distant
B. Data
C. Desired
D. Delay
100. Which statement describes the BEST operation of a negative-edge-triggered D flip-flop?
A. The logic level at the D input is transferred to Q on NGT of CLK
B. The Q output is ALWAYS identical to the CLK input if the D input is HIGH
C. The Q output is ALWAYS identical to the D input when CLK = PGT
D. The Q output is ALWAYS identical to the D input
101. Which of the following describes the operation of a positive edge-triggered D flip-flop?
C.
103. The flip-flops which has not any invalid states are _____________
A. The S-R, J-K, D
B. S-R, J-K, T
C. J-K, D, S-R
D. J-K, D, T
104. Which of the following is the Universal Flip-flop?
A. S-R flip-flop
B. J-K flip-flop
C. Master slave flip-flop
D. D Flip-flop
105. The term synchronous means ____________
A. The output changes state only when any of the input is triggered
B. The output changes state only when the clock input is triggered
C. The output changes state only when the input is reversed
D. The output changes state only when the input follows it
106. A counter circuit is usually constructed of ____________
A. A number of latches connected in cascade form
C.
C. A serial shift register shifts out data serially, while a parallel shift register shifts out
data serially as well.
D. A serial shift register shifts out data in parallel, while a parallel shift register shifts
out data in parallel as well.
111.Which type of shift register is used to implement a digital up-down counter? (a)
A. Serial in/serial out (SISO) type
B. Serial in/parallel out (SIPO) type
C. Parallel in/serial out (PISO) type
D. Parallel in/parallel out (PIPO) type
C.
112.A bidirectional 4-bit shift register is storing the nibble 1110. Its input is LOW. The nibble
0111 is waiting to be entered on the serial data-input line. After two clock pulses, the shift
register is storing ________ (d)
A. 1110
B. 0111
C. 1000
D. 1001
A. 1110
B. 0001
C. 1100
D. 1000
114.What type of register would have a complete binary number shifted in one bit at a time and
have all the stored bits shifted out one at a time? (c)
A. Parallel-in Parallel-out
B. Parallel-in Serial-out
C. Serial-in Serial-out
D. Serial-in Parallel-out
115.How much storage capacity does each stage in a shift register represent? (a)
A. One bit
B. Two bits
C. Four bits
D. Eight bits
116.What is the maximum possible number of flip-flops in a decade
counter? (b) A. 1n
B. 2n
C.
C. 2n+1
D. 3n
117. The __________ is programmable logic device with a fixed OR array and a
programmable AND array.
A. PAL
B. PROM
C. PLA
118.In Hamming Code technique, if the data does not have any error, then C is equivalent
to_________. A. 10001
B. 1001
C. 0000
D. 1111
119. Types of ROM memories are____________.
A. EPROM
B. PROM
C. EEPROM
D. All of these
120.To construct 2k × n ROM for given inputs and outputs, how many OR gates are
needed? A. 2 𝑛
B. n + 1
C. 2n
D.
121. To construct 2k × n ROM for given inputs and outputs, which decoder is needed?
A. 2 𝑛 decoder
C.
B. k × 2k decoder
C. k × 2n decoder D. k × 2n decoder
B. 262144
C. 262146
D. 250000
A. 9
B. 10
C. 11
C.
D. 12
C++
1. In which steps of problem solving life cycle what input data are needed to solve problem,
what procedure is needed to achieve the result and what output are expected are identified
D. A and C
3. Which of the following approach is used by C++?
A. Left-right C. Right-left B. Bottom-up
D. Top-down
A. Index of an array
B. Elements of the Array
C. Functions of the Array
D. All of the above
10. Which of the following statements supports that reusable code should be one of the
desirable features of any language?
11. Which of the following concept refers to adding new components to the program at the
run time?
A. Dynamic Loading
B. Dynamic binding
C. Data hiding
D. Both A & B
13. Which one of the following correctly refers to the command line arguments?
14. What will happen when we move the try block far away from catch block?
15. Which one of the following given statements is correct about the increment operator?
16. Which one of the following statements about the pre-increment is true?
18. In C++, which of the following has the associatively of left to right?
A. Addressof
B. Unary operator
C. Logical not
D. Array element access
C.
19. Which of the following can be considered as the correct syntax of for loop?
21. Which of the following methods can be considered the correct and efficient way of
handling arguments with spaces?
22. What is the value of p in the following C++ code snippet? #include <iostream> using
namespace std; int main(){ int p; bool a = true; bool b = false; int x = 10; int y = 5; p =
((x | y) + (a + b)); cout << p; return 0;
}
A. 12 B. 14 C. 2 D. 16
25. What is the difference between a declaration and a definition of a variable? A. Both can
occur multiple times, but a declaration must occur first.
A. Break statement
B. Continue statement
C. Case statement
D. None of them
28. Identify the correct order for the program execution
A. Object code, Source code, Executable code.
B. Source code, Object code, Executable code.
C. Running, Debugging, Compiling,
D. Running, Compiling, Debugging.
29. Which of the following loop is normally used for a menu driven program?
A. Do While Loop C. While Loop
B. For Loop D. Do Loop
30. Which of the following is the correct order of program execution in “for loop” based on
the syntax below.
a. Compile time
b. Run time
c. Is not an error
d. None
34. How many times is the phrase ″In the loop″ printed when the following code is executed?
{
if(i%2==0) continue;
a. 6 b. 10 c. 4 d. 5 e. 2
35. What are the three basic control structures used in programming?
a. int, double, string
b. while, do..while, for
c. sequence, decision, repetition
d. input, output, and calculation
36. A loop exit condition must
a. be the last instruction in the body of the loop
b. evaluate to true or false
c. be the first instruction in the body of the loop
d. not use compound conditions
37. A variable which is declared inside the function can be called?
a. Local variable
b. Global variable
c. Normal variable
d. Variable scope
38. If the logic of your program at some point requires you to do one thing or another, which instruction
would you use to implement this decision?
a. while
b. for
c. if..else
d. sequence
e. cin
39. Consider the following code fragment carefully, then answer the question: how many times will the cout
statement execute:
a. 5 times
b. 4 times
c. 6 times
d. 0 times
e. 1 time
40. Find the output of the following code:
int main() { int x = 10; cout << -- x +
1<<","; cout<< x++; }
a. 10, 9
b. 10, 10
c. 9, 10
d. 9, 9
e.
41. Tasks performed by the OS include:
a. Management of secondary storage devices.
b. Memory management
c. Allocation of CPU time
d. All
42. which is not a part of every C++ function.
a. Function header
b. Function body
c. Function selector
d. Function parameters
e. All expect c
43. which one is different from others?
a. int a ;
b. float b;
c. double d;
d. int c = 40;
44. How many times will the print statement be executed?
main(){
int i = 0; label:
cout << “Interviewbit;
i++; if(i < 3){ goto label;
}
}
a. times
b. times
c. times
d. error
45. What is the output of the following c++ source code.
46. Given the following Statements: int grade[3] = {65, 50, 86}; what is the output of ?
cout << *grade;
a. 65
b. 50
c. 65, 50, 86
d. It is an invalid statement.
47. How many times is the phrase ″In the loop″ printed when the following code is executed?
} while(a<b);
A. 1 B. 2 C. 3 D. 4 E. 5
}
Assume that float area = 0; float radius = 5; is declared in main (). what is the correct way to call (invoke)
the above function.
a) calculateArea(area, radius);
b) area = calculateArea(radius);
c) calculateArea(&area, radius);
d) calculateArea(area);
a) Hello
b) World
c) Error
d) Hello World
int main()
{
register int i = 1; int *ptr = &i;
cout << *ptr;
return 0;
}
a) I
b) J
c) A
d) N
a) 42 , 21
b) 40 , 21
c) 40 , 20
d) 2 , 40
58. What is the following statement?
int addition( int, int );
a) It is a Function invocation.
b) It is a Function prototyping.
c) It is not a valid C++ statement.
d) It is a variable declaration.
59. The C++ code which causes abnormal termination/behaviour of a program should be written under
_________ block. a) catch
b) throw
c) try
d) finally
60. What is abstract class in C++?
a) Any Class in C++ is an abstract class
b) Class from which any class is derived
c) Class specifically used as a base class with atleast one virtual functions
d) Class specifically used as a base class with atleast one pure virtual functions 61. Which concept
allows you to reuse the written code in C++?
a) Inheritance
b) Polymorphism
c) Abstraction
d) Encapsulation
62. How structures and classes in C++ differ?
a) Structures by default hide every member whereas classes do not
b) In Structures, members are public by default whereas, in Classes, they are private by default
c) Structures cannot have private members whereas classes can have
d) In Structures, members are private by default whereas, in Classes, they are public by default
63. What is the value of var? int var;
var = 3 + 2 * 3 / 2 – (4 - 2);
#include <iostream>
using namespace std;
int main ()
{ int a, b, c; a = 2;
b = 7;
c = (a > b) ? a : b; cout << c;
return 0; }
a) 12
b) 14
c) 6
d) 7
B. The location of variable in memory is passed to the function so that it can use the same memory area
for its processing
C. The function declaration should contain ampersand (& in its type declaration) D. All of the
mentioned
}
A. Variables are not declared before use
B. There cannot be 3 variables in such a simple program
C. There is an error in line 3
D. There is an error in line 4
E. Both C and D
79. For the following code fragment, how many times does sum get incremented? In other words, how many
times is line X executed in the following program?
{
sum++;
}
}
A. 4
B. 3
C. 9
D. 2
E. None of the above
A. 13 C. 14
B. 15 D. 12
81. The process of going from a set of source files to a running program has several steps.
Place the following in the correct order from the first step executed to the last:
I. Linking
II. Compiling
III. Execution
IV. Processing #include directives
A. II, IV, I, III
B. II, III, I, IV
C. IV, II, I, III
D. IV, I, II, III
E. I, IV, II, III
82. Given below are some statements about the default (0-argument) constructor:
I. Its return type is the type of the class
II. It has no return type
III. The programmer can define it, but the C++ language doesn’t require this
IV. The programmer must define it
V. It is always defined by C++ if it isn’t provided by the programmer
VI. It is sometimes, but not always, defined by C++ if it isn’t provided by the programmer
}
II. bool IsOdd (int x) {
return (x / 2 == 1);
}
III. bool IsOdd (int x) {
if (x % 2 == 1) return true; else
return false;
}
A. II only
B. I and II only
C. I and III only
D. II and III only 4.
E. I, II and III
84. Suppose you have a function prototype int foo(char *), and call it from main(), but forget to write the
code that actually implements foo - but everything else in your program is correct. When will the error be
detected, and what kind of error will it be? A. The compiler will report an "undefined function body"
error.
B. There will be an undefined error at run-time, because the compiler will generate code that branches to an
undefined address; anything could happen, so it is undefined.
C. Some very confusing compiler messages will result because the compiler will try to find all possible
overloads of functions that take a char * argument, of which there are many, especially if the iostream
header has been #included.
D. The linker will report an "undefined symbol" error for "foo" and no executable will be built.
85. On most machines, addresses have the identical binary format, no matter what kind of object they are the
address of. Why then, is it necessary to declare a pointer variable with the type of the pointed-to object?
A. It is a matter of readable programming style, but not required by the Standard.
B. If the pointer is used to access members of a class or a struct, the compiler must be able to tell what class
or struct is involved.
C. If the pointer is modified using pointer arithmetic, the size of the pointed-to object must be known.
D. The premise of the question is false; pointers of different types usually have different binary
representations in the computer hardware
86. What is the output of the following code?
1. if ( 6 > 8)
2. {
3. cout << " ** " << endl ;
4. cout << "****" << endl;
5. }
6. else if (9 == 4)
7. cout << "***" << endl;
8. else
9. cout << "*" << endl;
A. ****
B. ***
C. *
D. **
87. Which of the following features of object oriented programming plays an important role in allowing
objects having different internal structures to share the same external interfaces.
A. objects
B. classes
C. plymorphism
D. message passing
88. What is the effect of using small inline functions on the number of cache misses?
class Example{
Example(){a=b=c=1;}
//Constructor 1
//Constructor 2
//Constructor 3
//Constructor 4
}
In the above example of constructor overloading, the following statement will call which constructor
A. Constructor 2
B. Constructor 4
C. Constrcutor 1
D. Type mismatch error
91. What will be the output of the following C++ code?
1);
return 0;
}
a. Steve
b. Jobs
c. St*v* j*bs
d. St*v*
i. Output of this program will be ____? #include using
namespace std; int main() { int a = 5, b = 10, c = 15;
int arr[3] = {&a, &b, &c}; cout << *arr[*arr[1] – 8];
return 0; }
A. 18
B. 15
C. garbage value
D. compile time error
92. What will be the output of this program? #include
<stdio.h> using namespace std;
int array1[] = {1200, 200, 2300, 1230, 1543}; int array2[] =
{12, 14, 16, 18, 20}; int temp, result = 0;
int main()
{
for (temp = 0; temp < 5; temp++) {
result += array1[temp];
}
for (temp = 0; temp < 4; temp++) {
result += array2[temp];
} cout << result; return
0; }
A. 6553 B. 6533
C. 6522
D. 12200
93. What happens when both of the following C++ programs are compiled and executed?
int main()
{
array<int,5> arr1; arr1.fill(5);
cout<<get<5>(arr1);
return 0;
}
=====================
===== Program 2 =====
#include <iostream>
#include <array>
int main()
{
array<int,5> arr1; arr1.fill(5);
cout<<arr1.at(5); return 0;
}
=====================
i. Derived class do not inherit or overload constructors or destructors from their base classes.
ii. Destructors can be declared with the keyword virtual
iii. Constructors can be declared with the keyword virtual
95. Which option gives the correct interpretation of the following declaration in C++?
int (*x[10])();
cout<<i<<endl;
a. 1
b. 123
c. 3
d. Error
98. What does the following code fragment print?
int[] a = { 1, 2, 3 }; int[] b = { 1, 2, 3 };
System.out.println(a == b);
A. It prints true B. It prints false.
C. Compile time error
D. None
99. Which from the following is not a correct way to pass a pointer to a function?
GOOD LUCK!!!
Introduction to communication System
1. Converts electrical signal to a form that is suitable for transmission.
A. transducer B. Receiver C. Transmitter D. none of the above
2. Which one of the following is not mode of communication System?
A. Point to Point B. Multicast C. Unicast D. MIMO
3. Method of data communication Consist of?
A.PSK B. QAM C.FSK D. none
4. Data transmission can take place in both directions simultaneously.
A. Simplex B. Duplex C. Half Duplex D. all
5. During generation and consumption–message signals are analog.
A.True B.False
6. Which one of has the following is the disadvantages of analogue signal?
A. It is inflexible
B. It is prone to noise and distortion.
7. These days digital electronic circuitry is cheaper than analogue circuitry for the implementation of
complex functions.
A. True B. False
8. Among the following one is not the advantage of Digital signal?
C. it is inflexible
10. The person who sent the first radio signal across the Atlantic Ocean was?
switching D. multiplexing
A. Time-Division Multiplexing
A. Less sensitive
B. More sensitive
C. first add the signal power to the noise power, then divide by noise power
24. The collection of sinusoidal frequencies present in a modulated carrier is called its:
1.
Which of the following equation represents mass action law for semiconductors in electronic circuits?
a) n × p = ni2
b) n × p = ni
c) n × p = ni3
d) n × p = ni1/2
Answer: a
3. In which of the following region does BJT act as the amplifier electronic device?
a) Cut-off
b) Saturation
c) Active
d) Reverse saturation
Answer: c
9. The pinch off voltage of JFET is 5v. What is its cut off voltage?
a) 2.5V
b) 3V
c) 4V
d) 5V
Answer: d
Answer: a
12. Which of the following statement is true about FET common source amplifier compared to BJT
amplifier?
a) It has High input impedance
b) It has low input impedance
c) No input Voltage is needed
d) Input Voltage is needed
Answer: a
13. In a full wave rectifier without filter, the ripple factor is
(A) 0.482 (B) 1.21 (C) 1.79 (D) 2.05
Ans: A
14. In a JFET, at pinch off voltage applied on the gate (A) the drain current becomes almost zero (B) the drain
current begins to decrease (C) the drain current is almost at saturation value. (D) the drain to source
voltage is close to zero volts.
Ans: C
15. The common collector amplifier is also known as (A) collector follower (B) Base follower (C) Emitter
follower (D) Source follower
Ans: C
16. In class–A amplifier, the output current flows for
(A) a part of the cycle or the input signal. (B) the full cycle of the input signal. (C) half the cycle of the input
signal. (D) 3/4th of the cycle of the input signal.
Ans: B
17. In the voltage regulator shown below, if the current through the load decreases,
(A) The current through R1 will increase. (B) The current through R1 will decrease. (C) zener diode
current will increase. (D) zener diode current will decrease.
Ans. (C)
18. The type of power amplifier which exhibits crossover distortion in its output is (A) Class A (B) Class B
(C) Class AB (D) Class C
Ans. (B)
21. N type silicon is obtained by (A) Doping with tetravalent element (B) Doping with pentavalent
element (C) Doping with trivalent element (D) Doping with a mixture of trivalent and tetravalent
element
Ans: (B)
22. The transconductance, gm, of a JFET is computed at constant VDS, by the following:
Ans: A
26. In the circuit given below, assume VCC = 12V, VBE = 0.7V, RB = 330kΩ, RC = 3.3kΩ, RE = 2.7kΩ and
β = 50. What is the base current IB?
a) 16.432µA
b) 17.856µA
c) 20.542µA
d) 17.936µA
Answer: d
Explanation: To find the value of IB, we substitute the values in the below equation. Given values are
VCC = 12V, VBE = 0.7V, RB = 330kΩ, RC = 3.3kΩ, RE = 2.7kΩ and β = 50.
IB = (VCC – VBE) / (RB + β × (RC + RE))
IB = (12 – 0.7 / (330 + 50 × (2.7 + 3.3)) = 11.3 / (330 + 50 × 6) = 11.3 / 630 = 17.936µA.
27. The linear (active) operating region of a transistor lies along the load line below ________ and above
___________
a) cut off, saturation
b) saturation, cut off
c) active, saturation
d) cut off, active
Answer: b
28. Negative feedback in amplifier _____________
a) Improves the signal-to-noise ratio at input
b) Improves the signal-to-noise ratio at output
c) Does not improve the signal-to-noise ratio at I/O
d) Reduce Distortion
Answer: d
A. Light-emitting diode
B. Photodiode
C. Varactor diode
D. Zener diode
Answer: c
A. Si
B. Ge
C. GaAsP
D. None of these
Answer: c
JIGJIGA UNIVERSITY
INSTITUTE OF TECHNOLOGY
Department of Electrical and Computer Engineering
Model Exit Exam – May 2024
1. Which among the following are the stable discrete time systems?
1. y(n) = x(4n)
2. y(n) = x(-n)
3. y(n) = ax(n) + 8
4. y(n) = cos x(n)
a. 1 & 3
b. 2 & 4
c. 1, 3 & 4
d. 1, 2, 3 & 4
a) 1/(z−1)
b) 1/(z+1)1.
c) 1/(1−z)
d) −1/(z+1)
Answer: c
a) tet u(t)
b) te-t u(t)
c) tu(t)
d) et u(t)
Answer: b
a) Exponential
b) Uniform
c) Poisson
d) Gaussian
Answer: b
5. Which one of the following statements is NOT TRUE for a continuous time causal and stable LTI
system?
(A) All the poles of the system must lie on the left side of the jw axis
(B) Zeros of the system can lie anywhere in the s-plane
(C) All the poles must lie within s = 1
(D) All the roots of the characteristic equation must be located on the left side of the jw axis.
Answer: C
6. The trigonometric Fourier series of an even function does not have the
(A) dc term (B) cosine terms
(C) sine terms (D) odd harmonic terms
Answer: C
7. The trigonometric Fourier series for the waveform f (t) shown below contains
(A) only cosine terms and zero values for the dc components
(B) only cosine terms and a positive value for the dc components
(C) only cosine terms and a negative value for the dc components
(D) only sine terms and a negative value for the dc components
Answer: C
8. The sampling frequency of a signal is Fs = 2000 samples per second. Find its Nyquist interval.
Answer: d
a) 1/s, σ<0
b) 1/s, σ>0
c) 1/(s−1), σ=0
d) 1/(1−s), σ≤0
Answer: b
a) memory
b) time invariance
c) stability
d) linearity
Answer: a
a) y(t)=x(t)+x(t-3) +x(t2)
b) y(n)=x(n+2)
c) y(t)=x(t-1) +x(t-2)
d) y(n)=x(2n2)
Answer: c
12. Discrete time signal is derived from continuous time signal by _____________ process.
a) Addition
b) Multiplying
c) Sampling
Answer: c
a) y (t) = a x (t)
d) y (t) = -x(t)
Answer: c
14. The step function u (t) is integral of _______ with respect to time t.
a) Ramp function
b) Impulse function
c) Sinusoidal function
d) Exponential function
Answer: b
b) y(t) = log(x(t))
c) y(t) = cos(x(t))
d) y(t) = dx(t)/dt
Answer: d
a) Causal, Non-linear
b) Causal, Linear
c) Non-Causal, Non-linear
d) Non-causal, Linear
Answer: d
Answer: b
18. For the system, y (t) = x (t-5) – x (3-t) which of the following holds true?
Answer: b
20. Unit Impulse function is obtained by using the limiting process on which among the following
functions?
a) Triangular Function
b) Rectangular Function
c) Signum Function
d) Sinc Function
Answer: b
21. The response of any discrete time system can be decomposed as _____________
a) Total Response=Impulse+step
b) Total Response=Impulse+Ramp
Answer: d
a) y(t) = log(x(t))
b) y(t) = sin(x(t))
c) y(t) = exp(x(t))
d) y(t) = tx(t) + 1
Answer: b
(a) Boundary input Boundary Output (b) Boundary Input Bounded Output
(c) Bonded Input Bonded Output (d) Bounded Input, Bounded Output
Answer: d
24. What are the mathematical tools to convert a system from a time domain to frequency domain?
Answer: a
Answer: d
a) x(t)+h(t)
b) x(t)-h(t)
c) x(t)*h(t)
d)x(t)**h(t)
Answer: c
27. For an LTI discrete system to be stable, the square sum of the impulse response should be
b) Infinity
c) Finite
d) Zero
Answer: c
Answer: a
Answer: b
Answer: a
31. Weighted superposition of time-shifted impulse responses is termed as _______ for discrete-time
signals.
a) Convolution integral
b) Convolution multiple
c) Convolution sum
d) Convolution
Answer: c
32. Find the convolution sum of sequences x1[n] = (1, 2, 3) and x2[n] = (2, 1, 4).
(a) {2, 5, 12, 11, 12} (b) {2, 12, 5, 11, 12}
(c) {2, 11, 5, 12, 12} (d) {-2, 5,-12, 11, 12}
Answer: a
Answer: c
(a) 4π (b) π
(c) 2π (d) 3π
Answer: b
35. What are the conditions called which are required for a signal to fulfil to be represented as Fourier
series?
Answer: a
Answer: b
37. The input and output of a continuous time system are respectively denoted by x (t) and y (t). Which of
the following descriptions corresponds to a causal system?
(A) y (t) = x (t - 2) + x (t + 4) (B) y (t) = (t - 4) x (t + 1)
(C) y (t) = (t + 4) x (t - 1) (D) y (t) = (t + 5) x (t + 5)
Answer: C
Answer: D
39. The impulse response h [n] of a linear time-invariant system is given by h [n] = u [n + 3] + u [n - 2) - 2n
[n - 7] where u [n] is the unit step sequence. The above system is
(A) stable but not causal (B) stable and causal
(C) causal but unstable (D) unstable and not causal
Answer: A
Answer: C
Answer: A
42. If a signal f (t) has energy E, the energy of the signal f (2t) is equal to
(A) 1 (B) E / 2
(C) 2E (D) 4E
Answer: B
44. For a series RLC circuit excited by an impulse voltage of magnitude 1 and having R = 4Ω, L =
1H, C = 13 F, the value of the current I(t) is ___________
−t
a) 3/2e –1/2e
3t
b) 3/2e3t–1/2et
c) 3/2e−3t–1/2e−t
d) 3/2e−3t–1/2et
Answer: c
45. What is the laplce tranform of the first derivative of a function y(t) with respect to t : y’(t)?
a) sy(0) – Y(s)
b) sY(s) – y(0)
2
c) s Y(s)-sy(0)-y'(0)
d) s2 Y(s)-sy'(0)-y(0)
Answer: b
Exit Exam Question of Introduction to Electrical Machines Prepared by Seid E.
_____________
A) Efficiency is less than 50%
B) The temperature of the power devices is much more than the specified allowable temperature rise
A) 16 B) 32 C) 4 D) 8
16). While operation of the DC motor, there are sparking at the commutation observed. These can be
happening due to ________
A) under commutation B) over commutation
C) too rapid reversal of the current D) any of the mentioned
17). A Shunt Generator delivers 450A at 230V and the resistance of shunt field and armature if 50Ω and
0.03Ω respectively. How much EMF is generated
A) 600 V & 1800 V B) 1800V & 600 V C) 450 V & 1200 V D) 1200V & 4500 V
19). A dc shunt motor is running at 1000 rpm at the rated load torque. If we reverse the filed winding
terminals, then the __________
A. CPU
B. Keyboard
C. Monitor
D. All of the above
A. Data manipulation
B. Exponential
C. Square root
D. All of the above
6. In the case of, Zero-address instruction method the operands are stored in _____
A. Registers
B. Accumulators
C. Push down stack
D. Cache
7. The DMA differs from the interrupt mode by __________
A. Bus
B. Memory transfer
C. Arithmetic operation
D. All of these
9. The access method used for magnetic tape is_________
A. Direct
B. Random
C. Sequential
D. None of the above
10. ______ serves as an intermediary between the device and the BUSes.
A. Interface circuits
B. Device drivers
C. Buffers
D. None of the mentioned
11. The registers, ALU and the interconnection between them are collectively called as
_____
A. process route
B. information trail
C. information path
D. data path
12. The transfer of large chunks of data with the involvement of the processor is done by
_______
A. DMA controller
B. Arbitrator
C. User system programs
D. None of the mentioned
13. The main components (or basic units) of a computer system are
A. Input/Output unit
B. Central Process Unit (CPU)
C. Memory unit (Storage unit)
D. All of the above
14. The major basic functions performed by a computer are
A. Data and Instructions are accepted as input.
B. Data and Instructions are stored (called data storage).
C. Processing of data as per the instructions (called data processing)
D. Control of all operations inside the computer and produced the result in the form of
output.
E. All of the above
15. A unit that decodes, interprets each instruction and generates the required enable signal for ALU and
other units is called
A. arithmetic unit
B. CPU
C. logical unit
D. control unit
16. Which of the following register keeps track of how instructions are being executed?
A. Instruction registers
B. Memory address registers
C. Program counter register
D. Memory and memory data register 17. Full-Adder circuit needs ____ inputs and ____
outputs.
A. Auxiliary memory
B. Magnetic tape
C. Associative memory
D. Cache memory
19. Which of the following mode is used when the operand is too large?
A. Register-based addressing
B. Memory-based addressing
20. What does the control unit generate to control other units?
A. Transfer signals
B. Command Signals
C. Control signals
D. Timing signals
21. The most common addressing techniques employed by a CPU is:
A. Direct
B. Indirect
C. Immediate
D. All of these
22. What is a pipelining strategy called?
A. Instruction manipulation
B. Instruction decoding
C. Instruction prefetch
D. Instruction execution
23. An I/O module is often responsible for error detection and for subsequently reporting errors to the
A. Processor
B. Main memory
C. RAM
D. None of them
24. SDRAM stands for
A. Direct mapping,
B. Full Associative
C. Set-Associative