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

Answer : A

Explanation

Predefined pattern for accessing data in DL/I is first down the hierarchy, then left to right.

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 - In PCB which field tells what kind of processing the program is authorized to do on the database?

A - SEG-LEVEL

B - STATUS-CODE

C - PROC-OPTIONS

D - RESERVED-DLI

Answer : C

Explanation

Proc options are known as processing options which contain four-character data fields. A Processing Option field indicates what kind of processing the program is authorized to do on the database.

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 Concatenated Key?

A - C

B - D

C - F

D - L

Answer : A

Explanation

To use command codes, specify an asterisk in the 9th position of the SSA and for concatenated key we code C at 10th position.

Q 7 - What command code we used to code for Enqueue Segment?

A - N

B - P

C - Q

D - U

Answer : C

Explanation

To use command codes, specify an asterisk in the 9th position of the SSA and for Enqueue Segment we code Q at 10th position.

Q 8 - The prefix part of the index pointer segment contains a pointer to the Index Target Segment. State whether true or false?

A - False

B - True

Answer : B

Explanation

This is self explanatory.

Q 9 - For Unidirectional Virtual relationship the logical connection goes from the logical child to the logical parent and it cannot go the other way around. State whether true or false?

A - False

B - True

Answer : B

Explanation

This is self explanatory.

Answer : B

Explanation

MPP stands for Message Processing Program.


ims_db_questions_answers.htm

Advertisements