Tag: programming languages

Questions Related to programming languages

  1. “FOR ALL RECORDS IN A”

  2. “FOR EACH RECORD IN A”

  3. ”FOR ONE RECORD IN A”

  4. ”FOR ANY RECORD IN A”


Correct Option: B

O RSREFR.FILE FILEMAN BEGIN A: IN RSREFR FDWOL RECTYPE = REPORT END FIND END Suppose if you have 10 records with rectype = report,when you run the above adhoc what will be printed

  1. 10

  2. 0

  3. Nothing will be printed

  4. Error


Correct Option: C

The statement to remove fields from a record is:

  1. DELETE RECORD

  2. DELETE

  3. DELETE FIELD

  4. REMOVE


Correct Option: B

Largest section of a M204 file tables is:

  1. TABLE A

  2. TABLE B

  3. TABLE C

  4. TABLE D


Correct Option: B

Command to find out the number of records that satisfy a particular condition i

  1. FPC

  2. WOL

  3. FCOUNT

  4. FRC


Correct Option: A

Command to print the fields STOR.CODE and CTRY.CODE with a space in between is

  1. PRINT STOR.CODE WITH CTRY.CODE

  2. PRINT STOR.CODE AND CTRY.CODE

  3. PRINT STOR.CODE,CTRY.CODE

  4. PRINT STOR.CODE CTRY.CODE


Correct Option: B

The Batch M204 procedure is executed by the utility

  1. BATCH204

  2. ADDR204

  3. FREB204

  4. EXEC204


Correct Option: C

What will be the result of this statement $SUBSTR(’ACCOUNT’, -3, 5) statement ?

  1. 'ACCOU'

  2. NULL STRING

  3. ACCO'

  4. COUNT'


Correct Option: A