MCQs > Softwares & Applications > PowerBuilder MCQs > Basic PowerBuilder MCQs

Basic PowerBuilder MCQ

1. What is the ancestor object for custom visual user objects such as u_calculator and u_calendar?

Answer

Correct Answer: u_base

Note: This Question is unanswered, help us to find answer for this one

2. Labels are used in conjunction with:

Answer

Correct Answer: Goto statements

Note: This Question is unanswered, help us to find answer for this one

3. The IsValid function:

Answer

Correct Answer: Determines whether an object variable is instantiated

Note: This Question is unanswered, help us to find answer for this one

4.

What would the following script generally be used for?

        close (parent)

Answer

Correct Answer:

Closing the window on which the control lies 


Note: This Question is unanswered, help us to find answer for this one

5. Which PowerBuilder repository table contains the validation rule names and definitions?

Answer

Correct Answer: pbcatvld

Note: This Question is unanswered, help us to find answer for this one

6. Which of the following is not a date related function?

Answer

Correct Answer: DaysBefore

Note: This Question is unanswered, help us to find answer for this one

7. On which platform can ODBC drivers, provided by vendors other than Powersoft, be supported?

Answer

Correct Answer: Windows and Power Macintosh

Note: This Question is unanswered, help us to find answer for this one

8. The default DynamicStagingArea in PowerBuilder is:

Answer

Correct Answer: sqlsa

Note: This Question is unanswered, help us to find answer for this one

9. The createondemand property of the tab control:

Answer

Correct Answer: Specifies whether the representation of controls on all tab pages are created when the tab control is created

Note: This Question is unanswered, help us to find answer for this one

10. Which is the ancestor for all PFC windows?

Answer

Correct Answer: w_master

Note: This Question is unanswered, help us to find answer for this one

11. Which of the following is not a main type of PowerBuilder object in PFC?

Answer

Correct Answer: Reports

Note: This Question is unanswered, help us to find answer for this one

12. In which of the following cases does PowerBuilder not connect to the database?

Answer

Correct Answer: Terminate the application

Note: This Question is unanswered, help us to find answer for this one

13. Which of the following is not a descendant of w_master?

Answer

Correct Answer: w_about

Note: This Question is unanswered, help us to find answer for this one

14. On a Windows platform, the name of the initialization file is:

Answer

Correct Answer: PB.INI

Note: This Question is unanswered, help us to find answer for this one

15. The ODBC API does not define which of the following?

Answer

Correct Answer: A representation of data types for a specific DBMS

Note: This Question is unanswered, help us to find answer for this one

16. Which DBPARM parameter is used to connect to an ODBC data source?

Answer

Correct Answer: ConnectString

Note: This Question is unanswered, help us to find answer for this one

17. The PFC object u_cb stands for:

Answer

Correct Answer: Command button visual user object

Note: This Question is unanswered, help us to find answer for this one

18. The operator for exponentiation is:

Answer

Correct Answer: ^

Note: This Question is unanswered, help us to find answer for this one

19. An object with the prefix ds would refer to a:

Answer

Correct Answer: dataStore

Note: This Question is unanswered, help us to find answer for this one

20. The concatenation operator is:

Answer

Correct Answer: +

Note: This Question is unanswered, help us to find answer for this one

21. The prefix g would be used for which variable type?

Answer

Correct Answer: Global

Note: This Question is unanswered, help us to find answer for this one

22. The first step in creating an application with PFC is:

Answer

Correct Answer: Configuring and enabling the application manager

Note: This Question is unanswered, help us to find answer for this one

23. You want to implement a timer in your application. Which function will you use?

Answer

Correct Answer: Timer

Note: This Question is unanswered, help us to find answer for this one

24. Which PowerBuilder repository table contains the edit style names and definitions?

Answer

Correct Answer: pbcatedt

Note: This Question is unanswered, help us to find answer for this one

25. The default transaction object is:

Answer

Correct Answer: sqlca

Note: This Question is unanswered, help us to find answer for this one

26. You are declaring an instance variable. What is the prefix you would use to name the variable?

Answer

Correct Answer: i

Note: This Question is unanswered, help us to find answer for this one

27. Which object is used to analyze the performance of a PowerBuilder application?

Answer

Correct Answer: TraceTree

Note: This Question is unanswered, help us to find answer for this one

28. How many instances of a window can you create?

Answer

Correct Answer: No limit

Note: This Question is unanswered, help us to find answer for this one

29. Which of the following identifiers is invalid?

Answer

Correct Answer: Child'sId

Note: This Question is unanswered, help us to find answer for this one

30. Which of the following is not a mathematical function?

Answer

Correct Answer: Arrange

Note: This Question is unanswered, help us to find answer for this one

