(Paper) VALUEONE PAPER AT LBSIM, 2006 (APTITUDE &TECHNICAL)

PAPER: VALUEONE PAPER AT LBSIM, 2006 (APTITUDE &TECHNICAL)

Selection Procedure :

Aptitude test:-  30 mins 
C/C++ test:-    45 mins 
 Lab test:-        30 mins
Technical Interview
HR Interview

Q1. If the first half of the alphabet is written in reverse order then which letter will be the middle letter between 9th letter from left and 10th letter from the right
1.  B   2.  A    3. N   4. D    5. 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

1.Brother  2.cousin  3.father  4.uncle  5.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

1.  17   2.14    3.16   4.13     5.none

Q4 Sue is both 50th best and 50th worst student at her school how many student attend that school

1. 50   2.75   3.99  4.100    5.101

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

1. 12   2.20   3.24   4.28   5.none


Directions (6-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 of E
4) F is neighbor of B & I is third to the right of D
5) G is the neighbor of D and E

Q6.
which of the 2 students are on 2 ends
1.  c&g
2.  a&g
3.  a&e
4.  c&a
5.  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

1. IHD
2. HDC
3.IHB
4.DGE
5.None


Q8. 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 prabodh if prabodh got Rs 5 how much money prabodh have

1.520
2.480
3.660
4.Data inadequate
5.None

Q9.If u count 1-100 how many 7’s will pass on the way

1. 10
2. 11
3. 19
4. 20
5. 21

Q 1O-12 figure problem

Q10. If u rearrange letters”ANLAEDN” u would have the name of an

1. Ocean
2. Country
3. State
4. City
5. Animal


Q11. 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 owner of costliest coin

1.Ram
2.Ramesh
3.Yogesh
4.Naresh

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

1. 60
2. 66
3. 50
4. 55
5. None

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

1. 20000
2. 19028
3. 18500
4. 18840
5. None

14. It is easier to _______________than offer a helping hand

1. Raise a flag
2. Be on the ball
3. Lay down
4. Point the finger
5. Sing praises

15. Which of the following is least like the others

1.Poem
2.Novel
3.Painting
4.Statue
5.Flower

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

1.Danger
2.Explosion
3.Nothing
4.Rocket
5.Gas


17.In the following series only one no is wrong find out that no 5,12,7,10,3,8,2

1.  12
2.  7
3.  10
4.  3
5.  8



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

1.  19
2.  28
3.  39
4.  51
5.  67

PROGRAMING

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,x>>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(“%d\n”,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;I++)
p [i] = arr [ i];ptr;
printf(“%s, “,(*p)->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%d\n”,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