Sunday, May 18, 2008

HCL aptitude paper HYD 2007 NOV

1. S 1=={1,2,3,4}, S 2 =={A,B.C……….Z},S 3=={……………},(S1*S2)U S3==?
2. 8*7=B,how much is 6*9== ?
3. 4 to 5 questions on simplifying complex nos. equations
4. Sphere of radius 4.5 cm is divide in three spheres ,two have radius 1.5 and 2 cm,find the other ones??
5. If COMPLEX == 81,and……how much is ANALYSE==?? 2-3 questions based on similar pattern
6. Two taps a and b fill up a cistern in 2 and3 hrs ,at wat time should b be clsed if the tank cistern is filled up in 17 minutes??
7. A doctor checks 5 patients every 3 hrs with abreak of 10 minutes between each two check ups.how many he patients he checks in 10 hrs and 15 minutes??
8. no. of diagonals friends if vertices of a octagon are joined??
9. An equilateral triangle is formed by joining the centers of sides of a equilateral triangle.wat is the ratio of area ,s of both the triangles??
10. A can finish the work in 3 days , B can finish the work in double efficiency, can finish with equal efficiency of both A and B.if all work together within how many days will they complete the work?

Oracle job Placement paper

Three beauty pageant finalists-Cindy, Amy and Linda-The winner was musician. The one who was not last or first was a math major. The one who came in third had black hair. Linda had red hair. Amy had no musical abilities. Who was first?
(A) Cindy (B) Amy (C) Linda (D) None of these

2. Two twins have certain peculiar characteristics. One of them always lies on Monday, Wednesday, Friday. The other always lies on Tuesdays, Thursday and Saturdays. On the other days they tell the truth. You are given a conversation.
Person A- today is Sunday, my name is Anil
Person B-today is Tuesday, my name is Bill What day is today?
(A) Sunday (B) Tuesday (C) Monday (D) Thursday

3. The difference of a number and its reciprocal is 1/2.The sum of their squares is
(A) 9/4 (B) 4/5 (C) 5/3 (D) 7/4

4. The difference of a number and its square is 870.What is the number?
(A) 42 (B) 29 (C) 30 (D) 32

5. A trader has 100 Kg of wheat, part of which he sells at 5% profit and the rest at 20% profit. He gains 15% on the whole. Find how much is sold at 5% profit?
(A) 60 (B) 50 (C) 66.66 (D) 33.3

6. Which of the following points are collinear?
(A) (3,5) (4,6) (2,7) (B) (3,5) (4,7) (2,3)
(C) (4,5) (4,6) (2,7) (D) (6,7) (7,8) (2,7)

7. A man leaves office daily at 7pm.a driver with car comes from his home to pick him from office and bring back home. One day he gets free at 5.30 and instead of waiting for driver he starts walking towards home. In the way he meets the car and returns home on car. He reaches home 20 minutes earlier than usual. In how much time does the man reach home usually?
(A) 1 hr 20 min (B) 1 hr (C) 1 hr 10 min (D) 55 min

. If m:n = 2:3,the value of 3m+5n/6m-n is
(A) 7/3 (B) 3/7 (C) 5/3 (D) 3/5

9. A dog taken four leaps for every five leaps of hare but three leaps of the dog is equal to four leaps of the hare. Compare speed?
(A) 12:16 (B) 19:20 (C) 16:15 (D) 10:12

10. A watch ticks 90 times in 95 seconds. And another watch ticks 315 times in 323 secs. If they start together, how many times will they tick together in first hour?
(A) 100 times (B) 101 times (C) 99 times (D) 102 times

11. The purpose of defining an index is
(A) Enhance Sorting Performance (B) Enhance
Searching Performance
(C) Achieve Normalization (D) All of the above

12. A transaction does not necessarily need to be
(A) Consistent (B) Repeatable (C) Atomic (D) Isolated

13. To group users based on common access permission one should use
(A) User Groups (B) Roles (C) Grants (D) None of the above

14. PL/SQL uses which of the following
(A) No Binding (B) Early Binding (C) Late Binding (D) Deferred Binding

15. Which of the constraint can be defined at the table level as well as at the column level
(A) Unique (B) Not Null (C) Check (D) All the above

Oracle- Placement -Paper Latest

December 31, 2007

Oracle Latest Fresher Placement Sample Question Question Paper 3

Oracle Paper

The test was of 1 hour 30 ques. g apti and 30 of
technical…….some
ques. of g apti were very lengthy so don't end up in solving
them…..time was less……some 15 ques. from arithmetic……and
rest

ORACLE Latest Fresher Engineer Placement Sample Question Paper 3

15
logical,statement interpretation,arrangement,tense
correction……and
like
that……
i am enclosing here the 2 C questions :
1. given a square matrix which consists only of 1 and 0……find
which
rows,which cols and which diagonals consist entirely of 1's.
2. given an array of integers find all possible combinations of
the
numbers whose sum equal to 90…..
ans : knapsack problem (in data structures - aho ullman)
Note : for them solution was not the criteria…….but the
approach
was important……the solution should be generalised and
optimized……..optimization was given the top priority……..
here is the techincal paper :
plz try to solve them urself by trying on comp.
1. const int MAX=10;
main()
{enum a {a,b,MAX};
print MAX;
}
2. enum object is a const which can only be assigned a value at
initialization or a variable which can be assigned any value in
the
middle of
the program?
3. void *p;
what operation cannot be performed on p?
ans : arithmetic operation unless it is properly typecasted
4. char **p="Hello";
print p,*p,**p
5. main()
{char str[]="Geneius";
print (str);
}
print(char *s)
{if(*s)
print(++s);
printf("%c",*s);
}
6. what does the function fcloseall() does ?
7. main()
{printf("Genius %d",fun(123));
}
fun(int n)
{return (printf("%d",n));
}
8. difference between definition and declaration.
9. find the error?
fun()
{int i=10;
if(i400)
b=300; c=2–; printf("\n%d%d",b,c);}
4) Identify the error in
Main()
{char c1='a',c2='Z';
if (c1=='a'or c2=='z') printf("welcome");}
5) What will the following program print
Main()
{inti; for(i=0;i
4) How would you declare a PL/SQL table of records to
holdthe rows selectd from the EMP table ?
5) Which statement about Implicit cursor is true ?
a) Implicit cursors are declared implicitly only from
DML
b) Implicit cursors are dclared implicitly for all the
DML and SELECT statements
c) Programmers needs to close all implicit cursors
before the end of PL/SQL programs
d) Programmers can declare Implicit cursors by using
cursor type in declaraion section
6) Evaluate this PL/SQL Block
Declare
V_Result number(2)
BEGIN
DELETE
FROM EMPLOYEES
WHERE department id (20,30,80);
V_result:=SQL%ROWTYPE;
COMMIT;
END;
/
What will be the value of v_result if no rows are
selected
a) 0 b) 1 c) TRUE d) NULL
7) Which two conditions in a PL/SQL block cause an
exception error to occur ? ( Choose 2 )
a) Select statement does not return a row
b) select stmt returns more than one row
c) select statement contaains a group by clause
d) seelct statenent donot have where clause
e) data type in the select list are inconsistent whith
data types in the into clause

Quark Latest Placement Papers Freshers

Directions for question nos. 1-2: Eighty Five children went to amusement park where they could ride on merry -go-round roller coaster and Ferris wheel .It was known that 20 of them have took all three rides and 55 of them have taken at least two of the three rides. Each ride cost Rs.1 and the total receipt of the amusement park was Rs.145.

1) How many children did not try any of the rides. ?
A) 5 B) 10 C) 15 D) 20


Ans. 15.

20 kids * 3 rides = Rs. 60
(55-20=)35 kids * 2 rides = Rs. 70
60 + 70 = Rs. 130
So, Rs. (145 - 130 = ) 15 are left for the other (85 - 55 = ) 30 kids . so only 15 of them can take a ride and rest 15 will be left out.

145 rides were taken. 20 of them took all three, i.e. Rs. 60 were spent, so 145-60= Rs. 85 are left for the others. Total kids were 85, so rest were 65. out of these 65,

2) How many children took exactly one ride?
A) 5 B) 10 C) 15 D) 20


Ans. 15


3) Four cities are connected by a road network as shown in the figure. In how many ways can you start from any city and come back to it without travelling on the same road more than once ?

A) 8
B) 12
C) 16
D) 20


Ans. 12.

Consider the top city, the following are the 3 routes possible, starting from the leftmost edge. Since there are 3 edges emanating from each city and the figure is perfectly symmetrical, these 3 routes are possible from each edge, hence for any given city, the total number of routes = 4 * 3 = 12.

Directions for question nos 4-5:
A, B, and C are three numbers, Let
@(A, B)= Average of A and B
*(A, B)=Product of A and B
/(A, B)=A divided by B

4) If A=2 and B=4 the value of @( / (*(A,B),B),A) would be
A) 2
B) 4
C) 6
D) 16

Ans. 2

5) Sum of A and B is given by
A) *(@(A, B), 2)
B) /(@(A,B),2)
C) @(*(A,B),2)
D) @(/(A,B),2


Ans. A.


6) Let x<0, 01 which of the following is false:
A) (x2-z2)has to be positive.
B) yz can be less than one.
C) xy can never be zero
D) (y2-z2) is always negative

Ans. A.

7) If A's income is 25% less than B's ,by what % is B's income greater than that of A ?

A) 35%
B) 25%
C) 30%
D) None of these

Ans. D.

Directions for question nos 8-12: A professor keeps data on students tabulated by the *** and the performance of the student. Data is kept in a computer disk, but unfortunately some of it is lost because of a virus. Only the following could be recovered:

Performance Total
Average Good Excellent
Male 10
Female 32
Total 30

Panic buttons were pressed but to no avail. An expert committee was formed,which decided that the following facts were self evident:
a) Half the students were either good or excellent.
b) 40% of the students were female
c) One third of male students were average


How many students were both female and excellent?

A) 0
B) 8
C) 16
D) 32


Ans. A

Performance Total
Average Good Excellent
Male 10 48
Female 32
Total 30 80

Panic buttons were pressed but to no avail. An expert committee was formed,which decided that the following facts were self evident:
d) Half the students were either good or excellent. (implies the total of good and excellent is 40, i.e., hall of 80)
e) 40% of the students were female (this implies that 32 is 40% of the total students, hence total students are 80, this implies that males are 48, calculate the rest yourself)
f) One third of male students were average


9) What proportion of good students are male?

A) 0
B) 0.73
C) 0.4
D) 1.0

Ans. B.

10) What proportion of female students are good?
A) 0
B) 0.25
C) 0.50
D) 1.0

Ans. B


11) How many students are both male and good?

A) 10
B) 16
C) 22
D) 48

Ans. C

12) Among average students, what is the ratio of male to female?

A) 1:2
B) 2:1
C) 3:2
D) 2:3

Ans. D

Quark Latest ANALYTICAL Placement Papers

ANALYTICAL
Directions for Questions Nos: 13 to 17
Five executives of a multinational company met in Bombay:
Mr. Ram can speak Tamil and Hindi
Mr.Sham speaks Tamil and English
Mr. Raju converses in English and Hindi
Mr.Balu speaks Telugu and Tamil quite well.
Mr.Lalu can speak Hindi and Telugu


