Passleader Latest Sample Questions for IBM C2090-913 Test

Vendor: IBM
Exam Code: C2090-913
Exam Name: Informix 4GL Development

QUESTION 1
What can the arr_count() library function be used to determine?

A.    the current position in the screen array
B.    the current position in the program array
C.    the number of elements in the screen array
D.    the number of elements in the program array

Answer: D

QUESTION 2
Which features are unique to the INPUT ARRAY statement?

A.    BEFORE/AFTER ROW clause
B.    BEFORE/AFTER INPUT clause
C.    BEFORE/AFTER FIELD clause
D.    BEFORE/AFTER DELETE clause
E.    BEFORE/AFTER INSERT clause

Answer: ADE

QUESTION 3
Which statement is syntactically correct?

A.    INPUT ARRAY ga_manufact FROM sa_manufact.*
B.    INPUT ARRAY ga_manufact[*] FROM sa_manufact
C.    INPUT ARRAY ga_manufact.* FROM sa_manufact.*
D.    INPUT ARRAY ga_manufact[].* FROM sa_manufact.*

Answer: A

QUESTION 4
SQL statements being prepared for performance reasons should be prepared

A.    just before the SQL statement is to be executed or opened
B.    in an initialization function at the top of each 4GL module
C.    at the top of each function containing the EXECUTE or OPEN statement
D.    in an initialization function in the module containing the MAIN function

Answer: B

QUESTION 5
Why will preparing SELECT statements increase their execution speed?

A.    SELECT statements can NOT be prepared.
B.    The rows of the tables being selected will be cached in memory if the statement is prepared.
C.    Prepared statements are checked for syntax and optimized at prepare time, not at execution time.
D.    Memory is allocated for the results set which will be returned from the SELECT statement at prepare time.

Answer: C

QUESTION 6
Place holders for program variables to be supplied later may be used in PREPARE statements in which locations?

A.    in the TABLE name
B.    in the WHERE clause
C.    in the ORDER BY statement
D.    in the SET clause of UPDATE statements
E.    in the VALUES clause of INSERT statements

Answer: BDE

QUESTION 7
Click the Exhibit button to view the exhibit. Given the code in the exhibit, what will be the state of the database if the procedure st_update succeeds and st_insert fails?
71

A.    It depends on the ANSI MODE state of the database.
B.    The changes made by st_update and st_insert are not reflected.
C.    The changes made by st_insert will be in place, but not those of st_update.
D.    The changes made by st_update will be in place, but not those of st_insert.

Answer: B

QUESTION 8
The FOREACH statement is used in conjunction with the DISPLAY ARRAY statement to do what?

A.    to load elements from a program array into a DISPLAY statement
B.    to allow the user to choose multiple elements from the screen array
C.    to open a cursor, fetch all rows into a program array, and close the cursor
D.    to scroll through all of the rows displayed on the form from the program array

Answer: C

QUESTION 9
Which parts of the DISPLAY ARRAY statement are always required?

A.    ON KEY keywords
B.    screen array name
C.    program array name
D.    END DISPLAY keywords
E.    DISPLAY ARRAY keywords
F.    BEFORE DISPLAY keywords

Answer: BCE

QUESTION 10
Click the Exhibit button to view the exhibit Given the exhibit, which is the correct syntax for executing the INSERT statement?
101

A.    EXECUTE ex_stmt1
B.    EXECUTE prep_var1
C.    EXECUTE ex_stmt1 USING stock.*
D.    EXECUTE prep_var1 USING stock.*
E.    EXECUTE ex_stmt1 USING stock_rec.*
F.    EXECUTE prep_var1 USING stock_rec.*

Answer: E

QUESTION 11
Where will a 4GL program search for a compiled form file during an OPEN FORM or OPEN WINDOW WITH FORM statement?

A.    in the user’s current directory
B.    in any directory owned by INFORMIX
C.    in the directories specified by the DBPATH environment variable
D.    in the directories specified by the FORMPATH environment variable
E.    in the directories specified by the INFORMIXDIR environment variable

Answer: AC

QUESTION 12
Which attributes would you use to display a message to the screen and a value when the cursor enters a particular field?

A.    FORMAT
B.    DEFAULT
C.    COMMENTS
D.    WORDWRAP

Answer: BC

QUESTION 13
Which statements explain the purpose of the ATTRIBUTES section of a form?

A.    It lets you define the size of the screen form.
B.    It links a field tag on the screen with a column in the table.
C.    It allows you to add specific commands that will determine the behavior and appearance of the fields on the screen.
D.    It lets you determine the order in which the cursor will navigate through the fields of the screen form.

Answer: BC

QUESTION 14
What is required in a form to implement multiple-line editing features for a character field?

A.    two fields of the same length in the SCREEN section
B.    an OPTIONS WORD WRAP line in the INSTRUCTIONS section
C.    a SCREEN RECORD for the field in the INSTRUCTIONS section
D.    at least two fields in the SCREEN section with the same field tag
E.    the WORDWRAP attribute included for the field in the ATTRIBUTES section

Answer: DE

QUESTION 15
If DEFER INTERRUPT is set at the beginning of the application, why must your application set int_flag to FALSE before an INPUT statement is executed?

A.    The interrupt key will be disabled until int_flag is set to FALSE .
B.    The application will immediately exit if the user presses the interrupt key.
C.    An error will occur if int_flag is not reset to FALSE and the user presses the interrupt key.
D.    The application will not be able to determine if the user presses the interrupt key if int_flag is not reset to FALSE .

Answer: D

Passleader Latest Sample Questions for IBM C2090-913 Test