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.

Answer : A

Explanation

DBDGEN stands for Database Descriptor Generator.

Q 3 - Which is used to pass the control back to the IMS control program?

A - RETURN

B - GOBACK

C - BACK

D - None of these

Answer : B

Explanation

GOBACK is used to pass the control back to the IMS control program.

Q 4 - In PCB which field is used to store the level of the segment that was processed?

A - SEG-LEVEL

B - STATUS-CODE

C - PROC-OPTIONS

D - RESERVED-DLI

Answer : A

Explanation

Segment level is known as Segment Hierarchy Level Indicator. It contains character data and is two bytes long. A segment level field stores the level of the segment that was processed. When a segment is retrieved successfully, the level number of the retrieved segment is stored here.

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 error code you will get in GU call if DL/I could not find a segment that met the criteria specified in the call?

A - SPACE

B - ZERO

C - GE

D - GF

Answer : C

Explanation

You will get GE value in STATUS-CODE if DL/I could not find a segment that met the criteria specified in the call.

Q 7 - What is the retrieval sequence in IMS DB?

A - Top to bottom

B - Front to back

C - Left to right

D - All of these

Answer : D

Explanation

All these are the approaches which are used for retrieval of data.

Q 8 - Each occurrence of the root segment, plus all the subordinate segment occurrences make one database record. State whether true or false?

A - False

B - True

Answer : B

Explanation

This is self explanatory.

Q 9 - Sparse sequencing is also known as Sparse Indexing. We can remove some of the index source segments from the index using sparse sequencing with secondary index database. State whether true or false?

A - False

B - True

Answer : B

Explanation

This is self explanatory.

Answer : A

Explanation

DBMS stands for Database Management System.

ims_db_questions_answers.htm
Advertisements