13) Which of the following can act as a interpreter when Mr.Raju and Mr.Balu wish to confer?

A) Mr.Ram Only
B) Mr.Sham Only.
C) Either Mr.Ram or Mr.Sham
D) Any of the other three executives.


Ans. D


14) Besides Mr. Lalu, which of the following can converse with Mr.Balu without an Interpreter?
A) Mr.Ram Only
B) Mr.Sham only
C) Mr.Ram and Mr.Sham
D) Mr.Raju Only


Ans. C

15) Which of the following cannot converse without interpreter?
A) Mr. Sham and Mr.Lalu.
B) Mr. Ram and Mr. Sham
C) Mr. Ram and Mr. Raju
D) Mr. Sham and Mr. Balu


Ans. A

16) If a sixth executive is brought in, for him to be understood by the maximum number of original five, he should be fluent in?
A) English and Telugu
B) Hindi and Tamil
C) Telugu and Hindi
D) Hindi and English


Ans. B

17) Of the languages spoken the most common languages are
A) English and Tamil
B) English and Hindi
C) English and Telugu
D) Hindi and Tamil


Ans. D

Directions for Questions Nos:18 to 21
Four people of different nationalities live on the same side of a street in four houses each of different color. Each person has a different favorite drink. The following additional information also known:
The Englishman lives in the red house.
The Italian drinks tea.
The Norwegian lives in the first house on the left.
In the second house from the right they drink milk
The Norwegian lives adjacent to the blue house
The Spaniard drinks fruit juice
Tea is drunk in the blue house.
The White House is to the right of the red house


18) Milk is drunk by
A) Norwegian
B) Englishman
C) Italian
D) None of these


Ans. B

19) The Norwegian drinks
A) Milk
B) Cocoa
C) Tea
D) Fruit Juice


Ans. B

20) The color of Norwegian's house is
A) Yellow
B) White
C) Blue
D) Red


Ans. A

21) Which of the following is not true:
A) Milk is drunk in the red house
B) Italian lives in the blue house
C) The Spaniard lives in a corner house
D) The Italian lives next to Spaniard.


Ans. D


Directions for Questions Nos: 22 to 23
Kya-Kya is an island in the south pacific .The inhabitants of Kya-Kya always answer any question with two sentences, one of which is always true and other is always false.

22) You are walking on a road and come to a fork. You ask the inhabitants Ram, Laxman, Lila,"Which road will take me to the village?"
Ram says,"I never speak to strangers. I am new to this place"
Laxman says,"I am married to Lila. Take the left road".
Lila says,"I am married to ram. He is not new to this place"
Which of the following is true?
A) Left road takes you to the village
B) Right road takes you to the village
C) Lila is married to laxman
D) None of above


Ans. A.
Ram said he never talked to strangers, but he spoke to a stranger, this means that this statement is false, hence his other statement must be true, hence the second statement of Lila is false, hence her first statement is true that is she is married to ram, hence the first statement of Laxman is false, hence his second statement is true, that is take the left road.

23) You find that your boat is stolen.You question three inhabitants of the island and they reply as follows:
John says,"I didn't do it. Mathew didn't do it"
Matthew says,"I didn't do it. Krishna didn't do it."
Krishna says,"I didn't do it .I don't know who did it."

Who stole your boat?
A) John
B) Matthew
C) Krishna
D) None of them.


Ans. B
Matthew said he didn't know who did it, but he also said he didn't do it, which means he knows who did it, which means his second statement is false, which means his first statement is true…

Directions for question nos 24-25: There are five trains A, B, C, D and E that run between the following stations:
Bombay and Pune
Calcutta and Bombay
Pune and Goa
Goa and Bombay
Pune and Calcutta

Trains A and D do not go to Bombay, B&C do not go to Calcutta and C & D do not touch Goa.

24) Train E goes from………… to………… and vice-versa

A.Pune and Calcutta
B.Bombay to Goa
C.Bombay to Calcutta
D.Goa to Pune.




Ans. C

25) Which train runs between Calcutta and Pune?
A) A
B) B
C) C
D) D




Ans. D

C++ Questions QUARK

1. What does the following do:

void afunction(int *x)
{
x=new int;
*x=12;
}
int main()
{
int v=10;
afunction(&v);
cout<}
a) Outputs 12
b) Outputs 10
c) Outputs the address of v

Ans b.

2. How long does this loop run: for(int x=0; x=3; x++)
a) Never
b) Three times
c) Forever


Ans. c

3. Which uses less memory?
a)
struct astruct
{
int x;
float y;
int v;
};

b)
union aunion
{
int x;
float v;
};

c)
char array[10];


Ans. b

4. Evaluate:
int fn(int v)
{
if(v==1 || v==0)
return 1;
if(v%2==0)
return fn(v/2)+2;
else
return fn(v-1)+3;
}
for fn(7);

a) 10
b) 11
c) 1


Ans. b

5. Which of the Standard C++ casts can be used to perform a "safe" downcast:
a) reinterpret_cast
b) dynamic_cast
c) static_cast
d) const_cast


Ans. b

6.
class professor {};
class teacher : public virtual professor {};
class researcher : public virtual professor {};
class myprofessor : public teacher, public researcher {};

Referring to the sample code above, if an object of class "myprofessor" were created, how many instances of professor will it contain?
a) 0
b) 1
c) 2
d) 3
e) 4


Ans. b , here professor will be called a virtual base class since teacher and researcher derive from it virtually. This is used in multiple inheritance as shown here. If professor was not inherited virtually then there would be 2 instances of professor in the object of myprofessor.

7.
string somestring ;
Which of the following choices will convert a standard C++ string object "somestring" to a C string?
a) Copy.somestring () ;
b) somestring.c_str ()
c) &somestring [1]
d) std::cstring (somestring)
e) (char *) somestring


Ans. b

8.
class ba***
{
int x;
public:
void setx(int y) {x=y;}
};
class derived : ba*** {};
What is the access level for the member function "setx" in the class "derived" above?
a) private
b) local
c) global
d) public
e) protected


Ans. a

E) Table of Member Access Privileges
Access in Base Class Base Class Inherited as Access in Derived Class
Public Protected Private Public Public Protected No access1
Public Protected Private Protected Protected Protected No access1
Public Protected Private Private Private Private No access1
1 Unless friend declarations within the base class explicitly grant access.
So, the highest member accessibility is defined by the way a class is inherited, if it is inherited privately, then the highest member accessibility will be private. Default inheritance is private.

9.
class Alpha {
public:
char data[10000];
Alpha();
~Alpha();
};
class Beta {
public:
Beta() { n = 0; }
void FillData(Alpha a);

private:
int n;
};
How do you make the above sample code more efficient?
a) If possible, make the constructor for Beta private to reduce the overhead of public constructors.
b) Change the return type in FillData to int to negate the implicit return conversion from "int" to "void".
c) Make the destructor for Alpha virtual.
d) Make the constructor for Alpha virtual.
e) Pass a const reference to Alpha in FillData


Ans. e. since u r passing a reference hence a new array will not be created in memory, whereas if u pass by value, then an array of 10000 chars will be created. Passing by reference only creates an alias for the original parameter (i.e., it points to the original parameter) and is same as passing by address, the only difference is that it can be used like an object instead of as a pointer, i.e., if param is &a, then u will write a.member, whereas if param is *a then u will write a->member.

10.
class Foo {
int x;
public:
Foo(int I);
};
If a class does not have a copy constructor explicitly defined one will be implicitly defined for it. Referring to the sample code above, which one of the following declarations is the implicitly created copy constructor?
a) Foo(Foo *f);
b) Foo(Foo &f);
c) Foo(const Foo *f);
d) Foo(const Foo &f);
e) Foo(int);


Ans. d. copy constructor takes an arg of its own type which is passed by ref and which should not be changed hence it is const

11.
class HasStatic {
static int I;
};
Referring to the sample code above, what is the appropriate method of defining the member variable "I", and assigning it the value 10, outside of the class declaration?
a) HasStatic I = 10;
b) int static I = 10;
c) static I(10);
d) static I = 10;
e) int HasStatic::I = 10;


Ans. e

12.
class X
{
private:
int a;
protected:
X(){cout<<"X constructor was called"< ~X(){cout<<"X destructor was called"<};
Referring to the code above, which one of the following statements regarding "X" is TRUE?
a) X is an abstract class.
b) Only subclasses of X may create X objects.
c) Instances of X cannot be created.
d) X objects can only be created using the default copy constructor.
e) Only friends can create instances of X objects.


Ans. b. instances of X can be created only inside its subclasses.

13.
class Foo {
const int x;
protected:
Foo(int f);
~Foo();
};
Foo f;
Referring to the sample code above, why will the class declaration not compile?
a) The variable x is const.
b) The destructor is protected.
c) The destructor is not public.
d) The constructor is protected.
e) There is no default constructor.


Ans. e. if u don't specify a constructor for a class, then the compiler generates the default constructor for u, but if u specify a constructor apart from the default constructor, then u must give the default constructor also, but only if u r creating an object which uses the default constructor. i.e., the following code is perfectly fine
class Foo {
public:
Foo(int f){}
~Foo(){}
};
Foo f(0);

But if u try to create an object of Foo like this
Foo f;
then this will give compiler error because there is no default constructor available.

14.
class Foo {
public:
Foo(int i) { }
};
class Bar : virtual Foo {
public:
Bar() { }
};

Bar b;

Referring to the above code, when the object 'b' is defined, a compiler error will occur. What action fixes the compiler error?
a) Adding a virtual destructor to the class Bar
b) Adding a constructor to Bar which takes an int parameter
c) Adding "Foo()" to the Bar constructor
d) Adding a copy constructor to the class Foo
e) Adding "Foo(0)" to the Bar::Bar initializer list


Ans. e

15. Which one of the following describes characteristics of "protected" inheritance?
a) The base class has access only to the public or protected members of the derived class.
b) The derived class has non-public, inheritable, access to all but the private members of the base class.
c) The derived class has access to all members of the base class.
d) The private members of the base class are visible within the derived class.
e) Public members of the derived class are privately accessible from the base class.


Ans. b

16. The "virtual" specifier in a member function enables which one of the following?
a) Monmorphism
b) Late binding
c) Metamorphism
d) Solomorphism
e) Inheritance


Ans. b. consider a base class B having a virtual function Foo, and a class D derived from this class also having a function Foo. Then when u create an object of a derived class, say dobj, and a ptr to base class, say pb, and point pb to dobj by saying pb = &dobj, and then call pb->Foo then the correct version of Foo will be called, i.e., the version in D will be called becz the object is of type D. this is called late binding, i.e., deferring the decision of calling which version of Foo until runtime since at compile time the type of object to which pb points may not be known.
class B {public: virtual void Foo(){cout<<"base";}};
class D : public B {public: virtual void Foo(){cout<<"derv";}};
D dobj;
B *pb;
pb = &dobj;
pb->Foo();

the output will be 'derv'.
If Foo was not declared virtual in base class B , then the output would have been 'base'.

17.
class X
{
public:
int x;
static void f(int z);
};
void X::f(int y) {x=y;}
What is the error in the sample code above?
a) The class X does not have any protected members.
b) The static member function f() accesses the non-static z.
c) The static member function f() accesses the non-static x.
d) The member function f() must return a value.
e) The class X does not have any private members.

