programming languages Online Quiz - 309
Description: programming languages Online Quiz - 309 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
What does the cursor attribute ‘%rowcount’ do?
The data type returned by a ‘%FOUND’ cursor attribute is
True of False :A package specification can exist without a body
How many types of triggers are there?
A database storage is stored in the database as
The default mode of parameters that can be passes to a procedure?
What are the types of cursors available in plsql?
Which of the following statements about PL/I arrays is TRUE ?
Which of the following statements about PL/I programs are TRUE?
A PL/I programmer wants to display a number in his/her program. Which of the following variables is suited for doing this ? +123.45 (we assume the decimal sign is ‘.’)
Take a look at the following PL/I variables. Which of the given conditions is NOT correct? DCL INFILE FILE RECORD INPUT; DCL EOF BIT(1) INIT (‘0’B); ON ENDFILE (INFILE) EOF = ‘1’B; (1) DO WHILE (NOT EOF); (2) DO WHILE (^EOF); (3) DO WHILE (EOF = ‘0’B); (4) DO WHILE (EOF ^= ‘1’B);
Assume a PL/I program that wants to execute a call to an external procedure. This procedure expects 1 parameter and returns 1 parameter. Which instructions do you have to provide in the main program ? (1) DCL MYSUB ENTRY (CHAR(5)) EXTERNAL; (2) DCL MYSUB ENTRY (CHAR(5)) RETURNS (CHAR(5)) EXTERNAL; (3) DCL MYPARAMETER,MYRESULT CHAR(5); (4) CALL MYSUB (MYPARAMETER); (5) MYRESULT = MYSUB; (6) MYRESULT = MYSUB(MYPARAMETER);
If you have the following declarations, what will be the content of RESULT at the end of the given instructions? DCL 1 VAR1 CHAR(5) INIT (‘PL/I’); DCL 1 VAR2 CHAR(10); DCL 1 VAR3 CHAR (2); DCL 1 RESULT CHAR (5); RESULT = ‘COBOL’; VAR2 = VAR1; VAR3 = VAR2; RESULT = VAR3;
Which of the following PL/I SELECT statements is correct ?
The following are only recognized in white space programming