GATE Questions

Q:

What is the difference between stack and array?

Answer

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.

Report Error

View answer Workspace Report Error Discuss

Subject: C++ Exam Prep: GATE

24 16351
Q:

What approximate value will come in place of question mark (?) in the following question ?

 (49.001)2  = ?

A) 2500 B) 2400
C) 2600 D) 2300
 
Answer & Explanation Answer: B) 2400

Explanation:

Given (49.001)2  = ?

=> =~ 49 x 49

=~ 2401

=~ 2400 

Report Error

View Answer Report Error Discuss

Filed Under: Mathematical Operations
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Bank Clerk , Bank PO

32 16350
Q:

Find the Value of ?

5.112.2+5.553.3+6.31.4+7.22.001 = ? x 3.34

A) 81 B) 77
C) 73 D) 89
 
Answer & Explanation Answer: D) 89

Explanation:

This can be done in a method called Approximation.

Now, 

52 + 63 + 6 + 72 = ? x 3.3425 + 216 + 6 + 49 = ? x 3.34296 = ? x 3.34? = 2963.34 = 88.622  89 

Report Error

View Answer Report Error Discuss

Filed Under: Mathematical Operations
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

25 16350
Q:

P is faster than Q. P and Q each walk 24 km. The sum of their speeds is 7 km/hr and the sum of times taken by them is 14 hours. Then, P's speed is equal to ?

A) 3 km/hr B) 4 km/hr
C) 5 km/hr D) 6 km/hr
 
Answer & Explanation Answer: B) 4 km/hr

Explanation:

Let P's speed = x km/hr. Then, Q's speed = (7 - x) km/ hr.

 

So, 24/x + 24/(7 - x) = 14

 

x2 - 98x + 168 = 0

 

(x - 3)(x - 4) = 0 => x = 3 or 4.

 

Since, P is faster than Q,

 

so P's speed = 4 km/hr and Q's speed = 3 km/hr.

Report Error

View Answer Report Error Discuss

Filed Under: Time and Distance
Exam Prep: GATE , CAT , Bank Exams , AIEEE
Job Role: Bank PO , Bank Clerk

16 16341
Q:

5x - 6 = 3x - 8

Solve the above equation.

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

Explanation:

Given 5x - 6 = 3x - 8

5x - 3x = -8 + 6

2x = -2

=> x = -1.

Report Error

View Answer Report Error Discuss

Filed Under: Mathematical Operations
Exam Prep: AIEEE , Bank Exams , CAT , GATE , GRE
Job Role: Analyst , Bank Clerk , Bank PO

23 16338
Q:

Second & fourth Saturdays and every Sunday is a holiday. How many working days will be there in a month of 31 days beginning on a Friday ?

A) 24 B) 23
C) 22 D) 25
 
Answer & Explanation Answer: A) 24

Explanation:

Given that the month begins on a Friday and has 31 days

 

Sundays = 3rd, 10th, 17th, 24th, 31st
=> Total Sundays = 5

 

Every second & fourth Saturday is holiday.
2nd & 4th Saturday in every month = 2

 

Total days in the month = 31

 

Total working days = 31 - (5 + 2) = 24 days.

Report Error

View Answer Report Error Discuss

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

68 16327
Q:

What Does My Name Mean, If my Mother is a Mathematician, and my Father is a Chemist. And they gave a Code to My Name as "Iron59".

Crack my Name?

A) Elix B) Alex
C) Selix D) Felix
 
Answer & Explanation Answer: D) Felix

Explanation:

Here my name "Iron59" means Felix.

Since my father is a chemist he gave code Iron for Fe as chemical symbol for Iron is Fe and my mother is a mathematician she gave 59 for Lix as Roman word for 59 is Lix.

 

Hence my name is FELIX.

Report Error

View Answer Report Error Discuss

Filed Under: Logic Puzzles
Exam Prep: AIEEE , Bank Exams , CAT , GATE , GRE , TOEFL
Job Role: Analyst , Bank Clerk , Bank PO , IT Trainer , Project Manager

17 16320
Q:

Which combination of atoms can form a polar covalent bond?

A) H and Br B) H and H
C) Na and Br D) N and N
 
Answer & Explanation Answer: A) H and Br

Explanation:

Only H and Br form Polar Covalent Bond.

 

Covalent bonding:

Covalent bonding occurs when pairs of electrons are shared by atoms. Atoms will covalently bond with other atoms in order to gain more stability, which is gained by forming a full electron shell. By sharing their outer most (valence) electrons, atoms can fill up their outer electron shell and gain stability.

1. Polar Covalent Bond

2. Nonpolar Covalent Bond

 

1. Polar Covalent Bond:

A Polar Covalent Bond is created when the shared electrons between atoms are not equally shared. This occurs when one atom has a higher electronegativity than the atom it is sharing with. The atom with the higher electronegativity will have a stronger pull for electrons (Similiar to a Tug-O-War game, whoever is stronger usually wins). As a result, the shared electrons will be closer to the atom with the higher electronegativity, making it unequally shared.

 

2. Nonpolar Covalent Bond:

A Nonpolar Covalent Bond is created when atoms share their electrons equally. This usually occurs when two atoms have similar or the same electron affinity. The closer the values of their electron affinity, the stronger the attraction. This occurs in gas molecules; also known as diatomic elements. Nonpolar covalent bonds have a similar concept as polar covalent bonds; the atom with the higher electronegativity will draw away the electron from the weaker one.

 

Here H and H and N and N form Non-polar covalent bonds. Na and Br form the ionic bond.

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: AIEEE , Bank Exams , GATE
Job Role: Analyst , Bank Clerk , Bank PO

13 16301