SQL Star  Placement Paper   Whole Testpaper   Not Specified-20 Jul 2007

SQL Star  Placement Paper   Whole Testpaper   Not Specified-20 Jul 2007

  • Posted by  FreshersWorld 
    7 Jan, 2012


    Duration: 90 Mins

    Max.Marks: 75 

    PART - I

    Directions: Study the following mathematical problems. Encircle the right answer. 

    1.A 100 m train crosses a bridge in 25 seconds and crosses a platform twice as long as the bridge in 40 seconds. What is the time taken by the train to cross a
    platform of length 360 m, in seconds?
    (a) 28                           (b) 46                           (c) 54                           (d) 63 
    2.The number of science graduates to the number of commerce graduates in a class is in the ratio 4:5. If the ratio of the science teachers to science graduates is 1:8
    and the ratio of commerce teachers to commerce graduates is 1:6 and if the total number of graduates is 324, find the total number of teachers.

    (a) 42                           (b) 48                           (c) 54                           (d) 63 
    3.Timothy spent all of his money at five stores. At each store, he spent Rs.10 more than half of the amount he had while entering the store. How much money did he
    have when he entered the first store?

    (a) Rs.360                     (b) Rs.480                     (c) Rs.540                     (d) Rs.620 

    4.Train A leaves the station travelling at 30 kmph. Two hours later train B leaves the same station travelling in the same direction at 40 kmph. How long does it take for train B to catch up with train A?
    (a) 4.5 hours                 (b) 6 hours                      (c) 7.5 hours                
    (d) None of these 

    5.Pankaj with the help of Rohit can finish weeding the garden in 21 days and with the help of Qasar can weed it in 28 days. Pankaj, Qasar and Rohit start working together. After four days, Qasar quits and after another three days, Pankaj also quits. Rohit completes the remaining work in 16 days. In how many days would Pankaj alone weed the entire garden?

    (a) 35                           (b) 49                           (c) 63                           (d) 84 

    6.Archana and Swetha start walking together towards their school. If Swetha walks at her usual speed, she reaches school 15 min after Archana. If Swetha walks at twice her speed, she reaches the school 9 min earlier than Archana. What is the ratio of the speeds of Swetha and Archana?

    (a) 5:7                           (b) 9:11             (c) 12:17                       (d) 11:16 

    7.In a college, for every two people who take up biology, three take mathematics and for every 5 people who take commerce, seven take biology. If the total number of students in the college is 405, then the number of students who enrolled in mathematics is greater than those who enrolled in commerce by

    (a) 66                           (b) 77                           (c) 99                           (d) 121 

    8.Ramesh bought two dozen pencils and gave 25% of them to Geetha. Of the remaining, he gave one third to Vrinda. If he decides to give half of the remaining to Minchu, then what is the number of pencils left with him?

    (a) 4                             (b) 6                             (c) 7                             (d) 9 

    9.One fourth of 20% of a number is 16. What would be the value of 125% of the same number?

    (a) 240                          (b) 320                          (c) 400                          (d) 540 

    10.Twice the number of marbles Ananth has is equal to thrice the number of marbles Arun has. If  Ananth gives seven marbles to Arun, then the number of marbles with Arun and Ananth would be the same. What is the original number of marbles with Arun?

    (a) 28                           (b) 35                           (c) 42                           (d) 56 

    11.Sudha sold a radio at Rs.345 making a profit of 25(5/11)% had she bought it for Rs.25 more but sold at it at the same price, what would have been her profit percent?

    (a) 15                           (b) 18(1/50                    (c) 21                           (d) 23(1/2) 

    12.Shailaja told her children that if they help her with watering the garden she would give Rs.30. Her daughter Ritu can water the entire garden in 20 min and her son Ritesh can do the same in 30 min. Ritu's friend Payal helps them in watering the garden and all the three together finish gardening the entire garden in 8 min. What part of Rs.30 should Payal get?

    (a) Rs.12                      (b) Rs.10                      (c) Rs.8                                    (d) Rs.11 

    13.A cyclist cycling at a speed of 15 kmph is cycling to a place 40 km away. The cyclist takes a break of 5 min after every 30 min. If he starts at 6:00 a.m., then when does he reach his destination?

    (a) 8:45 a.m.                 (b) 8:55 a.m.                 (c) 9:05 a.m.                 (d) 9:10 a.m. 

    14.A trader bought 30 dozen bangles at Rs. 20 per dozen and 40 dozens at Rs. 24 per dozen.  Find the price at which he should sell the 70 dozens of bangles so as to make a profit of 40%.

    (a) Rs. 31.20                 (b) Rs. 22                     (c) Rs. 26.50                 (d) Rs. 33.60 

    15.S earns Rs. 6,900 per month. She spends Rs. 2,200 on food, Rs. 920 on petrol, and 10% of her salary on other incidentals. Find her savings in a year.

    (a) Rs. 41,400               (b) Rs. 2,090                 (c) Rs. 37,080               (d) Rs. 45,720 

    16.In a city, the auto tariff increases at 60 paise and the taxi tariff increases at 35 paise per year. If in 1986, the auto tariff is Rs. 4.40 and taxi tariff is Rs. 6.50, then find the year in which the auto tariff would be 70 paise more than the taxi tariff?
    (a) 1998                        (b) 1996                        (c) 1997                        (d) 1990 

    17.There are eight balls numbered 1 through 8 kept in a bag.  Murali removes all these balls one?by one at random and arranges them from left to right to form an eight digit number.  What is the probability that the number so formed would be a multiple of 9?

    (a) 0                              (b) 1/9                            (c) 8/9                       (d) None of these 

    18.The cost of labour in manufacturing cars has come down by 30% and cost of material has come down by 45%. If originally, the material accounted for twice as much of the manufacturing cost as labour and if it is assumed that total cost consists of only labour and material, what is the percentage decrease in the total cost?
    (a) 35 %                       (b) 40 %                       (c) 37.5 %                    (d) 42.5 % 

    19.A bus leaves city A at 7 a.m. for city B. Another bus leaves city B for city A at    4 p.m.  Each bus takes 12 hours to complete the journey. At what time will they meet?

    (a) 6 p.m.                      (b) 5 p.m.                      (c) 5.30 p.m.                 (d) 4.30 p.m. 

    20.In a school 4/7 of the students are boys and the rest are girls. On a particular day, 3/4 of the boys and 2/3 of the girls were present. How many more girls were absent than the boys if the total number of boys is 60 more than that of the girls?

    (a) 60                          (b) 30                             (c) 45                           (d) None of these 

    21.A and B travelled a certain distance at 10 kmph and 15 kmph respectively.  If A took twenty minutes more than B, then the distance travelled by them was

    (a) 10 km                      (b) 15 km                      (c) 30 km                      (d) 40 km 

    22.A man can row 9 km upstream and 15.6 km downstream taking 3 hours each time.  The speed of the water current is
    (a) 4.1 kmph                 (b) 1.4 kmph                 (c) 1.2 kmph                 (d) 1.1 kmph 

    23.The time taken by a train 120 m long running at 108 kmph to cross a platform 90 m long is

    (a) 7 sec                       (b) 10 sec                     (c) 4 sec                       (d) 9 sec 

    24.Subash purchased an article for Rs. x.  If he sold the same article for Rs. 56 and gained x%, then x=

    (a) 30                           (b) 42                           (c) 48                           (d) 40 

    25.A sum of money borrowed at CI becomes thrice itself in 4 years.  Then in how many years will it be 27 times  itself?

    (a) 8                             (b) 20                           (c) 16                           (d) 12 

    26.The simple interest on Rs. 6600 for 7 months at 10% per annum is

    (a) Rs. 355                    (b) Rs. 385                    (c) Rs. 475                    (d) Rs. 375 

    27.Swapna can do a job in 18 days.  Surekha is twice as efficient as Swapna.  Then the total time taken by them to complete the job (in days) is

    (a) 12                           (b) 10                           (c) 6                             (d) 8 

    28.A dishonest trader professes to sell his goods at the cost price, but uses a weight of  840 gms for a kilogram weight.  His approximate gain is

    (a) 21%                                    (b) 19%                                    (c) 17%                                    (d) 18% 

    29.Raju can copy 108 pages in 18 hours.  Raju and Ramesh can copy 207 pages in 23 hours.  Then time taken by Ramesh to copy 57 pages is (in hours)

    (a) 19                           (b) 23                           (c) 21                           (d) 17 

    30.On compound interest, a sum of money becomes Rs. 1870 in 2 years and Rs. 2057 in  3 years.  Then the rate of interest p.a is

    (a) 10%                                    (b) 12%                                    (c) 8%                          (d) 15% 

    31.The profit obtained when an article is sold for Rs. 427 is the same as the loss obtained when it is sold for Rs. 373.  At what price must the article be sold to get neither gain nor loss?

    (a) Rs. 400                    (b) Rs. 500                    (c) Rs. 415                    (d) Rs. 430 

    32.A person deposited Rs. 1000 in a bank. At the end of one year, the interest was added to his initial deposit and he deposited another sum of Rs. 1000. After one more year he collects a total amount of Rs. 2121.60. What is the rate of interest that the bank pays?
    (a) 2%                          (b) 4%                          (c) 6%                          (d) 8%

    33.Between 6:15 p.m. and 7:45 p.m. what is the angle of the arc described by the minute hand of a standard clock?

    (a) 90                           (b) 180                          (c) 540                          (d) 910  

    34.20 litres of a chemical X is added to 80 litres of a mixture that has 10% of X and 90% of Y. What is the percentage of X in the resulting mixture?

    (a) 15%                                    (b) 28%                                    (c) 33(1/3)%                 (d) 40% 

    35.A gardener has to plant 120 fruit trees in rows such that the number of trees in each row is the same. Assuming that there is space for any number of rows, in how many ways can he plant the trees?
    (a) 4                             (b) 6                             (c) 8                             (d) 16  

    PART- II

    1.Predict the output or error(s) for the following:

    struct xx
          int x=3;
          char name[]="hello";
    struct xx *s;

    a) Compiler Error

    b) hello  

    c) hello name

    d)Warning : Structure is not defined properly

    2.Analyze the output

    char s[]={'a','b','c','\n','c','\0'};
    char *p,*str,*str1;
    printf("%d",++*p + ++*str1-32);

     a) 77  

    b) Linker Error

    c) warning : str is assigned value but never used

    d) some garbage value     


    int a[2][2][2] = { {10,2,3,4}, {5,6,7,8}  };
    int *p,*q;
    a) SomeGarbageValue

    b) 10,2,3,4,5,6,7,8

    c) compiler error

    d) no output 


    char *p="hai friends",*p1;
    while(*p!='\0') ++*p++;
    printf("%s   %s",p,p1);

    a) ibj!gsjfoet

    b) hai friends

    c) compiler Error

    d) data is insufficient  

    5.         main()


     static char names[5][20]={"pascal","ada","cobol","fortran","perl"};
     int i;
    char *t;
    for (i=0;i<=4;i++)

    a)         Compiler error: Lvalue required in function main

    b)                  pascal, ada, cobol ,fortran,perl

    c)                  garbage value

    d)                  pascal,ada,cobal,fortran. 

    6.         void main()
                int  const * p=5;

     a) 5

    b) 6     

    c) 2546

    d) Compiler error: Cannot modify a constant value. 

    7.         #include

    #define clrscr() 100

     a) 100

     b) clrscr()

     c) output screen will be cleared

    d) in valid declaration in line number 2 

    8.Predict the output or error(s) for the following:




    int i,j;

    a)      Runtime error: Abnormal program termination.
    b)      Linker Error

    c)      Warning: Function should return a value

    d)      Executes without any error

    9.         main()
                int i=-1;
                printf("i = %d, +i = %d \n",i,+i);

    a) Compilation Error in line no 5

    b) Compilation Error in line no 4

    c) garbage value

    d) i = -1, +i = -1                                                                             

    10.       main()
                char *cptr,c;
                void *vptr,v;
                c=10;  v=0;
                cptr=&c; vptr=&v;

               a) ASCII equivalent value of c, 0

    b) 10,0

    c) Compiler error (at line number 4)

    d) 48, 0 

    11.       char c;


             printf("%c", c);        

            a) The program will give Error status it cannot convert convert from char[2] to char.

            b) It will print  a

            c)It will print c

            d) none of the above       

    12.    main()


              char var='B';

              char *ptr=&var;


              printf("%c", *ptr);


    a)      *A

    b)      B

    c)      C

    d)      A

    13.what will be the value contained in Str1, if the given set of  statements are executed?

          char str1[5], str2[7];



          strcat(str1, str2); 

    a)      Hell Yell

    b)      Yell

    c)      HellYell

    d)      Yellow

    e)      Hell

    14.       main()


                 int ptr[5][5]={

                                     { 3,4,6,8,10},






            printf("%d", *(*(ptr +1)+2));        


        What will be the output?

    a)      9

    b)      22

    c)      2

    d)      12

    15.       main()


                 int i;

                char ans;



                  printf("Enter a number \n");

                  scanf("%d", &i);

                  if(i == 1)


                  printf("1 \n");

                  printf("Do you wish to continue? Y/N \n");




                 printf("Number was 1");


    What will be the output once the user enter the number 1?

    a) The program does not display any message   
    b) "Number was 1" gets displayed

    c) The above code generates an error

    d) "Do you wish to continue Y/N" get displayed   

    16.       main()


          int i=2;



                     recur(int i)






                             printf("%d", i);


                            return i;


                 predict the output 

       a) 5

       b) Infinite loop

       c) 2345

       d) 543

    17.       main()


        int var=5;



         printf("100 \n");



                    return 0;


     what is the output

     a) The program on execution does not display any value

     b) The program on execution display the number 100

     c) The program generates an error during compilation

     d) The program on execution displays the number 6 

    18.       main()


       int ivar1=105;





          while (ivar1<105);


    a) 105
    b)105 106


    d) will not code the loop because condition is   false 

    19.       main()


         char cvar;


         char *cptr;


         - -*cptr;

         printf("%c", *cptr);


    a)      B

    b)      A

    c)      C        

    d)      *B 

    20        If you enter 'C' as the value for the variable what is the output of the following code.


    .  {

       char calpha;

       printf("\n Enter an alphabet in upper code");

       scanf("%c", &calpha);


      if ( calpha<='z' || calpha>='a')


    printf("the character you have entered is correct');




    printf("\nthe character you entered is incorrect");



    a) The program will give a syntactical error

    b) The character you have entered is correct

    c) The program will give a compilation error

    d) The character you have entered is incorrect 

    21.       main()


     int ivar, *iptr;



    pritnf("%d \n", ivar);


    printf("%d \n",ivar);


      what is the output


    a)      5 1      

    b)      5 0

    c)      5 6

    d)      5 5 

    22.       main()


         FILE *fp;

         char acc_no[5];



         fseek(fp, -4L, 2);


     Which of the following Statements is True about the above Code?

    a)The file pointer will move 4 bytes ahead from the current position of the file by the fseek statement
    b)The file pointer will move 4bytes back from the current position of the file by the fseek statement
    c)The file pointer will move 6 bytes from the beginning of the fgets statement
    d)The file pointer will move 4 bytes back from end position of the file by the fseek statement.    

    23. What is the mimimum value of a signed int data type that is 8 bits in size?

    c)- 256

    24. Identify the conversion specification used to print a character with printf() function
    a) %c
    b) %s
    25. Identify the valid expressions in the declaration int y[5]={1,2,3,4,5};
    1. y[2]   2. *(y+2)    3. 2[y]
    c)options 1 and 2
    d)options 1,2 and 3
    26. The following declaration represents int (*(*a[3])())[5];
    a) array of pointers to a function returning an array of pointers to int
    b) array of pointers to a function returning a pointer to an array of int
    c) array of pointers to an array of pointers to function
    d) array of pointers to a function returning a pointer to a function 

    27. How to access the field regno given the following declaration?

     typedef struct stud
                    int regno;
                    char name[30];
                STUDENT *sp=malloc(sizeof(STUDENT));

    a) *sp.regno
    b) sp->regno
    c) (*sp).regno
    d) options b and c 

    28.  What is the output of the following code?
    int y=0; for(;;){if(y++ == 5)break;} 
    a) 0
    b) 5
    c) 6
    d) 7
    29.What is the value of a after execution of the expression a=b-=c*=5 given b=110 and c=20?
    a) 450
    b) 10
    c) 110
    d) -10 
    30.Identify the correct argument for the function call fflush() in ANSI  C.
    a)std out
    b)std in

    Technical-Operating System

    1.For Instruction decoding ______ register is used
    b) PSW
    2.I/O techniques preferred is

    3.Interrupt and Signals both are same. ( T/F   ) 

    4.To avoid RACE condition _______________is used.
    a)Mutual exclusion
    d)Memory Management 

    5.  _________________ is a memory _management  scheme that permits the page size and frame size to be same. 

    6.  ______________ can not create another process.
    a) fork()
    b) thread
    c) process
    d) program 
    7.Internal fragmentation is solved by

    8.    _____________ keeps track of a proceses state   as well as the cpu state during process execution. 

    9.    ______________does not required to complete a critical task within a guaranteed amount of time 

    10    In Interrupt mode the kernel checks each I/O device if  it generated an interrupt or not. True/False?

2009-2016 downloadmela.com. All rights reserved.