Interview Questions

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 2529
Q:

Which object is create by UIApplicationMain function at app launch time?

Answer

The app delegate object is created by UIApplicationMain function at app launch time. The app delegate object's main job is to handle state transitions within the app.

Report Error

View answer Workspace Report Error Discuss

Subject: IOS

6 2528
Q:

What are you looking for in your next job? What is important to you?

Answer

One of the interview questions you may be asked is what you are looking for in your next job. The interview wants to know whether your goals are a match for the companies needs.


You can begin your answer with this question: Tell me, Mr./Ms. Interviewer, what is a typical career path at OPL for someone with my skills and experience?


(Based on the answer you can then respond to the original question using the phrases from the answer to frame your response).


What is important to you? Two things are very important to me. One is my professionalism at work; the second is my family life.

Report Error

View answer Workspace Report Error Discuss

Subject: Work History

1 2527
Q:

What is hedging?

Answer

Hedging is a tool to minimize the risks. It is thus like an 'insurance' where one pays a premium but gets an assured amount in case of some uncertain event to the extent of the loss actually suffered on an equally opposite position for which the hedge was done. Thus, hedger is different from arbitrageur and speculators, as the intention here is not to maximize the profit but to minimize the loss.


E.g. In Capital Markets, suppose an investor has an equity portfolio of Rs. 2 lacs and the portfolio consists of all the major stocks of NIFTY. He thinks the market will improve in the long run but might go on a downside in the shortrun. NIFTY today stands at 4300. To minimize the risk of downfall, he enters into an option contract by buying NIFTY-PUT of strike 4300 at a premium of, say, Rs. 100. Thus, the actual amount paid is Rs. 5,000(lot size of NIFTY is 50). Also, the number of NIFTY-PUTs to be bought will vary on the beta of the portfolio so as to completely hedge the positon. 

Report Error

View answer Workspace Report Error Discuss

Subject: Finance

1 2525
Q:

How higher management in an organization gets benefited by payroll reports?

Answer

Payroll reports gives information about the total 'cost to Company' for the Employee Salary, Benefits (Cash and Non-Cash), Taxes, Total Hours worked. 


All these information is helpful for the Management decisions.

Report Error

View answer Workspace Report Error Discuss

1 2525
Q:

What are the factors that are addressed to integrate data?

Answer

Following are the data integration factors:


- Sub set of the available data should be optimal. 


- Noise/distortion estimation levels because of sensory/processing conditions at the time of data collection.


- Accuracy, spatial and spectral resolution of data.


- Data formats, storage and retrieval mechanisms.


- Efficiency of computation for integrating data sets to reach the goals.

Report Error

View answer Workspace Report Error Discuss

0 2523
Q:

Explain how to store the uploaded file to the final location.

Answer

A HTML form should be build before uploading the file. The following HTML code is used for selecting the file that is to be uploaded. The type attribute of input must be “file”.


<form enctype="multipart/form-data" action="uploader.php" method="POST">


<input type="hidden" name="MAX_FILE_SIZE" value="100000" />


Choose a file to upload: <input name="uploadedfile" type="file" /><br />


<input type="submit" value="Upload File" />


</form>


At the time of executing uploader.php, the uploaded file will be stored in a temporary storage are on the webserver. An associative array $_FILES['uploadedfile']['name'] is used for uploading. The ‘name’ is the original file that is to be uploaded. Another associative array $_FILES['uploadedfile']['tmp_name'] is used for placing the uploaded file in a temporary location on the server and the file should be empty and should exist with the tmp_name.


The following code snippet is used for uploading the file.


$target_path = "uploads/"; // the target location of the file


$target_path = $target_path . basename( $_FILES['uploadedfile']['name']);


if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path)) 


{


       echo "The file ". basename( $_FILES['uploadedfile']['name']). 


        " has been uploaded";


}


else


{


      echo “There was an error while uploading the file”;


}


The function move_uploaded_file()is used to place the source file into the destination folder, which resides on the server.


If the uploading is successful, the message “The file filename has been uploaded. Otherwise the error message “There was an error while uploading the file” would be displayed.

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2523
Q:

What happens when a CICS command contains the NOHANDLE option?

Answer

- NOHANDLE is an option that can be specified along with abnormal condition during program execution.


- When the exception occurs, no action is performed during execution of NOHANDLE command.


- The abnormal condition is ignored, even the EXEC CICS HANDLE condition exist.


- The abnormal condition is also ignored when EXEC CICS IGNORE condition is tested.


- The previous HANDLE CONDITION for other commands will not be effected with NOHANDLE option.

Report Error

View answer Workspace Report Error Discuss

0 2520