Get in here to get the Interview Tips of Various Companies. Or see how to improve performances related to your job.

Test Paper :1
Paper Type : Whole Testpaper
Test Date : 10 June 2006
Test Location : LBSIM, DELHI
Posted By : Amit Jain


VALUEONE PAPER AT LBSIM, DELHI ON 10th JUNE 2006

Selection Procedure :
30 mins aptitude test
45 mins c/c++ test
30 mins lab test
Technical Interview
HR Interview


Q1 If the first half of the alphabet is written in reverse order then which lettr will b the middle letter between 9th letter from left and 10th letter from the right

B, A,N,D,none



Q2 Pointing towards a lady in photo vimal said "she is the daughter of my grand father's only son how is vimal related to her



Brother,cousin,father,uncle,none



Q3 in a row of girls subha is 10 from the left and rupa is 11 from right when they both interchange their position rupa becomes 15 from right what will b subhas no from left



17,14,16,13,none



Q4 Sue is both 50th best and 50th worst student at her skool how many student attend tht skool

50,75,99,100,101



Q5 A&b together can do a wrk in 8 days if A alone can do it in 12 days then how many days can b do it alone

12,20,24,28,none





Directions (q6-9)



1) nine students a,b,c,d,e,f,g,h & i are sitting on a bench facing towards sea

2) C is next to the right of a and second left of h

3) B is on any one end and second to the left od E

4) F si neighbour of B & I isthird to the right of D

5) G is the neighbour of D and E



q> which of the 2 studends are on 2 ends

c&g

a&g

A&e

C&a

None





Q7 which of the following are true



C&h are neighbors of b

F is just in the middle of all the students

Group of 8 friends is just left to to h

H & f are neighbors of I

None

Who is just in the middle of all

H,f,d,b,none



Which of the following group is just right to f



Ihd

Hdc

Ihb

Dge

None





Prabodh gave a portion of his money to subodh in turn gave one third of what he received

To amal and amal gave one half of what he received to prabir if prabit got

Rs 5 how much money prabodh have

520

480

660

Data inadequate

None



If u count 1-100 how many 7's will pass on the way

10

11

19

20

21



Q 12-14 figure probs



If u reaarange letters'ANLAEDN u would have the name of an

Ocean

Country

State

City

Animal





Heavier coins are costlier Ram's coin is heavier than mohan's and costlier than ramesh's

Naresh's coin is costlier than ram's but lighter than yogesh's Rameesh's coin is costlier than mohan's so who is the ownwer of costliest coin

Ram

Ramesh

Yogesh

Naresh



At 6 o clock clock ticks 6 times the time between first and last tick is 30 sec how lonng does it tick at 12 0 clock

60

66

50

55

None



Salary of one officer increases every year by 20 % his salary in the year 2001 was Rs 26640 what was his salary in 1999

20000

19028

18500

18840

None



It is easier to _______________than offer a helping hand

Raise a flag

Be on the ball

Lay down

Point the finger

Sing praises



Which of the following is least like the others

Poem

Novel

Painting

Statue

Flower



Nasa received a massage in a strange language from distant planet the scientists studied the message and found tht "necor buldon slock means danger rocket explosion and edwan mynor necor means danger space ship ire and buldon gimilzon gondor means bad gas explosion what does slock mean

Danger

Explosion

Nothing

Rocket

Gas





In the following series only one no is wrong find out tht no

5,12,7,10,3,8,2

12

7

10

3

8







19,28,39,51,67,84,103

19

28

39

51

67



Which of the followwinfg prverb is the closest in meaning to saying'birds of a feather flock together'

One swallow dosnt make a summer

A bird in hand is worth two in bush

A man is known by company he keeps

Fine feathers make fine birds

Don't judge a book by its cover



Q1.



void main () {

unsigned I=1; /* unsigned char k=-1=> k = 255; */1

signed j=-1;/* char k=-1 +> k=65535 */

/* unsigned or signed int k=-1 +>=65535 */1

if(I

printf( "Less');

else

if(I>j)

printf( "Greater');

else

if(I==j)

printf( "Equal');

}

a) Greater

b) Less

c) Equal

d) None



Q.2



Find the output for the following C program

main ()

{

int x=5:

printf( "%d,%d,%d,',x,x<<2>>2);

}

a) 6,20,1

b) 5,20,1

c) 8,21,2

d) None



Q.3



Find the output for the following C program

main ()

{

const int i=100;

int *p = &I;

*p = 200;

printf( "%dn',I);

}



a) 200

b) 100

c) Error

d) None



Q.4



main ()

{

struct s1

{

char *str;

struct s 1 *ptr;

};

static struct s1 arr [ ]= {



{'Hyderabad', arr+1}

{'Bangalore',arr+1}

{'Delhi', arr}

};

struct s1 *p [ 3];

int I;

for(I=0;I<2>str);

printf( "%s,'.(++*p)->str);

printf( "%s, ".((*p)++)->str);

}



a) Bangalore, Delhi, Hyderabad

b) Bangalore, Hyderabad, Delhi

c) Bangalore, Delhi, Delhi



Q.5



#include

main ()

{

enum_tag { left = 10, right, front = 100, back};

printf( "left is %d, right is %d, front is %d, back is %d', left, right, front,back);

}



a) left is 10,right is 10, front is 100,back is 100

b) left is 10,right is 0, front is 100, back is 0,

c) left is 10, right is 10, front is 100, back is 101,

d) left is 10, right is 11, front is 100, back is 101





Q.6



#include

main ()

{

int p.c,I;

I=5;

P = (int*) (malloc(sizeof(i)));

Printf( "%d, ".*p);

*p=10;

printf( "%d%d',I,*p);

c = (int*) calloc (2,2);

prinft( "%d',*c);

}



a) Undefined Value, 5 10, 0

b) 350, 6 11, 0

c) 1000, 10 5, 0

d) Undefined Value, 10 5, 0



Q.7



Give the output for the following program.

#define STYLE1 char

main ()

{

typedef charSTYLE2;

STYLE1 x;

STYLE2 y;

clrscr();

x=255;

y=255;

printf(%d%dn',x,y);

}

main()

{

int I = 5, j=2;

func (&I,&j);

printf( "%d%d',I,j);

}

What is the output ?



a) 5,2

b) 10,4

c) 0,0

d) 25,4







Q.8



When a 'C' function call is made, the order in which parameters passed to the function are pushed into the stack is



(a) left to right

(b) right to left

(c) bigger variables are moved first than the smaller variables.

(d) smaller variables are moved first than the bigger ones

(c) none of the above.



Q.9



Regarding the scope of the variables, identify the incorrect statement:



(a) automatic variables are automatically initialized to 0

(b) static variables are automatically intialised to 0

(c) the address of a register variable is not accessible

(d) static variables cannot be initialized with any expression

(e) None of the above



Q.10



What does the following expression means ?

Char *(*(*a[N])())();

(a) a pointer to a function returning array of n pointers to function returning character pointers.

(b) A function return array of N pointers to functions returning pointers to characters

(c) An array of n pointers to function returning pointers to characters

(d) An array of n pointers to function returning pointers to functions returning pointers to characters

(e) None of the above



Q.11



Which of the choices is true for the mentioned declaration ?

Const char *p;

and

char * const p;

(a) You can't change the character in both

(b) First : You can't change the characater &

Second : You can't change the pointer

(c) You can't change the pointer in both

(d) First : You can't change the pointer &

Second : You can't change the character

(e) None





WISH U ALL THE BEST.....Amit Jain.
ADVERTISEMENT