Interview Questions

Q:

Differentiate between localStorage and sessionStorage objects.

Answer

- localStorage object stores the data without an expiry date while sessionStorage object stores the data only for one session. 


- With localStorage object, data will not be deleted when the browser window is closed while the data is deleted when the browser window closes with sessionStorage objects.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2518
Q:

What are the differences between COBOL and COBOL II?

Answer

There are some differences:


COBOL II supports structured programming by using in line Performs and explicit scope terminators. It introduces new features (EVALUATE, SET. TO TRUE, CALL BY CONTEXT, etc). It permits programs to be loaded and addressed above the 16-megabyte line .  It does not support many old features (READY TRACE, REPORT-WRITER, ISAM, etc.). It offers enhanced CICS support.

Report Error

View answer Workspace Report Error Discuss

0 2517
Q:

How is mapreduce related to cloud computing?

Answer

The mapreduce framework contains most of the key architecture principles of cloud computing such as:


- Scale: The framework is able to expand itself in direct proportion to the number of machines available.


- Reliable: The framework is able to compensate for a lost node and restart the task on a different node.


- Affordable: A user can start small and over time can add more hardware.

Report Error

View answer Workspace Report Error Discuss

Subject: Cloud Computing

2 2517
Q:

Explain how to start and stop the Oracle HTTP Server.

Answer

Oracle HTTP Server is managed by OPMN which stands for Oracle Process Manager and Notification Server. With the use of opmnctl utility we can start, stop and restart Oracle HTTP Server. If we don’t use this utility the configuration management infrastructure cannot detect or communicate with the Oracle HTTP Server processes, and problems may occur.


The startproc command for the case of Windows is: ORACLE_HOME\opmn\bin> opmnctl [verbose] startproc ias-component=HTTP_Server.


To stop Oracle HTTP Server, use the stopproc command: Windows: ORACLE_HOME\opmn\bin> opmnctl [verbose] stopproc ias-component=HTTP_Server.

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

0 2516
Q:

Can you access non static variable in static context ?

Answer

A static variable in Java belongs to its class and its value remains the same for all its instances. A static variable is initialized when the class is loaded by the JVM. If your code tries to access a non-static variable, without any instance, the compiler will complain, because those variables are not created yet and they are not associated with any instance.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2515
Q:

What is Internal marketing?

Answer

Internal marketing is the process of motivating and empowering the employees of a company to work as a team for the overall well-being of the customers and thereby the company itself. This is actually the core to succes of a company. A harmonised effort  within the company is an utmost necessity to provide customers with services at a desired level. If a firm doesn't deliver the service it promises in its marketing campaign, it will fail for sure. And it only can keep that promise when all of its employees at all levels realise what actually it is going to deliver. 

Report Error

View answer Workspace Report Error Discuss

0 2515
Q:

What is multicast?

Answer

To send data/info to group of computers using same network

Report Error

View answer Workspace Report Error Discuss

0 2515
Q:

What are the different functions in sorting an array?

Answer

sort() , rsort(), asort()
ksort()   , usort()
arsort()  , uksort()
natsort() , natcasesort()
array_multisort()

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2515