Tag: mainframe

Questions Related to mainframe

What is the difference between physical map and symbolic map?

  1. The physical map is the load module and the symbolic map is the data structure

  2. The physical map is the data structure and the symbolic map is the load module

  3. Physical map is mapped with addresses and the symbolic map is the logical one.

  4. There is no difference


Correct Option: A

AI Explanation

To answer this question, we need to understand the concepts of physical maps and symbolic maps in the context of computer programming.

Option A) The physical map is the load module, and the symbolic map is the data structure. This option is incorrect. In computer programming, a physical map is not related to load modules, and a symbolic map is not related to data structures.

Option B) The physical map is the data structure, and the symbolic map is the load module. This option is incorrect. The physical map is not a data structure, and the symbolic map is not a load module.

Option C) The physical map is mapped with addresses, and the symbolic map is the logical one. This option is incorrect. The physical map is not necessarily mapped with addresses, and the symbolic map is not just a logical representation.

Option D) There is no difference. This option is incorrect. There is a difference between physical maps and symbolic maps.

The correct answer is A) The physical map is the load module, and the symbolic map is the data structure. In computer programming, a physical map refers to the compiled code or load module of a program. It represents the executable version of the program that can be run on a computer.

On the other hand, a symbolic map is a data structure that provides information about the program's variables, functions, and other symbols. It is used by developers and debuggers to understand the structure and behavior of the program without analyzing the compiled code directly.

Therefore, the correct answer is A) The physical map is the load module, and the symbolic map is the data structure.

  1. Length, attribute and output field

  2. Length, no.of fields and output field

  3. Length, attribute and input/output field

  4. Length, attribute and input field


Correct Option: C
  1. Sign is stored as a hex value in the last nibble of the storage.

  2. Sign is over punched with the numeric value stored in the last nibble.

  3. Sign is stored in the most significant bit.

  4. None of the above


Correct Option: A
  1. Subscript refers to the array occurrence while index is the displacement (in no of bytes) from the beginning of the array.

  2. An index can only be modified using PERFORM, SEARCH & SET.

  3. Need to have index for a table in order to use SEARCH, SEARCH ALL.

  4. None of the above


Correct Option: D

What does the INITIALIZE verb do?

  1. Alphabetic, Alphanumeric fields & alphanumeric edited items are set to SPACES

  2. Numeric, Numeric edited items set to ZERO.

  3. FILLER , OCCURS DEPENDING ON items left untouched.

  4. All the Above.


Correct Option: D
  1. For Renames Clause

  2. For Condition Names

  3. Elementary level item. Cannot be subdivisions of other items (cannot be qualified), nor can they be subdivided themselves.

  4. All of the above


Correct Option: A
  1. In COBOL , the File format : ORGANISATION IS SEQUENTIAL RECORDING MODE IS F BLOCK CONTAINS 0 . Is used to reference which file ?
  1. Fixed Block file

  2. Fixed Unblock file

  3. Variable Block file

  4. Variable Unblock file


Correct Option: A

How many sections are there in Data Division?

  1. Six

  2. Seven

  3. Four

  4. Three


Correct Option: A