SQL Functions and Network Database Systems (IDMS/DMS)
Quiz covering SQL functions, joins, GROUP BY clauses, and IDMS/DMS network database concepts including area management, sets, and record operations.
Questions
In which of the following modes can we open an index area?
- Update
- Retrival
- Both
- None
What is the maximum number of record types a set type can have?
- 43
- 53
- 63
- 73
What is the full form of DMS? - correct answer is Data Management System - cannot chnage options now.
- Database Management System
- Data Management System
- Data Maintenance System
- Database Manipulation System
DMS is what kind of database system?
- Network
- Hierarchical
- Relational
- None of These
Which command is used to connect to the DMS database in a COBOL program?
- Invoke
- Impart
- Get
- Open
Which command is used to dis-connect from the DMS database in a COBOL program?
- Depart
- Impart
- Close
- Put
When we give the command "OPEN AREANAME" in which mode the area is opened?
- Retrival
- Update
- Both
- None
What is the syntax to open an area in upadte mode?
- OPEN AREANAME USAGE-MODE IS UPDATE
- OPEN AREANAME USAGE MODE IS UPDATE
- OPEN AREANAME USAGE-MODE IS MODIFY
- OPEN AREANAME USAGE MODE IS MODIFY
What is the maximum number of areas you can open with a single OPEN statement?
- 25
- 35
- 47
- 57
Fetch = ?
- get+find
- find
- find+get
- none of the above
What type of Database is IDMS?
- Relational
- Hierarchial
- Network
- None of the above
There is a chance for Currency loss while doing AREA Sweep
- True
- False
What does 1205 Error code represnts in IDMS?
- Error while disconnecting a record from its set
- Error while storing duplicates
- Error while connecting a record to a set
- Error while erasing a record
select substr('DECCANPARK',3,-1) FROM DUAL would results in?
- ARK
- CED
- DEC
- NULL
select trunc(10,-1) from dual would results in?
- 10
- 9
- ERROR
- 1
let sysdate='19-SEP-2009' select round(sysdate,'YEAR'),round(sysdate,'MONTH') from dual would results in?
- 09,SEP
- 1/1/2010,1/10/2009
- 1/1/2009,1/1/2009
- 2009,SEPTEMBER
which of the following are true about natural join?
- No advantage
- eliminates aliases
- Natural join doesnot exist in oracle
- eliminates join comparision
State true or false All the columns in the column clause of select statment that are not in a group function must be listed in the group by clause.However,a column listed in group by clause needn't appear in column clause
- True
- False
select next_day('19-SEP-09','FRIDAY') from dual and select next_day('19-SEP-09',7) from dual would results in?(answers in mm/dd/yyyy formate)
- syntax error and 09/26/2009,
- 09/25/2009 and 09/25/2009
- 09/25/2009 and syntax error
- 09/25/2009,09/26/2009
which of the following comes under General Functions category in Single Row Functions
- COALESCE()
- NVL()
- NVL2()
- CASE