Ans. c

18.
template class Obj {
T my_t;
X my_x;
public:
Obj(T t, X x) : my_t(t), my_x(x) { }
};
Referring to the sample code above, which one of the following is a valid conversion operator for the type T?
a) T operator T () { return my_t; }
b) T operator(T) const { return my_t; }
c) operator(T) { return my_t; }
d) T operator T (const Obj &obj) { return obj.my_t; }
e) operator T () const { return my_t; }


Ans. e.
this will be used for casting objects of type Obj to type T

class Myclass{};
template class Obj {
T my_t;
X my_x;
public:
Obj(T t, X x) : my_t(t), my_x(x) { }
operator T () const { return my_t; }
operator X () const { return my_x; }
};

void main()
{
Myclass mt;
Obj myobj(10,mt);
int x = (int) myobj;
cout << x;
Myclass mobj = (Myclass) myobj;
}


19.
catch(exception &e)
{
. . .
}
Referring to the sample code above, which one of the following lines of code produces a written description of the type of exception that "e" refers to?
a) cout << e.type();
b) cout << e.name();
c) cout << typeid(e).name();
d) cout << e.what();
e) cout << e;


Ans. c

20.
int f() {
int I = 12;
int &r = I;
r += r / 4;
int *p = &r;
*p += r;
return I;
}
Referring to the sample code above, what is the return value of the function "f()"?
a) 12
b) 15
c) 24
d) 17
e) 30


Ans. e

Answers:


1. b
2. c
3. b
4. b
5. b
6. b
7. b
8. a
9. e
10. d
11. e
12. b
13. e
14. e
15. b
16. b
17. c
18. e
19. c
20. e

C – Questions placement papers QUARK

C - Questions

1. What is the output of the following code
main()
{
printf("Hello %d",printf("QUARK test? "));
}
a. Compile time error.
b. Hello QUARK test?
c. Run time error.
d. None of the above.
e. Quark Test ?Hello.


Ans. d. the output is QUARK test? Hello 12
This is because the evaluation of the parameters in a function call is done from right to left, becz the parameters were passed via a stack hence the first parameter (the leftmost one) is at the bottom of the stack and the rightmost parameter (if it is an expresseion, it will be evaluated before putting it on the stack) is on the top of the stack, hence while popping the parameters from the stack, the function printf (or any other function) gets them in the reverse order, i.e., from right to left, hence the statement printf("Quark test? ") gets evaluated first while pushing it as a parameter on to the stack, and then the statement printf("Hello %d") is executed. The '12′ is the result of the return of printf("Quark test? ") which returns the number of characters printed.


2.) Out put of the following code is
main()
{
int i,j,A;
for (A = -1;A<=1; A++)
printf("%d\t",!!A);
}

a. 1 0 1
b. 65534 0 65534
c. -1 0 1
d. -65534 0 65534
e. None of the above


Ans. 1 0 1


3) What is the out put of the following code?
main()
{
int i=255;
printf("%d\t",++(i++));
}

a. Compilation error
b. Runtime error
c. 256
d. 0
e. None of the above


Ans. Compile Time Error 'Lvalue Required


4) What shall be the output of the following code?
main()
{
char i = 'a';
printf("%c \t %c \t", i ,(++i));
}
a. a b
b. Compile time error
c. b b
d. a a
e. 65 66


Ans. b b

5) What shall be the output of the following code?
main() {
int i,j;
printf("QUARK %s\n",main());
}
a. Compilation error.
b. Run-time error
c. Continuous scrolling Quark on the screen.
d. None of the above.


Ans. There is nothing on the screen and prog waits till the memory lasts and then out of memory run time error, so ans is b.

6) What shall be the output of the following code ?
#define f(x) x*x*x

main(){
printf("\n%d",f(2+2));
}
a. 8
b. 64
c. 10
d. 12


Ans. f(2+2) will expand to 2+2*2+2*2+2
= 2+4+4+2
= 12

7) What shall be the output of the following code ?
main()
{
void fun1(void *);
char a[] = "quark";
void *temp;
temp = a;
fun1(temp);}
void fun1(void *temp1 )
{
int t1 = 0;
while(*((char*)temp1+ t1++ )!='\0′) {
printf("%c",*((char*)temp1 + t1));
}
}

a. Compilation error
b. ark
c. quark
d. uark

Ans, uark

8. What will be the out put of the following code?
void main()
{ int x=3;
printf("%d\t %d",x>>1, x<<3);
}
a. 1 and 4
b. 1 and 24
c. 1 and 27
d. None of the above


Ans. 1 and 24
This is because 3 in binary is 00000000 00000011 in two bytes (integer). Again, the right to left evaluation rule of parameters is applicable and so x<<3 gets executed first, it means left shift 3 times, but this operator does not change the value of x itself, it simply returns a value, so x retains its value after this operation has been carried out, so we get 00000000 00011000 which is 24, so 24 is pushed onto the stack, and then x>>1, right shift 1, 00000000 00000011, which is 1 in decimal, so 1 is pushed onto the stack, then printf("%d\t %d") gets executed displaying 1 24.

9. What will be the result of the following code?

int *x;
x =(int *) 15;
a. Compilation error
b. Compiles but gives a runtime error
c. Absolute location 15 in the memory space shall be assigned to pointer x;
d. Location 15 in the program space is assigned to pointer x;
e. Location 15 contains the address to an integer.

Ans d


10. Which of the following functions cannot be called from another file?

a. const void func(){ ……..}
b. extern void func(){………}
c. void func(){………}
d. static void func(){……….}


Ans. static

11. What will be the out come of the following code?

#include

int * func(){
static int x=0;
x++; return &x;
}
int main()
{
int * y = func();
printf("%d",(*y)++);
func();
printf("%d\n",*y);
return 0;
}

a. Compilation error.
b. Prints 1 and 3
c. Prints 1 and 3 but it is not good practice.
d. Prints 1 and 1
e. The code will not execute properly because y points to a variable whose life span is limited to execution of the function func();


Ans. Prints 1 and 3 but it is not a good practice

12. Referring to the above code , which of the following would be the correct
implementation for myFunc ?
char *format = "%d";
int main()
{
int x;
myFunc(scanf,&x);
printf("%d\n",x);
return(0);
}

a. void myFunc(int(*y)(const char*,…),int *x) {(*y)(format,&x);}
b. void myFunc(int(*y)(const char*,…),int *x) {(*y)(format,*x);}
c. void myFunc(int*y(const char*,…),int *x) {(*y)(format,&x);}
d. void myFunc(*(int y(const char*,…)),int *x) {(*y)(format,x);}
e. void myFunc(int(*y)(const char*,…),int *x) {(*y)(format,x);}

13. What shall be the output of the following C code?
void main()
{
unsigned int x= -1;
int y =0;
if(y<=x) printf("A is true\n");
if (y = =(x = -10)) printf("B is true\n");
if ((int) x>=y) printf("C is true\n");
}
a. A is true.
b. B is true.
c. C is true.
d. None of the above.

Ans. A is true because x contains -1, i.e., in binary it is ffff, i.e., all 1s, so being unsigned, all 1s are interpreted as the value 65535 and not as -1 (however, all 1s are interpreted as -1 if it is just an int), hence y<=x returns true.

14. In the following code what is the correct way to increment the variable ptr to
point to the next member of the array

union intfloat
{
int intArray[ 5];
float floatArray[ 5];

};
union intfloat arr[20];
void *ptr =arr;

a. ++(int*)ptr;
b. ptr = ptr+5;
c. ptr = ptr +sizeof(*ptr);
d. ptr = ptr+sizeof(intfloat.floatArray);
e. ptr = (void*)((union intfloat*)ptr +1);


Ans. e. ptr = (void*)((union intfloat*)ptr +1);


15.What shall be the output of the following program?

#define PRINTXYZ(x,y,z) printf (#x "=%d\t" #z "=%d\n", x, y)

void main() {
int x, y, z;
x=0; y=1; z=2;

x || ++y ||++z;
PRINTXYZ(x,y,z);

++x || ++y && ++z;
PRINTXYZ(x,y,z);

++x && ++y || ++z;
PRINTXYZ(x,y,z);
}

a. Compilation error.
b. Runtime error.
c.
x=0 z=2
x=1 z=3
x=2 z=4
d.
x=0 z=2
x=1 z=2
x=2 z=3
e. None of the above.


Ans. d.

16. What shall be the output of the following code ?

main()
{
printf("%d %d", sizeof(NULL), sizeof(""));
}

a. 1 and 0.
b. 0 and 1
c. 2 and 1
d. 4 and 1
e. None of the above


Ans. Depends on the machine and compiler. Actually it is the sizeof(int) and sizeof(char) as a string is stored as a char array terminated with 0, so sizeof("") gives 1, whereas sizeof("adsf") gives 5 (including the terminating 0). So in TurboC we get c as the answer, on VC we get d as the answer, so I guess e is the ans, i.e., None of the above.


17. What shall be the output of the following code?

int *check ( int,int);
void main()
{int c,d;
c = check(11,29);
d= check(20,30);
printf("\nc=%u",c);
}
int * check(int i,int j )
{
int *p, *q;
p=&i;
q=&j;
if(i>=95)
return(q);
else
return(p);
}
a. 11
b. 29
c. Compilation error
d. Runtime error
e. None of the above.

Ans. e. None of the above. the statement c = check(11,29) is assigning an int ptr to an int, so c has an address of an int (which has gone out of scope, since the function returns the address of a variable which had its scope only inside the function, since the parameters were passed by value) so the value printed can be anything. Instead, if the statement was c = *(check(11,29)) then c would have the value stored at the address returned by the function, which would most probably be 11, but it cannot be guaranteed since the variable i has fallen out of scope.


18. What shall be the output of the following code?

void main()
{int a[3][2]={ 1,2,
5,7,
6,8};

printf("\n%d",((a+1)-(&a+1)));
}
a. 0
b. -16
c. -2
d. -8
e. None of the above.


Ans. -2. I haven't been able to figure this one out. a is the address of the 2-d array, here a, &a, *a all give the same value, i.e., address of the array. (a+1) gives the address of the second row, it is the same as a[1]. *(a+1) gives the address of the first cell of the second row. **(a+1) gives the value of the element stored in the first cell in the second row. (*(a+1)+1) gives the address of the second cell of the second row. *(*(a+1)+1) gives the value of the element stored in the second cell in the second row.

19.What shall be the output of the following code?
main()
{
char str1[]="Hello";
char str2[]="Hello";
if(str1= =str2&& (*(str1+6)= =*(str2+6)))
printf("\n Equal");
else
printf("\n unequal");
}
a. Equal
b. Unequal
c. Compilation error.
d. Runtime error.
e. None of the above.


Ans. b. Unequal, because the addresses of the two strings are str1 and str2 and they are different.

20. Given that sizeof(int) is 2 , what is the output of the following code
main()
{
int a, b=255,c=127;
a=~b;
c=c^(~a & b|0);\
c=c^(~(~b));
printf("%d\n",c);
}
a. Error because of overflow;
b. 255
c. -256
d. 127
e. None of the above

