IFSM247P – Introduction
to PowerBuilder
Quiz #6
Section II - Multiple Choice - There may be more than
one answer.
1. Which of these are Transaction object connection
parameters?
A. Database
B. Where Clause
C. Select Statement
D. SQLCode
2. Which of the following items contains the information
about the table to select from and the retrieval arguments to be used?
A. Application Object
B. DataWindow Control
C. DataWindow Object
D. Transaction Object
3. Which of the following items encapsulates (contains)
from which vendor of database (DBMS) the application is going to connect.
A. Application Object
B. DataWindow Control
C. DataWindow Object
D. Transaction Object
4. Which of the following statements are valid for
establishing a connection to the database?
A. Attach using sqlca
B. Dbms.sqlca connect
C. Connect using sqlca;
D. Connect using sqlca
5. The results of the execution of a SQL statement are
returned to the application via the:
A. Application object
B. Datawindow object
C. Transaction object
D. Custom code written by the programmer
6. Which of the following functions allow a programmer
to manipulate an ini file?
A. GetItemString()
B. SetItem()
C. ProfileString()
D. GetItemNumber()
7. Datawindow controls are linked to datawindow objects
using which painter?
A. Application
B. DataWindow
C. Database Profile
D. Window
8. Which of the following functions connects a
datawindow control with the transaction object?
A. Connect
B. ProfileString()
C. Retrieve()
D. SetTransObject()
9. When moving an application from Oracle to Sybase,
which of the following objects must change:
A. Application object
B. Datawindow object
C. Transaction object
D. None of the above
10. Which of these are possible data sources for a
datawindow object?
A. Query
B. SQL Select
C. Stored Procedure
D. Text file