Powerbuilder Interview

Powerbuilder Interview Questions Part 7

Powerbuilder Interview Questions Part 7 Question 1 What is the difference between SetTrans() and SetTransObject()? Answer In simple terms, SetTrans() gives you no control on the transactions. It automatically connects to and disconnects from the database after each Retrieve() and Update() function. It is useful when the number of connections are limited, but, you can’t…

Multiple-Choice Questions About Powerbuilder Part 10

Multiple-Choice Questions About Powerbuilder Question: 101 List the access type that allows the only descendents to read. Answer ProtectedRead Question: 102 Linked Object can be invoked for in-place editing. Answer TRUE False Question: 103 List the access type that allows only the object that declares it to read and write. Answer Private Question: 104 In…

Multiple-Choice Questions About Powerbuilder Part 9

Multiple-Choice Questions About Powerbuilder Part 9 Question: 1 SQLCA stands for: Answer Structured Query Language Communication Area Question: 2 What type of events you can define at the application object? Answer Any event that is available in the event declaration dialog box. Only events that are not related to the user interactions. Only events that…

Multiple-Choice Questions About Powerbuilder Part 8

Multiple-Choice Questions About Powerbuilder Question: 701 ll_find = MessageBox(“hello”,”hello” , question!,yesnocancel!,3)         After executing the above PowerScript and clicking the cancel button, what is the value of ll_find? Answer 3 2 0 1 Question: 702 String A,B If IsNull(A) Then B = ‘1’ ElseIf A = ” Then B = ‘2’ ElseIf A = ‘ ‘…

Multiple-Choice Questions About Powerbuilder Part 7

Multiple-Choice Questions About Powerbuilder Question: 601 PB. Which the following type is not functions for datawindow control Answer SetRedDraw Move Print Title Question: 602 PB. what answer of below define  is correct for CloseQuery in window? Answer Occur when close the window, before Close event Occur when close the window, after Save event Occur when…

Multiple-Choice Questions About Powerbuilder Part 6

Multiple-Choice Questions About Powerbuilder Question: 501 Which PB command can exit the current loop? Answer exit break continue stop Question: 502 Which Powerbuilder variable type can receive oracle sysdate? Answer String Time Datetime Date Question: 503 Which is the answer of the program?  string ls_a[]  messagebox(”,upperbound(ls_a)) messagebox(”,lowerbound(ls_a)) Answer Both messageboxes display blank. 0 0 0…

Multiple-Choice Questions About Powerbuilder Part 5

Multiple-Choice Questions About Powerbuilder Question: 401 Insert a groupbox(gb_1) in the tab’s(tab_1) tabpage(tabpage_1),and insert a datawindow in the groupbox(gb_1),which is datawindow’s(dw_1) path? Answer Dw_1 tabpage_1.dw_1 tab_1.tabpage_1.gb_1.dw_1 tab_1.tabpage_1.dw_1 Question: 402 How to get DataWindow column count ? Answer Integer(This.Object.Column) Integer(This.Object.DataWindow.Column) Integer(This.Object.DataWindow.Column.Count) Integer(This.Object.Column.Count) Question: 403 What properties are changing the size of the DataWindow preview? Answer dw_1.Object.DataWindow.small…

Multiple-Choice Questions About Powerbuilder Part 4

Multiple-Choice Questions About Powerbuilder Question: 301 In the inheritence hirerachy, PowerBuilder is how to search ? Answer Just in Top Bottom-to-Top Top-to-Bottom Randomize Question: 302 Which DataWindow style on Program execution , we can adjust title field to change field width ? Answer Group N-UP FreeForm Grid Question: 303 The following PB codes import data…

Multiple-Choice Questions About Powerbuilder Part 3

Multiple-Choice Questions About Powerbuilder Question: 201 Which of the following are advantages of using the Modify method over dot notation?  Answer Modification of properties in nested DataWindows is allowed. The control and property to be modified can be expressed programmatically Invalid references to DataWindow objects generate compiler versus runtime errors. The resulting application code runs…

Multiple-Choice Questions About Powerbuilder Part 2

Multiple-Choice Questions About Powerbuilder Question: 101 How do you manipulate .INI file through PowerBuilder functions ? Answer Fileread() ProfileInt() SetProfileString() ProfileString( ) Question: 102 Which command/function will blank out a DataWindow? Answer ClearValues() Reset() ResetTransObject ( ) DeleteRow() Question: 103 Use Idle() function in Pb Scripts will be? Answer PowerBuilder doesn’t have Idle() function Fires…

  • 1
  • 2