IBM Series Questions:

IBM Series Questions:

IBM

From previous papers. Try to solve all questions n learn the logic. Enough for this section

1.) 1 ,3 ,1 ,2.5 ,5 ,1 ,4 ,5 ,4 ,8 ,7
1+3+1=5 & 5/2=2.5),(5+1+4=10 & 10/2=5),(4+8+7=19 & 19/2=9.5)

2.) 41.45 ,41.5 ,42 ,18.23 ,18.2 ,18
( ANS: 73.1)

3.) 11 ,8 ,17 ,14 ,23 ,24 ,31 ,32
ANS:
11 +6 17 +6 23 +8 31 +8 39
8 14 24 32
(11-8=+3)(17-14=+3)(23-24=-1) (31-32=-1)
so ans=39

4.) 4 ,3 ,144 ,1.5 ,2 ,9 ,3.2 ,2
ANS: 6.4*6.4

5.) 4.2 ,7.2 ,11.4 ,6.1 , 9.1 , 15.2 ,3.8 , 6.8
ANS: 10.6

6.) 1/5 , 1/2 , 1/3 , 2/5 ,1, 2/3, 3/5, 1 1/2 ,1, 4/5
ANS:
1st series= (1/5, 2/5, 3/5, 4/5)
diff bwn each term= -1/5
2nd series= (1/2, 1, 1 1/2, x)= (0.5, 1, 1.5, 2) => x=2
diff bwn each term= -0.5
3rd series= (1/3, 2/3, 1, x)= > x=4/3
diff bwn each term= -1/3
ans = 2

7.) 5, 1, 2, 8, 8, 1, 0, 9, 9, 2, 3
ANS:14

8.) 5, 1, 2, 8, 1, 0, 9, 2, 3, 14, 1, 3
ANS:18

9.) 6, 3, 3, 9, 12, 5, 7, 35, 8, 6, 2
ANS:12

10.) 24, 42, 1/2, 2, 65, 56, 1 1/5, 5/6, 73, 37
ANS:7/3

11.) 4, 2, 5, 9, 5, 11, 13, 7, 16, 17, 9
ANS:4,2,5,9,5,11,13,7,16,17,9,?

see the triplets
4,2,5 -> diff b/w 4,5 = 1
9,5,11 -> diff b/w 9,11 = 2
13,7,16 -> diff b/w 13,16 = 3
17,9,21 -> diff b/w 17,21 = 4
so the answer should be 21

12.) 8, 16, 3, 27, 4, 8, 7, 19, 2, 0, 7
ANS:
8+16+3=27
4+8+7=19
Likewise, 2+0+7=9
the answer is 9

13.) 5/6, 1/3, 1/2, 1/2, 2/8, 1/4, 5/6, 1/6, 2/3, 1/2, 1/3
ANS: 1/6

14.) 115, 100, 86, 74, 65, 60
ANS: 60

15.) 100, 98, 95, 90, 83
ANS: 72

16.) 0, 8, 12, 26, 23
ANS:
(0,8),(12,26),(23,?)
Difference : 8 14 x
Now, 14-8=6 -> x-14=6 -> x=20
Since, ?-23=x=20 -> ?=43 Ans.

17.) 7.2, 2.2, 3.2, 16, 11, 12, 60, 55, 56
ANS: 280

18.) 18, 24, 5, 21, 8, 27, 17, 23, 4, 24, 30
ANS:
18+6=24,24-19=5
21+6=27,27-19=8
17+6=23,23-19=4
24+6=30,30-19=11
so 11 is the next term.

1) .7 , 1.2, 1.2 , 2.2 , 1.7, 3.2, 2.2, 4.2 , ?
ANS: 2.7

2) 81, 9^2, 162, 49, 7^2, 98, 25, 5^2, 50, 64, 8^2 ?
ANS: 128

3) 1, 1, 2, 4 , 6, 36, 39, 1521, ?
ANS: 1525

4) 2, 3, 10, 15, 26, 35,50, ?
ANS: 63

5) 2, 8, 3, 27, 4, 64, 5, 125, 6, 216, ?
ANS: 7

6) 2, 3, 6, 13, 28, ?
ANS:
2, 3, 6, 13, 28, ?
diff are : 1, 3, 7, 15, 31
1*2+1=3
3*2+1=7
7*2+1=15
15*2+1=31
So Ans will be: 28+31 =59

7) 38, 36, 76, 35, 114, 34, ?
ANS: 152

8) 1/5, 1/2, 1/3, 2/5 , 1, 2/3,3/5, 3/2, 1, 4/5, ?
ANS: 2

9) 96, 64, 128, 192, 128, 256, 288, 192, ?
ANS: 384

10) 1370, 1320, 1070, -180, ?

11) 3, 2, 1, 4, 5, 4, 5, 1, 0, 6, 3, 2, ?
ANS: 7

12) 1 1 1 2 2 2 3 4 3 3 5 6 ?
ANS: 4

13) 507, 169, 248, 62, 36, 12, 168, 42, 168 ?
ANS: 56

14) 7.2, 2.2, 3.2, 16, 11, 12, 60, 55, 56, ?
ANS: 280

15) 2, 6, 5, 14, 11, 26, 17 , ?
ANS:
2,5,26 is 1 series 5=2*2+1 and 26=5*5+1
6,11,17 is another series 11=6*2-1 17=6*3-1

16) 115, 100, 86, 74, 65, 60, ?
ANS: 60

17) 8 5 9 7 2 25 5 1 16 8 6 ?
ANS:
4
18) -5 1 -11 23 29 17 -20 -14 ?
ANS: 23



a) 3,7,10,8,4,12,0,5,5,3,2,?
ANS: 5

b) 0,1,1,2,0.5,2,2,4,2,2,4,3,7,2,?
ANS: 3.5

c) 1,1,2,4,6,36,39,1521,?
ANS: 1525

