Interview Questions

Q:

The keyword which indicates that a method can be accessed by only one thread at a time is

A) Strictfp B) Synchronized
C) New D) None
 
Answer & Explanation Answer: B) Synchronized

Explanation:

The synchronized keyword indicates that a method can be accessed by only one thread at a time

Report Error

View Answer Report Error Discuss

Filed Under: Java

2 3586
Q:

What is Pipelining ?

Answer

In networking and in other areas, a task is often begun before the previous task has ended. This is known as pipelining.


 

Report Error

View answer Workspace Report Error Discuss

0 3585
Q:

What is the Run-Time Type Information?

A) Information about an object’s datatype at runtime B) Information about the variables
C) Information about the given block D) None of these
 
Answer & Explanation Answer: A) Information about an object’s datatype at runtime

Explanation:

With the help of RTTI, We can get the information about the data type at the runtime.

Report Error

View Answer Report Error Discuss

Filed Under: C++

1 3583
Q:

what is crossover rate?

Answer

Crossover rates have to do with the amount of earnings that are generated by two different but similar projects. The crossover rate is the point at which the two projects achieve the same net present value. In terms of investments, calculating a crossover rate between two similar securities can help an investor determine what to buy and what to sell.

Report Error

View answer Workspace Report Error Discuss

Subject: Finance

0 3575
Q:

What is an assembly?

Answer

Assemblies are the basic building blocks required for any application to function in the .NET realm. They are partially compiled code libraries that form the fundamental unit of deployment, versioning, activation scoping, reuse, and security. Typically, assemblies provide a collection of types and resources that work together to form a logical unit of functionality. They are the smallest deployable units of code in .NET. Compared to the executable files assemblies are far more reliable, more secure, and easy to manage. An assembly contains a lot more than the Microsoft Intermediate Language (MSIL) code that is compiled and run by the Common Language Runtime (CLR). In other words, you can say that an assembly is a set of one or more modules and classes compiled in MSIL, and metadata that describes the assembly itself, as well as the functionalities of the assembly classes.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 3575
Q:

What does the sequence adaptor provide?

A) Insertion B) Deletion
C) Interface to sequence container D) None of thse
 
Answer & Explanation Answer: C) Interface to sequence container

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: C++

1 3570
Q:

Which API is used to write test scripts that help in exercising the application's user interface elements?

Answer

 UI Automation API is used to automate test procedures. Tests scripts are written in JavaScript to the UI Automation API.  This in turn simulates user interaction with the application and returns log information to the host computer.

Report Error

View answer Workspace Report Error Discuss

1 3569
Q:

What is usage of Sequence Number in Relaible Transmission?

Answer

The protocol specifies that frames need to be numbered. This is done by using sequence numbers. A field is added to the data frame to hold the sequence number of that frame. Since we want to minimize the frame size, the smallest range that provides unambiguous communication. The sequence numbers can wrap around.

Report Error

View answer Workspace Report Error Discuss

0 3562