COBOL and ABAP Programming Quiz

Test your knowledge of COBOL programming and SAP ABAP development including Data Dictionary, SmartForms, and SQL queries.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

The COBOL PERFORM loop is the equivalent of which of the following statements found in Java or C++ ?

  1. DO WHILE
  2. METHOD
  3. IF
  4. FOR
Question 2 Multiple Choice (Single Answer)

Which one of the following is not a COBOL division?

  1. Identification
  2. Linkage
  3. Data
  4. Procedure
Question 3 Multiple Choice (Single Answer)

As per COBOL coding standards what is the meaning of an asterisk in column 7?

  1. Indicates start of a new line
  2. Indicates the line is commented
  3. Indicates the continuation of the previous line
  4. None of the above
Question 4 Multiple Choice (Single Answer)

What does the Acronym COBOL stand for?

  1. Common OBservation Official Language
  2. COmputer Basic Operating Language
  3. COmmon Business Oriented Language
  4. None of the above
Question 5 Multiple Choice (Single Answer)

What is the command used for printing in COBOL?

  1. SHOW
  2. PRINT
  3. DISPLAY
  4. DISP
Question 6 Multiple Choice (Single Answer)

Condition names are names associated with a field that take on a true/false status depending on whether their value is equal to the field value. They are indicated by a level number of what?

  1. 66
  2. 77
  3. 88
  4. 5
Question 7 Multiple Choice (Single Answer)

What is the result of compilation of a COBOL module?

  1. LINKDECK
  2. LINKLIB
  3. LINKEDIT
  4. All the above
Question 8 True/False

State TRUE or FALSE. In the PROCEDURE DIVISION, only SECTION is optional. There must be at least one PARAGRAPH, SENTENCE and STATEMENT.

  1. True
  2. False
Question 9 Multiple Choice (Single Answer)

How many Bytes does a PIC 9(7) COMP-3 occupy?

  1. 7
  2. 6
  3. 5
  4. 4
Question 10 True/False

SMARTFORM is client independent.

  1. True
  2. False
Question 11 Multiple Choice (Single Answer)

what is the interface between application program and smartfrom?

  1. Function Module
  2. Subroutinue
  3. Macro
  4. Event
Question 12 Multiple Choice (Single Answer)

What is the system field to display the total number of pages for the currently processed form?

  1. &SFSY-JOBPAGES&
  2. &SFSY-PAGEBREAK&
  3. &SFSY-FORMPAGES&
  4. &SFSY-PAGENAME&
Question 13 True/False

SMARTFORM does not generate any Function Module when activated.

  1. True
  2. False
Question 14 Multiple Choice (Single Answer)

What is the basic object of data Dictionary?

  1. Domains
  2. Documentation
  3. Data Models
  4. Dynpro
Question 15 Multiple Choice (Single Answer)

What is invalid attribute of a domain?

  1. Type
  2. Fixed values
  3. Length
  4. Header
Question 16 Multiple Choice (Single Answer)

Sub query usually more efficient because

  1. Data is filtered in the database
  2. Data is filtered on the network
  3. Data is filtered in the sapgui
  4. Data is filtered at the application server
Question 17 Multiple Choice (Multiple Answers)

From the below given options, select all those which are correct.

  1. VALUE clause is used to initialize the data items in the working storage section.
  2. INITIALIZE is used to initialize the data items in the procedure division.
  3. INITIALIZE clause is used to initialize the data items in the working storage section.
  4. VALUE is used to initialize the data items in the procedure division.
Question 18 Multiple Choice (Multiple Answers)

Select the sections which are main sections in DATA DIVISION?

  1. FILE SECTION
  2. LINKAGE SECTION
  3. WORKING-STORAGE SECTION
  4. REPORT SECTION
Question 19 Multiple Choice (Single Answer)

Search help can not be attach to

  1. Domain
  2. Field of a table
  3. Check table
  4. Type
Question 20 Multiple Choice (Single Answer)

Full Buffering would be appropriate for?

  1. Transaction Tables
  2. Small Static tables
  3. Internal Tables
  4. Tables with generic Keys