Ans. d. 127

ANSWERS


1. D
2. A
3. A
4. C
5. B
6. D
7. D
8. B
9. A
10. D
11. C
12. E
13. A
14. E
15. D
16. E
17. C
18. C
19. B
20. D

TCSQUANTITATIVE AND LOGICAL REASONING paper 2007

SECTION 2: QUANTITATIVE AND LOGICAL REASONING.

MOST OF THE QUESTIONS WERE FROM TCS OLD PAPERS.
THE QUESTIONS WILL BE OF THIS PATTERN TO EVERYONE. ONLY THE DATA GETS CHANGED.

1. In a two-dimensional array, X (9, 7), with each element occupying 4 bytes of memory, with the address of the first element X (1, 1) is 3000, find the address of X (8, 5).
2. In the word ORGANISATIONAL, if the first and second, third and forth, forth and fifth, fifth and sixth words are interchanged up to the last letter, what would be the tenth letter from right?
3. What is the largest prime number that can be stored in an 8-bit memory?
4. Select the odd one out. a. Java b. Lisp c. Smalltalk d. Eiffel.
5. Select the odd one out a. SMTP b. WAP c. SAP d. ARP
6. Select the odd one out a. Oracle b. Linux c. Ingress d. DB2
7. Select the odd one out a. WAP b. HTTP c. BAAN d. ARP
8. Select the odd one out a. LINUX b. UNIX c. SOLARIS d. SQL SEVER
9. Select the odd one out a. SQL b. DB2 c. SYBASE d. HTTP
10. The size of a program is N. And the memory occupied by the program is given by M = square root of 100N. If the size of the program is increased by 1% then how much memory now occupied?
11. A man, a woman, and a child can do a piece of work in 6 days. Man only can do it in 24 days. Woman can do it in 16 days and in how many days child can do the same work?
12. In which of the system, decimal number 384 is equal to 1234?
13. Find the value of the 678 to the base 7.
14. Number of faces, vertices and edges of a cube
15. Complete the series 2, 7, 24, 77,__
16. Find the value of @@+25-++@16, where @ denotes "square" and + denotes "square root".
17. Find the result of the following expression if, M denotes modulus operation, R denotes round-off, T denotes truncation: M(373,5)+R(3.4)+T(7.7)+R(5.Cool
18. If TAFJHH is coded as RBEKGI then RBDJK can be coded as ———
19. G(0)=-1, G(1)=1, G(N)=G(N-1) - G(N-2), G(5)= ?
20. What is the max possible 3 digit prime number?
21. A power unit is there by the bank of the river of 750 meters width. A cable is made from power unit to power a plant opposite to that of the river and 1500mts away from the power unit. The cost of the cable below water is Rs. 15/- per meter and cost of cable on the bank is Rs.12/- per meter. Find the total of laying the cable.
22. The size of a program is N. And the memory occupied by the program is given by M = square root of 100N. If the size of the program is increased by 1% then how much memory now occupied?
23. In Madras, temperature at noon varies according to -t^2/2 + 8t + 3, where t is elapsed time. Find how much temperature more or less in 4pm to 9pm.
24. The size of the bucket is N kb. The bucket fills at the rate of 0.1 kb per millisecond. A programmer sends a program to receiver. There it waits for 10 milliseconds. And response will be back to programmer in 20 milliseconds. How much time the program takes to get a response back to the programmer, after it is sent?
25. A man, a woman, and a child can do a piece of work in 6 days. Man only can do it in 24 days. Woman can do it in 16 days and in how many days child can do the same work?
26. If the vertex (5,7) is placed in the memory. First vertex (1,1) 's address is 1245 and then address of (5,7) is ———-
27. Which of the following are orthogonal pairs? a. 3i+2j b. i+j c. 2i-3j d. -7i+j
28. If VXUPLVH is written as SURMISE, what is SHDVD?
29. If A, B and C are the mechanisms used separately to reduce the wastage of fuel by 30%, 20% and 10%. What will be the fuel economy if they were used combined.
30. What is the power of 2? a. 2068 b.2048 c.2668
31. Complete the series. 3, 8, –, 24, –, 48, 63
32. Complete the series. 4, -5, 11, -14, 22, —
33. A, B and C are 8 bit no's. They are as follows:
A 1 1 0 1 1 0 1 1
B 0 1 1 1 1 0 1 0
C 0 1 1 0 1 1 0 1
Find ( (A-B) u C )=?
Hint :
A-B is {A} - {A n B}

TCS QUANTITATIVE- LOGICAL-REASONING-paper 2

34. A Flight takes off at 2 A.M from northeast direction and travels for 11 hours to reach the destination which is in north west direction. Given the latitude and longitude of source and destination. Find the local time of destination when the flight reaches there?
35. A can copy 50 papers in 10 hours while both A & B can copy 70 papers in 10 hours. Then for how many hours required for B to copy 26 papers?
36. A is twice efficient than B. A and B can both work together to complete a work in 7 days. Then find in how many days A alone can complete the work?
37. A finish the work in 10 days. B is 60% efficient than A. So how days does B take to finish the work?
38. A finishes the work in 10 days & B in 8 days individually. If A works for only 6 days then how many days should B work to complete A's work?
39. Given the length of the 3 sides of a triangle. Find the one that is impossible? (HINT : sum of smaller 2 sides is greater than the other one which is larger)
40. Find the singularity matrix from a given set of matrices?(Hint det(A)==0)
41. A 2D array is declared as A[9,7] and each element requires 2 byte. If A[ 1,1 ] is stored in 3000. Find the memory of A[8,5] ?
42. Sum of slopes of 2 perpendicular st. lines is given. Find the pair of lines from the given set of options which satisfy the above condition?
43. (a) 2+3i (b)1+i (c) 3-2i (d) 1-7i .Find which of the above is orthogonal.
44. (Momentum*Velocity)/(Acceleration * distance ) find units.
45. The number 362 in decimal system is given by (1362)x in the X system of numbers find the value of X a}5 b) 6 c) 7 d) 8 e) 9
46. Given $ means Tripling and % means change of sign then find the value of $%$6-%$%6
47. My flight takes of at 2am from a place at 18N 10E and landed 10 Hrs later at a place with coordinates 36N70W. What is the local time when my plane landed.
a) 6:00 am b) 6:40am c)7:40 d)7:00 e)8:00 (Hint : Every 1 deg longitude is equal to 4 minutes . If west to east add time else subtract time)
48. Find the highest prime number that can be stored in an 8bit computer.
49. Which of the following set of numbers has the highest Standard deviation?
1,0,1,0,1,0
-1,-1,-1,-1,-1,-1
1,1,1,1,1,1
1,1,0,-1,0,-1

50. Match the following:
1. Male - Boy —> a. A type of
2. Square - Polygon —> b. A part of
3. Roof - Building —> c. Not a type of
4. Mushroom - Vegetables —> d. A superset of
Ans: 1- d, 2- a, 3- b, 4- c
51. Match the following.
1. brother - sister —> a. Part of
2. Alsatian - dog —> b. Sibling
3. sentence - paragraph —> c. Type of
4. car - steering —> d. Not a type of
Ans. 1-b, 2-c, 3-a, 4-d

*****Remaining Questions were from Graph, pie charts, Bar chart and Venn diagram which were very easy.

SECTION 3: CRITICAL REASONING(BRM -LOGICAL REASONING PACKAGE WILL BE VERY HELPFUL)

I.The players G,H,J,K,L,M,N,O are to be felicitated of representing the county team in Baseball Out of these H,M,O also are in the Football team and K,N are there in the Basket ball team . These players are to be seated on a table and no two players who has represented the county in more than one game are to sit together.
1.Which one of the orders can they be seated in
2. Which of the orders is not possible
3. If N is seated in the middle then which of the following pairs cannot be seated near him .
4. If M is seated then which of the following pairs can be seated next to him.

Choices are given for all the questions

II There are 2 groups named Brown and red. They can't marry in the same group. If the husband or wife dies then the person will convert to their own group. If a person is married then the husband will have to change his group to his wife's group. The child will own the mothers group. From these a set of 4 questions were given .Solve them
Eg;
1.Brown's daughter is red (False)
2. If a person is red. Then his/her mother's brother belong to which group if he is married (Brown)

III 7 people - a,b,c,d,e,f,g
Need to make a seating arrangement for them.
Conditions: 1)A should be at the center 2) B,F should be at the right extreme 3)C,E always in pair 4)D,G as far as possible
Questions from the above were asked?

Eg:
Which of the following pairs were not possible?

Others questions were similar to the above. More questions were from Barrons.

HR QUESTIONS:

For all the questions they expect a elaborate answer with justifications and not a short one.
1) Market urself
2) Why TCS ?
3) Will u switch over to any other company after joining TCS? If NO then why?
4) R u mobile? ( R u ready to go anywhere ?)
5) R u ready to go to places of extreme temperature. If yes what do u think of ur safety?
6) What are the requirements for leadership quality ?
7) Why u switch over to s/w from ur own back ground?
Cool What are the qualities required for a s/w engineer and Project manager?
9) Rate ur good qualities?
10) What is the difference between hard and smart work?
11) Do u have a plan of doing higher studies ?

Technical Questions :
General :

The questions were different for different persons and depends on the field of interest that u say.

Communication :

1) OSI Layers in n/w with the functionalities
2) TCP/IP protocol
3) Bridges, Routers, LAN, WAN, MAN
4) Token bus, FDDI, Ethernet

C Language :

1) Datastructures esp :Linked list and trees
2) Structures , unions, Kind of variables ( local ,Global)
3) Strrev( ) program
4) Case structure (it is not the usual switch case stat)
5) Calloc,malloc
6) Divide 2 number and print the o/p ( NOTE: Check for divide by zero error)

Aptitude Questions for Campus Placement

The square of a two digit number is divided by half the number. After 36 is added to the quotient, this sum is then divided by 2. The digits of the resulting number are the same as those in the original number, but they are in reverse order. The ten's place of the original
number is equal to twice the difference between its digits. What is the number?
Ans :46.

——————————————————————————–
If Log2 x - 5 Log x + 6 = 0, then what would the value / values of x be?
Ans = e2 or e3.

——————————————————————————–
A number of cats got together and decided to kill between them 999919 mice. Every cat killed an equal number of mice. Each cat killed more mice than there were cats. How many cats do you think there were ?
Ans :991.

——————————————————————————–
Three cards are drawn at random from an ordinary pack of cards. Find the probability that they will consist of a king, a queen and an ace.
Ans :64/2210.

——————————————————————————–
The average age of 10 members of a committee is the same as it was 4 years ago, because an old member has been replaced by a young member. Find how much younger is the new member ?
Ans :40 Years.

——————————————————————————–
Mr. Shah decided to walk down the escalator of a tube station. He found that if he walks down 26 steps, he requires 30 seconds to reach the bottom. However, if he steps down 34 stairs he would only require 18 seconds to get to the bottom. If the time is measured from
the moment the top step begins to descend to the time he steps off the last step at the bottom, find out the height of the stair way in steps?
Ans :46 Steps.

——————————————————————————–
A boat travels 20 kms upstream in 6 hrs and 18 kms downstream in 4 hrs.Find the speed of the boat in still water and the speed of the water current?
Ans :7/12 kmph.