d) 7,4,6,3,4.5,1.5,2.25,?
ANS: -0.75

e) 2,9,5,49,11,169,?
Ans:17

f) 49,7,98,16,4,48,9,3,36,25,5,?
ANS: 125

g) 2,6,5,14,11,26,17,?
ANS: 38

h) 7,0,1,8,5,12,9,26,3,23,2,?
ANS: 28

i) 2,3,10,15,26,?
ANS:
Ans= 35
(1^2)+1=2
(2^2)-1=3
(3^2)+1=10
(4^2)-1=15
(5^2)+1=26
(6^2)-1=35

j) 5,16,22,68,28,87,36,106,11,?
ANS:
5*3=15+1=16
22*3=66+2=68
28*3=84+3=87
36*3=108+4=112
11*3=33+5=38
ans is 38

k) 7776,625,64,9,?

l) 13,24,36,23,34,56,33,44,96,43,54,? Ans:116
The above series can be separated into
13,23,33,43
24,34,44,54
36,56,96,156
so the next series would be 53,64,236

m) 0,1,2,0.5,2,2,2,2,4,3,2,? Ans:3.5
ANS:
0+1=1/2=0.5

n) 18,24,5,21,27,8,17,23,4,24,30,?
 Ans:9
first of all the series will be 18,24,5,21,27,8,17,23,4,24,30,?
The solution is...
18+6=24,24-19=5
21+6=27,27-19=8
17+6=23,23-19=4
24+6=30,30-19=11
so 11 is the next term.

o) 3,5,2,100,4,7,3,196,1,6,5,?
Ans:144

p) 8,5,9,7,2,25,5,1,16,8,6,?
ANS: 4

q) -3,6,1,-2,4,-1,-1,2,-3,?

r) 1/4,1/4,1/2,3/2,6,? 
Ans:30

1) 1/4, 1/4, 1/2, 3/2, 6, ?

2) 0.8, 1.8, 3.6, 3.6, 4.6, 9.2, 9.2, 10.2, ?

3) 22, 19.5, 21.45, 33, 30.5, 33.55, 44, 41.5, ?

4) 15 3/4, 16, 26, 9 1/5, 9, 19, 64 2/3, 65, 75, 30 3/8, ?

5) 3, 2, 1, 4, 5, 4, 5, 1, 0, 6, 3, ?

6) 3/2, 2 1/4, 9/4, 7/2, 12 1/4, 49/4, 4/3, 1 1/7, 16/9, ?

7) 18, 24, 5, 21, 27, 8, 17, 23, 4, 24, 30, ?

8) 100, 98, 95, 90, 83, ?

9) 1, 3, 3, 2, 8, 10, 3, 4, 12, 4, 8, ?
10) 49, 7, 98, 16, 4, 48, 9, 3, 36, 25, 5, ?

11) 9, 12, 4, 8, 12, 15, 5, 9, 3, 6, 2, 6, 6, 9, ?

12) 5/6, 1/3, 1/2, 1/2, 2/8, 1/4, 5/6, 1/6, 2/3, 1/2, 1/3, ?

13) 33, 8, 41, 21, 67, 72, 47, 119, 124, ?

14) 1/7, 3/4, 4/9, 5/6, 7/11, 7/8, ?

15) 7, 4, 6, 3, 4.5, 1.5, 2.25, -0.75, ?

1) 1,2,3,6,11,20,37,68,_____
(sum of previous two+ current face value Ans=20+37+68)

2)9,3,24,4,9,3,36,6,9,3,30,____
(pattern is x*3,x*6 Ans=5)

3)44,4.4,.88,.264,0.1056,____
(x*.1,x*.2,x*.3.....Ans=0.5*0.1056)
4)38,36,76,35,114,34,____
(Ans=38*4)

5)-12,6,-15,-5,28,-14,9,3,-18,____
(Ans=9)

6)5,1,2,8,8,1,0,9,9,2,3,______
(Ans=14)

7)56,89,33,21,57,88,35,19,60,85,30,____
(Ans=24)

8)3,4.5,7,4,6,5.5,5,7.5,10,6,______
(Ans=9.0)

9)7,-35,-34,-3,15,16,4,________
(Ans=-20)

10)11,8,17,14,23,24,31,32,______
(Ans=43)

11)1.8,3,0.6,2.5,5,0.5,3.4,2,1.7,____
(Ans=4.5)

12)1,2,3,611,20,37,68,________
(This question got repeated for me twice same as 1)

13)9,3,6,21,9,12,33,15,________
(Ans= 33-15)

14)-16,-8,4,24,12,-6,-40,_______
(Ans=-20)

15)4.2,26.0,8.9,8.4,52.0,17.8,16.8,104.0,_______
(Ans=17.8*2)

16)340,680,1428,3141.6,________

17)7,-14,-4,15,-30,-20,-21

1)8,0.5,16,4,15,0.3,50,4.5,6,0.2,30,?

2)9,4,16,6,36,21,441,? 
Ans:421

3)4,2,5,9,5,11,13,7,16,17,9,?

4)33,8,41,46,21,67,72,47,119,124,?

5)3,2,1,4,5,4,1,0,6,3,?

6)30.5,31,30,0,67.2,67,70,100,183.9?

7)48,24,35,7,16,8,75,15,80,40,?

8)1.8,3,0,6,2.5,5,0.5,3.4,2,1.7,4.8,6,? 
Ans=0.8

9)1370,1320,1070,-180,?


Some of additional questions asked in previous interviews:


