Searching for "g"

Q:

The average of five numbers is 27. If one number is excluded, the average becomes 25. The excluded number is :

A) 25 B) 35
C) 45 D) 55
 
Answer & Explanation Answer: B) 35

Explanation:

Excluded number = (27 x 5)  -  (25 x 4) = 135 - 100 = 35.

Report Error

View Answer Report Error Discuss

Filed Under: Average

Q:

The average of 7 consecutive numbers is 20. The largest of these numbers is :

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

Explanation:

Let the numbers be x, x + 1, x + 2,  x + 3, x + 4, x + 5 and x + 6,

Then   (x + (x + 1) + (x + 2) + (x + 3) + (x + 4) + (x + 5) + (x + 6)) / 7 = 20.

or  7x + 21 = 140 or 7x = 119 or x =17.

Latest number = x + 6 = 23.

Report Error

View Answer Report Error Discuss

Filed Under: Average

Q:

In an examination, a pupil's average marks were 63 per paper. If he had obtained 20 more marks for his Geography paper and 2 more marks for his History paper, his average per paper would have been 65. How many papers were there in the examination ?

A) 8 B) 9
C) 10 D) 11
 
Answer & Explanation Answer: D) 11

Explanation:

Let the number of papers be x. Then, 63x + 20 + 2 = 65x or 2x = 22 or x = 11.

Report Error

View Answer Report Error Discuss

Filed Under: Average

Q:

David obtained 76, 65, 82, 67 and 85 marks (out of 100) in English, Mathematics,Physics, Chemistry and Biology What are his average marks ?

A) 75 B) 68
C) 65 D) 60
 
Answer & Explanation Answer: A) 75

Explanation:

Average =   (76 + 65 + 82 + 67 + 85 )/ 5 = 375/5   =  75.

Report Error

View Answer Report Error Discuss

Filed Under: Average

Q:

If you are using C language to implement the heterogeneous linked list, what pointer type will you use?

Answer

The heterogeneous linked list contains different data types in its nodes and we need a link, pointer to connect them. It is not possible to use ordinary pointers for this. So we go for void pointer. Void pointer is capable of storing pointer to any type as it is a generic pointer type.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

Q:

Explain how garbage collection deals with circular references?

Answer

The .Net runtime knows about all the references between the objects. It can identify all the circular references that are reachable from the root and hence finalize them to free them all at once if and when needed.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

Q:

What value does read() return when it has reached the end of a file?

A) 1 B) -1
C) 0 D) None
 
Answer & Explanation Answer: B) -1

Explanation:

It returns -1

Report Error

View Answer Report Error Discuss

Filed Under: Programming

Q:

What is Tri-state logic?

Answer

Three Logic Levels are used and they are High, Low, HIgh impedance state. The high and low are normal logic levels & high impedance state is electrical open circuit conditions. Tri-state logic has a third line called enable line.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware