123 Eng

Engineering the engineers™


Latest Jobs   Forum Map

 

engineering

Home
Source Codes
Engineering Colleges

Training  Reports
Seminar Reports
Placement Papers

Forums

Computer Science / IT
Electronics
Electrical
Mechanical
Chemical
Civil

CAT / MBA

GMAT / Foreign MBA
Latest Jobs

Engineering Jobs / Technical Jobs
Management Jobs

Sitemap
Terms of use


 
   

Job Placement Papers (All Companies)

 
Placement Papers>>Caritor

CARITOR Placement Papers

 

Caritor Sample Test Paper

Pattern Consist of 

  • Quantities
  • C/C++
  • GD
  • Interview

 Quantitative Section   

  1. A fraction in which nr. is 4 less than dr.When 10 is added to the dr the fraction  becomes 1/8.What is the original fraction?
    Ans:
            Let nr be x
            dr be x+4
            fraction x/x+4
            on adding 10 to dr
            fraction==> x/x+14=1/8 ==> x=2
            Original fraction=2/6

      Complete the Series

  2.   1.
              

  1. 2.
         

  1.  Synonyms:
         final (---------- ) ultimate
        a)  end   b)  last   c)finish   d)  dead
  2. Synonyms:
    nice ( -------- ) punish
  3. Data Representation both graph ,pie chart
  4. Time & work problem
  5. Verbal Reasoning 3 or 4 problems

         C  Questions
  6. main()
      {
         char s[]={‘1’,’2’,’3’,0,’1’,’2’,’3’};
         printf(“%s”,s);
      }

      a)123 123 
      b)123123
      c)1230123
      d)error
  7. main()
       {
         char *p=”Caritor”;
         *++p;
         printf(“%s”,p);
         *++p;
         printf(“%s”,*p);
      }
    Ans: aritor ritor
  8. main()
    {
       int K,j;
       for(k=0;k<10;k++)
        {
           some codes
          }
      }
    Ans : ERROR since k not declared
  9. How to print “%” symbol in printf?
      Ans: 
       printf(“\%”);
  10. What is the max no of char in command line arguments?
  11. Can arithmetic Operation be performed on void pointers?
  12. main()
      {
        char str1[]=”HELLO”;
        char str2[]=”HELLO”;
        if(str1==str2)
           printf(“EQUAL”);
        else
           printf(“NOT EQUAL”);
      }
    Ans: NOT EQUAL    ,Since string can be compared only using strcmp()
  13. main(int argc)
      {
         int a;
         printf(“%d”,a);
      }
  14. How to declare argc and argv
    ans: main(int argc,char* argv[])
  15. main()
    {
       int s=5;
       printf(“%d”,s,s<<2,s>>2);
    }
    ans:5 20 1
  16. main()
    {
        int a[2][2]={2,3}
        printf(“%d%d%d%d”,a[0][0],a[0][1],a[1][0],a[1][1]};
    }
      a)2000
      b)0002
      c)2300
      d)error
        ans: 2300
  17. main
     {
       int a[5]={2,3};
       printf(“%d%d%d”,a[2],a[3],a[4]);
      }
  18. extern int I;   is it a declaration or definition?
  19. main()
        {
         int i=-3,j=2,k=0,m;
         m= ++j&&++i||++k;
         printf(“%d%d%d”,i,j,k,m);
        }
  20. main()
         {
        int i=-3,j=2,k=0,m;
        m= ++j&&++i&&++k;
        printf(“%d%d%d”,i,j,k,m);
           }
  21. main()
       {
        const int i=7;
         printf(“%d”,++i);
       }
  22. #define I 6
    main()
      {
        printf(“%d”,++I);
       }
  23. f array begins at position 1002
    main()
       {
       int a[2][3][4]={{1,2,3,4,5,6,7,8,9,1,1,2},{2,3,4,7,6,7,8,9,0,0,0,0}};
       printf(“%d%d%d%d”,a,*a,**a,***a);
       }
  24. main()
    {
    printf(“%c”,7[“sundaram”]);
    }
  25. struct name
      {
        int a;
        char b;
        char n;
        short s;
       }n1;
     main()
       {
    printf(“%d”,sizeof(n1));

       }
  26.   main()
        {
         enum{ m=2,n,o=60,p};
         printf(“%d”,p);
        }
  27. If A file contains the line “I am a boy\r\n” then on reading this line into the array str using fgets() 
    What would str contain?
  28. In command line enter myprog 1 2 3 what is output?
    main(int argc , char * argv[])
      {
       int I,j=0;
       for(i=0;i<argc;i++)
       j=j+atoi(argv[i]);
       printf(%d”,j);
      }
  29. In command line enter myprog Friday Tuesday Thursday what is output?
    main(int argc , char * argv[])
    {
    printf(“%c”,**++argv):
    }
  30. 14>
    main()
      {
        printf(“%d”,-1>>4);
       }

 

 

Contribute content or training reports / feedback / Comments
job placement papers
All rights reserved © copyright 123ENG