IMS DB Online Quiz



Following quiz provides Multiple Choice Questions (MCQs) related to IMS DB Framework. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.

Questions and Answers

Q 1 - Which segment lies at the top of the hierarchy?

A - Twin Segment

B - Child Segment

C - Root Segment

D - None of these

Answer : C

Explanation

The segment that lies at the top of the hierarchy is called the root segment. The root segment is the only segment through which all dependent segments are accessed.

Q 2 - For FIELD macro statement in DBDGEN, what does TYPE=H parameter specifies?

A - Packed decimal data type

B - Hexadecimal data type

C - Character data type

D - Half word binary data type

Answer : D

Explanation

TYPE = H specifies Half word binary data type for the field which we have declared.

Q 3 - Which statement is used to pass the control from the DL/I to the COBOL program?

A - ENTRY 'DLITCBL' USING pcb-name

B - ENTRY 'DLICBL' USING pcb-name1

C - ENTRY 'CBLTDLI' USING pcb-name1

D - None of these

Answer : A

Explanation

Entry Statement is used to pass the control from the DL/I to the COBOL program. Syntax: ENTRY 'DLITCBL' USING pcb-name

Q 4 - Which function is used to add a new segment to the database?

A - DLI-GNP

B - DLI-ISRT

C - DLI-DLET

D - DLI-REPL

Answer : B

Explanation

'ISRT' code is used for the Insert function. The ISRT function is used to add a new segment to the database. It is used to change an existing database or load a new database.

Q 5 - In PCB which field is used to define to which level an application program is sensitive?

A - LENGTH-FB-KEY

B - NUMB-SENS-SEGS

C - KEY-FB-AREA

D - SEG-NAME

Answer : B

Explanation

Number of sensitivity segments store four bytes binary data. It defines to which level an application program is sensitive. It represents a count of number of segments in the logical data structure.

Answer : A

Explanation

PCB stands for Program Communication Block.

Q 7 - How many search fields are allowed in segment?

A - 1

B - 100

C - No Limit

D - 255

Answer : A

Explanation

There can be only one search field in a segment.

Q 8 - The data element contains the key value from the segment in the indexed database over which the index is built. State whether true or false?

A - False

B - True

Answer : B

Explanation

This statement is correct.

Q 9 - When we build a secondary index, the apparent hierarchical structure of the database is also changed. The index target segment becomes the apparent root segment. State whether true or false?

A - False

B - True

Answer : B

Explanation

This is self explanatory.

Q 10 - Which of them is a processing mode in IMS DB?

A - Batch DLI

B - MPP Mode

C - BMP Mode

D - All of these

Answer : D

Explanation

All these are the processing modes which are available in IMS DB.

ims_db_questions_answers.htm
Advertisements