Searching for "L"

Q:

What is the difference between an unspecified passive open and a fully specified passive open?

Answer

An unspecified passive open has the server waiting for a connection request from a client. A fully specified passive


open has the server waiting for a connection from a specific client.

Report Error

View answer Workspace Report Error Discuss

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:

Rate Yourself 1-10?

Answer

I think its 8 because even if i have strength i still have weaknesess.

Report Error

View answer Workspace Report Error Discuss

Subject: About Yourself

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