Professional Documents
Culture Documents
2 write a c program to change only the 3rd bit of the particular number
such that other bits are not affected.. if bitnum=10 explain cooling and its
types ?
7 write a query to select name from one table which has id,name and salary
from another table which has id, sal where the salary is the second
maximum
12 Pulse period of two signals are 5ns,10ns .which will give high frequncy
component?
24 what are the oops concept in java explain with real time examples
25 What is difference b/w Data Grid in ASP.Net 1.1 and Gridview in 2.0
41 There are two ropes burning non uniformly (rate) and clock half an hour
each. which can't be clocked ?
a) 1 Hr.
b) 45 min
c)15 min
d)none
48 10 coins & 1 defected coin and 2 weighs Find min weighs req. to detect
faulty coin
a) 2
b)3
c)4
d)5
49 9 members in meeting scheduled at 10:00 A.M. , all reaches at 9:48 A.M. .
one member req. 2 min to intro with other find meeting delay with
scheduled time of 10:00 A.M..
a) 1 Hr.
b) 6 min
c) At scheduled time
50. A completes job in 10 hr. and B completes in 15 hr.. Find when both
together works
a) 6 hr.
b) 8 hr
c) 10 hr
d) none
51. A ball dropped from H height and moves 80% of height each time. Total
dist. covered
a) 4H
b) 5H
c) 7H
d) 9H
57. For a 4 bit succe D/A with 16v o/p the resolution is
a)10v
b)1v
c)1.6v
d)16v Ans : b
58 A 20kva transformer at full load conditions have the coreless & cu loss
are 250w&300w,To get max efficiency what will be the total loss in tr in w
a) 550 b) 500 c) 600 d) Data insufficient Ans : b
60 Power gain of an amplifier having i/p gain of 20W and output gain of
20mW is
63 Which one of the following is used for high speed power application?
a) BJT b) MOSFET c) IGBT d) TRIAC
68 .for the parallel circuit (one figure is given) Is= 10mA. R1= 2R, R2=3R,
R3= 4R. R is artritary
a). 3.076mA b). 3.76mA
69 Two ques on control sys like the sys will be stable when the roots are
a) real & +ve b) real & -ve c) d)
72 One more question related with ADC like voltage is 8 volts. freqency 2
Mega hz. what is the converssion rate
73. Question related with serial in parallel out shift registerWhat is output
sequence?
Ans 1010
74 Given one RLC circuit in which values of R, L and C were given. What is
the value of frequency f?
74 #define A 10+10
main ()
{
int a;
a=A*A;
);
}
75 .. main(){
int n=0;
while(n>32767)
pf(%d,n);
n++
}
76.. if (fun ())
{
X++;
}
X gets incremented if and only if
a) fun () returns 0
b) fun () return 1
c) fun () return -1
d) return a value other than 0 ans ; d
77 In dynamic memory
a) Power dissipation is less than that of static memory
b) Clock is needed
c) Refreshing is required
d) All the above
80 Two more question on gravity ie body is projected then find the time of
fall and
81 Structure comparison is done
83 main ()
{
int a=5, b=6;
int i=0;
i=a>b? a:b;
printf (%d, i);
}
a) 0 b) 1 c) 6 d)5
Section II (Aptitude)
90.20 men can do a work in c/2 days & 30 women can do the same work in
c/3 days then how many days will take to complete the work when 20 men
&30wmen work together
91Find the lateral surface of a cone with diameter of base 12feet . and the
latent height is 24feet
92 Ann is shorter than Jill and Jill is taller than Tom. Which of the following
inferences are true
SECTION 1.
Total 50 questions correct Answer +2 marks , wrong answer -1 mark.
Out of 50 ques..40 from engineering and 10 from aptitude.
SECTION 2.
Total 25 questions on English.
Paper is as follows.
SECTION 1:
1.Two force acting along the same line but in the opposite directions.
they are called
2. Two basic systems of forces
5. Ger ratio for helical gears one of 30 tooth and the other 60 tooth
16.A & B r two weight lifters .A can lift 100 pounds 10 times a minute,
where as lifts 100 pounds 10 times a sec.who is doing more power
and work. (c)
17.A ship is 77 Km away from the shore.It had a leak due to ehich
water is flowing into the ship @ 1 ton /min .A pump is used to pump
the water out of the ship @ 30 ton/ hr The ship sinks if the water Qty
reaches 210 ton.what should b the speed of the ship to reach the
shore b4 it sinks.
26. The angle b/n bore axis of gear and the tangent to the teeth
profile is called
27. The circle touching the outer edge of the teeth is called
28. The area of the piston A is 10 cm2 and that of B is 4 cm 2 .If 10n
load is applied on the piston A what is the force on the piston B.
30. If a body is isolate from its mating parts and all forces acting on
it r shown then it is called.
31. A coin and a ring of same mass and diameter r allowed to roll
smoothly from the top of a inclined plane. which one reaches the
bottom first.
35 given 0 (c)
SECTION 2:
proverbs..
2. more hands.
4. appropriate meaning
1. Go for .
2. Go overboard..
3.Go bad ..
4. go wrong ..
5.meaning of batten ..
SECTION 1:
1.Two force acting along the same line but in the opposite directions. they
are called
2. Two basic systems of forces
5. Ger ratio for helical gears one of 30 tooth and the other 60 tooth
7. If u traveled 45 min at 4 miles per hr and 30 min at 3 miles per hr. what is
the distance covered by u in 1 hr and 15 min.
16.A & B r two weight lifters .A can lift 100 pounds 10 times a minute, where
as lifts 100 pounds 10 times a sec.who is doing more power and work. (c)
17.A ship is 77 Km away from the shore.It had a leak due to ehich water is
flowing into the ship @ 1 ton /min .A pump is used to pump the water out of
the ship @ 30 ton/ hr The ship sinks if the water Qty reaches 210 ton.what
should b the speed of the ship to reach the shore b4 it sinks.
18. Very simple ..que..find the hypotenuse
20. The angle of depression from the top a building to another building is
120 .the distance b/n the two is 50 mts.What is the difference in the height
of buildings.
26. The angle b/n bore axis of gear and the tangent to the teeth profile is
called
27. The circle touching the outer edge of the teeth is called
28. The area of the piston A is 10 cm2 and that of B is 4 cm 2 .If 10n load is
applied on the piston A what is the force on the piston B.
30. If a body is isolate from its mating parts and all forces acting on it r
shown then it is called.
31. A coin and a ring of same mass and diameter r allowed to roll smoothly
from the top of a inclined plane. which one reaches the bottom first.
32. A ball is thrown horizontally .After hitting the ground it again raises with
somevelocity.this is bcoz..
35 given 0 (c)
SECTION 2:
2 Passage with blanks..
proverbs..
2. more hands.
4. appropriate meaning
1. Go for .
2. Go overboard..
3.Go bad ..
4. go wrong ..
5.meaning of batten ..
a) Technical:
1)#include.
main()
{
int const *p = 10;
printf(%d, ++(*p));
}
Ans: Compilation Error
sol: Constant cant be modified.
2) .main()
{
int I;
char *a = man;
for(i=0;i<3;i++)
printf(%c%c%c%c\n,i[a],a[i],*(a+i),*(i+a));
}
ans: mmmm
aaaa
nnnn
3)main()
{
extern int i = 10;
printf(%d,i);
}
Ans: Compiler error
4)main()
{
float f= 1.1;
double d = 1.1;
if ( f == d)
printf(I LOVE U);
else
printf(I HATE U);
}
Ans: I HATE U
Sol: Due to precision Considerations ...
15) a variable used to store the address of another variable is termed as..??
sol: Pointer..
16) #include
void main()
{
int i = 15;
int const &j = i;
cout << i << j << endl;
i = 9;
cout << i << j << endl
}
ANS:
15 15
99
Prepare 'top down approach' - ross and kurose for computer networks...it
would be helpful..
b) Quantitative:
36) a man sells an article with a 20% discount and gain a profit of
20%...what would be the profit percentage if he sells it with 10%
discount...??
sol; 35(not sure)
38) fourth term of an ap is 200 and first term is 5 find the tenth term...??
ans:
42) Probability:
a radioactive element disintegrates by 20 th part every hour and find the
probability that no matter is left out in a duration of 45 min...??
sol: since it deals with radioactive element 'n' is usually large..so poissons
distribution is to be applied...
1hr=60min----------20
45min----------?
(45*20)/(60)=15..
Hence lamba=15
P(x=0)= (e-15)*(150)/(0!)
=(e-15)
43) If side of the square is x+2 and side of equilateral triangle is 2x and the
perimeters of both square and equilateral triangle are equal ...then find the
value of x..??
sol: 4*(x+2)=(3*2x)
i.e; x=4
44) if side of the square of increased by 5 and change in area was 165 then
find the value of side of the square...??
sol: (x+5)2-x2=165
10x+25=165
10x=140
x=14
c)English
51-52) a passage with inferences to be drawn...
53) saritha and kavitha are seperated by a certain distance of 100m and
walking towards each other and savitha started from her house and walked
for 30m East and turned right and walked upto 10m and then turned left
and walked upto 20m and again turned left and walked to the road ...what is
the distance between the two girls now..??
sol: i think 20m(not sure jus try..)
SECTION 1(TECHNICAL)
1. A 16 bit monosample is used for digitization of voice. If 8 kHz is the
sampling rate then the rate at which bit is transferred is
6. A 20kva transformer at full load conditions have the coreless & cu loss
are 250w&300w,To get max efficiency what will be the total loss in tr in w
8. Power gain of an amplifier having i/p gain of 20W and output gain of
20mW is
11. Which one of the following is used for high speed power application?
15. what is the resonant frequency of parrel RLC circuit of R= 4.7 komh L=
2 micro Henry and c=30pf.
16.for the parallel circuit (one figure is given) Is= 10mA. R1= 2R, R2=3R,
R3= 4R. R is artritary
17 . Two ques on control sys like the sys will be stable when the roots are
22. One more question related with ADC like voltage is 8 volts. freqency 2
Mega hz. what is the converssion rate
23. Question related with serial in parallel out shift registerWhat is output
sequence?
24. Given one RLC circuit in which values of R, L and C were given. What is
the value of frequency f?
ans : c
26. main(){
int n=0;
while(n>32767)
pf(%d,n);
n++
}
ans ; indefinite loop here ihe loop will continue again & again ie after 32767
the go to -32768
29. Short, int and long integers have how many bytes?
34. The system in which communication occurs in both ways but not
simultaneously in both ways is
35. main ()
{
int a=5, b=6;
int i=0;
i=a>b? a:b;
printf (%d, i);
}
37. how would you insert pre-written code into a current program?
Section II
40 If a>4,b<-1 then which of the following is true
42. 20 men can do a work in c/2 days & 30 women can do the same work in
c/3 days then how many days will take to complete the work when 20 men
&30wmen work together
43. find the lateral surface of a cone with diameter of base 12feet . and the
latent height is 24feet
44. Ann is shorter than Jill and Jill is taller than Tom. Which of the following
inferences are true?
45. Sum of squares of two numbers is 404 and sum of two numbers is
22.Then product of two Numbers?
The result was announced 3 days later. I was happy to find that I was one
among the 21 students (17 from ECE, 3 from EEE and 1 from CS) selected
for Robert Bosch.
* Know about the company, its HQ, CEO and its significant products.
1 what is the difference between RTU & MTU in SCADA system?
2 write a c program to change only the 3rd bit of the particular number
such that other bits are not affected.. if bitnum=10 explain cooling and its
types ?
7 write a query to select name from one table which has id,name and salary
from another table which has id, sal where the salary is the second
maximum
12 Pulse period of two signals are 5ns,10ns .which will give high frequncy
component?
24 what are the oops concept in java explain with real time examples
25 What is difference b/w Data Grid in ASP.Net 1.1 and Gridview in 2.0
41 There are two ropes burning non uniformly (rate) and clock half an hour
each. which can't be clocked ?
a) 1 Hr.
b) 45 min
c)15 min
d)none
48 10 coins & 1 defected coin and 2 weighs Find min weighs req. to detect
faulty coin
a) 2
b)3
c)4
d)5
49 9 members in meeting scheduled at 10:00 A.M. , all reaches at 9:48 A.M. .
one member req. 2 min to intro with other find meeting delay with
scheduled time of 10:00 A.M..
a) 1 Hr.
b) 6 min
c) At scheduled time
50. A completes job in 10 hr. and B completes in 15 hr.. Find when both
together works
a) 6 hr.
b) 8 hr
c) 10 hr
d) none
51. A ball dropped from H height and moves 80% of height each time. Total
dist. covered
a) 4H
b) 5H
c) 7H
d) 9H
57. For a 4 bit succe D/A with 16v o/p the resolution is
a)10v
b)1v
c)1.6v
d)16v Ans : b
58 A 20kva transformer at full load conditions have the coreless & cu loss
are 250w&300w,To get max efficiency what will be the total loss in tr in w
a) 550 b) 500 c) 600 d) Data insufficient Ans : b
60 Power gain of an amplifier having i/p gain of 20W and output gain of
20mW is
63 Which one of the following is used for high speed power application?
a) BJT b) MOSFET c) IGBT d) TRIAC
68 .for the parallel circuit (one figure is given) Is= 10mA. R1= 2R, R2=3R,
R3= 4R. R is artritary
a). 3.076mA b). 3.76mA
69 Two ques on control sys like the sys will be stable when the roots are
a) real & +ve b) real & -ve c) d)
72 One more question related with ADC like voltage is 8 volts. freqency 2
Mega hz. what is the converssion rate
73. Question related with serial in parallel out shift registerWhat is output
sequence?
Ans 1010
74 Given one RLC circuit in which values of R, L and C were given. What is
the value of frequency f?
74 #define A 10+10
main ()
{
int a;
a=A*A;
);
}
75 .. main(){
int n=0;
while(n>32767)
pf(%d,n);
n++
}
76.. if (fun ())
{
X++;
}
X gets incremented if and only if
a) fun () returns 0
b) fun () return 1
c) fun () return -1
d) return a value other than 0 ans ; d
77 In dynamic memory
a) Power dissipation is less than that of static memory
b) Clock is needed
c) Refreshing is required
d) All the above
80 Two more question on gravity ie body is projected then find the time of
fall and
81 Structure comparison is done
83 main ()
{
int a=5, b=6;
int i=0;
i=a>b? a:b;
printf (%d, i);
}
a) 0 b) 1 c) 6 d)5
Section II (Aptitude)
90.20 men can do a work in c/2 days & 30 women can do the same work in
c/3 days then how many days will take to complete the work when 20 men
&30wmen work together
91Find the lateral surface of a cone with diameter of base 12feet . and the
latent height is 24feet
92 Ann is shorter than Jill and Jill is taller than Tom. Which of the following
inferences are true
94 A 20kva transformer at full load conditions have the coreless & cu loss
are 250w&300w,To get max efficiency what will be the total loss in tr in w
1.Analog Circuits.
--BJT( Biasing,current/voltage series/shunt, Transfer Characteristics
Location of Q-point,circuit diagrams of CB,CC,CE Self biasing Circuits).
--ADC/DAC formulas and methods.
--Power amplifiers(class A,AB,B,C,D and Transformer Coupled Amplifier),
their efficiency..
--Standard Circuits of IC 741 and 555 timers.
2.Network Analysis/Circuits.
--Basic Circuits Analysis(Nodal Analysis,Mesh Analysis)
--Dependent Souces equivalent circuits.
--Theorems.
3.EDC
--JFET,BJT behaviour with temperature and other parametes.
eg.In n-channel JFET what will be the output if the drain current increase.A)
DECREASES, B) INCREASES ,,,,,.......etc.
--Standard effects like Thermal Run away, Avalanche effect etc.
5.Computer Networks .
--Network topologies.
--TCP/IP.
--OSI models.
APTITUDE
1.Mathematics or Quantitative
--Boat,Age,Train,Profit and Losses ,Discounts,time and
work,Percentage,SI,CI.
2.Verbal
--Antonyms,Synonyms,Passage.. and Logical reasoning like ........All X are
Y. Some Y like Z .
--There will be only 7/9 questions on verbal.these are not soo tough but
takes time for passage and answering.
NOTE:Its important that you must perfectly use the time. try answering
Aptitude/Quant first and then technical.
All those who have poor technical knowledge must improve atleast in the
topics like CN,NT,Digital.
2.A two port network was given..two ports wer arranged seriallyso go
through 2port networks..
14.Which of these are used for high speed and long distance?
23. A man went 10mts eastand then 20mts north. What is the distance
from the start?
--right angled trianglefinding hypotnuese..
24.A car travels at the rate of 50km/hr to reach a places.while comin back it
takes 60/hr,what is the avg speed?
26.A can finish work in 2 days.B can finish the same work in 6
dayz..Together how much time they take to finish the work??
32.OBSE
I still don know wot it means :)
Give the ANTONYMS
33.RECANT
37.Skin: human
38.Editor:Magazine
SECTION 1(TECHNICAL)
1. There was a figure of JK flip flop in which ~q is connected to J input and
K=1. If clock signal is successively applied 6 times what is output
sequence (q=?)
7. Power gain of an amplifier having i/p gain of 20W and output gain of
20mW is
9. 2s complement of -17
ans -- 01111
13. Which one of the following is used for high speed power application?
14. One question related with SCR rotation angle given ifring angle is
30degree
19. what is the resonant frequency of parrel RLC circuit of R= 4.7 komh L=
2 micro Henry and c=30pf.
20.for the parallel circuit (one figure is given) Is= 10mA. R1= 2R, R2=3R,
R3= 4R. R is artritary
21. main ()
{
int a=0x1234;
a=a>>12;
a=a<<12;
printf (%x, a);
}
What is the output?
25. Question related with serial in parallel out shift registerWhat is output
sequence?
Ans..... 1010
26. Given one RLC circuit in which values of R, L and C were given. What is
the value of frequency f?
27. if (fun ())
{
X++;
}
X gets incremented if and only if
29. Short, int and long integers have how many bytes?
31.Mobility of electron is
33. The system in which communication occurs in both ways but not
simultaneously in both ways is
34. main ()
{
int a=5, b=6;
int i=0;
i=a>b? a:b;
printf (%d, i);
}
36. main ()
{
int *p;
short int i;
p= (char *) malloc (i*10); (code was showing error here)
p+=10;
printf (%d, p);
}
Value of p?
37. main ()
{
int *p,i[2]={1,2, 3};
p=i;
printf (%d %d %d, i [0],*p,*p+1) ;
}
38. F = A'B' + C' + D' + E' then
39. how would you insert pre-written code into a current program?
41. three boys x,y,z and three girls x,y,z... sit around a round table . but x
does not want any girl sitting to him and girl y does not want any boy
sitting next. how many ways can they be seated.
43. find the lateral surface of a prism with a triangular base if the perimeter
of the base is 34 cm. and the height is 45 cm.
44.Given a< b< c < d . what is the max ratio of given equation
46. Ann is shorter than Jill and Jill is taller than Tom. Which of the following
inferences are true?
47. A and B starts from same point at opposite direction. They will move
6km and take 8km left. How Far is A and B from each other?
ans ...20m
49. Sum of squares of two numbers is 404 and sum of two numbers is
22.Then product of two Numbers?
(Answer is 40. Two numbers are 20 and 2)
50. In an examination 4 marks are assigned for correct answer and 1 mark
is deducted for wrong answer. However one student attempted all 60
questions and scored 130.Number of questions he attempted correct is?
51. Each ruby is of 0.3 kg and diamond is of 0.4 kg.Ruby costs 400 crores
and diamond costs 500 crores. Ruby and diamonds have to be put into a
bag. Bag cannot contain more than 12 kg.Which of the following gives
maximum profit (or in terms of wealth) (In crores)
ans ...only ruby 40p
52. the cpu stack is placed in ....
ENGLISH section
fill in the blanks...... .. the answers is
61) a). impounded b). protected c). hounded d). relegated.
69. discerning -- d). adj. distinguishin one thing from another, having good
judgment
#include
char i;
int try1();
int try2(char *)
int main()
{
try1();
return 0;
}
int try1()
{
static char *ptr="abcde";
i=*ptr;
printf("%c",i);
try2(++ptr);
return 0;
}
int try2(char *t)
{
static char *pt;
pt=t+strlen(t)-1;
if(i!=*pt--)
if(t!=pt)
try1();
return 0;
}
A:ab B:abcd C:abc D:abcde
#include
void e (int);
int main()
{
int a;
a=3;
e(a);
return 0;
}
void e(int n)
{
if(n>0)
{
e(--n);
printf("%d",a);
e(--a);
}
}
A:0120 B:01221 C:1201 D:0211
y=(5>4)==1;
4.in which of the following data type all the fields overlay each other and at
a time nly one field can be used?
#include
using namespace std;
void f(int *iptr)
{
*iptr=1;
}
int main()
{
int i=0;
f(&i);
cout<<"thegiven below?
value is:"<
return 0;
}
#include
using namespace std;
class CDummy
{
public;
static int n;
CDummy () {n++];
-CDummy() {n--};
};
int CDummy :: n =0;
int main()
{
CDummy a;
CDummy b[5];
CDummy *c=new CDummy;
cout<<a.n<<", ";
delete c;
cout<<
return 0;
}
2 Probability:
a radioactive element disintegrates by 20 th part every hour and find the
probability that no matter is left out in a duration of 45 min...??
sol: since it deals with radioactive element 'n' is usually large..so poissons
distribution is to be applied...
1hr=60min----------20
45min----------?
(45*20)/(60)=15..
Hence lamba=15
P(x=0)= (e-15)*(150)/(0!)
=(e-15)
3 If side of the square is x+2 and side of equilateral triangle is 2x and the
perimeters of both square and equilateral triangle are equal ...then find the
value of x..??
sol: 4*(x+2)=(3*2x)
i.e; x=4
4 if side of the square of increased by 5 and change in area was 165 then
find the value of side of the square...??
sol: (x+5)2-x2=165
10x+25=165
10x=140
x=14
6. 20 men can do a work in c/2 days & 30 women can do the same work in
c/3 days then how many days will take to complete the work when 20 men
&30wmen work together
7. find the lateral surface of a cone with diameter of base 12feet . and the
latent height is 24feet
a) 1320square f.
b) 260 square f.
c) 96 square f.
d) none
ans : c
8. Ann is shorter than Jill and Jill is taller than Tom. Which of the following
inferences are true
a). 17
b). 3
c). 11
d). 15
11. A 20kva transformer at full load conditions have the coreless & cu loss
are 250w&300w,To get max efficiency what will be the total loss in tr in w
a) b) c ) d)
13. Power gain of an amplifier having i/p gain of 20W and output gain of
20mW is
a) 60 b) 25 c) 10 d) 0
14. There was a RC circuit given with AC voltage source. Expression for
capacitance was asked for charging condition. Choices were somewhat
like this: a) some value multiplied by exp (-t/T)
17 Two more ques on gravity ie body is projected then find the time of fall
and some physics ques
a). yes
b) no
c) compiler dependent
d)
19. The system in which communication occurs in both ways but not
simultaneously in both ways is
20. main ()
{
int a=5, b=6;
int i=0;
i=a>b? a:b;
printf (%d, i);
}
a) 0 b) 1 c) 6 d)5
Ans: c
21. Which one of the following is used for high speed power application?
25. what is the resonant frequency of parrel RLC circuit of R= 4.7 komh L=
2 micro Henry and c=30pf.
26.for the parallel circuit (one figure is given) Is= 10mA. R1= 2R, R2=3R,
R3= 4R. R is artritary
a). 3.076mA
b). 3.76mA
27 . Two ques on control sys like the sys will be stable when the roots are
30. One more question related with ADC like voltage is 8 volts. freqency 2
Mega hz. what is the converssion rate
31. Question related with serial in parallel out shift registerWhat is output
sequence?
Ans..... 1010
32. Given one RLC circuit in which values of R, L and C were given. What is
the value of frequency f?
ans : c
34. main(){
int n=0;
while(n>32767)
pf(%d,n);
n++
}
ans ; indefinite loop here ihe loop will continue again & again ie after 32767
the go to -32768
37. Short, int and long integers have how many bytes?
40. how would you insert pre-written code into a current program?
a) #read
b) #get
c) #include
d) #pre ans: c
Section II
d) 010101
49. For a 4 bit succe D/A with 16v o/p the resolution is
ans: A
51Mr. X (father) is twice his daughters age. How many yrs. Ago was he
three times his daughters age, if his daughters present age is 20?
ans: B
54 15 men can do a job in 16 days, 12men will do the same in how many
days?
ans: A
(a) 100 A.D. (b) 50 B.C. (c) 500 B.C. (d) 10 A.D.
ans: C
void main()
int i,j,k;
i=2;
j=4;
k=i++>j&2;
printf("%d\n",k);
j=++k;
printf(" %d %d %d",i,-j--,k);
getch();
}
A. 4,-3,2
B. 5,-3,2
c. 4,-2,2
D. 5,-2,2
Ans: D
#include<stdio.h>
#include<conio.h>
void main()
{
int i,j=20;
clrscr();
for(i=1;i<3;i++)
{
printf("%d,",i);
continue;
printf("%d",j);
break;
}
getch();
}
// A. 1,20
// B. 1,20,1,20
// c. 1,2
// D. 1,2,20,20
Ans: c
ANS: fdisk
Sol: When you run the fdisk and format commands, the Master Boot
Record (MBR) and file allocation tables are created. The MBR and file
allocation tables store the necessary disk geometry that allows hard disk to
accept, store, and retrieve data
68 #include
void main()
{
int i = 15;
int const &j = i;
cout << i << j << endl;
i = 9;
cout << i << j << endl
}
ANS:
15 15
99
Prepare 'top down approach' - ross and kurose for computer networks...it
would be helpful..
73 a man sells an article with a 20% discount and gain a profit of 20%...what
would be the profit percentage if he sells it with 10% discount...??
sol; 35(not sure)
75 fourth term of an ap is 200 and first term is 5 find the tenth term...??
78 #include.
main()
{
int const *p = 10;
printf(%d, ++(*p));
}
Ans: Compilation Error
sol: Constant cant be modified.
79 .main()
{
int I;
char *a = man;
for(i=0;i<3;i++)
printf(%c%c%c%c\n,i[a],a[i],*(a+i),*(i+a));
}
ans: mmmm
aaaa
nnnn
80 main()
{
extern int i = 10;
printf(%d,i);
}
Ans: Compiler error
81 main()
{
float f= 1.1;
double d = 1.1;
if ( f == d)
printf(I LOVE U);
else
printf(I HATE U);
}
Ans: I HATE U
Sol: Due to precision Considerations ...
82 A tree was given and postorder traversal is to be found out...(Easy)