VEDAMS Solutions: Interview Questions: C, C++, OS, NW
VEDAMS Solutions: Interview Questions: C, C++, OS, NW
Written Test-
Topics: C, C++, OS
Subjective type written test
1. #define A!"i# "i++ $ i++#
%&in"#
'
int i ( 1)*
printf"+,d,d-,.,S!"i##*
/
0. Oper&tor Over1o&din23 4ive &n e5&%p1e of &n over1o&d oper&tor3 6ro2r&% &1so3
7. c8&r $& , c8&r &9 : w8et8er t8ese &re s&%e or different &nd w8y3
;. <ifference between debu22in2 = testin2 3
>. int"$p"c8&r $&## 91):* w8&t it %e&ns3
?. c8&r $s1(-8e11o-*
c8&r $s0(-wor1d@-*
c8&r $s7( strc&t"s1,s0#*
W8&t is t8e OA6 of t8is code = w8y3
B. C5p1&in !ound !obin = priority sc8edu1in2 3
D. w8&t is s&fe st&te &nd de&d1ocE &void&nce 3
F. w8&t is fr&2%ent&tion3
1). w8&t is %e%ory %&ppin23 6OS.G3
11. write & pro2r&% to cont t8e nu%ber of ) s &nd 1 s in &re9: ( '1,),1),11,))),11,)/
10. w8y TC6 is connection oriented &nd .6 is connection 1ess3
17. H&yers of OS. %ode1 = t8eir functions3
1;. C5p1&in Iin&ry se&rc8 3
1>. w8&t is disp&tc8er = sc8edu1er3
1?. w8&t is best fit, worst fit = Jirst fit 3
1B. w8&t is de%&nd p&2in2 w8ere it is reKuired3
1D. write & pro2 to OL &nd OJJ t8e bit3
1F. .6M? uses: 1# 1?bit 0# 70bit 7# ?; bit ;# 10D bit
0). So%e %u1tip1e c8oice Kuestions ojn TC6A.6 = C re1&ted:
&. H&yers
b. Sw&ppin2
c. Heft s8ift = !i28t S8ift
4!ON6 <.SCNSS.OL TO6.C:
Luc1e&r de&1 wit8 NS is 2ood for .ndi& = po1itici&ns in .ndi&. W8y3
Interview Questions: C, C++, OS, Lw
1. vo1&ti1e
0. const vo1&ti1e
7. st&tic v&ri&b1e = 21ob&1 v&ri&b1e. W8ere t8ese &re stored.
;. 6ort, .6 &ddress, 68ysic&1 &ddress
>. TC6A st&cE
?. structure p&ddin2 w8ere reKuired3
B. structure = union difference
D. sin21e 1inE 1ist .Jind t8e center node wit8 out tr&verse3 " use doub1e pointer#.
F. pro2 for c1e&rin2 t8e bit
1). pro2 for pri%e nos
11. pro2 for even = odd bit
10. st&cE unwindin2
17. c&11oc = %&11oc
1;. Lu11 pointer = void pointer
1>. TC6 = N<6
1?. .6C f&stest .6C = w8y
1B. Oerne1
1D. Syste% c&11
1F. Po%bie 6rocess
0). Orp8&n process w8ic8 process is c&rry t8is
01. socEet &rc8itecture = functions3
00. Qe%ory %&ppin2
07. A!6 = !A!6 in w8ic8 1&yer = w8&t it is3
0;. .f we do not initi&1iRe t8e %e%ber of structure in t8e structure itse1f t8en w8&t
8&ppens3
0>. TJT6 %e&ns = types of %ess&2e c&te2ories