31. Which object provides the ability to display a Web page in the default browser?

Answer

Correct Answer: Inet

Note: This Question is unanswered, help us to find answer for this one

32. The & character is used:

Answer

Correct Answer: For statement continuation

Note: This Question is unanswered, help us to find answer for this one

33. The connection object for use with all distributed PFC applications is:

Answer

Correct Answer: n_cn

Note: This Question is unanswered, help us to find answer for this one

34.

Given the following database access components for a windows platform, arrange them in the correct order starting from the application and ending with the database:

1 Powersoft ODBC interface (PBODB60.DLL)

2 PowerBuilder Applications

3 Database

4 Database ODBC Driver

5 ODBC Driver Manager (ODBC32.DLL)

Answer

Correct Answer:

2,1,5,4,3


Note: This Question is unanswered, help us to find answer for this one

35. Which object will be used to handle runtime errors?

Answer

Correct Answer: Error

Note: This Question is unanswered, help us to find answer for this one

36. The number of global functions defined in the PFC is:

Answer

Correct Answer: 2

Note: This Question is unanswered, help us to find answer for this one

37. Given the name of the object to be Pfc_w_master, the object as per the naming conventions is a:

Answer

Correct Answer: Window

Note: This Question is unanswered, help us to find answer for this one

38. Which control would you use to display the information in a hierarchical fashion?

Answer

Correct Answer: TreeView

Note: This Question is unanswered, help us to find answer for this one

39. Which application event is fired first?

Answer

Correct Answer: Open

Note: This Question is unanswered, help us to find answer for this one

40. Assume there are two windows, w1 and w2.w2 has a tab control with the name tab1. tab1 has two pages, tabp1 and tabp2. tabp1 has a command button cb1. What will be the correct syntax to refer to cb1 from the window w1?

Answer

Correct Answer: w2.tab1.tabp1.cb1

Note: This Question is unanswered, help us to find answer for this one

41. The repository table pbcatfmt contains:

Answer

Correct Answer: Display format names and definitions

Note: This Question is unanswered, help us to find answer for this one

42. Which Datawindow function is used to retrieve the rows into the Datawindow ?

Answer

Correct Answer: Retrieve

Note: This Question is unanswered, help us to find answer for this one

43. Which of the following is not a standard data type?

Answer

Correct Answer: Currency

Note: This Question is unanswered, help us to find answer for this one

44. On which platform do INTERSOLV ODBC drivers, included with PowerBuilder, support ODBC connections?

Answer

Correct Answer: UNIX

Note: This Question is unanswered, help us to find answer for this one

45. The string function mid is used to:

Answer

Correct Answer: Extract a certain number of characters from a string

Note: This Question is unanswered, help us to find answer for this one

46. In a window, you need two sets of radio buttons. On which control will you place the radio buttons ?

Answer

Correct Answer: Groupbox

Note: This Question is unanswered, help us to find answer for this one

47. Which menu is the master menu for all PFC applications?

Answer

Correct Answer: m_master

Note: This Question is unanswered, help us to find answer for this one

48. Which popup menu is displayed when the user releases the right mouse button over an u_dw based datawindow control?

Answer

Correct Answer: m_dw

Note: This Question is unanswered, help us to find answer for this one

49. Which of the following shape controls is not available in the PowerBuilder control bar?

Answer

Correct Answer: Polygon

Note: This Question is unanswered, help us to find answer for this one

50. You want a variable that will be accessible anywhere in the application. What type of variable will you declare?

Answer

Correct Answer: Global

Note: This Question is unanswered, help us to find answer for this one

51. The escape character in Powerscript is:

Answer

Correct Answer: ~

Note: This Question is unanswered, help us to find answer for this one

52. Which property of the error object contains the name of the object in which the error occurred?

Answer

Correct Answer: Object

Note: This Question is unanswered, help us to find answer for this one

53. Which is the ancestor main window for all SDI applications?

Answer

Correct Answer: w_main

Note: This Question is unanswered, help us to find answer for this one

54. A named set of parameters stored in your PowerBuilder initialization file that defines a connection to a particular database in the PowerBuilder development environment is known as:

Answer

Correct Answer: Database profile

Note: This Question is unanswered, help us to find answer for this one

55. A control that can be used for displaying other controls is:

Answer

Correct Answer: Tabcontrol

Note: This Question is unanswered, help us to find answer for this one

56. The five system tables created by PowerBuilder the first time it connects to the database are collectively known as:

Answer

Correct Answer: Repository

Note: This Question is unanswered, help us to find answer for this one

57. The windows that are opened in the client area of an MDI frame are known as:

Answer

Correct Answer: Sheets

Note: This Question is unanswered, help us to find answer for this one