Section 1 : Aptitude .
Section 2 : C Language and WAP.
Aptitude
Haydn to Hindernith and Hlitdeiulth to Mozart. He always prefers Mahler to any whose name begins with B,
except Beethoven, and he always chooses to listen to a he prefers.
George’s brother gives him one recording by each of the composers mentioned. Which of the following correctly states the
order in which George must play some of the records?
Pick one of the choices
Beethoven, Bartok, Mozart
Haydn, Hindemith, Mozart
Beethoven, Mahler, Bartok
Hindemith, Mahier, Mozart
Haydn, Hindemith, Mahler
Clear Selection;1]
Beethoven, Bartok, Mozart
Haydn, Hindemith, Mozart
Beethoven, Mahler, Bartok
Hindemith, Mahier, Mozart
Haydn, Hindemith, Mahler
Clear Selection;1]
George adores classical music. He always prefers Beethoven to Bartok and Mahler to Mozart. He always
prefers Haydn to Hindemith and Hindeniith to Mozart. He always prefers Mahler to any composer whose
nanie begins with B, except Beethoven, and he always chooses to listen to a composer he prefers.
prefers Haydn to Hindemith and Hindeniith to Mozart. He always prefers Mahler to any composer whose
nanie begins with B, except Beethoven, and he always chooses to listen to a composer he prefers.
Which of the following can not be true?
Pick one of the choices
George prefers Mahler to Bartok
O George prefers Beethoven to Mahler
O George prefers Bartok to Mozart
O George prefers Mozart to Beethoven
0 George prefers Mahler to Haydn
George prefers Mahler to Bartok
O George prefers Beethoven to Mahler
O George prefers Bartok to Mozart
O George prefers Mozart to Beethoven
0 George prefers Mahler to Haydn
George adores classical music. He always prefers Beethoven to Bartok and Mahler to Mozart. He prefers
Haydn to Hindemith and Hindemith to Mozart. He always prefers Mahler to any whose name begins with B,
except Beethoven, and he always chooses to listen to a he prefers.
Haydn to Hindemith and Hindemith to Mozart. He always prefers Mahler to any whose name begins with B,
except Beethoven, and he always chooses to listen to a he prefers.
George’s mother also gives him one recording by each composer mentioned. Which of the following can not occur?
Pick one of the
Pick one of the
George plays the Beethoven first
George plays the Haydn first
George plays the Mahler third
George plays the Beethoven fifth
George plays the Bartok last
George plays the Haydn first
George plays the Mahler third
George plays the Beethoven fifth
George plays the Bartok last
George adores classical music. He always prefers Beethoven to Bartok and Mahler to Mozart. He prefers
Haydn to Hindeniith and Hindernith to Mozart. He always prefers Mahler to any whose name beçjins with B,
except Beethoven, and he always chooses to listen to a he prefers.
Haydn to Hindeniith and Hindernith to Mozart. He always prefers Mahler to any whose name beçjins with B,
except Beethoven, and he always chooses to listen to a he prefers.
George’s father gives him several records. If the first record he plays is by Berlioz, which of following must be true?
Pick one of the choices
Pick one of the choices
There Is no record by Hindemith
There is no record by Bartok
One of the records may be by Haydn
If there Is a record by Haydn, George will play It second
There is no record by Beethoven
There is no record by Bartok
One of the records may be by Haydn
If there Is a record by Haydn, George will play It second
There is no record by Beethoven
Pick one of the choices
311073
3121184
221194
223173
None of the above
311073
3121184
221194
223173
None of the above
If you rearrange the letters ITORSHC you’ll get the name of a famous.
Pick one of the choices
Cty
Animal
Sportsperson
Movie Star
Cty
Animal
Sportsperson
Movie Star
1. At a baseball game, five nien – L, M, N, 0 and P, and five women – S, T, U, V and W occupy a row of
ten seats. The men are in odd numbered seats, starting from the left, each women sits to the right of
the man she is dating
2. OisV’sdate
3. W is not at the right end of the row and the man she is dating is not at the left end of the row
4. N Is one seat froiii the right end of the row
5. The man dating W likes T best among the other women and insists on being seated to the right of T
6. M and his date occupy the middle pair of seats
7. V sits next to M
ten seats. The men are in odd numbered seats, starting from the left, each women sits to the right of
the man she is dating
2. OisV’sdate
3. W is not at the right end of the row and the man she is dating is not at the left end of the row
4. N Is one seat froiii the right end of the row
5. The man dating W likes T best among the other women and insists on being seated to the right of T
6. M and his date occupy the middle pair of seats
7. V sits next to M
Which of the following could be determined exactly if the position of either L or P were given
pick one of the choices
The identity of L’s date
The identity of P’s date
The identity of L’s date or P’s date, but not both
pick one of the choices
The identity of L’s date
The identity of P’s date
The identity of L’s date or P’s date, but not both
Which woman Is not seated between two men
Who is sitting to 0’s left
Who is sitting to 0’s left
1. 0 is V’s date
2. W is not at the right end of the row and the man she is dating is not at the left end of the row
3. N is one seat from the right end of the row
4. At a baseball game, five men – L, M, N, 0 and P, and five women – S, T, U, V and W occupy a row of
ten seats. The men are in odd numbered seats, starting from the left, each women sits to the right of
the man she is dating
5. The man dating W likes T best among the other women and insists on being seated to the right of T
6. M and his date occupy the middle pair of seats
7. V sits next to M
2. W is not at the right end of the row and the man she is dating is not at the left end of the row
3. N is one seat from the right end of the row
4. At a baseball game, five men – L, M, N, 0 and P, and five women – S, T, U, V and W occupy a row of
ten seats. The men are in odd numbered seats, starting from the left, each women sits to the right of
the man she is dating
5. The man dating W likes T best among the other women and insists on being seated to the right of T
6. M and his date occupy the middle pair of seats
7. V sits next to M
In order to determine the position of T, it is necessary to use how many of the numbered statements?
Pick one of the choices3
4
6
7
Pick one of the choices3
4
6
7
Both B and D are prerequisites for E
Both B and C are prerequisites for F
E may occur without B only if A precedes D
A in combination with B is an alternative prerequisites for F
H will occur if E or F occurs, but not if both occur
H in combination with any two unused prerequisites for E or F will yield J
If two sets of prerequisites is sufficient two yield a result both occur, the result will not occur
Any item acts simultaneously as part of all sets of prerequisites of which it is a member and which of the
other members are present
Both B and C are prerequisites for F
E may occur without B only if A precedes D
A in combination with B is an alternative prerequisites for F
H will occur if E or F occurs, but not if both occur
H in combination with any two unused prerequisites for E or F will yield J
If two sets of prerequisites is sufficient two yield a result both occur, the result will not occur
Any item acts simultaneously as part of all sets of prerequisites of which it is a member and which of the
other members are present
J cannot occur if
Pick one of the choices
A is the first item to occur
D is the first item to occur
B precedes D
0 A follows BorC
Pick one of the choices
A is the first item to occur
D is the first item to occur
B precedes D
0 A follows BorC
Both B and D are prerequisites for [
Both B and C are prerequisites for F
E may occur without B only if A precedes D
A in combination with B is an alternative prerequisites for F
H will occur if E or F occurs, but not if both occur
H in combination with any two unused prerequisites for E or F will yield J
If two sets of prerequisites is sufficient two yield a result both occur, the result will not occur
Any Item acts simultaneously as part of all sets of prerequisites of which It Is a iiiember and wtiicli of the
other members are present
B precedes D. Which of the following condition is (are) sufficient for H to occur?
I. A occurs but not before D
II. C occurs
III. A also precedes D
Both B and C are prerequisites for F
E may occur without B only if A precedes D
A in combination with B is an alternative prerequisites for F
H will occur if E or F occurs, but not if both occur
H in combination with any two unused prerequisites for E or F will yield J
If two sets of prerequisites is sufficient two yield a result both occur, the result will not occur
Any Item acts simultaneously as part of all sets of prerequisites of which It Is a iiiember and wtiicli of the
other members are present
B precedes D. Which of the following condition is (are) sufficient for H to occur?
I. A occurs but not before D
II. C occurs
III. A also precedes D
Both B and D are prerequisites for E
Both B and C are prerequisites for F
E may occur without B only if A precedes D
A in combination with B is an alternative prerequisites for F
H will occur if E or F occurs, but not if both occur
H in combination with any two unused prerequisites for E or F will yield J
Both B and C are prerequisites for F
E may occur without B only if A precedes D
A in combination with B is an alternative prerequisites for F
H will occur if E or F occurs, but not if both occur
H in combination with any two unused prerequisites for E or F will yield J
If two sets of prerequisites is sufficient two yield a result both occur, the result will not occur
Any item acts simultaneously as part of all sets of prerequisites of which it is a member and which of the
Any item acts simultaneously as part of all sets of prerequisites of which it is a member and which of the
other members are present
C occurs. J will occur if
Pick one of the choices
B occurs
B and D occur
A precedes D
B and D occur, followed by A
C occurs. J will occur if
Pick one of the choices
B occurs
B and D occur
A precedes D
B and D occur, followed by A
A trapezoid ABCD is formed by adding the isosceles right triangle BCE with base 5 inches to the rectanqh
ABED where DE Is t Inches. What Is the area of the trapezoid In square Inches?
Pick one of the choices5t+ 12.5
5t + 25
2.5t + 12.5
(t + 5)2
t2+25
ABED where DE Is t Inches. What Is the area of the trapezoid In square Inches?
Pick one of the choices5t+ 12.5
5t + 25
2.5t + 12.5
(t + 5)2
t2+25
A car travels 75% of the way from town A to town B by travelling for T hours at an average speed of V mph.
The car travels at an average speed of S mph for the remaining part of the trip. Which of the following
expressions represents the time the car travelled at S mph?
Pick one of the thoIctVT/S
VS/4T
4VT/3S
3S/VT
VT/3S
The car travels at an average speed of S mph for the remaining part of the trip. Which of the following
expressions represents the time the car travelled at S mph?
Pick one of the thoIctVT/S
VS/4T
4VT/3S
3S/VT
VT/3S
If x/y = 3/z then 9y2 equals
Pick one of the choicesx2/9
x3z
x2z2
3x2
(1/9)x2z2
Pick one of the choicesx2/9
x3z
x2z2
3x2
(1/9)x2z2
The operation * applied to a number gives as its result 10 subtracted from twice the number. What is * (*9)?Pick one of the choices
6
8
9
36
8
9
36
You are to compare the two quantities and choose correct option.... A, B, C or DChoose A if the quantity in Column A is greater.
Choose B if the quantity in Column B is greater
Choose C if the two quantities are equal
Choose D if the relationship cannot be determined from the information given
Choose B if the quantity in Column B is greater
Choose C if the two quantities are equal
Choose D if the relationship cannot be determined from the information given
Information Column A Column Bx>o 10/x 10/x
Pick one of the choices
Column A is greater
Column B is greater
Column A and B are equal
Relationship cannot be determined from the information given
Column A is greater
Column B is greater
Column A and B are equal
Relationship cannot be determined from the information given
You are to compare the two quantities and choose correct option.... A, B, C or DChoose A if the quantity in Column A is greater.
Choose B if the quantity in Column B is greater
Choose C if the two quantities are equal
Choose D if the relationship cannot be determined from the information given
Choose B if the quantity in Column B is greater
Choose C if the two quantities are equal
Choose D if the relationship cannot be determined from the information given
Information Column A Column Bcompare-> 197+398+586 203+405+607
Pick one of the choices
Column A is greater
Column B is greater
Column A and B are equal
Relationship cannot be determined from the information given
Column A is greater
Column B is greater
Column A and B are equal
Relationship cannot be determined from the information given
two white O O inside big black o
What is the area of the shaded region? The radius of the outer circle is a and the radius of each of the circles inside the larger
circle is a/3
Pickone of the choices0
(1/3)na2
(2/3)na2
(7/9)na2
(8/9)na2
What is the area of the shaded region? The radius of the outer circle is a and the radius of each of the circles inside the larger
circle is a/3
Pickone of the choices0
(1/3)na2
(2/3)na2
(7/9)na2
(8/9)na2
It x2 — y2 =15, and x + y =3 then x — y is
Pick one of the choices
-3
0
3
5
Cannot be determined
Pick one of the choices
-3
0
3
5
Cannot be determined
The ratio of the chickens to pigs to horses on a farm can be expressed as the triple ratIo 20:4:6 If there are
120 chickens on the farm, then the number of horses on the farm Is
Pickone of the
4
6
24
36
60
120 chickens on the farm, then the number of horses on the farm Is
Pickone of the
4
6
24
36
60
A cylinder of radius 5 mm
and height 11 mm
(volume of a cylinder is pie-r2h)
and height 11 mm
(volume of a cylinder is pie-r2h)
A sphere of radius 6mm
(volume of a sphere is 4/3 pie r3)
(volume of a sphere is 4/3 pie r3)
A cube with edge 9mm
(volume of a cube is e3)
(volume of a cube is e3)
Which of the following solids has the largest volume? (figures are not drawn to scale)
Pickone of the choices
I
II
III
I &II
ii & iii
Pickone of the choices
I
II
III
I &II
ii & iii
A pension fund has a total of $1 million invested in stock of the ABC company and the bonds of the DEE
Corporation. The ABC stocks yields 12% in cash each year, and the DEE bonds pay 10% in cash each year.
The pension fund received a total of $115,000 in cash from ABC stock and the DEE bonds last year. How much
money was invested in ABC stock?
Pickone of the choices
$750,000
$600,000
$500,000
$333,333.33
$250,000
Corporation. The ABC stocks yields 12% in cash each year, and the DEE bonds pay 10% in cash each year.
The pension fund received a total of $115,000 in cash from ABC stock and the DEE bonds last year. How much
money was invested in ABC stock?
Pickone of the choices
$750,000
$600,000
$500,000
$333,333.33
$250,000
36 identical chairs must be arranged in rows with the same number of chairs in each row. Each row must
contain at least three chairs and there must be at least three rows. The row is parallel to the front of the
room. How many different arrangements are possible?
Pick one of the choices
2
4
5
6
10
contain at least three chairs and there must be at least three rows. The row is parallel to the front of the
room. How many different arrangements are possible?
Pick one of the choices
2
4
5
6
10
ABCD is a rectangle. The length of BE is 4 and the length of EC is 6. The area of the triangle BEA plus the
area of the triangle DCE minus the area of the triangle AFO is
Pick one of the choices
0
0.4 of the area of the triangle AEB
0.5 of the area of the triangle AED
0.5 of the area of ABCD
cannot be determined
area of the triangle DCE minus the area of the triangle AFO is
Pick one of the choices
0
0.4 of the area of the triangle AEB
0.5 of the area of the triangle AED
0.5 of the area of ABCD
cannot be determined
In a group of people solicited by a charity, 30% contributed $40 each, 45% contributed $10 each and the
rest contributed $12 each. What is the percentage of the total contributed came from the people who gave
$40?
Pick one of the choices
0 25%
030%
040%
0 45%
0 50%
rest contributed $12 each. What is the percentage of the total contributed came from the people who gave
$40?
Pick one of the choices
0 25%
030%
040%
0 45%
0 50%
C white box profile Questions
Give the output of following
1.
1.
#include
int main()
{
enum days {MON, TUE, WED=6, THU, FRI=-1, SAT};
printf("%d, %d, %d, %d, %d, %d\n", MON, TUE, WED, THU, FRI, SAT);
return 0;
}
2.
#include
#define max 10
void main()
{
int i;
i=++max;
clrscr();
printf("%d",i);
getch();
}
#define max 10
void main()
{
int i;
i=++max;
clrscr();
printf("%d",i);
getch();
}
3.
#include
int main()
{
int x = 10, y = 20;
if(!(!x) && x)
printf("x = %d\n", x);
else
printf("y = %d\n", y);
return 0;
}
int main()
{
int x = 10, y = 20;
if(!(!x) && x)
printf("x = %d\n", x);
else
printf("y = %d\n", y);
return 0;
}
4.
#include
int main()
{
#if 0
int _=10;
int __=5;
int ___;
___=_-__;
printf("%i",___);
#endif
double x = -3.5, y = 3.5;
printf( "%.0f : %.0f\n", ceil( x ), ceil( y ));
printf( "%.0f : %.0f\n", floor( x ), floor( y ));
int main()
{
#if 0
int _=10;
int __=5;
int ___;
___=_-__;
printf("%i",___);
#endif
double x = -3.5, y = 3.5;
printf( "%.0f : %.0f\n", ceil( x ), ceil( y ));
printf( "%.0f : %.0f\n", floor( x ), floor( y ));
return 0;
}
}
5.
#include
#include
int main()
{
double x = -3.5, y = 3.5;
printf( "%.0f : %.0f\n", ceil( x ), ceil( y ));
printf( "%.0f : %.0f\n", floor( x ), floor( y ));
#include
int main()
{
double x = -3.5, y = 3.5;
printf( "%.0f : %.0f\n", ceil( x ), ceil( y ));
printf( "%.0f : %.0f\n", floor( x ), floor( y ));
return 0;
}
}
6.
#include
void main()
{
short testarray[4][3] = { {1}, {2, 3}, {4, 5, 6} };
printf( “%d\n”, sizeof( testarray ) );
void main()
{
short testarray[4][3] = { {1}, {2, 3}, {4, 5, 6} };
printf( “%d\n”, sizeof( testarray ) );
}
7.
#include
void main()
{
int y[4] = {6, 7, 8, 9};
void main()
{
int y[4] = {6, 7, 8, 9};
int *ptr = y + 2;
printf(“%d\n”, ptr[ 1 ] ); /*ptr+1 == ptr[1]*/
}
}
8.
#include
void main()
{
int z;
int i = 4;
int x = 6;
z = x / i;
printf(“z=%.2f\n”, z);
}
void main()
{
int z;
int i = 4;
int x = 6;
z = x / i;
printf(“z=%.2f\n”, z);
}
9.
#include
void func()
{
int x = 0;
static int y = 0;
x++; ++y;
printf( “%d — %d\n”, x, y );
}
void func()
{
int x = 0;
static int y = 0;
x++; ++y;
printf( “%d — %d\n”, x, y );
}
int main()
{
func();
func();
return 0;
}
{
func();
func();
return 0;
}
10.
WAP for following
In a program, using the ‘rand’ function you can generate a fixed sequence of random numbers every time the program is run. How do you make the sequence different in each run?
11.
WAP for multiplication of 2*2 matrix
12
WAP to print following
*********
*******
*****
***
*
*******
*****
***
*
There were 18 questions I do not remember them all. But they were simple
All the best
-IF YOU LIKE OUR EFFORT, PLEASE LIKE AND SHARE OUR FB-PAGE AND SITE