Wednesday 28 September 2011

Satyam Placement Paper Technical Paper Delhi, 2009

1.
1) 1. value of N and! K is100
2.N is divided by K and the integer part of the quotient is stored in I.


3. N is divided by K and the reminder is stored in K

4. I is multiplied by itself to get the new value of I

5. if the value of I and J are equal then N is printed

6. add 1 to N

7. if the value of N exceeds 999 then stop.

8. go to step 2

The result of the above logic is

a) 124, 248, 369 ….

b) 101 , 204, 309, …..
c) 111, 222, 333, …
d) none
ans. (b)


2)

1. Sony =0

2.jimmy =1


3.Add jimmy to sony to get new jimmy

4. add sony to jimmy to get new jimmy.

5. if jimmy is equal to 34 then stop

6. go to step 3

What is the value of Sony when the logic terminates.

a) 15 b) 18 c) 21 d) none
3) get the cost of the iteam (C)


1.get the no of iteams (N)

2.multiply N by C to get total cost (TC)

3.if Tc is above 10000 then discount (d)= 5%

4. if TC is less than 10000 but more then 5000 and C is above 85 then D=4.5 %

5. if Tc is less than 5000 and C>65 and N>50 then D=4%
What will be te discount if 40 iteams were purchased each costing Rs 58′

a)5% b) 4.5% c) 4% d)none


ans:d(check)


4) the average age of a class of 45 is 20 years. the age of the teacher is 30 years. the average age of the 45 peaple together is

1.j=z * l /* here * means multiplication*/

2.m=j+ 30

3.z= 20

4.r=m/(l+1)


5.l=45

the above logic represents the solution of the given problem. the correct sequence is

a)5-3-1-4-2
b)5-3-1-2-4
c)5-3-2-1-4
d)none
5)

1.k=10


2.add 1 to k to get the value of z

3.p= quotient of z divided by 10 and some statements are there.

8. Go to 2
the result of the above steps is

a)11,22,33,…..
b)21,32,33,..
c)12,23,24…
d)none


ans …(b)



6) A long flow chat
FN=10—–> k=10—–> divide FN by K and ……


…..

the number of values that are printed are

a) 9
b) 19
c) 29
d)none

ans (a)

7)

1. cost of iteam C= Rs 50

2. total cost TC= 0

3.number of iteams purchased =1

4.TC= TC+C

5. if the reminder of N divided by 5 is 0 then reduce Rs. 10 from C

6.increase the value of N by 1
using the above rule, how much money should one pay after buying 12 iteams


a)480 b) 510 c)540 d) none
9) flow chart

R=8 and J= 5 ———> print R——L= R+j

……….

the out put of the above logic is

ans …. (d) none

11)

1. let the value of FN be 1

2. let the value of A be 2

3.Let the new value of FN be FN multiplied by A and add 1 to it.

4.Write the value of FN

5.If the value written is more than 777 then stop

6.—————————

7.go to step 3 if the expected out put from the above logic is


3,10,41,206,1237,

then the statement in the line 6 should be

(a)let the value of A be A multiplied by A
(b) add A to A

(c)add 1 to A
(d) none
ans…….(c) add 1 to a
12) the following qualification are necessary for recruitment of a librarian the candidate must


1. have master degree in library science with at least 55% mark.

2.have one year specialization in IT

3.have at least 10 yrs experience in university In case the candidate

4.has 15 yrs experience in college ,the case may be referred to vice chancellor

5.has obtained less than 55% marks but has 13 yrs expr. in university ,the case may be to registrar

6.has PHD in library sc./documentation, the condition 1 may be waived.
Gopal brahma has been deputy librarian of SLC university since 1982 and has a master degree! in library sc. with 53 % . given the above rules and Gopal’s information,Gopal should be

(a)selected

(b) rejected
(C) referred to V-C
(d) none
13)

1.R=2

2.J=R*R-R

3.R=R+1

4.K=R*R-R


5.print K-J

6.let J=K

7.if R.8 then stop

8.go to 3
the result of the above logic is

(a) 4,9,16,25….
(b) 4,6,8,10….

(c) 4,4,4,4….

(d) none
14) flow chart is remainder of

N=66—->D=N/2—>N=D+1——> N/2=0 ——>stop

after how much iteration will the above logic terminate

(a)8 (b)6 (c)7 (d) none
15)

1.T=1

2.T1=T*1000

3.T2=T+1

4.T3=T2*100

5.T4=T2+1


6.T5=T4*10

7.T6=T4+1

8.T7=T1+T3+T6+T5

9.print T7

10.T=T+1

11.if T<8 then 2

12.stop
which of the following value will not printed by above logic


(a)6789 (b)7890 (c)7900 (d) none

ans (b) 7890

0 comments:

Post a Comment

INDIA ENOW

How do u rate my blog?

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More