1.        What is the flow of execution for a business wizard?

A Wizard Prologue, Widget Load, Validate, Epilogue

B Widget Load, Validate, Epilogue, Wizard Prologue

C. Epilogue , Widget Load, Validate, Epilogue, Wizard Prologue

D None

 

2.        proc Test { sVar } {

global sVar

incr sVar 3

}

set sVar 23

set sRet [Test $sVar]

puts $sVar

 

What will be the value of sVar??

  1. 23
  2. 3
  3. 0
  4. None

3.        Which one of the below is correct ?  If the list role contains atleast one valid role.

A.      split [list role] \n

B.       split [list role *] |

C.       split [list role * dump | ]

D.      split [list role \n]

 

4.        In below temp query

Temp query bus * * where program[discount .5] > 0

Which variable will return the value from the procedure/program?

A Global variable declared in the program by the programname

B. Local variable declared in the program by the programname

C. mql get env 1

E.       mql get env 2

 

5.        Suppose there are total 2000 bus object in a vault Sample and 250 objects belong to a particular type Part. Now what will below query return??

  eval expression “Count True” on ‘temp query bus * * * and temp query bus Part * *”

A.      2250

B.       2000

C.       250

D.      None

 

6.        What will be the output of the below TCL Script

Set i 10

Set b 20

Set c [ expr I + [expr I*b] + I]

Puts $c

A.  20

B 50

C 200

D  220

 

7.        what will be below query print?

Set var { mql print person “Ramesh” }

A.      Will display the information related to person Ramesh.

B.       { mql print person “Ramesh” }

C.       None

8 . What will be returned by the catch in case there is any error caught in the catch block.

A.      0

B.       1

C.       Errorcode

D.      None

 

9.        Override trigger takes place

A.      Parallel to event

B.       Before event

C.       After the event

D.      Never

 

 

MQL Overview
MQL is NOT case sensitive relative to commands and keywords.
The following statements are equivalent:
VERBOSE ON;
verbose on;
 MQL IS case sensitive relative to business object names.
  The following statements are NOT equivalent
add vault Engineering;
add vault engineering;
 Script Files use .MQL extension.
v8hccdef.mql
v8hccobj.mql
 To “run” a script file type:
run “script file path name”
End with a semi-colon
Example: run c:\hccfiles\hccattr.mql;
 
  Transaction
Start Transaction
Commit Transaction
Abort Transaction
       Implicit Transaction
       Explicit Transaction