Searching for "c "

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:

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:

What can you do for us that others can't?

Answer

This will take an assessment of your experiences, skills and traits. Summarize concisely: "I have a unique combination of strong technical skills, and the ability to build strong customer relationships. This allows me to use my knowledge and break down information to be more user-friendly."

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

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