Technology 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 2278
Q:

What are the different types of workflow in WF?

Answer

In WF 4.0, the following two types of workflows are used:

 
     Flowchart workflows - Helps you to create workflows using the common flowchart elements. In WF, the Flowchart activity is generally used to implement a non-sequential workflow, and occasionally it implements sequential workflows in case the FlowDecision nodes are not used. The Flowchart activity contains a collection of flow nodes, which inherit from the FlowNode class. The following types of nodes or elements can be a part of a flowchart:
                 => FlowStep - Executes activities of a flowchart in a sequence.
                 => FlowDecision - Shows the execution on the basis of a Boolean condition.   It is similar to the If construct.
                 => FlowSwitch - Shows the execution on the basis of an exclusive switch. It is similar to the Switch construct.


      Procedural workflows - Helps you to create workflows using basic and sequential execution standards. In WF, procedural workflows use flow control constructs, such as While, Switch, ForEach, and If, to execute activities. These flow control constructs are similar to those found in procedural languages. Procedural workflows can also contain other flow control activities, such as Flowchart and Sequence.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 2277
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 2277
Q:

Define Virtual folder.?

Answer

It is the folder that contains web applications. The folder that has been published as virtual folder by IIS can only contain web applications

Report Error

View answer Workspace Report Error Discuss

Subject: .NET
Job Role: Software Architect

0 2276
Q:

How to derive test scenarios and use cases? What are the contents and format?

Answer

 Test scenarios are derived from requirement documents. We follow each and every functionality (called business rules) mentioned in the requirement document. One functionality can have multiple business rules. For example, let us say in there is one requirement called “Login”. This “Login” may have various scenarios. For example, one scenario is, enter the right User ID and wrong password. The system should display an error message. Another scenario would be to enter wrong User ID and right Password. The system should display an error message. The third scenario could be to enter the right User Name and right Password. The system should allow the user to get into the system. This is how the test cases are derived from the requirement documents or from the Use Cases.

Report Error

View answer Workspace Report Error Discuss

Subject: QA Testing

0 2276
Q:

What is the difference between view and materialized view?

Answer

View:


- Tail raid data representation is provided by a view to access data from its table.


- It has logical structure can not occupy space.


- Changes get affected in corresponding tables.


 


Materialized view


- Pre calculated data persists in materialized view.


- It has physical data space occupation.


- Changes will not get affected in corresponding tables.

Report Error

View answer Workspace Report Error Discuss

0 2274
Q:

How can we encrypt the username and password using PHP?

Answer

User names and passwords in PHP can be encrypted using md5 function.


MD5 function calculates the md5 hash of a string. It is basically used for encryption. It is also used for digital signature applications, where a large file must be "compressed" in a secure manner.


Example:


Md5($str);


 


Crypt() function can also be used to encrypt a string,. It used MD5, DES or blow fish algorithms for encryption.


Syntax:


Crypt(str, salt)


Salt is an optional parameter used to increase the number of characters encoded, to make the encoding more secure

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2274
Q:

Is Java a pure object oriented language?

Answer

Java uses primitive data types and hence is not a pure object oriented language.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

1 2274