Searching for "B"

Q:

A function cannot be defined inside another function

A) TRUE B) FALSE
Answer & Explanation Answer: A) TRUE

Explanation:

A function cannot be defined inside the another function, but a function can be called inside a another function.

Report Error

View Answer Workspace Report Error Discuss

Subject: Programming

Q:

main()

{

float me = 1.1;

double you = 1.1;

if(me==you)

printf("yes");

else

printf("No");

}

A) Yes B) No
C) Both D) Compilation error
 
Answer & Explanation Answer: B) No

Explanation:

For floating point numbers (float, double, long double) the values cannot be predicted exactly. Depending on the number of bytes, the precession with of the value represented varies. Float takes 4 bytes and long double takes 10 bytes. So float stores 0.9 with less precision than long double.

Report Error

View Answer Report Error Discuss

Filed Under: Software Testing
Job Role: Software Architect

Q:

Classify the Hashing Functions based on the various methods by which the key value is found.

Answer

Direct method,


 Subtraction method,


 Modulo-Division method,


 Digit-Extraction method,


 Mid-Square method,


 Folding method,


Pseudo-random method

Report Error

View answer Workspace Report Error Discuss

Subject: Technology

Q:

When Were You Most Satisfied in Your Job?

Answer

The interviewer wants to know what motivates you. If you can relate an example of a job or project when you were excited, the interviewer will get an idea of your preferences.


Eg: "I was very satisfied in my last job, because I worked directly with the customers and their problems; that is an important part of the job for me."

Report Error

View answer Workspace Report Error Discuss

Subject: About Yourself

Q:

Why Did You Leave Your Last Job?

Answer

The Best way to answer this question:


Be honest but stay positive.  Of course, your answer should be based on the real reason you left, but put a positive spin on it. That means, you should try to frame your honest answer in the most positive way possible.Do not lie, be truthful and honest but do not be harsh on a previous employer. So answer truthfully while at the same time NOT talking about the company or staff in a negative light. More info on why you left a job would help to give applicable suggestions. You TELL them why you left! .  Make it sound as positive as possible though. Put the reason you are no longer at your last job in your question. Unless you were laid off or the company had relocated you too far, just say "it's a career move." It's better not to go into the specifics. Always keep in mind that your  interviewer is looking for a positive, motivated, hard-working candidate. No potential employer wants to hear your gripe about a prior boss or talk poorly about a previous employer. She or he wants to hear about your potential as a superstar at the position you are seeking.

Report Error

View answer Workspace Report Error Discuss

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:

In how many years will a sum of Rs.800 at 10% per annum compounded semi annually become Rs.926.10

A) 1.5 B) 2.5
C) 3.5 D) 4.5
 
Answer & Explanation Answer: A) 1.5

Explanation:

Let the time be 'n' years, Then

 

800×1+51002n=926.10 <=> 1+51002n=92618000<=>21202n=21103

 

n = 3/2 or n= 112 Years 

Report Error

View Answer Report Error Discuss

Filed Under: Simple Interest
Exam Prep: GRE

Q:

Explain how a web application works.

Answer

A web application resides in the server and serves the client’s requests over internet. The client access the web page using browser from his machine. When a client makes a request, it receives the result in the form of HTML which are interpreted and displayed by the browser.


A web application on the server side runs under the management of Microsoft Internet Information Services (IIS). IIS passes the request received from client to the application. The application returns the requested result in the form of HTML to IIS, which in turn, sends the result to the client.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET
Job Role: Software Architect