——————————————————————————–
Pipe A can fill in 20 minutes and Pipe B in 30 mins and Pipe C can empty the same in 40mins. If all of them work together, find the time taken to fill the tank
Ans :17 1/7 mins.

——————————————————————————–
If x=y=2z and xyz=256 then what is the value of x?
Ans :8.

——————————————————————————–

Three pipes, A, B, & C are attached to a tank. A & B can fill it in 20 & 30 minutes
respectively while C can empty it in 15 minutes. If A, B & C are kept open successively for 1 minute each, how soon will the tank be filled?
Ans :167 min.

Aptitude Questions Wipro-Campus-Placement

A garrison of 3300 men has provisions for 32 days, when given at a rate of 850 grams per head. At the end of 7 days a reinforcement arrives and it was found that now the provisions will last 8 days less, when given at the rate of 825 grams per head. How, many more men can it feed?
Ans :1700 men.

——————————————————————————–
Solve for x and y: 1/x - 1/y = 1/3, 1/x2 + 1/y2 = 5/9.
Ans = 3/2 or -3 and y = 3 or -3/2..

——————————————————————————–
The minute hand of a clock overtakes the hour hand at intervals of 64 minutes of correct time. How much a day does the clock gain or lose?
Ans :32 8/11 minutes..

——————————————————————————–
A man ate 100 bananas in five days, each day eating 6 more than the previous day. How many bananas did he eat on the first day?
Ans :8.

——————————————————————————–
A wizard named Nepo says "I am only three times my son's age. My father is 40 years more than twice my age. Together the three of us are a mere 1240 years old." How old is Nepo?
Ans :360 Years old.

——————————————————————————–
A certain type of mixture is prepared by mixing brand A at Rs.9 a kg. with brand B at Rs.4 a kg. If the mixture is worth Rs.7 a kg., how many kgs. of brand A are needed to make 40kgs. of the mixture?
Ans :Brand A needed is 24kgs..

——————————————————————————–
What is the missing number in this series? 8 2 14 6 11 ? 14 6 18 12
Ans :9.

——————————————————————————–
Can you tender a one rupee note in such a manner that there shall be total 50 coins but none of them would be 2 paise coins.?
Ans :45 one paisa coins, 2 five paise coins, 2 ten paise coins, and 1 twenty-five paise coins..
What is the angle between the two hands of a clock when time is 8:30
Ans :75(approx).

——————————————————————————–
If there are 1024*1280 pixels on a screen and each pixel can have around 16 million colors. Find the memory required for this?
Ans :4MB.

——————————————————————————–
A boy has Rs 2. He wins or loses Re 1 at a time If he wins he gets Re 1 and if he loses the game he loses Re 1. He can loose only 5 times. He is out of the game if he earns Rs 5. Find the number of ways in which this is possible?
Ans :16.

——————————————————————————–
How many 1's are there in the binary form of 8*1024 + 3*64 + 3
Ans :4.

——————————————————————————–
A man leaves office daily at 7pm A driver with car comes from his home to pick him from office and bring back home
One day he gets free at 5:30 and instead of waiting for driver he starts walking towards home. In the way he meets the car and returns home on car He reaches home 20 minutes earlier than usual.
In how much time does the man reach home usually??
Ans :1Hr 20Min.

——————————————————————————–
In objective test a correct ans score 4 marks and on a wrong ans 2 marks are subtracted, a student score 480 marks from 150 question. how many ans were correct?
Ans :130.

——————————————————————————–
5 men or 8 women do equal amount of work in a day. a job requires 3 men and 5 women to finish the job in 10 days how many woman are required to finish the job in 14 days.
Ans :7.

——————————————————————————–
If an item costs Rs.3 in '99 and Rs.203 in '00.What is the % increase in price?
Ans :200/3 %.

——————————————————————————–
A cylinder is 6 cms in diameter and 6 cms in height. If spheres of the same size are made from the material obtained, what is the diameter of each sphere?
Ans :3cm.

——————————————————————————–
Two trains move in the same direction at 50 kmph and 32 kmph respectively. A man in the slower train observes the 15 seconds elapse before the faster train completely passes by him. What is the length of faster train ?
Ans :75m.

——————————————————————————–
If a sum of money compound annually amounts of thrice itself in 3 years. In how many years will it become 9 times itself.
Ans :6 Years.

——————————————————————————–
A certain number of men can finish a piece of work in 10 days. If however there were 10 men less it will take 10 days more for the work to be finished. How many men were there originally?
Ans :110.

——————————————————————————–
If on an item a company gives 25% discount, they earn 25% profit. If they now give 10% discount then what is the profit percentage.
Ans :30%.

——————————————————————————–
There are two circles, one circle is inscribed and another circle is circumscribed over a square. What is the ratio of area of inner to outer circle?
Ans :1:2.

——————————————————————————–
City A's population is 68000, decreasing at a rate of 80 people per year. City B having population 42000 is increasing at a rate of 120 people per year. In how many years both the cities will have same population?
Ans :130 years.

——————————————————————————–
20% of a 6 litre solution and 60% of 4 litre solution are mixed. What percentage of the mixture of solution
Ans :36%.

——————————————————————————–
Perimeter of the back wheel = 9 feet, front wheel = 7 feet on a certain distance, the front wheel gets 10 revolutions more than the back wheel. What is the distance?
Ans :315 feet..

——————————————————————————–
Each side of a rectangle is increased by 100% .By what percentage does the area
increase?
Ans :300%.

——————————————————————————–
An equilateral triangle of sides 3 inch each is given. How many equilateral triangles of side 1 inch can be formed from it?
Ans :9.

——————————————————————————–
A school has 30% students from Maharashtra .Out of these 20% are Bombey students. Find the total percentage of Bombay?
Ans :6%.

——————————————————————————–
If the total distance of a journey is 120 km .If one goes by 60 kmph and comes back at 40kmph what is the average speed during the journey?
Ans :48kmph.

——————————————————————————–
A worker is paid Rs.20/- for a full days work. He works 1,1/3,2/3,1/8.3/4 days in a week. What is the total amount paid for that worker ?
Ans :57.50.

——————————————————————————–
To 15 lts of water containing 20% alcohol, we add 5 lts of pure water. What is % alcohol.
Ans :15%.

——————————————————————————–
The cost of an item is Rs 12.60. If the profit is 10% over selling price what is the selling price ?
Ans :Rs. 13.86/-.

——————————————————————————–
If PQRST is a parallelogram what it the ratio of triangle PQS & parallelogram PQRST
Ans :1:2.

——————————————————————————–
There are two candles of equal lengths and of different thickness. The thicker one lasts of six hours. The thinner 2 hours less than the thicker one. Ramesh lights the two candles at the same time. When he went to bed he saw the thicker one is twice the length of the thinner one. How long ago did Ramesh light the two candles
Ans :3 hours..

——————————————————————————–
There is a square of side 6cm . A circle is inscribed inside the square. Find the ratio of the area of circle to square.
Ans :11/14.

——————————————————————————–
The price of a product is reduced by 30% . By what percentage should it be increased to make it 100%
Ans :42.857%.

——————————————————————————–
1/3 of girls , 1/2 of boys go to canteen .What factor and total number of classmates go to canteen.
Ans :Cannot be determined..

——————————————————————————–
What is the selling price of a car? If the cost of the car is Rs.60 and a profit of 10% over selling price is earned
Ans :Rs 66/-.

——————————————————————————–
Of Abdul, Binoy, and Chandini:
a)Each member belongs to the Tee family whose members always tell the truth or to the El family whose members always lie.
b)Abdul says "Either I belong or Binoy belongs to a different family from the other two."
Whose family do you name of?
Ans :Binoy's family–El..

——————————————————————————–
Three piles of chips–pile I consists one chip, pile II consists of chips, and pile III consists of three chips–are to be used in game played by Anita and Brinda.The game requires:
a)That each player in turn take only one chip or all chips from just one pile.
b)That the player who has to take the last chip loses.
c)That Anita now have her turn.
From which pile should Anita draw in order to win?
Ans :Pile II.

——————————————————————————–
Mr. and Mrs. Aye and Mr. and Mrs. Bee competed in a chess tournament.Of the three games played:
a)In only the first game werethe two players married to each other.
b)The men won two games and the women won one game.
c)The Ayes won more games than the Bees.
d)Anyone who lost game did not play the subsequent game.
Who did not lose a game?
Ans :Mrs.Bee did not lose a game..

——————————————————————————–
One of Mr. Horton,his wife,their son,and Mr. Horton's mother is a doctor and another is a lawyer.
a)If the doctor is younger than the lawyer, then the doctor and the lawyer are not blood relatives.
b)If the doctor is a woman, then the doctor and the lawyer are blood relatives.
c)If the lawyer is a man, then the doctor is a man.
Whose occupation you know?

Ans :Mr. Horton : he is the doctor..

——————————————————————————–
One of Mr. Horton,his wife,their son,and Mr. Horton's mother is a doctor and another is a lawyer.
a)If the doctor is younger than the lawyer, then the doctor and the lawyer are not blood relatives.
b)If the doctor is a woman, then the doctor and the lawyer are blood relatives.
c)If the lawyer is a man, then the doctor is a man.
Whose occupation you know?

Ans :Mr. Horton : he is the doctor..

——————————————————————————–
I drove 60 km at 30 kmph and then an additional 60 km at 50 kmph. Compute my average speed over my 120 km
Ans :37 1/2
Explanation : Time reqd for the first 60 km = 120 min.; Time reqd for the second 60 km = 72 min.; Total time reqd = 192 min Avg speed = (60*120)/192 = 37 1/2
.

——————————————————————————–
Divide 45 into four parts such that when 2 is added to the first part, 2 is subtracted from the second part, 2 is multiplied by the third part and the fourth part is divided by two, all result in the same number.
Ans :8, 12, 5, 20
Explanation: a + b + c + d =45; a+2 = b-2 = 2c = d/2; a=b-4; c = (b-2)/2; d =2(b-2); b-4 + b + (b-2)/2 + 2(b-2) = 45;
.

——————————————————————————–
How big will an angle of one and a half degree look through a glass that magnifies things three times?
Ans :1 1/2 degrees
Explanation : The magnifying glass cannot increase the magnitude of an angle..

——————————————————————————–
If time at this moment is 9 P.M., what will be the time 23999999992 hours later?
Ans :1 P.M.
24 billion hours later, it would be 9 P.M. and 8 hours before that it
would be 1 P.M..

——————————————————————————–
Diophantus passed one sixth of his life in childhood, one twelfth in youth, and one seventh more as a bachelor; five years after his marriage a son was born who died four years before his father at half his final age. How old is Diophantus?
Ans :84 years
Explanation : x/6 + x/12 + x/7 + 5 + x/2 + 4 = x.

——————————————————————————–
With just six weights and a balance scale, you can weigh any unit number of kgs from 1 to 364. What could be the six weights?
Ans :1, 3, 9, 27, 81, 243 (All powers of 3).

