- 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
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
IMS DB Mock Test
This section presents you various set of Mock Tests related to IMS DB Framework. You can download these sample mock tests at your local machine and solve offline at your convenience. Every mock test is supplied with a mock test key to let you verify the final score and grade yourself.
IMS DB Mock Test I
Q 1 - What does IMS stand for?
A - Information Management Sub-system
B - Information Management System
Answer : B
Explanation
IMS stands for Information Management System.
Q 2 - What does DLI stands for?
Answer : A
Explanation
DLI stands for Data Language Interface.
Answer : A
Explanation
IMS DB processing is very fast as compared to DB2.
Answer : B
Explanation
IMS predefined tree structure reduces flexibility and it is difficult to manage.
Q 5 - Through which segment all dependent segments are accessed?
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 : D
Explanation
A DL/I database can have 255 different segment types and 15 levels of hierarchy.
Q 7 - How many different types of segment can be there in a DLI database?
Answer : B
Explanation
A DL/I database can have 255 different segment types and 15 levels of hierarchy
Q 8 - 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 9 - How can we access the data in IMS DB?
Answer : C
Explanation
Data can be processed in both the ways: Sequential & Random.
Q 10 - What is the predefined pattern for sequential processing?
A - Down the hierarchy then left to right
B - Down the hierarchy then right to left
Answer : A
Explanation
Predefined pattern for accessing data in DL/I is first down the hierarchy, then left to right.
Q 11 - What does DBD stands for?
Answer : A
Explanation
DBD stands for Database Descriptor.
Q 12 - What does DBDGEN stands for?
A - Database Descriptor Generator
B - Data Description Generator
Answer : A
Explanation
DBDGEN stands for Database Descriptor Generator.
Answer : B
Explanation
PSB stands for Program Specification Block.
Q 14 - What does PSBGEN stands for?
A - Program System Block Generator
B - Program Specification Block Generator
Answer : B
Explanation
PSBGEN stands for Program Specification Block Generator.
Q 15 - What does ACB stands for?
Answer : A
Explanation
ACB stands for Access Control Block.
Q 16 - Which of the following describes the complete physical structure of the database?
Answer : A
Explanation
DBD describes the complete physical structure of the database once all the segments have been defined.
Q 17 - For FIELD macro statement in DBDGEN, what does TYPE=C parameter specifies?
Answer : C
Explanation
TYPE = C specifies Character data type for the field which we have declared.
Q 18 - For FIELD macro statement in DBDGEN, what does TYPE=P parameter specifies?
Answer : A
Explanation
TYPE=P specifies Packed decimal data type for the field which we have declared.
Q 19 - 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 20 - 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 21 - What does SENSEG stands for?
Answer : A
Explanation
SENSEG is known as Segment Level Sensitivity. It defines the program's access to parts of the database and it is identified at the segment level.
Q 22 - What does ACBGEN stands for?
A - Access Control Blocks Generator
B - Access Control Blocks Generator
Answer : B
Explanation
ACB stands for Access Control Blocks Generator. It is used to generate ACBs.
Q 23 - Which parameter specifies the language in which the application program is written in PSBGEN?
Answer : B
Explanation
The LANG parameter specifies the language in which the application program is written, e.g., COBOL.
Q 24 - 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 25 - What does DLITCBL stands for?
Answer : A
Explanation
DLITCBL stands for DL/I to COBOL. The entry statement is used to define the entry point in the program.
Answer Sheet
Question Number | Answer Key |
---|---|
1 | B |
2 | A |
3 | A |
4 | B |
5 | C |
6 | D |
7 | B |
8 | C |
9 | C |
10 | A |
11 | A |
12 | A |
13 | B |
14 | B |
15 | A |
16 | A |
17 | C |
18 | A |
19 | B |
20 | D |
21 | A |
22 | B |
23 | B |
24 | A |
25 | A |