Technology Questions

Q:

What is the fastest type of JDBC driver ?

Answer

Type 4  (JDBC Net pure Java Driver) is the fastest JDBC driver.  Type 1 and Type 3 drivers will be slower than Type 2 drivers (the database calls are make at least three translations versus two), and Type 4 drivers are the fastest (only one translation).

Report Error

View answer Workspace Report Error Discuss

Subject: Java

1 2895
Q:

How do I find out the number of parameters passed into function?

Answer func_num_args() function returns the number of parameters passed in.
Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2892
Q:

What is factory method in AngularJS ?

A) It generates the facts and figures B) It is used to create the service
C) It is used to calculate the factorial of a number D) All the above
 
Answer & Explanation Answer: B) It is used to create the service

Explanation:

In general, Services are Javscript functions and are responsible to do a specific tasks. Factories implements module pattern in which we use a factory method to generate an object which is use for building models.

It's syntax is
module.factory('factoryName', function);

Report Error

View Answer Report Error Discuss

Filed Under: Web Technology
Job Role: Analyst , Software Architect

1 2891
Q:

What signals are transferred in GPRS?

Answer

- GPRS uses 2.5 generation of GSM signals
- The radio interface is the same that of GSM
- GPRS uses 900 / 1800 Mhz, frequency band and GMSK modulation
- The bit rates are EGPRS, similar to EDGE
- Separate hardware and ports need to be added and availed.

Report Error

View answer Workspace Report Error Discuss

3 2880
Q:

What is an OLTP system and OLAP system?

Answer

OLTP stands for OnLine Transaction Processing. Applications that supports and manges transactions which involve high volumes of data are supported by OLTP system. OLTP is based on client-server architecture and supports transactions across networks.


OLAP stands for OnLine Analytical Processing. Business data analysis and complex calculations on low volumes of data are performed by OLAP. An insight of data coming from various resources can be gained by a user with the support of OLAP.

Report Error

View answer Workspace Report Error Discuss

0 2873
Q:

What is the difference between a JDK and a JVM?

Answer

JDK is Java Development Kit which is for development purpose and it includes execution environment also.


JVM is Java Virtual Machine which is a run time environment for the compiled java class files .Hence you will not be able to compile your source files using a JVM.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2872
Q:

Why SELECT * is not preferred in embedded SQL programs?

Answer

- If the table structure is changed ( a field is added ), the program will have to be modified.


- Program might retrieve the columns which it might not use, leading on I/O over head.


- The chance of an index only scan is lost.

Report Error

View answer Workspace Report Error Discuss

0 2870
Q:

Explain how to lock and unlock a user account in Oracle.

Answer

SQL> ALTER USER user_name ACCOUNT LOCK;


SQL> ALTER USER user_name ACCOUNT UNLOCK;

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

0 2867