- 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.
Q 1 - Which segment lies at the top of the hierarchy?
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?
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
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?
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?
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.
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?
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?
Answer : B
Explanation
This is self explanatory.
Q 10 - Which of them is a processing mode in IMS DB?
Answer : D
Explanation
All these are the processing modes which are available in IMS DB.
To Continue Learning Please Login
Login with Google