Searching for "at____"

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:

What is a spanning Tree?

Answer

A spanning tree is a tree associated with a network. All the nodes of the graph appear on the tree once. A minimum spanning tree is a spanning tree organized so that the total edge weight between nodes is minimized

Report Error

View answer Workspace Report Error Discuss

Subject: Technology

Q:

List out few of the applications that make use of Multilinked Structures?

Answer

Sparse matrix,


Index generation

Report Error

View answer Workspace Report Error Discuss

Subject: Technology

Q:

What is the data structures used to perform recursion?

Answer

Stack. Because of its LIFO (Last In First Out) property it remembers its ‘caller’ so knows whom to return when the function has to return. Recursion makes use of system stack for storing the return addresses of the function calls. Every recursive function has its equivalent iterative (non-recursive) function. Even when such equivalent iterative procedures are written, explicit stack is to be used.

Report Error

View answer Workspace Report Error Discuss

Subject: C++

Q:

List out the areas in which data structures are applied extensively?

Answer

Compiler Design,


 Operating System,


 Database Management System,


Statistical analysis package,


Numerical Analysis,


 Graphics,


 Artificial Intelligence,


 Simulation

Report Error

View answer Workspace Report Error Discuss

Subject: C++

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:

What Are Your Goals?

Answer

Sometimes it's best to talk about short-term and intermediate goals rather than locking yourself into the distant future. For example, "My immediate goal is to get a job in a growth-oriented company. My long-term goal will depend on where the company goes. I hope to eventually grow into a position of responsibility."

Report Error

View answer Workspace Report Error Discuss

Q:

Explain the process of creating a menu using the MainMenu component

Answer

MainMenu component is a component that allows the display of Menus at runtime on a form.


Process of creating Menu using MainMenu Component:


a. Add MainMenu component on Windows Form.


b. Menu designer allows deciding the structure of the main menu by selecting the Type Here area and adding the Menu Items to be displayed on the menu.


c. Add functionality to Menu Items as required

Report Error

View answer Workspace Report Error Discuss

Subject: .NET
Job Role: Software Architect