Sat Yam Paper 6

Embed Size (px)

Citation preview

  • 8/7/2019 Sat Yam Paper 6

    1/11

    _______________________________________________________________________

    Message: 2Date: Fri, 01 Aug 2003 13:26:10 -0000From: "nagendra08"

    Subject: satyam papers

    SATYAM GE SOFTWARE SERVICES LIMITEDINSTRUCTIONS1. Please write your Name,College,HT no., Degree, Branch and questionbooklet no. on the answer sheet.2. The duration of the test is 60 min.3. The question paper contains 50 questions and all questions aremultiple choice.4. Every correct answer carries 2 marks.5. For every wrong answer mark are deducted.6. Avoid guessing.7. Donot write anything on the question paper. you will not beconsidered for selection if you do so.8. Put a `X' mark on the answer of your choice on the answer sheet.

    9. If you wish to change your answer put three horizontal lines onthe choice you have already marked .10. Use of any calculating device is prohibited.

    1.1.values of n and k is 100.2.n is divided by k and the integer part of the quotient isstored in i.3.n is divided by k and the remainder is stored in j.4.i is multiplied by itself to get the new value of i.5.if the values of j and I 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 2the result of the above logic isa. 124,248,369,?.B. 101,204,309,?c. 111,222,333,?d. none

    2.1. sony=02. jimmy =13. add jimmy to sony to get new sony4. add sony to jimmy to get new jimmy5. if jimmy is equal to 34 then stop

    6. goto 3What will be the value of sony when the logic terminatesa. 15b. 18c. 21d. none

  • 8/7/2019 Sat Yam Paper 6

    2/11

    3. go to step 3.0.get cost of the item (c )1.get number of items (n)2.multiply n by c to get total cost (tc)3if tc is above 10000 then discount (d)=5%4.if tc is less then 10000 but more than 5000 and c is above 85 thend=4.5%5.if tc is less than 5000 and c>65 and n >50then d=4%what will be the discount if 40 items were purchased each costingRs. 58a. 5%b. 4.5%c. 4%d. none

    5.1. k=02. add 1 to k to get the value of z3. p= quotient of z divided by 104. m= remainder of z divided by 105. if m=p-1 then print z

    6. add 1 to k7. if the value crosses 99then stop8. goto 2

    the result of the above steps is

    (a) 11,22,33,??. (b) 21,32,43,???(c)12,23,34,??.. (d) none

    6.

    THE NUMBER of valuesthat are printed area. 9b. 19c. 29d. none

    7.1. cost of item =RS 502. total cost (TC)=03. number of items purchased =14. TC=TC+C5. If the remainder of N divided by 5 is 0 then reduce Rs 10 from C6. Increase the value of n by 1.Using the above rule , how much money should one pay after buying 12itemsa. 480b. 510c. 540d. none

    8.every applicant takes three test .candidate is selected ifhe/she secures80% above in the aggregate and 75% and above inatleast two test . all test are evaluated to 100 marks.

    if the candidate scores 96,78,&68in the three testgoing by the above logic,his result will bea. rejectedb. selectedc.withheldd. none

    9.

  • 8/7/2019 Sat Yam Paper 6

    3/11

    the output of theabove logic isa. 8, 13, 21, 32, 47, 63b. 8, 13, 21, 34, 55, 89 ,?.C. 8,13, 34, 55 d. none

    10.if the numbers like 244, 514, 136,etc are to be printed from the above logic the ? should be replacedwitha. is j=l or j=l/2b. j+l=dc. is j+l+d=10d. none

    11.1. let fn=12. let a=23. let fn be fn multiplied by a and add 1 to it4. write the value of fn5. if the value written is more than 777 then stop6. -----------------------------------------------------------7. go to 3

    if the expected output from the above logic is 3, 10, 41, 206, 1237,then the statement in the line 6 should bea. let a=a*ab. a=a+ac.a=a+1d. none

    12.the result of the above logic isa. 6,8,14,b. 6 , 12, 20 , 30,c. 6, 12, 18, 24,d.none

    13. the following qualifications are necessary for the recruitment ofthe librarian. The candidate must1. have masters degree in library science with atleast 55% marks2. have one year specialization in information technology3. have atleast 10 yrs experience in universityin case the candidate has4. 15 yrs experience in college ,the case may be reffered to vicechancellor5. has obtained less then 55% but has 13 yrs experience inuniversity, the case may be referred to registrar.6. Has Ph.D in library science/Documentation the condition (1) may bewaived.Gopal Brahma has been Deputy Librarian of SLC University since 1982and has a masters degree in library science with 53% marks. Given theabove rules the gopals information, gopal should bea. selectedb. rejectedc. referred to VC

    d. none

    14. the following rules are applied for the appointment in a company

    Sruti's father Vijay works in a company. She secured 72%marks in her 12 th class and holds post graduate qualification inInformation systems. She was born on 15th march 1975. Given thisdata, the deposit to be paid by her to get employment in the company

  • 8/7/2019 Sat Yam Paper 6

    4/11

    isa. 10000b. 20000c. in adequate datad. none

    15.1. r =22. j=R*R-R3. R=R+14. K=R*R-R5. Print K-J6. Let J=K7. If R>8 then stop8. Goto 3The result of the above logic isa. 4, 9, 16, 25, b. 4, 6, 8, 10 c. 4,4 ,4,,4 d.none

    16.after how much iterations will the above logic terminate?

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

    17.1. t=12. T1=T*10003. T2=T+14. T3=T2*1005. T4=T2+16. T5=T4*107. T6=T4+18. T7=T1+T3+T5+T69. PRINT T710. T=T+111. IF T8b. is J=8c.is J>10d. none

    19.

    Howmany calls can one make for Rs 50 using above logica. 200b. 175c. 180d. none

    20.

    If the path taken is no by securing how many marks can the yes path

  • 8/7/2019 Sat Yam Paper 6

    5/11

    be taken?

    a. 21b. 29c. 40d. none

    21.

    For what value of N will the above logic produce the result 1, 3, 6,10, 15a. 10b. 4c. 5d. none

    22.

    which equation represents the above logica. 4x+4yb. 8x+4yc. 4x+8yd. none

    23. identify the correct sequence1. M stands for multiplication2. S stands for substraction3. A stands for addition4. B stands for brackets5. D stands for divison6. O stands for ofa. 4-5-6-1-2-3b.4-6-5-1-2-3c. 4-6-5-1-3-2d.none

    24.For what value of N will the logic print 88a. 18b. 17c. 42d.nonea. 5b. 10c.7d. none

    25. a person distributes the pens among four friends in the ratio1/3:1/4:1/5:1/61. LCM of 3, 4, 5, and 6 is 602. Ratio is 20:15:12:103. The sum is 57The above logic givesa. maximum number of pens the person should haveb.maximum he should havec. the highest number of pens givend.none

    26.

    1. let the value of N be 102. divide N by 10 to give quotient (q) &reminder3. diff=r-q4. if diff=1 then 65. go to 76. display the value of n7. add 1 to n8. if n is less than 100 then go to step 2the above logic will producea. 11,12, 13, 14b.12, 23, 34c. 21, 32,

  • 8/7/2019 Sat Yam Paper 6

    6/11

    43, 54,d. none

    27.For what value of a,b,c, we will get the output as perfecta. 12, 30, 4b. 36, 45, 25c. 20,80, 15d. none

    28.

    For what value of nod will the above logic print 1, 1, 3a. 383b. 375c. 368 d.none

    29.a man has Rs 128 in currency of one , five, ten rupeedenominations. If he has the equal no. of denominations ,the totalnumber of notes he will have isa. 24b. 36 c. 16d. none

    30.when a is divided by b, it is required to round off the result to

    nearest integer,the logic is given below give the correct sequence1. divide a by b giving c2. substract int (a/b) from c and store the result in d.3. if reminder (a/b) is =0 then stop4. print int(a/b)5. if d>.49 increase the value of integer(a/b)by1.a. 1, 3, 2, 5, 4b. 1, 3, 2, 4, 5c.1,2 ,3, 5, 4d. none

    31.a cistern is filled in 9 hrs and it takes 10 hrs when there isleak in the bottom.if the cistern is full.in what time will it becomeemptya. 90 hrsb. 94hrsc. 92 hrsd. none

    32.the cost of printing a book is Rs 500.every additional copy thatis printed reduces the copy by Rs 5 if more than 40 copies areprintrd the cost further falls by Rs12 .the book is to be sold at Rs285. The logic is given below

    cost price=500number of books =1do the following while cp>285if nb

  • 8/7/2019 Sat Yam Paper 6

    7/11

    33.

    If a distributes gifts using the above rules, starting Sunday asday1 , when will he be left with no giftsa. Tuesday, 10th dayb. Wednesday, 11th dayc.Saturday, 14th dayd. none

    4. the average age of a class of 45 is 20 years.the age of theteacher is 30 years. The average age of the 46 people is together is.1. j =z x l2. m = j+303. z =204. r =m/(l+1)5. l =45the average logic represents the solution for the given problem. Thecorrect sequence isa. 5-3-1-4-2b. 5-3-1-2-4c. 5-3-2-1-4d. none

    34. when madan said that he was born on 31-9-83, everybody loughed.The logical sequence of steps involved in reducing madan'sstatements are given below1. if the day of birth is greater than y (month of birth ) then wrong2. 2. since 1983 is not a leap year February has 28 days3. store 31,28,31,?..,31 in an array y (12)4. month of birth is not less than 1 and not greater than 12,therefore month of birth is vailidthe right sequence of steps isa.3-1-4-2b.3-2-4-1c. 3-2-1-4d. none

    35. the logic to convert a 3 digit number to words is given, ex 123should be written as one two three1.accept the number n2.if n999 go to step 13. split n into hundreds (h), tens(t), and units(u)4.store words zero,one,two,?in arrayw(10)5.print w (h),w(t),w(u)6.stop

    the above logic isa.incompleteb.completec.complete but inefficientd.none

    36.given a no. which is more than 99 but less than 1000,the logical

    sequence of steps to say how many hundreds,tensand units are therein the given no. is given below.identify the logical order.

    1. get the no. n2. write the quotient and the words "tens".3. write the remainder and the words"units".4. write the quotient and the words"hundreds".5. divide the no. n by 100 and get the quotient and the remainder.6. divide the remainder by 10 giving the quotient and remainder.

  • 8/7/2019 Sat Yam Paper 6

    8/11

    a.1,5,6,2,3,4b.1,5,4,3,2,6c.1,5,4,6,2,3d.none

    37. step1. no. of toffees in hand( tih)=22.no. of picks(nop)=13.multiply tih by 24.add 1 to nop.5.if nop is less than 4 then step 36.print tih7.stop

    the value of tih at the end of execution of logic isa.16b.24c.30d.none

    38.The output from the above isa.1,2,4,8,16,8,4,2,1,b.1,2,4,8,16,32,32,16,8,4,2,1,c.1,2,4,8,16,32,64,32,16,8,4,2,1d.none

    39.If the values printed are 1,27,125,343 and 729, the value of p isa.1b.2c3d.none

    40.1.accept a,b, c,d.2.if a999 then 1.3. if b999 then 14.if c99 then 15.if d999 then 16.a1 =remainder (a/100):a2=remainder (a1/100)7.b1=remainder(b/100)8.c1=remainder (c/100): c2=remainder (c1/10)9 d1=remainder (d/100):d2=remainder(d1/10)10.x= a2 +b1+c2+d211. print x12. stop

    if a=321,b=26, c=798, d=512 then the value of x as printed is

    a.17b.20c.16 d.none

    41. rajesh can do a piece of work in 15 days. If he is joined bynitin who is 50% more efficient , in what time will both finish thework .a.10daysb.6daysc.18daysd.none

    42.If the values passed to the se two flow charts are 123,468,76, the

  • 8/7/2019 Sat Yam Paper 6

    9/11

    outputs area.l=468,ll=76b.l=468, ll=468,c.l=76,ll=76d. none

    43. the logical sequence of steps to calculate the average of nno. is given below.1.let the sum (s) of n no.s be zero2.get the value of n3.let the value of a be n4.add n to s5.add 1 to a6.if a is not equal to n then goto 47.compute average by dividing s by n

    the above logic isa.correctb.incorrect

    c.inadequate datad.none

    44. identify the correct logical order to write your name in reverseorder

    1.count the no. of alphabets in your name (l).2. if l become zero then stop .3. reduce the value of l by 14. write the lth character.5. transfer control to the step where the value of l isreduced .a. 1,4,3,5,2b.1,4,3,2,5c.1,3,4,2,5d.none

    45.six girls a,b,c,d,e& f have 10 marbles each.a & b take 4 marbleseach from d &e respectively.c gives 3 marbles to f who in turn gives2 marbles to d & 4 marbles to e. e takes back the marbles she hadgiven to b &gives them to c .the eq. Are given below

    1.a=a+42.b=b+43.d=d-44.e=e-4

    5.f=f+36.f=f-27.f=f-48.c=c-39.d=d+210.e=e+411.b=b-412.c=c+4

  • 8/7/2019 Sat Yam Paper 6

    10/11

    the above sequence of steps area.completeb.incompletec.incorrectd.none

    46.subtract 3 from the no. x .multiply the result by 3,add3&thendivide this result by 3.the final result is

    a.x-2**b.x+2c.x+1d.x

    47.given a sentence which has only lower case letters &which ends a

    period(.), you are asked to count the no.s of vowels & consonants.thelogical sequence of steps is given below.arrange them in correctorder .1.if character=a,e.i.o or u increase VC by else increase CC by 1.2.print VC,CC3.read a charactewr4.if character read is . then goto print VC,CC.5.goto read a character .6.stop7.initialize VC,CC to 0

    your logical sequence of steps isa.7,3,4,1,5,2,6b.7,4,3,1,2,5,6c.7,3,4,5,1,2,6d.none

    48.1.no. of units consumed(nuc)=closing reading-opening reading2.if nuc

  • 8/7/2019 Sat Yam Paper 6

    11/11

    the retirement year of each of 500 employees is given below.identifythe logical order.

    1. get name & dob of an employee2. extract the year of birth from the dob.3. no. of employees (noe) is 5004. write name & retirement year5. add 58 to year of birth6. reduce noe by 17. do while no. of employees is not equal to 0

    a.3,7,2,1,5,6,4,b.3,7,1,2,5,4,6,c.3,7,1,2,5,6,4d.none

    50.what is the purpose of the following flowcharta.compute product of two no.s 100 timesb.print multiplication table from 1 to 10.c. multiply two no.s 10-times.d.none________________________________________________________________________