You are on page 1of 1

EXERCISES - 1

Q1. Create a numeric data item named as num with any initial value. Create another data item
called check of text type. If the value of num data item is positive, initialize the value of check
variable with “Positive” text else put its value as “Negative”.
Note: Once executed, check the current values of the variables before resetting the process flow to
make sure the operations to be performed were successful.

Q2. Create two variables called num1 and num2 of numeric data type with any initial values.
Create four different pages in Process Studio named as Addition, Subtraction, Division and
Multiplication. Perform the corresponding operations on each page (based on their name) and
reference them from the main page.
Note: Make sure the data items are visible in other pages of process flow.

Q3. Consider the stock inventory for a shop selling some items appears like this:
Item ID Quantity Order Date
(Text) (Number) (Date)
Item 001 45 05/16/2017
Item 002 54 04/12/2017
Item 003 63 03/10/2017
Item 004 72 07/07/2017
Item 005 60 08/23/2017

Create a data item called Quantity of Numeric type with default value as 12 and add it to all the
quantities of the stock inventory data item mentioned above.
Bonus Exercise: Can you find out which is the oldest item (based on its order date) in the stock
inventory and store its item id in a variable with same name?

28

You might also like