IMS DB Online Quiz


Advertisements


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 - Through which segment all dependent segments are accessed?

A - Twin Segment

B - Child Segment

C - Root Segment

D - None of these

Answer : C

Explanation

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

Q 2 - Which of the following describes the complete physical structure of the database?

A - DBD

B - PSB

C - ACB

D - None of these

Answer : A

Explanation

DBD describes the complete physical structure of the database once all the segments have been defined.

Q 3 - Which function is used to get the next record in sequential order?

A - DLI-GU

B - DLI-GHU

C - DLI-GN

D - DLI-GHN

Answer : C

Explanation

'GN' code is used for the Get Next function. It works similar to the read next statement in COBOL. It is used to fetch segment occurrences in a sequence.

Q 4 - Which function is used for recovering the database?

A - DLI-CHKP

B - DLI-XRST

C - DLI-PCB

D - DLI-ISRT

Answer : A

Explanation

'CHKP' code is used for the Checkpoint function. It is used in the recovery features of IMS.

Q 5 - In PCB which field is used to report the length of the concatenated key of the lowest level segment processed during the previous call?

A - LENGTH-FB-KEY

B - NUMB-SENS-SEGS

C - KEY-FB-AREA

D - SEG-NAME

Answer : A

Explanation

Length FB key is known as the length of the key feedback area. It stores four bytes of binary data. This field is used to report the length of the concatenated key of the lowest level segment processed during the previous call.

Q 6 - What command code we used to code for First Occurrence?

A - C

B - D

C - F

D - L

Answer : C

Explanation

To use command codes, specify an asterisk in the 9th position of the SSA and for First Occurrence we code F at 10th position.

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 - A logical relationship is a path between two segments which are related logically and not physically. State whether true or false?

A - False

B - True

Answer : B

Explanation

This statement is correct.

Answer : A

Explanation

BMP stands for Batch Message Processing.


ims_db_questions_answers.htm

Advertisements