Searching for "If"

Q:

If sum of upstream and downstream speed of a boat is 82 kmph, and the boat travels 105 km. upstream in 3 hr, Find the time taken by boat to cover 126 km downstream. 

A) 2.8 hrs B) 2.7 hrs
C) 2.6 hrs D) 2.5 hrs
 
Answer & Explanation Answer: B) 2.7 hrs

Explanation:

Let Speed of boat in still water = b

Let Speed of still water = w

Then we know that,

Speed of Upstream = U = boat - water

Speed of Downstream = D = boat + water

Given, U + D = 82

b - w + b + w = 82

2b = 82

=> b = 41 kmph

From the given data,

41 - w = 105/3 = 35

w = 6 kmph

Now,

b + w = 126/t

=> 41 + 6 = 126/t

=> t = 126/47  = 2.68 hrs.

Report Error

View Answer Report Error Discuss

Filed Under: Boats and Streams
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

Q:

A solution developer needs to configure the HTTP listener of an Integration Server on a Linux Server.

Which operating system privileges does the developer need to modify Integration node
properties and properties of integration node resources?

A) root user B) mqm
C) mqbrks D) mqm and mqbrks
 
Answer & Explanation Answer: A) root user

Explanation:
Report Error

View Answer Report Error Discuss

Q:

A university library budget committee must reduce exactly five of eight areas of expenditure—I, J, K, L, M, N, O and P—in accordance with the following conditions:

If both I and O are reduced, P is also reduced.
If L is reduced, neither N nor O is reduced.
If M is reduced, J is not reduced.
Of the three areas J, K, and N exactly two are reduced.

 

Question :

If both K and N are reduced, which one of the following is a pair of areas neither of which could be reduced?

A) I, L B) J, L
C) J, M D) I, J
 
Answer & Explanation Answer: B) J, L

Explanation:

This question concerns a committee’s decision about which five of eight areas of expenditure to reduce. The question requires you to suppose that K and N are among the areas that are to be reduced, and then to determine which pair of areas could not also be among the five areas that are reduced.

The fourth condition given in the passage on which this question is based requires that exactly two of K, N, and J are reduced. Since the question asks us to suppose that both K and N are reduced, we know that J must not be reduced:

Reduced         ::      K, N
Not reduced   ::      J

The second condition requires that if L is reduced, neither N nor O is reduced. So L and N cannot both be reduced. Here, since N is reduced, we know that L cannot be. Thus, adding this to what we’ve determined so far, we know that J and L are a pair of areas that cannot both be reduced if both K and N are reduced:

Reduced        ::      K, N
Not reduced  ::      J, L

Answer choice (B) is therefore the correct answer.

Report Error

View Answer Report Error Discuss

Q:

Difference between Arraylist and Linked list?

Answer

ArrayList and LinkedList both implements List interface and maintains insertion order. Both are non synchronized classes.


 


But there are many differences between ArrayList and LinkedList classes that are given below.


 

ArrayList    V/s     LinkedList ::


 

1) ArrayList internally uses dynamic array to store the elements.


                   Whereas


LinkedList internally uses doubly linked list to store the elements.


 

2) Manipulation with ArrayList is slow because it internally uses array. If any element is removed from the array, all the bits are shifted in memory.


                   Whereas


Manipulation with LinkedList is faster than ArrayList because it uses doubly linked list so no bit shifting is required in memory.


 

3) ArrayList class can act as a list only because it implements List only.


                   Whereas


LinkedList class can act as a list and queue both because it implements List and Deque interfaces.


 

4) ArrayList is better for storing and accessing data.


                   Whereas


LinkedList is better for manipulating data.

Report Error

View answer Workspace Report Error Discuss

Q:

What do you understand by - 'If K is there L has to be there'

A) K & L will always be together B) K is not there, then L will not be there
C) k is there, then L will also be there D) K & L will always be not together
 
Answer & Explanation Answer: C) k is there, then L will also be there

Explanation:

This would not mean that K and L will always be together. It just implies that, if K is there, then L will also be there.

At the same time, it can happen that L is there but K isn't.

Remember, the condition is on K, not on L.

Report Error

View Answer Report Error Discuss

Filed Under: Analytical Reasoning
Exam Prep: AIEEE , Bank Exams , CAT , GATE , GRE , TOEFL
Job Role: Analyst , Bank Clerk , Bank PO , IT Trainer

Q:

Difference between Candidate key and Primary key?

Answer

Candidate Key – A Candidate Key can be any column or a combination of columns that can qualify as unique key in database. There can be multiple Candidate Keys in one table. Each Candidate Key can qualify as Primary Key. 


Primary Key – A Primary Key is a column or a combination of columns that uniquely identify a record. Only one Candidate Key can be Primary Key.






        • One needs to be very careful in selecting the Primary Key as an incorrect selection can adversely impact the database architect and future normalization. For a Candidate Key to qualify as a Primary Key, it should be Non-NULL and unique in any domain.




Report Error

View answer Workspace Report Error Discuss

Q:

In a 40 litre mixture of alcohol & water, the ratio of alcohol and water is 5 : 3. If 20% of this mixture is taken out and the same amount of water is added then what will be the ratio of alcohol and water in final mixture?

A) 1:1 B) 2:1
C) 3:1 D) 1:2
 
Answer & Explanation Answer: A) 1:1

Explanation:

Quantity of alohol in the mixture = 40 x 5/8 = 25 lit

Quantity of water = 40 - 25 = 15 lit

According to question,

Required ratio = 20 - 40 x 20100 x 5815 - 40 x 20100 x 38 + 40 x 20100 = 2015 - 3 + 8 = 1 : 1

Report Error

View Answer Report Error Discuss

Filed Under: Alligation or Mixture
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

Q:

A water tank in a village is normally filled in 8 hours but takes 2 hours longer to fill because of a leak in its bottom. If the tank is full, in how many hrs will the leak empty it ? 

A) 34 hrs B) 36 hrs
C) 38 hrs D) 40 hrs
 
Answer & Explanation Answer: D) 40 hrs

Explanation:

The time taken by the leak to empty the tank = 18 - 110 = 5 - 440 = 140

Therefore, the leak empties the tank in 40 hours.

Report Error

View Answer Report Error Discuss

Filed Under: Pipes and Cistern
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO