Searching for "US"

Q:

Explain how garbage collection manages the reclamation of unused memory?

Answer

The garbage collector assumes that all objects in the managed heap are garbage. It starts walking the roots and builds a graph of all objects reachable from the roots recursively. It stops when it attempts to add an object to the graph that it previously added. The graph contains the set of all objects that are reachable from the application's roots. Any object/s that is not in the graph is not accessible by the application, and is considered garbage. Collection only occurs when the heap is full. In such a case, each and every garbage object calls the Finalize method and reclaims the unused memory

Report Error

View answer Workspace Report Error Discuss

Subject: .NET
Job Role: Software Architect

Q:

What is anonymous FTP and why would you use it

Answer

Anonymous FTP enables users to connect to a host without using a valid login and password. Usually, anonymous FTP uses a login called anonymous or guest, with the password usually requesting the user's ID for tracking purposes only. Anonymous FTP is used to enable a large number of users to access files on the host without having to go to the trouble of setting up logins for them all. Anonymous FTP systems usually have strict controls over the areas an anonymous user can access

Report Error

View answer Workspace Report Error Discuss

Q:

When do you use :: Operator in C++?

Answer

:: is the scope resolution operator. When local variable and global variable are having same name, local variable gets the priority. C++ allows flexibility of accessing both the variables through a scope resolution operator

Report Error

View answer Workspace Report Error Discuss

Subject: Java

Q:

Define void pointer using C++.?

Answer

In C++, void represents the absence of type, so void pointers are pointers that point to a value that has no type. The void pointers can point to any data type.


You can declare void pointer as follows:


void *p;

Report Error

View answer Workspace Report Error Discuss

Subject: C++
Job Role: Software Architect

Q:

All windows are doors. No door is wall

Conclusions:

1. No window is wall

2. No Wall is door

A) Only 1 follows B) Only 2 follows
C) Either 1 or 2 follows D) Both 1 and 2 follow
 
Answer & Explanation Answer: D) Both 1 and 2 follow

Explanation:

Since both the premises are universal and one premise is negative, the conclusion must be universal negative. Also, the conclusion should not contain the middle term. So, 1 follows.

 

However, 2 is the converse of the second premise and thus it also holds.

Report Error

View Answer Report Error Discuss

Filed Under: Statement and Conclusions
Exam Prep: GRE

Q:

National Aluminium Company has moved Georgia from a position of shortage to self-sufficiency in the metal. 

Conclusions: 

1. Previously, Georgia had to import aluminium

2. With this speed, it can soon become a foreign exchange earner 

A) Only 1 follows B) Only 2 follows
C) Either 1 or 2 follows D) Both 1 and 2 follow
 
Answer & Explanation Answer: D) Both 1 and 2 follow

Explanation:

According to the statement, National Aluminium Company has moved Georgia from a position of shortage in the past to self-sufficiency in the present. This means that previously, Georgia had to import aluminium. So, I follows. Also, it can be deduced that if production increases at the same rate, Georgia can export it in future. So, II also follows. 

Report Error

View Answer Report Error Discuss

Q:

Introducing a man to her husband, a woman said, This brother's father is the only son of my grandfather." How is the woman related to his man ? 

A) Mother B) Aunt
C) Sister D) Daughter
 
Answer & Explanation Answer: C) Sister

Explanation:

Only sun of her grandfather — Her father; man's brother's father — man's father.

So, man's father is her father 

i.e, She is the man's sister. 

 

Report Error

View Answer Report Error Discuss

Filed Under: Blood Relations

Q:

A man said to a lady, "Your mother's husband's sister is my aunt!! How is the lady related to the man ? 

A) Daughter B) Grand daughter
C) Mother D) Sister
 
Answer & Explanation Answer: D) Sister

Explanation:

Your mother's husband — Your father; Your father's sister — Your aunt. 

 So, lady's aunt is man's aunt and therefore lady is man's sister. 

Report Error

View Answer Report Error Discuss

Filed Under: Blood Relations