-> 9,3,24,4,9,3,36,6,9,3,30,?
-> 52,62,42,78,89,68,49,61,39,63,76,?
-> -16,-8,4,24,12,-6,-40,?
-> 49,6,25,4,36,5,81,5,?
-> 9,3,6,21,9,12,33,15,18,?
-> 12,3,15,14,6,19,9,23,18,12,?
-> -15,-14,34,32,-42,-39,58,54,-61,?
-> 38,36,76,35,114,34,?
-> 30.5,31,30,0,67.2,67,70,100,183.9,?
-> 11,8,17,14,23,24,31,32,?
-> 10,12,-36,-7,-5,15,19,21,?
-> 44,4.4,0.88,0.264,0.1056,?
-> 11.5,17.5,35.5,89.5,?
-> 2,3,10,15,26,35,50,?
-> 1/3,1/2,1/4,2 1/3,3 1/2, 4 1/4, 4 1/3, 6 1/2,?
-> 1.25,3,7.1,1.5,1,8.1,1.75,-1,9.1,0.75,2. 00
-> 5,1,2,8,1,0,9,2,3,14,1.3,2,?


IBM Written Test Questions

IBM Written Test Questions

1)A printer started its work at 8.15 a.m and ended its work at 9.20 p.m. It was interrupted twice
for the time duration of 42 min. It can print 100 instructions per hour. Approximate how many
instructions it can print?

ANS:
-------
Time duration from 8.15 am to 9.20 pm = 13 hours 5 min = 785 minutes
stoppage for 2*42 min= 84 min
effective running time = 701 min
in 60 min 100 instructions are printed
in 1 min = 100/60 instructions
in 701 min , we have 701*100/ 60 = 1168.33 instructions


2)Printer A prints 8192 character per min and printer B prints 13862 character per min four
character are equal to one word. Printer A starts at 7:15 am while Printer B starts at 7:29 am then
at what time both will have same no of words printed .

ANS:
-------
"four character are equal to one word"
8192/4*(t+14)=13862/4*t
8192*(t+14)=13862*t yields the same result
t=20.2272 minutes = about 20 min 14 sec
7:49:14 am

3)two glasses were filled with 1/3 and 1/4 milk. they were filled with water &then mixed in
tumbler. what is the percentage of milk in the resultant.

ANS:
-------
total milk =1/3 + 1/4 =7/12
total water = 2/3 + 3/4 = 17/12
total vol = 2
so % of milk =(7/12/2)*100=175/6

4)Some people are standing square. From them 32 are removed and then form a small square and
then 8 more removed. now we cannot form the square. so how many people are there at the
beginning?

ANS:
------
ans is 81
initial 81 form square and removing 32 gives 49(7*7) which also give square.
removing 8 results in 41 which is not perfect square

5)A COMPANY BOUGHT TWICE AS MANY SMALL ENVELOPES AS LARGE
ENVELOPES .IT USED UP TO 1/13 OF THE SMALL ENVELOPES AND 5/6 OF THE
LARGE ENVELOPES. WHAT FRACTION OF THE TOTAL NUMBER WAS LEFT
UNUSED?

ANS:
------
Let small envelopes bought=2 x
Large envelopes bought=x
Total No. of envelopes bought=x+2 x=3 x
Small envelope unused=(12/13)*2 x=24 x/13
Large envelope unused=(1/6)=x/6
Total envelope unused=(24 x/13)+(x/6)=157 x/78
Fraction of the total envelope unused=(157 x/78)/3 x=157/234

6)A printer begins printing forms at 9.33 AM,at the rate of 66 forms per minute ,another printer
begins at 9.50 AM ,printing 77 forms per minute .At what time will the two printers have printed
the same number of forms?

ANS:
------
66*60/t = 77 *60/t+17
6 t+102=7 t
t = 102 i.e 1 hr 42 min
ans is 11:20 Am

7)A printer can print 17000 billing statements in an hour .one day,the printer began printing at
1.26 am,the printing was interrupted twice.fr 50 mins each time .the job was finished at 6.06 pm. hw
many statements did the printer printer?

ANS:
-------
1:26-6.06= 16.80 hrs. = 1040 minutes
Printer was interrupted twice for 2 minutes
there for 50*2=100 minutes
printed worked for 1040-100 = 940 minutes.
60 minutes----------17000 statements
1 minute--------------17000/60
940 minutes-------- 17000 x 940/60 = 266,333 statements per minute

8)in a grass field, If there are 40 cows, they could eat for 40 days. If there are 30 cows, they
could eat for 60 days. Than if 20 cows, How much day they could eat?

ANS:
------
40 COWS TAKE 40 DAYS
AND 30 COWS TAKE 60 DAYS
ITS OBVIOUS THAT 10 COWS LESS 20 DAYS MORE
SO 20 COWS WILL TAKE 80 DAYS

9)4 thieves enter a bakery and stoled bread one after the other.Each one took half of the total
number of breads+half a loaf.If 3 breads were remaining what is the total number of breads.
10)A person has Rs 100/- in his pocket, he can as 25 pencils or 15 books. He kept 15% of the
money for travelling expenses and purchased 5 pencils.So how many books he can purchase with
the remaining money.

ANS:
------
10 books+ 5 rs remaining

11)There are 20,6 and 9 rupees notes. you have to form 99 rupees with minimum number of
notes.At what minimum number of notes you can achieve this?

ANS:
------
20*3 = 60
6*2 = 12
9*2 = 18
9*1 = 9
--- ---
8 99
--- ---
8 notes

12)In a square , all the mid points are joined. the inner square is shaded. If the area of the square
is A, what is the shaded area?

ANS:
-------
A/2

13)In a soap company,a soap is manufactured with 11 parts.....for making one soap,u will get one
part as a scrap...at the end of the day,u have 251 such scraps....from that ,how many soaps can be
manufactured?

ANS:
--------
25 scraps.
when we 251/11 we get quo=22(i) rem=9.
1 soap = 11 parts we get 1 scrap.
from 22 soaps we get 22 scraps.
22+9 =31 scraps => 2 soaps(ii)+2 scraps +9 scraps
2 scraps + 9 scraps = 11 scraps = 1 soap(iii).
Total = 22+2+1=25 soaps.

