Placement Papers: Zensar Sample Test
Download PDF of This Page (Size: 146K) ↧
Examrace Placement Series prepares you for the toughest placement exams to top companies.
if (fp = = fopen (\ “dfas\” \ “r\” ) = = NULL), what is the value of fp

NULL

0

1

0 or 1
#define sqr (x) x * x, what is value of j if j = = 2 * sqr (3 + 4)
#define FILENAME (extension) test_##extension, how will it print FILENAME (back)
char * p = = \ “hello world\”
p[0] = = \ ‘H\’ what will be printf (\ “%s\” p).
int fun (), how do u define pointer to this function?
what is ment by int ( * xyz) [13]
what is true from
class b { }
class a { friend class b }
then what is ture
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); }
Mathematics
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
man has rope of length 660 mtr to fence a area, what is the max area he can fence?
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.
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.
Avg of 6 no is 8 what 7 th no shud be added to make avg 10.
difference of cube of a no and its square is a perfect square, what is the no. → 5
diff of three consecutive nos square and the nos is 214; find the nos:
Interview Technical
 Write a minimal C + + program.
 Talk about yourself
 What are your strengths.
 Where do you think you have to improve.
 Where do you see yourself after 5 years
 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
 What is an OS?
 What is a Data Structure?
 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
 What is OOP.
 What is Object Oriented Analysis and design.
 How do u communicate between object and class.
 What is the role Software in the real life in current scenario.
 What is object and how it is similar to real life entity
 What is extranet, intranet, internet
 HR interview.
 Ok, what do your friends call u?
 how many friends do u have?
 Do u talk with girls?
 How many girl friends do u have?
 whatz the difference of a girlfriend from a girl who is a friend?
 what do u do on sundays?
 Do u like hyderabad?
 whatz so special about it?
 what places have u got to visit in hyd…
 how many of them have u gone to?