# GATE Questions

Q:

What is the difference between stack and array?

Stack:

- Stack is a ordered collection of items

- Stack is a dynamic object whose size is constantly changing as items are pushed and popped .

- Stack may contain different data types

Array:

- Array is an ordered collection of items

- Array is a static object i.e. no of item is fixed and is assigned by the declaration of the array

- It contains same data types.

Subject: C++ - Technology Exam Prep: GATE

7743
Q:

8, 15, 28, 53, ?, 199

 A) 101 B) 102 C) 103 D) 104

Explanation:

Here the series of the form is

53 x 2 - 4 = 106 - 4 = 102

Filed Under: Series - Verbal Reasoning - Mental Ability
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Bank Clerk , Bank PO

60 7279
Q:

A bag contains 4 red and 3 black balls. A second bag contains 2 red and 4 black balls. One bag is selected at random. From the selected bag, one ball is drawn. Find the probability that the ball drawn is red.

 A) 23/42 B) 19/42 C) 7/32 D) 16/39

Explanation:

A red ball can be drawn in two mutually exclusive ways

(i) Selecting bag I and then drawing a red ball from it.

(ii) Selecting bag II and then drawing a red ball from it.

Let E1, E2 and A denote the events defined as follows:

E1 = selecting bag I,

E2 = selecting bag II

A = drawing a red ball

Since one of the two bags is selected randomly, therefore

P(E1) = 1/2  and  P(E2) = 1/2

Now, $P\left(\frac{A}{{E}_{1}}\right)$ = Probability of drawing a red ball when the first bag has been selected = 4/7

$P\left(\frac{A}{{E}_{2}}\right)$  = Probability of drawing a red ball when the second bag has been selected = 2/6

Using the law of total probability, we have

P(red ball) = P(A) = $P\left({E}_{1}\right)×P\left(\frac{A}{{E}_{1}}\right)+P\left({E}_{2}\right)×P\left(\frac{A}{{E}_{2}}\right)$

= $\frac{1}{2}×\frac{4}{7}+\frac{1}{2}×\frac{2}{6}=\frac{19}{42}$

18 7005
Q:

A Shopkeeper sells two articles at Rs.1000 each, making a profit of 20% on the first article and a loss of 20% on the second article. Find the net Profit or loss that he makes?

 A) 4% B) 5% C) 6% D) 8%

Explanation:

SP of first article = Rs.1000

Profit = 20%

SP of Second Article = Rs.1000

Loss = 20%

So, Total SP = Rs.2000; Total CP = Rs.6250/3

As the CP is more than SP, he makes a loss.

Loss = CP - SP = (6250/3) - 2000 = Rs.(250/3)

So, Loss Percent = Lossx100/CP = 4%

17 6277
Q:

Ram sell his goods 25% cheaper than Shyam and 25% dearer than Bram. How much % is Bram's good cheaper than Shyam ?

 A) 60% B) 40% C) 50% D) 30%

Explanation:

Lets say shyam sells at 100,

Since Ram sells 25% cheaper than Shyam,

Therefor Ram sells at less than 25% of100 or 75 rs.

Ram sells 25% dearer than Bram or 125% of Ram =100% of Bram or

125% of x (say x price of bram )=75rs.
or 100% of x =60rs.
hence price of bram is 60rs.

now Bram's good is cheaper than Shyam's as (100-60)x100/100% or 40%.

Hence Brams Good is 40% cheaper than that of Shyam's good.

15 6156
Q:

Which city is known as 'Gold capital of the world' ?

 A) Johannesburg B) Paris C) Dubai D) Saudi

Explanation:

Filed Under: World Geography
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Bank Clerk , Bank PO

48 5870
Q:

The third proportional to 9 and 12 is ?

 A) 14 B) 16 C) 18 D) 20

Explanation:

Let the third proportion to 9 & 12 be 'x'.

=> 9:12 = 12 :p

=> p = 12x12/9 = 16.

20 5861
Q:

A number is increased by 20% and then decreased by 20%, the final value of the number is ?

 A) increase by 2% B) decrease by 3% C) decrease by 4% D) increase by 5%