14)A Bacteria is doubling at every 4 min. After 40 min 1024 bacteria. At what time there will be 256
bacteria?

ANS:
-------
Calculating backwards...
40 min - 1024
36 min - 512
32 min - 256

15)A letter has to be printed as 100 lines with 50 character per line,if the printer can print 40
character per line,how many lines it will take?

ANS:
100 lines with 50 character per line, thus total number of characters to be printed= 100*50=5000;
Now, if the printer is printing 40 characters per line, total number of lines required= 5000/40=125
lines

16)In a bus left side there are 19 seats available,2 fewer seats in right side,two people can sit in a
seat,last seat capacity is 5,then how many people can sit in the bus?

ANS:
77 people...
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1 1

17)A thing cost $500,the amount is decreased by 20%,then how much less must be paid?

ANS:
100$
Price after 20% decrease=500-(500*20/100)=400
Amount less to be paid=500-400=100

18)In a software company 2/6 of people know C++,1/2 of them know java,1/5 of them know
neither,find the total possibility to know C++?

19)The printed price on a book is 400, a bookseller offers a 10% discount on it. If he still earns a
profit of 12&, the CP of the book is
a) 280
b) 352
c) 360
d) 300

20) What sum of money will accumulate to Rs.5300 at 8% rate of interest in 9 months?

a)5000
b)5400
c)4500
d)4000

21) If 19 and 1140 are the respective HCF and LCM of two numbers, which are greater than 19
then what will be the possible number of such pair?

22)IN a lawn,grass grows equally thick and uniform rate every day.It takes 24 days for 70 cows
to graze and 60 days for 30 cows.How many cows are required to graze lawn in 96 days.

23)FOR A POETRY CONCERT OF 30 MINS A POET TAKES 1 HOUR FOR WRITING THE
POEM AND 6 HOURS TO REHEARSAL.HOW MUCH TIME WILL TAKE THE POET FOR
90 HOUR CONCERT?

24)company A rented a truck $1000 per month. company B purchased the same type of truck for
$35000.in addition company B paid $120 monthly maintenance charges.what is relative cost to
the competing company for this type of truck after 6 years of operation

25)a printer begin printing at 7:54 am,at the rate of 104 forms per min. another printer begin at
8:20 am. printing 117 forms per min. at what time will the two printer have printed the same
number of forms

ANS:
first printer starts at 7.54
2nd printer starts at 8.20
difference is 26 mins
during this 26 mins first printer prints (26*104) = 2704 forms
take the time as 'x' in which both printer prints same no of forms.
so...
117*x = 2704+(104*x)
13 x = 2704
x = 208 mins
which is 3 hrs 28 mins...
so 8.20 + 2.28 = 11.44 am

26)in a library there are 5 computer cluster open for public use.each computer cluster consist 33
laptop.in first week 75 laptop are used.in second week 155 laptop used ,in third week 30 laptop
and in fourth week 160 laptop used.what fraction of library computer are in used in month?

a)3/5
b)2/7
c)2/3
d)1/14
e)1/4

27)a container of production line solvent is mixed at 22% strength and another is mixed at 53%
strength.to obtain 12 liter of a mixture that is 25% strength,how many liter should be used from
the container that is mixed at 53% strength?
a)4 liters
b)1 5/31 liters
c)2 16/25 liters
d)5 35/53 liters
e)4/59

28)a company decided to install a fountain within it main entrance lobby.if fountain is to be 148
cm wide 297 long and 91 cm deep,how much water would be required to feel the fountain to a
depth of 69 cm?(1 liter=1000 cubic centimeters)
a)4000
b)5140
c)967
d)5360
e)3033

29) In a certain company 20% of the men and 40% of the women
attended the annual company picnic.If 35% of all the employees
are men .What % of all the employee went to the picnic?

30) A company installed 36 punching machines at the beginning of
the year.In the spring they installed 9 additional m/c's
and the
(Ans is 9)check

31) company has offices in 2 buildings.53% of the copying machines in the 1st building and 48%
of the copying machines in the 2nd building received preventive maintenance last month. if 42%
of the company copying machines are in the 1st building then what % of all the copying
machines received preventive maintenance last month?
32)Two solutions of 90% and 97% purity are mixed resulting in 21 liters of mixture of 94%
purity. How much is the quantity of the first solution in the resulting mixture?
33)8 chairs are numbered from 1 to 8. Two women first choose two chairs from those marked 1
to 4 and 3 men selects 3 chairs from the remaining. Find the number of possible arrangements
34)A thermal chimney of circular cross section has outer and inner radii of 3 m and 2 m
respectively. Find the cost of cement finishing for the inner and outer surface at Rs 20 per
sq.meter, if the height of the chimney is 56 m.
35)A set of 7 pens, 9 erasers and 11 sharpeners costs Rs 79 and 2 pens, 5 erasers and 8
sharpeners cost Rs 42. Find the total cost of one sharpeners, one eraser and one pen.
36)A father of 6 children takes 2 of his children at a time to a circus as often as he can, without
taking the same pair of children together more than once. How many times does the father go to
the circus?

37)A person can buy 50 cds with $135 and 15 dvds with $100 Nikita has a budget of $1680 for
cds & budget of $150 for dvds
How many cds & dvds in total can she buy?

38)A women uses 150 clips to pin 20 pages. How many clips will be required to pin 230 pages??

39)A jar contains 2 red, 3 blue, and 4 green marbles. Niki draws one marble from the jar, and
then Tom draws a marble. What is the probability that Niki will draw a green marble and Tom
will draw a blue marble?

40)There are 9 Popsicle: 3 orange, 3 cherry, 3 grape. There are 4 children. What is the
probability that all 4 children will get the flavor of their choice?

41)Three people each toss a penny at the same time. What is the probability that two people get
the same side of the penny and the other person gets the opposite side?

IBM Interview Questions Verbal

IBM Interview Questions Verbal

Q. Which is in the correct sense??

(A)This child, who was misdiagnosed, thrive by spirit.
(B)This child, who was misdiagnosed, thrives by spirit.
(C)This child, who was misdiagnosed, thrived by spirit.

ANS: B


Q. What does sexist language means?

(A)Language indicating towards woman
(B)Information conveyed as being a male
(C)language indicating difference between man and woman

ANS: C

Q. It is considered a breach of etiquette ta have documents signed by administrative assistant 
TRUE Or FALSE??

ANS: False

Q. Sign by blue ink is authentic if done by blue ink TRUE or FALSE

 ANS: TRUE

Q. Introduction should be added
(A) before brainstorm
(B) same time of body of letter
(C) at end of letter

ANS: C

Q."E closure(3)" means the letter with 3 other documents.(True Or False)

ANS: FALSE

Q. What is the error in the sentence?

"She is a good babysitter. Qualified,professional and fun."

(A)Dangling Modifier
(B)Run-on Sentence
....
ANS: A

Q. Which is the correct way to end a business letter?
(A)Regards
(B)Sincerely
(C)Respectfully
(D)Both B and C

ANS: A

Q. Which is the correct use of pronoun ??

(a) Each executive
(b) Few Of the executive
(c) One Of the Executive
(d) All Of the above

ANS: A

Q. Which is correct?

(a) Dear President Smith;
(b) Dear Mr Smith;
(c) Dear Mr Smith:

ANS: C

Q.In formal document prepared for meeting should contain
1. Purpose of document 
2. User expection from the document
3. Brief details n content about document 
4. All of these

ANS: 3

Q.In formal email personal introduction should be done.

1. After the body of letter 
2. Within body of letter 
3. At the start of body of letter

ANS: 3

Q.In formal letter for better understanding 
1. Repeat ideas with picture and all
2. repeat important ideas
3. Refrain from repeating ideas
4. One and two

ANS: 3

Q.In email we use gender-neutral language then what is sexist language ???

Q. Correct form of English: 
a) Samuel was with Susan and I
b) Samuel was with Susan and me
c) Samuel was with I and Susan
d) Samuel was with me and Susan
e) None of these

ANS: B

Q.Find the active voice sentence below...

1)The car has driven by him
2)He cleaned the car
3)It will be more complex algorithm

ANS: 2

Q.The short form of mail to write regarding changing lunch hours,Which of the following options the form contains?

1)Specific details
2)Context and problem
3)Regarding lunch hours
4)1&3
5)all the above

ANS: 3

Q)The co achy my best friend play with me everyday. Write the sentence using comma at appropriate position

Q)Is that emotions used in formal emails ?? True/ false

.Net Framework Interview Questions

1. What is .NET Framework?

.NET Framework is a complete environment that allows developers to develop, run, and deploy the following applications:

  • Console applications
  • Windows Forms applications
  • Windows Presentation Foundation (WPF) applications
  • Web applications (ASP.NET applications)
  • Web services
  • Windows services
  • Service-oriented applications using Windows Communication Foundation (WCF)
  • Workflow-enabled applications using Windows Workflow Foundation (WF)

.NET Framework also enables a developer to create sharable components to be used in distributed computing architecture. NET Framework supports the object-oriented programming model for multiple languages, such as Visual Basic, Visual C#, and Visual C++. .NET Framework supports multiple programming languages in a manner that allows language interoperability. This implies that each language can use the code written in some other language.

2. What are the main components of .NET Framework?

.NET Framework provides enormous advantages to software developers in comparison to the advantages provided by other platforms. Microsoft has united various modern as well as existing technologies of software development in .NET Framework. These technologies are used by developers to develop highly efficient applications for modern as well as future business needs. The following are the key components of .NET Framework:


  • .NET Framework Class Library
  • Common Language Runtime
  • Dynamic Language Runtimes (DLR)
  • Application Domains
  • Runtime Host
  • Common Type System
  • Metadata and Self-Describing Components
  • Cross-Language Interoperability
  • .NET Framework Security
  • Profiling
  • Side-by-Side Execution

3. List the new features added in .NET Framework 4.0.

The following are the new features of .NET Framework 4.0:

  • Improved Application Compatibility and Deployment Support
  • Dynamic Language Runtime
  • Managed Extensibility Framework
  • Parallel Programming framework
  • Improved Security Model
  • Networking Improvements
  • Improved Core ASP.NET Services
  • Improvements in WPF 4
  • Improved Entity Framework (EF)
  • Integration between WCF and WF

4. What is an IL?

Intermediate Language is also known as MSIL (Microsoft Intermediate Language) or CIL (Common Intermediate Language). All .NET source code is compiled to IL. IL is then converted to machine code at the point where the software is installed, or at run-time by a Just-In-Time (JIT) compiler.

5. What is Manifest?

Assembly metadata is stored in Manifest. Manifest contains all the metadata needed to do the following things

  • Version of assembly.
  • Security identity.
  • Scope of the assembly.
  • Resolve references to resources and classes.

