Technology Questions

Q:

What is a data binding in AngularJS?

Answer

Data binding is an automatic synchronization of data between model and view components. ng-model directive is used in Data binding.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology
Job Role: Software Architect

1 4064
Q:

Why is it expensive to use objects for exception?

A) Exception object is created only if an error actually happens B) Because of execution time
C) Memory space involved in creating an exception object D) None of the mentioned
 
Answer & Explanation Answer: A) Exception object is created only if an error actually happens

Explanation:

If an error occurs in program, then only exception object is created otherwise, It will not be created. So it’s expensive to use in the program.

Report Error

View Answer Report Error Discuss

Filed Under: C++

1 4057
Q:

What is Log Shipping?

Answer

Log shipping is the process of automating the backup of database and transaction log files on a production SQL server, and then restoring them onto a standby server. Enterprise Editions only supports log shipping. In log shipping the transactional log file from one server is automatically updated into the backup database on the other server. If one server fails, the other server will have the same db and can be used this as the Disaster Recovery plan. The key feature of log shipping is that it will automatically backup transaction logs throughout the day and automatically restore them on the standby server at defined interval.

Report Error

View answer Workspace Report Error Discuss

Subject: SQL

0 4052
Q:

What is 255.255.255.255 used for?

Answer

Research

Report Error

View answer Workspace Report Error Discuss

4 4040
Q:

Explain different ways of creating a thread. Which one would you prefer and why ?

Answer

There are three ways that can be used in order for a Thread to be created:


A class may extend the Thread class.


A class may implement the Runnable interface.


An application can use the Executor framework, in order to create a thread pool.


The Runnable interface is preferred, as it does not require an object to inherit the Thread class. In case your application design requires multiple inheritance, only interfaces can help you. Also, the thread pool is very efficient and can be implemented and used very easily.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 4039
Q:

What is NOTCAT2?

Answer

It is an MVS message that indicates the presence of a duplicate catalogue in the database. This problem can be fixed by removing one of the entries and then adding a new one.

Report Error

View answer Workspace Report Error Discuss

0 4034
Q:

Explain ADO.NET in brief.

Answer

ADO.NET is a very important feature of .NET Framework, which is used to work with data that is stored in structured data sources, such as databases and XML files. The following are some of the important features of ADO.NET:

 =>   Contains a number of classes that provide you with various methods and attributes to manage the communication between your application and data source.


 =>   Enables you to access different data sources, such as Microsoft SQL Server, and XML, as per your requirements.


 =>   Provides a rich set of features, such as connection and commands that can be used to develop robust and highly efficient data services in .NET applications.


 =>   Provides various data providers that are specific to databases produced by various vendors. For example, ADO.NET has a separate provider to access data from Oracle databases; whereas, another provider is used to access data from SQL databases.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 4023
Q:

What are type safe function pointers?

A) Delegates B) Break points
C) Both A and B D) None
 
Answer & Explanation Answer: A) Delegates

Explanation:

A delegate declares a ref type that references a named of anonymous method. Delegates are secure and type-safe.

Report Error

View Answer Report Error Discuss

Filed Under: .NET

1 4022