Tag: programming languages

Questions Related to programming languages

  1. BEGIN SUBROUTINE

  2. SUBROUTINE

  3. SUBROUTINE BEGIN

  4. START SUBROUTINE


Correct Option: B

BY EACH phrase in the SORT RECORDS statement

  1. Loops through all occurrences of a field

  2. Loops through the occurrences of a field except the First and the Last Field

  3. PLACE RECORDS ON label ON [LIST] listname

  4. Loops through none of the Occurences of a fiel


Correct Option: A

The purpose of the REMEMBER statement is to

  1. Store the processing position in a FOR loop.

  2. Store the processing position in a IF loop.

  3. Store the processing information in a FOR loop.

  4. )Remembers your User ID


Correct Option: A

Consider the following: A: IN RSREFR FPC RECTYPE = REPORT REPT.KEY IS PRESENT END FIND The above adhoc results in:

  1. Retrieves all records in RSREFR with RECTYPE = REPORT which contains atleast one occurrence of the field name REPT.KEY.

  2. Retrieves all records in RSREFR with RECTYPE = REPORT which contains no occurrence of the field name REPT.KEY

  3. Retrieves all records in RSREFR with RECTYPE = REPORT

  4. None of the above


Correct Option: A
  1. PRINT 'HELLO'

  2. PRINT “HELLO”

  3. Both (a) & (b)

  4. None of the above


Correct Option: A

Spacing on output line can be controlled using

  1. AND

  2. WITH

  3. TAB

  4. All of the above


Correct Option: D

BEGIN %X IS FIXED DP 0 %X = 1.95 PRINT %X END What will be the value of %X

  1. 1.95

  2. 2

  3. 1

  4. 0


Correct Option: C

Suppose 'ab' is a variable,how it is represented in M204 ?

  1. %%ab

  2. $ab

  3. %ab

  4. ab


Correct Option: C