Technology Questions

Q:

Explain about various caches available in Data Integrator

Answer

  •  NO_CACHE – It is used for not caching values.

  •  PRE_LOAD_CACHE – Result column preloads and compares the column into the memory, prior to executing the lookup.

  •  PRE_LOAD_CACHE is used when the table can exactly fit in the memory space.

  •  DEMAND_LOAD_CACHE – Result column loads and compares the column into the memory when a function performs the execution.

  •  DEMAND_LOAD_CACHE is suitable while looking up the highly repetitive values with small subset of data.

Report Error

View answer Workspace Report Error Discuss

0 2242
Q:

What is the difference between creating String as new() and literal ?

Answer

When we create string with new() Operator, it’s created in heap and not added into string pool while String created using literal are created in String pool itself which exists in PermGen area of heap.



String s = new String("Test");

does not put the object in String pool , we need to call String.intern() method which is used to put them into String pool explicitly. its only when you create String object as String literal e.g. String s = "Test" Java automatically put that into String pool.

Report Error

View answer Workspace Report Error Discuss

1 2242
Q:

How to read and write a file using javascript?

Answer

I/O operations like reading or writing a file is not possible with client-side javascript. However , this can be done by coding a Java applet that reads files for the script. 

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2239
Q:

Is there a application program coding difference between local and central version mode in IDMS?

Answer

No. The mode is specified via the SYSCTL DD card in the JCL.

Report Error

View answer Workspace Report Error Discuss

2 2239
Q:

What do you mean by reference variable in c++?

Answer

A reference variable provides an alias to a previously defined variable.
Data -type & reference-name = variable name

Report Error

View answer Workspace Report Error Discuss

Subject: C++

0 2239
Q:

What is the use of $_Server and $_Env?

Answer

$_SERVER and $_ENV arrays contain different information. The information depends on the server and operating system being used. Most of the information can be seen of an array for a particular server and operating system. The syntax is as follows:


foreach($_SERVER as $key =>$value)


{ echo “Key=$key, Value=$value\n”; }

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2239
Q:

What’s the difference between htmlentities() and htmlspecialchars()?

Answer

Htmlentities() converts all applicable characters to HTML entities. While htmlspecialcharacter()converts special characters to HTML entities. This means htmlentities( ) will check for non English language characters, such as French accents, the German umlaut, etc.

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

3 2237
Q:

What is the difference between PHP and JavaScript?

Answer

The difference lies with the execution of the languages. PHP is server side scripting language, which means that it can’t interact directly with the user. Whereas, JavaScript is client side scripting language, that is used to interact directly with the user.


 

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2236