![IMS DB Tutorial](/ims_db/images/ims-db-mini-logo.jpg)
- IMS DB Basics Tutorial
- IMS DB - Home
- IMS DB - Overview
- IMS DB - Structure
- IMS DB - DL/I Terminology
- IMS DB - DL/I Processing
- IMS DB - Control Blocks
- IMS DB - Programming
- IMS DB - Cobol Basics
- IMS DB - DL/I Functions
- IMS DB - PCB Mask
- IMS DB - SSA
- IMS DB - Data Retrieval
- IMS DB - Data Manipulation
- IMS DB - Secondary Indexing
- IMS DB - Logical Database
- IMS DB - Recovery
- IMS DB Useful Resources
- IMS DB - Questions And Answers
- IMS DB - Quick Guide
- IMS DB - Useful Resources
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](/images/questions_and_answers.png)
Q 1 - How can we access the data in IMS DB?
Answer : C
Explanation
Data can be processed in both the ways: Sequential & Random.
Q 2 - For FIELD macro statement in DBDGEN, what does TYPE=X parameter specifies?
Answer : B
Explanation
TYPE=X specifies Hexadecimal data type for the field which we have declared.
Q 3 - Which is used to pass the control back to the IMS control program?
Answer : B
Explanation
GOBACK is used to pass the control back to the IMS control program.
Q 4 - In PCB which field tells what kind of processing the program is authorized to do on the database?
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.
Answer : C
Explanation
A basic unqualified SSA is 9 bytes long. The first 8 bytes hold the segment name which is being used for processing. The last byte always contains space.
Answer : A
Explanation
To use command codes, specify an asterisk in the 9th position of the SSA and for Path Call Ignore we code N at 10th position.
Answer : B
Explanation
To use command codes, specify an asterisk in the 9th position of the SSA and for Set Parentage we code P at 10th position.
Q 8 - Command codes are used to enhance the functionality of DL/I calls. Command codes reduce the number of DL/I calls, making the programs simple. State whether true or false?
Answer : B
Explanation
This statement is correct.
Q 9 - Logical twins are the occurrences of a logical child segment type that are all subordinate to a single occurrence of the logical parent segment type. State whether true or false?
Answer : B
Explanation
This is self explanatory.
Answer : A
Explanation
One DBD is generated for a single database.