——————————————————————————–
A cylindrical container has a radius of eight inches with a height of three inches. Compute how many inches should be added to either the radius or height to give the same increase in
volume?
Ans :16/3 inches
Explanation : Let x be the amount of increase. The volume will increase by the same amount if the radius increased or the height is increased. So, the effect on increasing height is equal to the effect on increasing the radius.
i.e., (22/7)*8*8*(3+x) = (22/7)*(8+x)*(8+x)*3
Solving the quadratic equation we get the x = 0 or 16/3. The possible increase would be by 16/3 inches.
.

——————————————————————————–
If s(a) denotes square root of a, find the value of s(12+s(12+s(12+ …… upto infinity.
Ans :4
Explanation : Let x = s(12+s(12+s(12+….. ) We can write x = s(12+x). i.e., x^2 = 12 + x. Solving this quadratic equation, we get x = -3 or x=4. Sum cannot be -ve and hence sum = 4.
.

Aptitude Questions for Campus Placement 2

Ans :16/3 inches
Explanation : Let x be the amount of increase. The volume will increase by the same amount if the radius increased or the height is increased. So, the effect on increasing height is equal to the effect on increasing the radius.
i.e., (22/7)*8*8*(3+x) = (22/7)*(8+x)*(8+x)*3
Solving the quadratic equation we get the x = 0 or 16/3. The possible increase would be by 16/3 inches.
.

——————————————————————————–
If s(a) denotes square root of a, find the value of s(12+s(12+s(12+ …… upto infinity.
Ans :4
Explanation : Let x = s(12+s(12+s(12+….. ) We can write x = s(12+x). i.e., x^2 = 12 + x. Solving this quadratic equation, we get x = -3 or x=4. Sum cannot be -ve and hence sum = 4.
.

——————————————————————————–
What is the sum of all numbers between 100 and 1000 which are divisible by 14 ?
Ans :35392
Explanation : The number closest to 100 which is greater than 100 and divisible by
14 is 112, which is the first term of the series which has to be summed.
The number closest to 1000 which is less than 1000 and divisible by 14 is 994,
which is the last term of the series.
112 + 126 + …. + 994 = 14(8+9+ … + 71) = 35392.

——————————————————————————–
A rectangular plate with length 8 inches, breadth 11 inches and thickness 2 inches is available. What is the length of the circular rod with diameter 8 inches and equal to the volume of the rectangular plate?
Ans :3.5 inches
Explanation : Volume of the circular rod (cylinder) = Volume of the rectangular plate (22/7)*4*4*h = 8*11*2, h = 7/2 = 3.5.

——————————————————————————–
Out of 80 coins, one is counterfeit. What is the minimum number of weighings needed to find out the counterfeit coin?
Ans :4.

——————————————————————————–
Gavaskar's average in his first 50 innings was 50. After the 51st innings, his average was 51. How many runs did he score in his 51st innings. (supposing that he lost his wicket in his 51st innings)
Ans :101
Explanation : Total score after 50 innings = 50*50 = 2500 Total score after 51 innings = 51*51 = 2601 So, runs made in the 51st innings = 2601-2500 = 101
If he had not lost his wicket in his 51st innings, he would have scored an
unbeaten 50 in his 51st innings.
.

——————————————————————————–
A fast typist can type some matter in 2 hours and a slow typist can type the same in 3 hours. If both type combinely, in how much time will they finish?
Ans :1 hr 12 min
Explanation : The fast typist's work done in 1 hr = 1/2 The slow typist's work done in 1 hr = 1/3 If they work combinely, work done in 1 hr = 1/2+1/3 = 5/6 So, the work will be completed in 6/5 hours. i.e., 1+1/5 hours = 1hr 12 min.

——————————————————————————–
What is the number of zeros at the end of the product of the numbers from 1 to 100?
Ans :127.

——————————————————————————–
For the following, find the next term in the series
1. 6, 24, 60,120, 210
Ans :336
Explanation : The series is 1.2.3, 2.3.4, 3.4.5, 4.5.6, 5.6.7, ….. ( '.' means product).

——————————————————————————–
A man bought a horse and a cart. If he sold the horse at 10 % loss and the cart at 20 % gain, he would not lose anything; but if he sold the horse at 5% loss and the cart at 5% gain, he would lose Rs. 10 in the bargain. The amount paid by him was Rs.- _______ for the horse and Rs.________ for the cart.
Ans :Cost price of horse: Rs. 400 &
Cost price of cart: Rs. 200
Explanation:
Let x be the cost of horse & y be the cost of the cart.
10 % of loss in selling horse = 20 % of gain in selling the cart
Therefore (10 / 100) * x = (20 * 100) * y
x = 2y ———–(1)
5 % of loss in selling the horse is 10 more than the 5 % gain in selling the
cart.
Therefore (5 / 100) * x - 10 = (5 / 100) * y
5x - 1000 = 5y
Substituting (1)
10y - 1000 = 5y
5y = 1000
y = 200
x = 400 from (1).

——————————————————————————–
There are 3 persons Sudhir, Arvind, and Gauri. Sudhir lent cars to Arvind and Gauri as many as they had already. After some time Arvind gave as many cars to Sudhir and Gauri as many as they have. After sometime Gauri did the same thing. At the end of this transaction each one of them had 24. Find the cars each originally had.
Ans :Sudhir had 39 cars, Arvind had 21 cars and Gauri had 12 cars.
Explanation:
Sudhir Arvind Gauri
Finally 24 24 24
Before Gauri's transaction 12 12 48
Before Arvind's transaction 6 42 24
Before Sudhir' s transaction 39 21 12.

——————————————————————————–
The number that does not have a reciprocal is ____________.
Ans :1
Explanation:
One is the only number exists without reciprocal because the reciprocal of
one is one itself..

——————————————————————————–
Which of the following is larger than 3/5? (1) ½ (2) 39/50 (3) 7/25 (4) 3/10 (5) 59/100
Ans :39/50 .

——————————————————————————–
It takes Mr. Karthik y hours to complete typing a manuscript. After 2 hours, he was called away. What fractional part of the assignment was left incomplete?
Ans :(y - 2) / y.
Explanation:
To type a manuscript karthik took y hours.
Therefore his speed in typing = 1/y.
He was called away after 2 hours of typing.
Therefore the work completed = 1/y * 2.
Therefore the remaining work to be completed = 1 - 2/y.
(i.e.) work to be completed = (y-2)/y.

——————————————————————————–
The length of the side of a square is represented by x+2. The length of the side of an equilateral triangle is 2x. If the square and the equilateral triangle have equal perimeter, then the value of x is _______.
Ans = 4
Explanation:
Since the side of the square is x + 2, its perimeter = 4 (x + 2) = 4x + 8
Since the side of the equilateral triangle is 2x, its perimeter = 3 * 2x = 6x
Also, the perimeters of both are equal.
(i.e.) 4x + 8 = 6x
(i.e.) 2x = 8 x = 4..

——————————————————————————–
If every alternative letter starting from B of the English alphabet is written in small letter, rest all are written in capital letters, how the month "September" be written. (1) SeptEMbEr (2) SEpTeMBEr (3) SeptembeR (4) SepteMber (5) None of the above.
Ans :(5).
Explanation:
Since every alternative letter starting from B of the English alphabet is written
in small letter, the letters written in small letter are b, d, f…
In the first two answers the letter E is written in both small & capital letters, so
they are not the correct answers. But in third and fourth answers the letter is written in small letter instead capital letter, so they are not the answers..

——————————————————————————–
Which of the following statements drawn from the given statements are correct? Given: All watches sold in that shop are of high standard. Some of the HMT watches are sold in that shop.
a) All watches of high standard were manufactured by HMT.
b) Some of the HMT watches are of high standard.
c) None of the HMT watches is of high standard.
d) Some of the HMT watches of high standard are sold in that shop.
Ans :(b) & (d).

——————————————————————————–
All men are vertebrates. Some mammals are vertebrates. Which of the following conclusions drawn from the above statement is correct.
1. All men are mammals
2. All mammals are men
3. Some vertebrates are mammals.
4. None
Ans :Some vertebrates are mammals..

——————————————————————————–
If point P is on line segment AB, then which of the following is always true? (1) AP = PB (2) AP > PB (3) PB > AP (4) AB > AP (5) AB > AP + PB
Ans :(4)
Explanation:
P
A B
Since p is a point on the line segment AB, AB > AP.

——————————————————————————–
If a light flashes every 6 seconds, how many times will it flash in ¾ of an hour?
Ans :451 times.
Explanation:
There are 60 minutes in an hour.
In ¾ of an hour there are (60 * ¾) minutes = 45 minutes.
In ¾ of an hour there are (60 * 45) seconds = 2700 seconds.
Light flashed for every 6 seconds.
In 2700 seconds 2700/6 = 450 times.
The count start after the first flash, the light will flashes 451 times in ¾ of an
hour..

——————————————————————————–
Five boys were climbing a hill. J was following H. R was just ahead of G. K was between G & H. They were climbing up in a column. Who was the second?
Ans :G.
Explanation:
The order in which they are climbing is R - G - K - H - J.

——————————————————————————–
Five farmers have 7, 9, 11, 13 & 14 apple trees, respectively in their orchards. Last year, each of them discovered that every tree in their own orchard bore exactly the same number of apples. Further, if the third farmer gives one apple to the first, and the fifth gives three to each of the second and the fourth, they would all have exactly the same number of apples. What were the yields per tree in the orchards of the third and fourth farmers?
Ans :11 & 9 apples per tree.
Explanation:
Let a, b, c, d & e be the total number of apples bored per year in A, B, C, D &
E 's orchard. Given that a + 1 = b + 3 = c - 1 = d + 3 = e - 6
But the question is to find the number of apples bored per tree in C and D 's orchard.
If is enough to consider c - 1 = d + 3.
Since the number of trees in C's orchard is 11 and that of D's orchard is 13.
Let x and y be the number of apples bored per tree in C & d 's orchard respectively.
Therefore 11 x - 1 = 13 y + 3
By trial and error method, we get the value for x and y as 11 and 9.

——————————————————————————–
A tennis marker is trying to put together a team of four players for a tennis tournament out of seven available. males - a, b and c; females - m, n, o and p. All players are of equal ability and there must be at least two males in the team. For a team of four, all players must be able to play with each other under the following restrictions: b should not play with m, c should not play with p, and a should not play with o. Which of the following statements must be false? 1. b and p cannot be selected together 2. c and o cannot be selected together 3. c and n cannot be selected together.
Ans :3.
Explanation:
Since inclusion of any male player will reject a female from the team. Since
there should be four member in the team and only three males are available, the girl,
n should included in the team always irrespective of others selection..

——————————————————————————–
A man bought a horse and a cart. If he sold the horse at 10 % loss and the cart at 20 % gain, he would not lose anything; but if he sold the horse at 5% loss and the cart at 5% gain, he would lose Rs. 10 in the bargain. The amount paid by him was Rs.- _______ for the horse and Rs.________ for the cart.
Ans :Cost price of horse = Rs. 400 & the cost price of cart = 200.
Explanation:-
Let x be the cost price of the horse and y be the cost price of the cart.
In the first sale there is no loss or profit. (i.e.) The loss obtained is equal to the gain.
Therefore (10/100) * x = (20/100) * y
X = 2 * y —————–(1)
In the second sale, he lost Rs. 10. (i.e.) The loss is greater than the profit by Rs. 10.
Therefore (5 / 100) * x = (5 / 100) * y + 10 ——-(2)
Substituting (1) in (2) we get
(10 / 100) * y = (5 / 100) * y + 10
(5 / 100) * y = 10
y = 200
From (1) 2 * 200 = x = 400.

——————————————————————————–
what is a percent of b divided by b percent of a?
Ans :1
Explanation:
a percent of b : (a/100) * b
b percent of a : (b/100) * a
a percent of b divided by b percent of a : ((a / 100 )*b) / (b/100) * a )) = 1.

——————————————————————————–
A contractor agreeing to finish a work in 150 days, employed 75 men each working 8 hours daily. After 90 days, only 2/7 of the work was completed. Increasing the number of men by ________ each working now for 10 hours daily, the work can be completed in time.
Ans :150 men.
Explanation:
One day's work = 2 / (7 * 90)
One hour's work = 2 / (7 * 90 *
One man's work = 2 / (7 * 90 * 8 * 75)
The remaining work (5/7) has to be completed within 60 days, because the
total number of days allotted for the project is 150 days.
So we get the equation
(2 * 10 * x * 60) / (7 * 90 * 8 * 75) = 5/7 where x is the number of men
working after the 90th day.
We get x = 225
Since we have 75 men already, it is enough to add only 150 men..

——————————————————————————–
A man was engaged on a job for 30 days on the condition that he would get a wage of Rs. 10 for the day he works, but he have to pay a fine of Rs. 2 for each day of his absence. If he gets Rs. 216 at the end, he was absent for work for … days.
Ans :7 days
Explanation:
The equation portraying the given problem is:
10 * x - 2 * (30 - x) = 216 where x is the number of working days.
Solving this we get x = 23
Number of days he was absent was 7 (30-23) days..

——————————————————————————–
A software engineer has the capability of thinking 100 lines of code in five minutes and can type 100 lines of code in 10 minutes. He takes a break for five minutes after every ten minutes. How many lines of codes will he complete typing after an hour?
Ans :250 lines of codes.

——————————————————————————–
A dishonest shopkeeper professes to sell pulses at the cost price, but he uses a false weight of 950gm. for a kg. His gain is____%.
Ans :5.3 %
Explanation:
He sells 950 grams of pulses and gains 50 grams.
If he sells 100 grams of pulses then he will gain (50 / 950) *100 = 5.26.

——————————————————————————–
A student divided a number by 2/3 when he required to multiply by 3/2. Calculate the percentage of error in his result.
Ans :0 %
Explanation:
Since 3x / 2 = x / (2 / 3).

——————————————————————————–
It was calculated that 75 men could complete a piece of work in 20 days. When work was scheduled to commence, it was found necessary to send 25 men to another project. How much longer will it take to complete the work?
Ans :30 days.
Explanation:
Before:
One day work = 1 / 20
One man's one day work = 1 / ( 20 * 75)
Now:
No. Of workers = 50
One day work = 50 * 1 / ( 20 * 75)
The total no. of days required to complete the work = (75 * 20) / 50 = 30

Puzzles Campus Placement

Sample Puzzles for Competitions

January 1, 2008

General Gasslefield, accused of high treason, is sentenced to death by the court-martial. He is allowed to make a final statement, after which he will be shot if the statement is false or will be hung if the statement is true. Gasslefield makes his final statement and is released. What could he have said?
General Gasslefield said: "I will be shot." If this statement was true, he would have been hung and thus not be shot. But then his statement would be false, which implies that he should be shot, making the statement true again, etc… In other words: the verdict of the court-martial could not be executed and the general was released..

A long, long time ago, two Egyptian camel drivers were fighting for the hand of the daughter of the sheik of Abbudzjabbu. The sheik, who liked neither of these men to become the future husband of his daughter, came up with a clever plan: a race would determine who of the two men would be allowed to marry his daughter. And so the sheik organized a camel race. Both camel drivers had to travel from Cairo to Abbudzjabbu, and the one whose camel would arrive last in Abbudzjabbu, would be allowed to marry the sheik's daughter. The two camel drivers, realizing that this could become a rather lengthy expedition, finally decided to consult the Wise Man of their village. Arrived there, they explained him the situation, upon which the Wise Man raised his cane and spoke four wise words. Relieved, the two camel drivers left his tent: they were ready for the contest! Which 4 wise words did the Wise Man speak?
Take each other's camel..

A boy leaves home in the morning to go to school. At the moment he leaves the house he looks at the clock in the mirror. The clock has no number indication and for this reason the boy makes a mistake in interpreting the time (mirror-image). Just assuming the clock must be out of order, the boy cycles to school, where he arrives after twenty minutes. At that moment the clock at school shows a time that is two and a half hours later than the time that the boy saw on the clock at home. At what time did he reach school?
The difference between the real time and the time of the mirror image is two hours and ten minutes (two and a half hours, minus the twenty minutes of cycling). Therefore, the original time on the clock at home that morning could only have been five minutes past seven: The difference between these clocks is exactly 2 hours and ten minutes (note that also five minutes past one can be mirrored in a similar way, but this is not in the morning!).Conclusion: The boy reaches school at five minutes past seven plus twenty minutes of cycling, which is twenty-five minutes past seven!.

In front of you are 10 bags, filled with marbles. The number of marbles in each bag differs, but all bags contain ten marbles or more. Nine of the ten bags only contain marbles of 10 grams each. One bag only contains marbles of 9 grams. In addition, you have a balance which can weigh in grams accurate, and you are allowed to use it only once (i.e. weigh a single time). How can you find out in one weighing, which bag contains the marbles of 9 grams?
Number the ten bags from 1 up to and including 10. Then take one marble from bag 1, two marbles from bag 2, three marbles from bag 3, etc. Place all 55 marbles that you selected from the bags together on the balance. The number of grams that the total weight of these 55 marbles differs from 550 grams, is equal to the number of marbles of 9 grams that are among those 55 marbles, and that is equal to the number of the bag which contains the marbles of 9 grams.

An old farmer died and left 17 cows to his three sons. In his will, the farmer stated that his oldest son should get 1/2, his middle son should get 1/3, and his youngest son should get 1/9 of all the cows. The sons, who did not want to end up with half cows, sat for days trying to figure out how many cows each of them should get. One day, their neighbour came by to see how they were doing after their father's death. The three sons told him their problem. After thinking for a while, the neighbour said: "I'll be right back!" He went away, and when he came back, the three sons could divide the cows according to their father's will, and in such a way that each of them got a whole number of cows. What was the neighbour's solution?
The neighbour borrowed an extra cow, to make the total number of cows 18. Then the oldest son got 1/2 of 18 is 9 cows, the middle son got 1/3 of 18 is 6 cows, and the youngest son got 1/9 of 18 is 2 cows. Since 9+6+2 = 17, the cows could be divided among the three brothers in such a way that the borrowed cow was left over, and could be returned to its owner..

It's always 1 to 6, it's always 15 to 20, it's always 5, but it's never 21, unless it's flying. What is this?
The answer is: a dice. An explanation:
"It's always 1 to 6″: the numbers on the faces of the dice,
"it's always 15 to 20″: the sum of the exposed faces when the dice comes to rest after being thrown,
"it's always 5″: the number of exposed faces when the dice is at rest,
"but it's never 21″: the sum of the exposed faces is never 21 when the dice is at rest,
"unless it's flying": the sum of all exposed faces when the dice is flying is 21 (1 + 2 + 3 + 4 + 5 + 6)..

A man has a wolf, a goat, and a cabbage. He must cross a river with the two animals and the cabbage. There is a small rowing-boat, in which he can take only one thing with him at a time. If, however, the wolf and the goat are left alone, the wolf will eat the goat. If the goat and the cabbage are left alone, the goat will eat the cabbage. How can the man get across the river with the two animals and the cabbage?
There are two solutions:
First, the man takes the goat across, leaving the wolf with the cabbage. Then he goes back. Next, he takes the wolf across. Then the man goes back, taking the goat with him. After this, he takes the cabbage across. Then he goes back again, leaving the wolf with the cabbage. Finally, he takes the goat across.
First, the man takes the goat across, leaving the wolf with the cabbage. Then he goes back. Next, he takes the cabbage across. Then the man goes back, taking the goat with him. After this, he takes the wolf across. Then he goes back again, leaving the wolf with the cabbage. Finally, he takes the goat across. .

Aptitude Questions infotech

Aptitude Questions
In a class composed of x girls and y boys what part of the class is composed of girls
A.y/(x + y) B.x/xy C.x/(x + y) D.y/xy (Ans.C)
What is the maximum number of half-pint bottles of cream that can be filled with a 4-gallon can of cream(2 pt.=1 qt. and 4 qt.=1 gal)
A.16 B.24 C.30 D.64 (Ans.D)
.If the operation,^ is defined by the equation x ^ y = 2x + y,what is the value of a in 2 ^ a = a ^ 3
A.0 B.1 C.-1 D.4 (Ans.B)
A coffee shop blends 2 kinds of coffee,putting in 2 parts of a 33p. a gm. grade to 1 part of a 24p. a gm.If the mixture is changed to 1 part of the 33p. a gm. to 2 parts of the less expensive grade,how much will the shop save in blending 100 gms.
A.Rs.90 B.Rs.1.00 C.Rs.3.00 D.Rs.8.00 (Ans.C)

There are 200 questions on a 3 hr examination.Among these questions are 50 mathematics problems.It is suggested that twice as much time be spent on each maths problem as for each other question.How many minutes should be spent on mathematics problems
A.36 B.72 C.60 D.100 (Ans.B)
In a group of 15,7 have studied Latin, 8 have studied Greek, and 3 have not studied either.How many of these studied both Latin and Greek
A.0 B.3 C.4 D.5 (Ans.B)

In june a baseball team that played 60 games had won 30% of its game played. After a phenomenal winning streak this team raised its average to 50% .How many games must the team have won in a row to attain this average?
A. 12 B. 20 C. 24 D. 30 (Ans. C)
M men agree to purchase a gift for Rs. D. If three men drop out how much more will each have to contribute towards the purchase of the gift/
A. D/(M-3) B. MD/3 C. M/(D-3) D. 3D/(M2-3M) (Ans. D)

. A company contracts to paint 3 houses. Mr.Brown can paint a house in 6 days while Mr.Black would take 8 days and Mr.Blue 12 days. After 8 days Mr.Brown goes on vacation and Mr. Black begins to work for a period of 6 days. How many days will it take Mr.Blue to complete the contract?
A. 7 B. 8 C. 11 D. 12 (Ans.C)
2 hours after a freight train leaves Delhi a passenger train leaves the same station travelling in the same direction at an average speed of 16 km/hr. After travelling 4 hrs the passenger train overtakes the freight train. The average speed of the freight train was?
A. 30 B. 40 C.58 D. 60 (Ans. B)

If 9x-3y=12 and 3x-5y=7 then 6x-2y = ?
A.-5 B. 4 C. 2 D. 8 (Ans. D)
There are 5 red shoes, 4 green shoes. If one draw randomly a shoe what is the probability of getting a red shoe (Ans 5c1/ 9c1)
What is the selling price of a car? If the cost of the car is Rs.60 and a profit of 10% over selling price is earned (Ans: Rs 66/-)

1/3 of girls , 1/2 of boys go to canteen .What factor and total number of classmates go to canteen.
Ans: Cannot be determined.
The price of a product is reduced by 30% . By what percentage should it be increased to make it 100% (Ans: 42.857%)
There is a square of side 6cm . A circle is inscribed inside the square. Find the ratio of the area of circle to square. (Ans. 11/14 )
There are two candles of equal lengths and of different thickness. The thicker one lasts of six hours. The thinner 2 hours less than the thicker one. Ramesh lights the two candles at the same time. When he went to bed he saw the thicker one is twice the length of the thinner one. How long ago did Ramesh light the two candles .
Ans: 3 hours.

If M/N = 6/5,then 3M+2N = ?
If p/q = 5/4 , then 2p+q= ?
If PQRST is a parallelogram what it the ratio of triangle PQS & parallelogram PQRST . (Ans: 1:2 )
The cost of an item is Rs 12.60. If the profit is 10% over selling price what is the selling price ?
(Ans: Rs 13.86/- )

There are 6 red shoes & 4 green shoes . If two of red shoes are drawn what is the probability of getting red shoes (Ans: 6c2/10c2)
To 15 lts of water containing 20% alcohol, we add 5 lts of pure water. What is % alcohol. (Ans : 15% )

A worker is paid Rs.20/- for a full days work. He works 1,1/3,2/3,1/8.3/4 days in a week. What is the total amount paid for that worker ? (Ans : 57.50 )
If the value of x lies between 0 & 1 which of the following is the largest?
(a) x b) x2 (c) ?x (d) 1/x (Ans : (d) )

If the total distance of a journey is 120 km .If one goes by 60 kmph and comes back at 40kmph what is the average speed during the journey? Ans: 48kmph
A school has 30% students from Maharashtra .Out of these 20% are Bombey students. Find the total percentage of Bombay? (Ans: 6%)

An equilateral triangle of sides 3 inch each is given. How many equilateral triangles of side 1 inch can be formed from it? (Ans: 9)
If A/B = 3/5,then 15A = ? (Ans : 9B)
Each side of a rectangle is increased by 100% .By what percentage does the area increase? (Ans : 300%)

Perimeter of the back wheel = 9 feet, front wheel = 7 feet on a certain distance, the front wheel gets 10 revolutions more than the back wheel .What is the distance? Ans : 315 feet
Perimeter of front wheel =30, back wheel = 20. If front wheel revolves 240 times. How many revolutions will the back wheel take? Ans: 360 times
20% of a 6 litre solution and 60% of 4 litre solution are mixed. What percentage of the mixture of solution
(Ans: 36%)
City A's population is 68000, decreasing at a rate of 80 people per year. City B having population 42000 is increasing at a rate of 120 people per year. In how many years both the cities will have same population? (Ans: 130 years)
Two cars are 15 kms apart. One is turning at a speed of 50kmph and the other at 40kmph . How much time will it take for the two cars to meet? (Ans: 3/2 hours)

A person wants to buy 3 paise and 5 paise stamps costing exactly one rupee. If he buys which of the following number of stamps he won't able to buy 3 paise stamps. Ans: 9
There are 12 boys and 15 girls, How many different dancing groups can be formed with 2 boys and 3 girls.
Which of the following fractions is less than 1/3
(a) 22/62 (b) 15/46 (c) 2/3 (d) 1 (Ans: (b))
There are two circles, one circle is inscribed and another circle is circumscribed over a square. What is the ratio of area of inner to outer circle? Ans: 1 : 2

Three types of tea the a,b,c costs Rs. 95/kg,100/kg and70/kg respectively.How many kgs of each should be blended to produce 100 kg of mixture worth Rs.90/kg, given that the quntities of band c are equal
a)70,15,15 b)50,25,25 c)60,20,20 d)40,30,30 (Ans. (b))
in a class, except 18 all are above 50 years.15 are below 50 years of age. How many people are there
(a) 30 (b) 33 (c) 36 (d) none of these. (Ans. (d))
If a boat is moving in upstream with velocity of 14 km/hr and goes downstream with a velocity of 40 km/hr, then what is the speed of the stream ?
(a) 13 km/hr (b) 26 km/hr (c) 34 km/hr (d) none of these (Ans. A)

