Technology Questions

Q:

If you are current on the owner of a set, what is the difference between an obtain next and obtain first in IDMS?

Answer

No difference. There is a difference between obtain first and obtain next for an area sweep, but not when current on the owner in a set.

Report Error

View answer Workspace Report Error Discuss

0 3000
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 2998
Q:

What are aggregate functions in SQL? What are those functions?

Answer

Aggregate functions in SQL are used to perform calculation on data. These functions are inbuilt in SQL and return a single value.

SUM( )



SUM function returns the sum or addition of all NOT NULL values of a column. For e.g. I have a Table employee with the fields id, name, salary and I want the sum of all salaries, I can use SUM function as shown
SELECT SUM(emp_salary) from employee;
Hence, if my column emp_salary has values 20,000, 22,000, 21,000; the output will be 63,000

AVG( )


 
AVG function returns the average of all NOT NULL values of a column. For e.g. I have a Table employee with the fields id, name, salary and I want the average of all salaries, I can use AVG function as shown
SELECT AVG(emp_salary) from employee;
Hence, if my column emp_salary has values 20,000, 22,000, 21,000; the output will be 21,000

COUNT( )



COUNT function returns the number of rows or values of a table. For e.g. I have a Table employee with the fields id, name, salary and I want the count of all rows, I can use COUNT function as shown
SELECT COUNT(*) from employee;

Max ( ) and Min ( )



MAX function returns the largest value of a column in a table. For e.g. I have a Table employee with the fields id, name, salary and I want the maximum salary of an employee, I can use MAX function as shown
SELECT MAX(emp_salary) from employee;
Hence, if my column emp_salary has values 20,000, 22,000, 21,000; the output will be 22,000



MIN function returns the smallest value of a column in a table. For e.g. I have a Table employee with the fields id, name, salary and I want the minimun salary of an employee, I can use MIN function as shown
SELECT MIN(emp_salary) from employee;
Hence, if my column emp_salary has values 20,000, 22,000, 21,000; the output will be 20,000

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

0 2992
Q:

Which is best for coding the standard libary for c++?

A) no trailing underscores on names B) complex objects are returned by value
C) have a member-swap() D) All of the mentioned
 
Answer & Explanation Answer: D) All of the mentioned

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: C++

1 2991
Q:

What is Uniform Data Access Integration?

Answer

- UDAI places the data in the source systems.


- A set of views are defined for providing access the unified view to the clients / customers.


- Zero latency of data can be propagated from the source system.


- The generated consolidated data need not require separate storage space.


- Data history and version management is limited and applied only to the similar type of data.


- Accessing to the user data overloads on the source systems.

Report Error

View answer Workspace Report Error Discuss

0 2988
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 2987
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 2976
Q:

EXPLAIN has output with MATCHCOLS = 0. What does it mean?

Answer

a nonmatching index scan if ACCESSTYPE = 1


 

Report Error

View answer Workspace Report Error Discuss

0 2963