About Me

Please Share your profiles with us (opnings4all@gmail.com), we will share your profiles with HR's

Tuesday, July 5, 2011

Zensar Sample C - C++ - Test Paper

Sample Test Paper
C test
1.             if(fp == fopen(\"dfas\",\"r\") = = NULL), what is the value of fp
   a. NULL
   b. 0
   c. 1

   d. 0 or 1
2.            #define sqr(x) x*x, what is value of j if j == 2 * sqr(3 + 4)
3.            #define FILENAME(extension) test_##extension, how will it print FILENAME(back)
a. test_back
b. test_#back
c. test_##back
d. ??
4.            char *p == \"hello world\"
p[0] == \'H\', what will be printf(\"%s\", p);
a. Hello world
b. hello world
c. H
d. compile error
5.            int fun(), how do u define pointer to this function ??
6.            what is ment by int (* xyz)[13]
7.            what is true from
a. base call ferernece is compatible with child class
b. child class reference is compatible with base class
c. no reference to class
d. ??
8.            class b
  {
    }
  class a
     {
     friend class b
    }
then what is ture
a. a can access all protected and public members in b
b. b can access all protected and public members in a
c. a can access all members of a
d. b can access all members of b
9.            What is the output
 #include
  main()
      {
   int n=0;
   int i;
   i=2;
  switch(1)
       {
       case 0:do{
       case 1:n++;
       case 2:n++;
      }
           while(--i>0);
    }
        printf(\"n==%d\",n);
        }

     a. compile error
     b. 4
     c. 1
     d. 0

         
Mathematics
10.         Two liquids A : B in ratio 7:5 and now 24 gallons drain out and b is added the ratio becomes 5:7 what is containr capacity ? 30, 48 , 84, none
11.         man has rope of length 660 mtr to fence a area , what is the max area he can fence ?
12.         Son is about to celebrate 10th birthday. after 11 years his age will be half the average of his parents. his mother is 17 years older to him. what is the age of the father.
13.         DI question where hotels project are given and no of rooms in each hotels , investment , project yr . and company name
were asked to find min cost per room is for which hotel , which avg cost per room etc.
14.         Avg of 6 no is 8 what 7 th no shud be added to make avg 10;
15.         difference  of cube of a no and its square is a perfect square , what is the no. -> 5
16.         diff of three consecutive nos square and the nos is 214; find the nos :Interview  Technical
17.         Write a minimal C++ program .
18.         (a) Talk about yourself
(b) What are your strengths.
(c) Where do you think you have to improve.
(d) Where do you see yourself after 5 years
19.         main()
    {
          int i==2;
          int a==4;
          if((i+==3)>a)
            {
              printf( \" TRUE \");
            }
          else
          {
              printf(\"FALSE \");
            }
      }

What is the output of the program ..
Ans ) TRUE , coz i+==3 becomes incremented and i becomes 5 . So i is greater than a
20.         What is an OS ?
21.         What is a Data Structure ?
22.         It is a an abstract data type where some operations can be defined and performed on the data. It makes the task of a programmer easy coz it has all the set of data and operations at a particular place
23.         What is OOP.
24.         What is Object Oriented Analysis and design.
25.         How do u communicate between object and class.
26.         What is the role Software in the real life in current scenario.
27.         What is object and how it is similar to real life entity
28.         What is extranet, intranet, internet

HR interview..
29.         Ok, what do your friends call u???
30.         how many friends do u have???
31.         Do u talk with girls???
32.         How many girl friends do u have???
33.         whatz the difference of a girlfriend from a girl who is a friend???
34.         what do u do on sundays???
35.         Do u like hyderabad???
36.         whatz so special about it???
37.         what places have u got to visit in hyd...???
38.         how many of them have u gone to

ZENSAR PAPER AND INTERVIEW
Each section consists of 22Questions.In all there was 88 questions in my paper where as other sets had between 80 to 90. There was no negative marking .There was an sectional cut-off but there were sectional time limits of 20 minutes each. U r only allowed moving on to the next section only when the time of a section was up.

II] There was a separate technical and HR rounds.

TECHNICAL INTERVIEW: On the next day they gave a detailed PPT before the start of the interview process. They also give u a form to fill up. U also need to bring 2 copies of ur CV and 2 photocopies of your own as they’ll take one copy of the CV(with your photo) along with the form.The duration of interviews ranged from 15 to as much as 45 minutes.

questions:

 * Tell about your favourite subjects?
 * why did you chhose your favourite subject as DigitalLogicCircuits?
 * Draw the EX-OR Gate using NAND Logic(NAND gate) and explin it with the truth table?
 * what is Transistor?
 * what is PNP Transistor?
 * what is Triode?
 * What is the difference between Stack and Queue?
 * Explain about the Binary traversals?
 * What is Inorder,Preorder,Postorder?
 * Explin about the Software development Cycle?
 * What is a register? What is the use of it?

 They had asked me only the basic concepts what i had studied in my Curriculum.

HR INTERVIEW:(In the HR Interview they were very friendly and also they expect the frank answer from the candidates whom attended the process).In the HR I was asked about the following questions:

 * firstly i was asked to tell about my family?
 * what do you like most in your Institution?
 * what you don't like most in your Institution?
 * what would you like like to change in your Institution?
 * Why did you choosen career in EEE?
 * Where would you be after 10yrs.?
 * Would you like to grow in the Proffesional line?
 * what are all the changes that you had observed in your Institution?
 * How about the interview process?
 * How do you feel about written test?
 * do you have any Questions to ask me?

Finally they announced the results one day after the process was over. They selected 9 candidates. I was selected as was 9 others from my batch. We were really happy for each other.

SUGGESTION:
Don't be tensed while attending the interview.Because they were very friendly with you guys.also be confident on your self.Answer as many questions as possible in the technical session with practical examples.
The aptitude round was act as a high elimination roundfor us.The Technical section consists mostly of DBMS questions with few c and c++ questions.The analytical section consists of very simple mathematical prooblems relating with average,missing nos,etc...but they had given five sets of question papers( booklet )one for each candidate.the verbal section was also easy containing some Anagram,Fill in the blanks with appropriate words,one simple comprehension.(No need to prepare separately for verbal section).but the logical section is some what tougher than verbal section.the time management should bo very important to answer atleast 85% of the questions.It is not possible to answer correctly for all the questions,it is just enough if you answer the questions correctly of what you are doing with the help of rough sheets and using your knowledge.But there will be a sectional cutoff marks.
Prepare well & u can surely become a “ZENSARian”!

WISH YOU ALL THE BEST TO BECOME A ZENSARIAN.

No comments:

Post a Comment