Find the value of ( 0.75 * 0.75 * 0.75 - 0.001 ) / ( 0.75 * 0.75 - 0.075 + 0.01)
(a) 0.845 (b) 1.908 (c) 2.312 (d) 0.001 (Ans. A)

A can have a piece of work done in 8 days, B can work three times faster than the A, C can work five times faster than A. How many days will they take to do the work together ?
(a) 3 days (b) 8/9 days (c) 4 days (d) can't say (Ans. B)
A car travels a certain distance taking 7 hrs in forward journey, during the return journey increased speed 12km/hr takes the times 5 hrs.What is the distancetravelled
(a) 210 kms (b) 30 kms (c) 20 kms (c) none of these (Ans. B)

Instead of multiplying a number by 7, the number is divided by 7. What is the percentage of error obtained ?
Find (7x + 4y ) / (x-2y) if x/2y = 3/2 ?
(a) 6 (b) 8 (c) 7 (d) data insufficient (Ans. C)

A man buys 12 lts of liquid which contains 20% of the liquid and the rest is water. He then mixes it with 10 lts of another mixture with 30% of liquid.What is the % of water in the new mixture?
If a man buys 1 lt of milk for Rs.12 and mixes it with 20% water and sells it for Rs.15, then what is the percentage of gain?
Pipe A can fill a tank in 30 mins and Pipe B can fill it in 28 mins.If 3/4th of the tank is filled by Pipe B alone and both are opened, how much time is required by both the pipes to fill the tank completely ?

