The number at the centre of each triangle equals the sum of the lower two numbers minus the top number.
Q. No. :
9
Question :
Two trains are 200 km apart, and travelling towards each other at 50 km/hour each.
From one train a fly takes off, flying straight above the rails to the other train at the speed of 75 km/hour, bounces off it and flies back to the first train.
This is repeated till the trains crash together and the fly is smashed (Headline: Fly Dies in Freak Train Crash)
What distance is the fly able to fly until its meet its tragic end?
The complicated way: figure out how long its first journey is, then the return journey, and so on . . . .
Or simply figure that the trains will meet each other in 2 hours (200 km, and each is travelling at 50 km/hour), so the fly is flying for 2 hours at 75 km/h for a distance of 150 km.
Convert each letter to its numerical value, and read each pair of values as 2 digit numbers. In each row, the number in the centre equals the difference between the 2 digit values on the left and right.
Q. No. :
12
Question :
Imagine a 3x3x3 wooden cube.
How many cuts do we need to break it into 27 1x1x1 cubes?
A cut may go through multiple wooden pieces.
1. Choice 1 if the question can be answered using one of the statements alone, while the other statement is not sufficient to answer the question.
2. Choice 2 if the question can be answered using each of the statements independently
3. Choice 3 if both the statements together are needed to answer the question
4. Choice 4 if both the statements independently or taken together are not sufficient to answer the question
Q. No. :
13
Question :
Is it Monday on March 7 of the year Z? (Z is a natural number).
I. March 31 of the year (Z + 1) will be a Sunday.
II. April 25 of the year Z is Monday.
Statement I, March 31 of (Z + 1) was Sunday, the March 7 must have been Thursday. So, if March 7 of (Z + 1) was Thursday, then March 7 of Z cannot be Monday.
The answer is no.
It does not matter whether Z or (Z + 1) is a leap year or not.
Statement I is sufficient to answer.
Statement II also is sufficient to answer.
Q. No. :
14
Question :
The sum of the ages of Amar, Akbar and Anthony is 53 years. If Anthony, whose ages are a perfect square, is the oldest, then who is the youngest?
I. Sum of ages of Amar and Akbar is a perfect square.
II. Ages (in years) of all of them are distinct odd natural numbers.
Even after combining both the statements, we cannot say surely who is the youngest.
All that we know is Anthony’s age = 49
(Amar’s age + Akbar’s age) = 4
It has to be either Amar 1 year and Akbar 3 years or Amar 3 years and Akbar 1 year old.
Q. No. :
15
Question :
If Argentina beats Brazil by 3 goals in a soccer match, how many goals were scored by Argentina?
I. Both terms were tied at the end of first half.
II. The number of goals scored by both the teams in the first half as well as the second half was a perfect square.
Combining I and II,
In the second half
Brazil – 1, Argentina – 4 is the only option.
But in the first half
Brazil – 1, Argentina – 1
Brazil – 4, Argentina – 4 … and so on.
So, total goals scored by Argentina cannot be determined.
Following questions are based on data sufficiency
1. Choice 1 if the question can be answered using one of the statements alone, while the other statement is not sufficient to answer the question.
2. Choice 2 if the question can be answered using each of the statements independently
3. Choice 3 if both the statements together are needed to answer the question
4. Choice 4 if both the statements independently or taken together are not sufficient to answer the question
=> = 2. This is possible when x = y. Hence statement A alone is sufficient.
Statement B. (x – 50)2 = (y – 50)2 . We cannot say if x = y in this case. Take for example, let x = 100 and y = 0. Then (x – 50)2 = (100 – 50)2 = 502 = 2500.
And (y – 50)2 = (0 – 50)2 = 502 = 2500.
Hence, statement A alone is sufficient and statement B alone is not sufficient.
Q. No. :
17
Question :
Is the smallest of five consecutive integers even?
(A) The product of the five integers is 0
(B) The arithmetic mean of the five integers is 0.
If the smallest of five consecutive integers is even, then the first, third and fifth integers will be even. From statement A, we know that one of the 5 numbers is 0. However, we will not be able to say which of the 5 numbers happen to be 0.
From statement B, we know the arithmetic mean of the 5 numbers is 0. The A.M of five consecutive integers is the third integer, which is 0. 0 is even. Hence, the smallest of the 5 consecutive integers is even. Hence statement B alone is sufficient and the answer is (1).
We need to answer if m is divisible by 6. The answer has to be a definitive YES or a NO.
The test of divisibility for 6 is that the number should be divisible by both 3 and 2.
From statement (A) we know that m is divisible by 3. However, this does not answer the question if m is also divisible by 2. Hence, statement (A) alone is not sufficient. We can rule out answer choices (2). The correct answer has to be between (1), (3) or (4).
From statement (B) we know that m is divisibly by 4. If m is divisible by 4, then m should surely be divisible by 2. However, from statement (B) alone we do not know if m is divisible by 3. Therefore, statement (B) alone is also not sufficient. Hence, we can eliminate answer choice (1).
Combining the two statements, we know that m is divisible by 3 and by 4. Hence, we can conclude that m is divisible by 6. Choice (3 ) is correct.
In a survey of children who saw three different shows at Walt Disney World, the following information was gathered:
* 39 children liked The Little Mermaid
* 43 children liked 101 Dalmatians
* 56 children liked Mickey Mouse
* 7 children liked The Little Mermaid and 101 Dalmatians
* 10 children liked The Little Mermaid and Mickey Mouse
* 16 children liked 101 Dalmatians and Mickey Mouse
* 4 children liked The Little Mermaid, 101 Dalmatians, and Mickey Mouse
* 6 children did not like any of the shows
In each of the following questions two statements are given and these statements are followed by two conclusions numbered (1) and (2). You have to take the given two statements to be true even if they seem to be at variance from commonly known facts. Read the conclusions and then decide which of the given conclusions logically follows from the two given statements, disregarding commonly known facts.
Q. No. :
23
Question :
Statements: All the locks are keys. All the keys are bats. Some watches are bats.
Conclusions:
1. Some bats ate locks.
2. Some watches are keys.
3. All the keys are locks.
If it is true that all men are equals and some equals are fair then, which of the following conclusions definitely follow?
Select Answer:
A :
Some men are fair
B :
All men are fair
C :
Some fair are men
D :
None of the above
Answer: D
Q. No. :
25
Question :
If it is said that All marine life is perishable and some marine life is extinct then, which of the following conclusions definitely do not follow?
A :
Some perishable is marine life
B :
Some extinct is perishable
C :
Some extinct is marine life
D :
All perishable is extinct
Answer: D
The logic problems in this set present you with three true statements: Fact 1, Fact 2, and Fact 3. Then, you are given three more statements (labeled I, II, and III), and you must determine which of these, if any, is also a fact. One or two of the statements could be true; all of the statements could be true; or none of the statements could be true. Choose your answer based solely on the information given in the first three facts.
Q. No. :
26
Question :
Fact 1:
All hats have brims.
Fact 2:
There are black hats and blue hats.
Fact 3:
Baseball caps are hats.
If the first three statements are facts, which of the following statements must also be a fact?
I:
All caps have brims.
II:
Some baseball caps are blue.
III:
Baseball caps have no brims.
All baseball caps have brims, since baseball caps are hats (Fact 3) and all hats have brims (Fact 1). This rules out statement III, but it doesn't follow that all caps, a category that may include caps that are not baseball caps, have brims (statement I). Statement II cannot be confirmed, either, since it is possible, given the information, that all baseball caps are black.
Q. No. :
27
Question :
Fact 1: All chickens are birds.
Fact 2: Some chickens are hens.
Fact 3: Female birds lay eggs.
If the first three statements are facts, which of the following statements must also be a fact?
I: All birds lay eggs.
II: Hens are birds.
III: Some chickens are not hens.
The first statement cannot be true because only female birds lay eggs. Statement II is true because hens are chickens and chickens are birds. Statement III is also true because if only some chickens are hens, then some must not be hens.
Q. No. :
28
Question :
Fact 1: Pictures can tell a story.
Fact 2: All storybooks have pictures.
Fact 3: Some storybooks have words.
If the first three statements are facts, which of the following statements must also be a fact?
I: Pictures can tell a story better than words can.
II: The stories in storybooks are very simple.
III: Some storybooks have both words and pictures.
Statements I and II are not supported by the facts. Statement III is true because if all story-books have pictures and only some have words, then some storybooks have both words and pictures.
Q. No. :
29
Question :
daftafoni means advisement
imodafta means misadvise
imolokti means misconduct
Which word could mean "statement"?
Dafta means advise; foni is the same as the suffix ment; imo is the same as the prefix mis; lokti means conduct. Since the only word in the answer choices that hasn't been defined is krata, it is reasonable to assume that krata means state. Therefore, kratafoni is the only choice that could mean statement.
Q. No. :
30
Question :
A's son B is married with C whose sister D is married to E the brother of B. How D is related to A?
Since E is the brother of B
Therefore, A is the father of E
but D is the wife of E.
Hence, D is the daughter-in-law of A.
Q. No. :
31
Question :
Six bells commence tolling together and toll at intervals of 2, 4, 6, 8 10 and 12 seconds respectively. In 30 minutes, how many times do they toll together ?
L.C.M. of 2, 4, 6, 8, 10, 12 is 120. So, the bells will toll together after every 120 seconds(2 minutes). In 30 minutes, they will toll together (30/2) + 1 = 16 times.
Q. No. :
32
Question :
Ravi left home and cycled 10 km towards South, then turned right and cycled 5 km and then again turned right and cycled 10 km. After this he turned left and cycled 10 km. How many kilometers will he have to cycle to reach his home straight?
The scope of variable 'j' is the single printf that follows it. So, the last statement that involves 'j' will complain about the undeclared identifier 'j'
Q. No. :
3
Question :
What will be the output of the program?
#include< stdio.h >
int main()
{
int fun(int);
int i = fun(10);
printf("%d
", --i);
return 0;
}
int fun(int i)
{
return (i++);
}
Step 1: int fun(int); Here we declare the prototype of the function fun().
Step 2: int i = fun(10); The variable i is declared as an integer type and the result of the fun(10) will be stored in the variable i.
Step 3: int fun(int i){ return (i++); } Inside the fun() we are returning a value return(i++). It returns 10. because i++ is the post-increment operator.
Step 4: Then the control back to the main function and the value 10 is assigned to variable i.
Step 5: printf("%d
", --i); Here --i denoted pre-increment. Hence it prints the value 9.
Q. No. :
4
Question :
What will be the output of the program?
#include< stdio.h >
int check (int, int);
int main()
{
int c;
c = check(10, 20);
printf("c=%d
", c);
return 0;
}
int check(int i, int j)
{
int *p, *q;
p=&i;
q=&j;
i>=45 ? return(*p): return(*q);
}
if(a < 0.7) here a is a float variable and 0.7 is a double constant. The float variable a is less than double constant 0.7. Hence the if condition is satisfied and it prints 'C'
Example:
#include< stdio.h >
int main()
{
float a=0.7;
printf("%.10f %.10f
",0.7, a);
return 0;
}
Output:
0.7000000000 0.6999999881
Q. No. :
9
Question :
In the following program where is the variable a getting defined and where it is getting declared?
#include< stdio.h >
int main()
{
extern int a;
printf("%d
", a);
return 0;
}
int a=20;
A :
extern int a is declaration, int a = 20 is the definition
B :
int a = 20 is declaration, extern int a is the definition
The five item A,B,C,D and E are pushed in a stack, one after another starting from A. The stack is popped four times and each element is inserted in a queue. The two elements are deleted from the queue and pushed back on stack. Now one item is popped from stack. The popped item is:
After deleting two item from queue and pushing to stack
Queue: BC
Stack: DEA
Last item popped: D
Q. No. :
2
Question :
A sort which iteratively passes through a list to exchange the first element with any element less than it and then repeats with a new first element is called
A :
Selection Sort
B :
Insertion Sort
C :
Heap Sort
D :
Quick Sort
Answer: B
Q. No. :
3
Question :
Linked lists are best suited
A :
for relatively permanent collections of data
B :
for the size of the structure and the data in the structure are constantly changing
C :
for both of above situation
D :
for none of above situation
Answer: B
Q. No. :
4
Question :
In a balance binary tree the height of two sub trees of every node can not differ by more than
A :
2
B :
1
C :
0
D :
3
Answer: B
Q. No. :
5
Question :
Why is the constructor of the QueueLinkedList class empty?
A :
because initialization of data members of the LinkedList class is performed by the constructor of the LinkedList class.
B :
because initialization of data members of the LinkedList class is performed by the destructor of the LinkedList class.
C :
because initialization of data members of the QueueLinkedList class is performed by the constructor of the LinkedList class.
D :
because initialization of data members of the QueueLinkedList class is performed by the destructor of the LinkedList class