The assembly manifest can be stored in a PE file either (an .exe or) .dll with Microsoft
intermediate language (MSIL code with Microsoft intermediate language (MSIL) code or in a
stand-alone PE file, that contains only assembly manifest information.

6. What are code contracts?

Code contracts help you to express the code assumptions and statements stating the behavior of your code in a language-neutral way. The contracts are included in the form of pre-conditions, post-conditions and object-invariants. The contracts help you to improve-testing by enabling run-time checking, static contract verification, and documentation generation.

The System.Diagnostics.Contracts namespace contains static classes that are used to express contracts in your code.

7. Name the classes that are introduced in the System.Numerics namespace.

The following two new classes are introduced in the System.Numerics namespace:
BigInteger - Refers to a non-primitive integral type, which is used to hold a value of any size. It has no lower and upper limit, making it possible for you to perform arithmetic calculations with very large numbers, even with the numbers which cannot hold by double or long.
Complex - Represents complex numbers and enables different arithmetic operations with complex numbers. A number represented in the form a + bi, where a is the real part, and b is the imaginary part, is a complex number.

8. What is managed extensibility framework?

Managed extensibility framework (MEF) is a new library that is introduced as a part of .NET 4.0 and Silverlight 4. It helps in extending your application by providing greater reuse of applications and components. MEF provides a way for host application to consume external extensions without any configuration requirement.

9. Explain memory-mapped files.

Memory-mapped files (MMFs) allow you map the content of a file to the logical address of an application. These files enable the multiple processes running on the same machine to share data with each Other. The MemoryMappedFile.CreateFromFile() method is used to obtain a MemoryMappedFile object that represents a persisted memory-mapped file from a file on disk.

These files are included in the System.IO.MemoryMappedFiles namespace. This namespace contains four classes and three enumerations to help you access and secure your file mappings.

10. What is Common Type System (CTS)?

CTS is the component of CLR through which .NET Framework provides support for multiple languages because it contains a type system that is common across all the languages. Two CTS-compliant languages do not require type conversion when calling the code written in one language from within the code written in another language. CTS provide a base set of data types for all the languages supported by.NET Framework. This means that the size of integer and long variables is same across all .NET-compliant programming languages. However, each language uses aliases for the base data types provided by CTS. For example, CTS uses the data type system. int32 to represent a 4 byte integer value; however, Visual Basic uses the alias integer for the same; whereas, C# uses the alias int. This is done for the sake of clarity and simplicity.

11. Give a brief introduction on side-by-side execution. Can two applications, one using private assembly and the other using the shared assembly be stated as side-by-side executables?

Side-by-side execution enables you to run multiple versions of an application or component and CLR on the same computer at the same time. As versioning is applicable only to shared assemblies and not to private assemblies, two applications, one using a private assembly and other using a shared assembly, cannot be stated as side-by-side executables.

12. Which method do you use to enforce garbage collection in .NET?

The System.GC.Collect() method.

13. State the differences between the Dispose() and Finalize().

CLR uses the Dispose and Finalize methods to perform garbage collection of run-time objects of .NET applications.

The Finalize method is called automatically by the runtime. CLR has a garbage collector (GC), which periodically checks for objects in heap that are no longer referenced by any object or program. It calls the Finalize method to free the memory used by such objects. The Dispose method is called by the programmer. Dispose is another method to release the memory used by an object. The Dispose method needs to be explicitly called in code to dereference an object from the heap. The Dispose method can be invoked only by the classes that implement the IDisposable interface.

14. What is code access security (CAS)?

Code access security (CAS) is part of the .NET security model that prevents unauthorized access of resources and operations, and restricts the code to perform particular tasks.

15. Differentiate between managed and unmanaged code?

Managed code is the code that is executed directly by the CLR instead of the operating system. The code compiler first compiles the managed code to intermediate language (IL) code, also called as MSIL code. This code doesn't depend on machine configurations and can be executed on different machines.

Unmanaged code is the code that is executed directly by the operating system outside the CLR environment. It is directly compiled to native machine code which depends on the machine configuration.
In the managed code, since the execution of the code is governed by CLR, the runtime provides different services, such as garbage collection, type checking, exception handling, and security support. These services help provide uniformity in platform and language-independent behavior of managed code applications. In the unmanaged code, the allocation of memory, type safety, and security is required to be taken care of by the developer. If the unmanaged code is not properly handled, it may result in memory leak. Examples of unmanaged code are ActiveX components and Win32 APIs that execute beyond the scope of native CLR.

16. What are tuples?

Tuple is a fixed-size collection that can have elements of either same or different data types. Similar to arrays, a user must have to specify the size of a tuple at the time of declaration. Tuples are allowed to hold up from 1 to 8 elements and if there are more than 8 elements, then the 8th element can be defined as another tuple. Tuples can be specified as parameter or return type of a method.

17. How can you turn-on and turn-off CAS?

  • YOU can use the Code Access Security Tool (Caspol.exe) to turn security on and off.
  • To turn off security, type the following command at the command prompt: caspol -security off 
  • To turn on security, type the following command at the command prompt: caspol -security on 
  • In the .NET Framework 4.0, for using Caspol.exe, you first need to set the <LegacyCasPolicy> element to true.


18. What is garbage collection? Explain the difference between garbage collections in .NET 4.0 and earlier versions.

Garbage collection prevents memory leaks during execution of programs. Garbage collector is a low-priority process that manages the allocation and deallocation of memory for your application. It checks for the unreferenced variables and objects. If GC finds any object that is no longer used by the application, it frees up the memory from that object.

GC has changed a bit with the introduction of .NET 4.0. In .NET 4.0, the GC.Collect() method contains the following overloaded methods:

  • GC.Collect(int)
  • GC.Collect(int, GCCollectionMode)

Another new feature introduced in .NET is to notify you when the GC.Collect() method is invoked and completed successfully by using different methods. The .NET 4.0 supports a new background garbage collection that replaces the concurrent garbage collection used in earlier versions. This concurrent GC allocates memory while running and uses current segment (which is 16 MB on a workstation) for that. After that, all threads are suspended. In case of background GC, a separate ephemeral GC - gen0 and gen1 can be started, while the full GC - gen0, 1, and 2 - is already running.

19. How does CAS works?

There are two key concepts of CAS security policy- code groups and permissions. A code group contains assemblies in it in a manner that each .NET assembly is related to a particular code group and some permissions are granted to each code group. For example, using the default security policy, a control downloaded from a Web site belongs to the Zone, Internet code group, which adheres to the permissions defined by the named permission set. (Normally, the named permission set represents a very restrictive range of permissions.)

Assembly execution involves the following steps:


  • Evidences are gathered about assembly.
  • Depending on the gathered evidences, the assembly is assigned to a code group.
  • Security rights are allocated to the assembly, depending on the code group.
  • Assembly runs as per the rights assigned to it.


20. What is Difference between NameSpace and Assembly?

Following are the differences between namespace and assembly:

  • Assembly is physical grouping of logical units, Namespace, logically groups classes.
  • Namespace can span multiple assembly.

21. Mention the execution process for managed code.

A piece of managed code is executed as follows:

  • Choosing a language compiler
  • Compiling the code to MSIL
  • Compiling MSIL to native code
  • Executing the code.

22. Is there a way to suppress the finalize process inside the garbage collector forcibly in .NET?

Use the GC.SuppressFinalize() method to suppress the finalize process inside the garbage collector forcibly in .NET.

23. How can you instantiate a tuple?

The following are two ways to instantiate a tuple:

Using the new operator. For example,
Tuple<String, int> t = new Tuple<String, int> ("Hellow", 2);
Using the Create factory method available in the Tuple class. For example,
Tuple<int, int, int> t = Tuple.Create<int, int, int> (2, 4, 5);
24. Which is the root namespace for fundamental types in .NET Framework?

System.Object is the root namespace for fundamental types in .NET Framework.

25. What are the improvements made in CAS in .NET 4.0?

The CAS mechanism in .NET is used to control and configure the ability of managed code. Earlier, as this policy was applicable for only native applications, the security guarantee was limited. Therefore, developers used to look for alternating solutions, such as operating system-level solutions. This problem was solved in .NET Framework 4 by turning off the machine-wide security. The shared and hosted Web applications can now run more securely. The security policy in .NET Framework 4 has been simplified using the transparency model. This model allows you to run the Web applications without concerning about the CAS policies.

As a result of security policy changes in .NET Framework 4.0, you may encounter compilation warnings and runtime exceptions, if your try to use the obsolete CAS policy types and members either implicitly or explicitly. However, you can avoid the warnings and errors by using the <NetFx40_LegacySecurityPolicy> configuration element in the runtime settings schema to opt into the obsolete CAS policy behavior.

26. What is Microsoft Intermediate Language (MSIL)?

The .NET Framework is shipped with compilers of all .NET programming languages to develop programs. There are separate compilers for the Visual Basic, C#, and Visual C++ programming languages in .NET Framework. Each .NET compiler produces an intermediate code after compiling the source code. The intermediate code is common for all languages and is understandable only to .NET environment. This intermediate code is known as MSIL.

27. What is lazy initialization?

Lazy initialization is a process by which an object is not initialized until it is first called in your code. The .NET 4.0 introduces a new wrapper class, System.Lazy<T>, for executing the lazy initialization in your application. Lazy initialization helps you to reduce the wastage of resources and memory requirements to improve performance. It also supports thread-safety.

28. How many types of generations are there in a garbage collector?

Memory management in the CLR is divided into three generations that are build up by grouping memory segments. Generations enhance the garbage collection performance. The following are the three types of generations found in a garbage collector:

  • Generation 0 - When an object is initialized, it is said to be in generation 0.
  • Generation 1 - The objects that are under garbage collection process are considered to be in generation 1.
  • Generation 2 - Whenever new objects are created and added to the memory, they are added to generation 0 and the old objects in generation 1 are considered to be in generation 2.


29. Explain covariance and contra-variance in .NET Framework 4.0. Give an example for each.

In .NET 4.0, the CLR supports covariance and contravariance of types in generic interfaces and delegates. Covariance enables you to cast a generic type to its base types, that is, you can assign a instance of type IEnumerable<Tl> to a variable of type IEnumerable<T2> where, T1 derives from T2. For example,

IEnumerable<string> str1= new List<string> ();
IEnumerable<object> str2= str1;

Contravariance allows you to assign a variable of Action<base> to a variable of type Action<derived>. For example,
IComparer<object> obj1 = GetComparer()
IComparer<string> obj2 = obj1;

.NET framework 4.0 uses some language keywords (out and in) to annotate covariance and contra-variance. Out is used for covariance, while in is used for contra-variance.

Variance can be applied only to reference types, generic interfaces, and generic delegates. These cannot be applied to value types and generic types.

30. How do you instantiate a complex number?

The following are the different ways to assign a value to a complex number:

By passing two Double values to its constructor. The first value represents the real, and the second value represents imaginary part of a complex number.
For example,
Complex c1 = new Complex(5, 8); /* It represents (5, 8) */

By assigning a Byte, SByte, Intl6, UIntl6, Int32, UInt32, Int64, UInt64, Single, or Double value to a Complex object. The assigned value represents the real part of the complex number, and its imaginary part becomes 0. For example,
Complex c2 = 15.3; /* It represents (15.3, 0) */

By casting a Decimal or BigInteger value to a Complex object.
For example,
Complex c3 = (Complex) 14.7; /* It represents (14.7, 0) */

Assigning the value returned by an operator to a Complex variable.
For example,
Complex c4 = c1 + c2; /* It represents (20.3, 8) */

31. What is Common Language Specification (CLS)?

CLS is a set of basic rules, which must be followed by each .NET language to be a .NET- compliant language. It enables interoperability between two .NET-compliant languages. CLS is a subset of CTS; therefore, the languages supported by CLS can use each other's class libraries similar to their own. Application programming interfaces (APIs), which are designed by following the rules defined in CLS can be used by all .NET-compliant languages.

32. What is the role of the JIT compiler in .NET Framework?

The JIT compiler is an important element of CLR, which loads MSIL on target machines for execution. The MSIL is stored in .NET assemblies after the developer has compiled the code written in any .NET-compliant programming language, such as Visual Basic and C#.

JIT compiler translates the MSIL code of an assembly and uses the CPU architecture of the target machine to execute a .NET application. It also stores the resulting native code so that it is accessible for subsequent calls. If a code executing on a target machine calls a non-native method, the JIT compiler converts the MSIL of that method into native code. JIT compiler also enforces type-safety in runtime environment of .NET Framework. It checks for the values that are passed to parameters of any method.

For example, the JIT compiler detects any event, if a user tries to assign a 32-bit value to a parameter that can only accept 8-bit value.

33. What is difference between System.String and System.StringBuilder classes?

String and StringBuilder classes are used to store string values but the difference in them is that String is immutable (read only) by nature, because a value once assigned to a String object cannot be changed after its creation. When the value in the String object is modified, a new object is created, in memory, with a new value assigned to the String object. On the other hand, the StringBuilder class is mutable, as it occupies the same space even if you change the value. The StringBuilder class is more efficient where you have to perform a large amount of string manipulation.

34. Describe the roles of CLR in .NET Framework.

CLR provides an environment to execute .NET applications on target machines. CLR is also a common runtime environment for all .NET code irrespective of their programming language, as the compilers of respective language in .NET Framework convert every source code into a common language known as MSIL or IL (Intermediate Language).

CLR also provides various services to execute processes, such as memory management service and security services. CLR performs various tasks to manage the execution process of .NET applications.

The responsibilities of CLR are listed as follows:

  • Automatic memory management
  • Garbage Collection
  • Code Access Security
  • Code verification
  • JIT compilation of .NET code


35. What is the difference between int and int32.

There is no difference between int and int32. System.Int32 is a .NET Class and int is an alias name for System.Int32.

About Technical Interview

TECHNICAL INTERVIEWS

What is a Technical Interview?
A technical interview consists of a series of questions designed to test your quantitative
knowledge in your major such as programming, algorithms, data structures, circuits, operating
systems, etc. and your ability to solve problems.

Types of Technical Interviews
There are two types of technical interviews:

  • The first type of technical interview is to determine how well you know advanced technology, software processing, special algorithms, etc. and looks at your broad set of technical skills.
  • The second type of interview addresses your problem solving skills. The interviewer is looking at your approach to the problem and how you think through to find a solution (not necessarily the most optimal solution).

Goal of the Technical Interview
To demonstrate to the recruiter what you have learned and how you solve technical problems
in your field.

Should Students Expect a Technical Interview?
Students in engineering and technical majors, applying for technical positions, should expect
to have technical interviews. A combination of behavioral and technical questions are more
common during campus interviews while more technical interview questions are definitely part
of second interviews or site interviews.

How to Prepare for a Technical Interview

  •  Review the job description to know what kind of position you are interviewing for (software, hardware, testing, operating systems, circuits, etc.)
  •  Review old notes from classes relating to the position you are interviewing for. You do not have to be an expert, just be familiar with it enough to answer questions and show that this is something you know about. For example, if you are interviewing for a C
  • programming position, know C backward and forward.
  • Study and practice answering (out loud), the standard interview questions and as many variations of them as possible.
  • Be very familiar with your projects, prior technical experiences and coursework.
  • Review books, labs and notes from
  • 213-Intro to Computer Systems (Very important)
  • 211-Intro to Data Structures and Algorithms
  • Career
  • Success Guide
  • University Center-Lower Level, Pittsburgh, PA 15213 (412) 268-2064
  • Research the company and try to put yourself in their role/position. Imagine what technical questions will help them gauge your level of understanding.
  • If possible, find out who you are interviewing with and their position. Sometimes the questions they ask are problems they run into every day.
  • Prepare questions to ask at the end of the interview. For a list of sample questions, see the Career Success Guide: Interviews:
  • Preparing in advance will increase your confidence during the interview.

What to Expect During a Technical Interview

  • The first technical interview can be tough as you may not know what to expect and have not experienced anything like it before.
  • Each interview will increase your knowledge and confidence for future interviews so you will continue to improve your interviewing skills.
  • You may be asked to remember things from classes that you taken a while ago.
  • You may need to come up with solutions to problems on the spot. For instance, one company asks harder and harder questions until you cannot answer the question and then moves on. Some of the questions are ones that the company has not yet solved!


Advice for Technical Interview Success (gathered from CIT students)

  • Prepare and practice for a variety of questions as most recruiters will ask a combination of behavioural type questions and technical questions.
  • Know the basics since many questions will not be specific in domain knowledge but will look at larger principles.
  • Prepare your responses to standard behavioural questions in advance as many companies will either ask the same or similar questions. This will be a huge advantage
  • and will allow you to remain confident, respond quickly, and will keep the interview moving onto the next question. This eliminates stopping and taking valuable time thinking through your answers to typical questions that could have been prepared in advance.
  • Describe any projects that you have worked on. It’s not enough to say that you have done the project but you have to be able to share the details of the project.
  • Enthusiasm and mastery of the project are very critical.
  • Show the interviewer that you know how to think through the problem or question by talking through the problem. Do not be afraid to pull out paper and draw diagrams and pictures of what you mean. If there is a white board, use it.
  • Recruiters really like to see how you communicate your ideas. Even if you do not know the answer to a problem, try to work through it. It is much better to try to solve a
  • problem than just give up. Ask the recruiter for some help and then try to figure it out on your own from there. Then, ask the recruiter how to solve the problem before moving on.
  • Be honest if you do not know how to solve a problem. Be confident but let the interviewer know you are stuck, because they will be able to tell if you are making things up.
  • Let the recruiter know what you know and be able to express it fluently.
  • Demonstrate the ability to think systematically (step by step). First, find the easiest solution, then gradually improve upon your solution.
  • Show enthusiasm and interest in the company and the job you are applying to.
  • Do not forget the usual interview requirements of dressing professionally, polishing your shoes, cleaning your fingernails, etc.

Final Words of Advice from a Student
“The Technical interview is not easy. Take each interview seriously and learn from each one.
Preparation is absolutely necessary. Having high grades in courses or having tons of
successful projects does not guarantee that you will do well in the interview. Practice makes
perfect!”