If on an item a company gives 25% discount, they earn 25% profit. If they now give 10% discount then what is the profit percentage.
(a) 40% (b) 55% (c) 35% (d) 30% (Ans. D)

A certain number of men can finish a piece of work in 10 days. If however there were 10 men less it will take 10 days more for the work to be finished. How many men were there originally?
(a) 110 men (b) 130 men (c) 100 men (d) none of these (Ans. A)

In simple interest what sum amounts of Rs.1120/- in 4 years and Rs.1200/- in 5 years ?
(a) Rs. 500 (b) Rs. 600 (c) Rs. 800 (d) Rs. 900 (Ans. C)
If a sum of money compound annually amounts of thrice itself in 3 years. In how many years will it become 9 times itself.
(a) 6 (b) 8 (c) 10 (d) 12 (Ans A)
Two trains move in the same direction at 50 kmph and 32 kmph respectively. A man in the slower train observes the 15 seconds elapse before the faster train completely passes by him. What is the length of faster train ?
(a) 100m (b) 75m (c) 120m (d) 50m (Ans B)

How many mashes are there in 1 squrare meter of wire gauge if each mesh
is 8mm long and 5mm wide ?
(a) 2500 (b) 25000 (c) 250 (d) 250000 (Ans B)
x% of y is y% of ?
(a) x/y (b) 2y (c) x (d) can't be determined Ans. C
The price of sugar increases by 20%, by what % should a housewife reduce the consumption of sugar so that expenditure on sugar can be same as before ?
(a) 15% (b) 16.66% (c) 12% (d) 9% (Ans B)
A man spends half of his salary on household expenses, 1/4th for rent, 1/5th for travel expenses, the man deposits the rest in a bank. If his monthly deposits in the bank amount 50, what is his monthly salary ?
(a) Rs.500 (b) Rs.1500 (c) Rs.1000 (d) Rs. 900 (Ans C)

The population of a city increases @ 4% p.a. There is an additional annual increase of 4% of the population due to the influx of job seekers, find the % increase in population after 2 years ?
The ratio of the number of boys and girls in a school is 3:2 Out of these 10% the boys and 25% of girls are scholarship holders. % of students who are not scholarship holders.?
15 men take 21 days of 8 hrs. each to do a piece of work. How many days of 6 hrs. each would it take for 21 women if 3 women do as much work as 2 men?
(a) 30 (b) 20 (c) 19 (d) 29 (Ans. A)

A cylinder is 6 cms in diameter and 6 cms in height. If spheres of the same size are made from the material obtained, what is the diameter of each sphere?
(a) 5 cms (b) 2 cms (c) 3 cms (d) 4 cms (Ans C)
A rectangular plank (2)1/2 meters wide can be placed so that it is on either side of the diagonal of a square shown below.(Figure is not available)What is the area of the plank? ( Ans :7*(2)1/2 )
What is the smallest number by which 2880 must be divided in order to make it into a perfect square ?
(a) 3 (b) 4 (c) 5 (d) 6 (Ans. C)

A father is 30 years older than his son however he will be only thrice as old as the son after 5 years what is father's present age ?
(a) 40 yrs (b) 30 yrs (c) 50 yrs (d) none of these (Ans. A)
An article sold at a profit of 20% if both the cost price and selling price would be Rs.20/- the profit would be 10% more. What is the cost price of that article?
If an item costs Rs.3 in '99 and Rs.203 in '00.What is the % increase in price?
(a) 200/3 % (b) 200/6 % (c) 100% (d) none of these (Ans. A)
5 men or 8 women do equal amount of work in a day. a job requires 3 men and 5 women to finish the job in 10 days how many woman are required to finish the job in 14 days.
a) 10 b) 7 c) 6 d) 12 (Ans 7)
A simple interest amount of rs 5000 for six month is rs 200. what is the anual rate of interest?
a) 10% b) 6% c) 8% d) 9% (Ans 8%)
In objective test a correct ans score 4 marks and on a wrong ans 2 marks are —. a student score 480 marks from 150 question. how many ans were correct?
a) 120 b) 130 c) 110 d) 150 (Ans130)

An artical sold at amount of 50% the net sale price is rs 425 .what is the list price of the artical?
a) 500 b) 488 c) 480 d) 510 (Ans 500)
A man leaves office daily at 7pm A driver with car comes from his home to pick him from office and bring back home.One day he gets free at 5:30 and instead of waiting for driver he starts walking towards home. In the way he meets the car and returns home on car He reaches home 20 minutes earlier than usual. In how much time does the man reach home usually?? (Ans. 1hr 20min)
A works thrice as much as B. If A takes 60 days less than B to do a work then find the number of days it would take to complete the work if both work together?
Ans. 22?days
How many 1's are there in the binary form of 8*1024 + 3*64 + 3 Ans. 4
In a digital circuit which was to implement (A B) + (A)XOR(B), the designer implements (A B) (A)XOR(B) What is the probability of error in it ?

A boy has Rs 2. He wins or loses Re 1 at a time If he wins he gets Re 1 and if he loses the game he loses Re 1.He can loose only 5 times. He is out of the game if he earns Rs 5.Find the number of ways in which this is possible? (Ans. 16)
If there are 1024*1280 pixels on a screen and each pixel can have around 16 million colors. Find the memory required for this? (Ans. 4MB)
. On a particular day A and B decide that they would either speak the truth or will lie. C asks A whether he is speaking truth or lying? He answers and B listens to what he said. C then asks B what A has said B says "A says that he is a liar" What is B speaking ?(a) Truth (b) Lie (c) Truth when A lies (d) Cannot be determined
Ans. (b)