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.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

In which of the following modes can we open an index area?

  1. Update
  2. Retrival
  3. Both
  4. None
Question 2 Multiple Choice (Single Answer)

What is the maximum number of record types a set type can have?

  1. 43
  2. 53
  3. 63
  4. 73
Question 3 Multiple Choice (Single Answer)

What is the full form of DMS? - correct answer is Data Management System - cannot chnage options now.

  1. Database Management System
  2. Data Management System
  3. Data Maintenance System
  4. Database Manipulation System
Question 4 Multiple Choice (Single Answer)

DMS is what kind of database system?

  1. Network
  2. Hierarchical
  3. Relational
  4. None of These
Question 5 Multiple Choice (Single Answer)

Which command is used to connect to the DMS database in a COBOL program?

  1. Invoke
  2. Impart
  3. Get
  4. Open
Question 6 Multiple Choice (Single Answer)

Which command is used to dis-connect from the DMS database in a COBOL program?

  1. Depart
  2. Impart
  3. Close
  4. Put
Question 7 Multiple Choice (Single Answer)

When we give the command "OPEN AREANAME" in which mode the area is opened?

  1. Retrival
  2. Update
  3. Both
  4. None
Question 8 Multiple Choice (Single Answer)

What is the syntax to open an area in upadte mode?

  1. OPEN AREANAME USAGE-MODE IS UPDATE
  2. OPEN AREANAME USAGE MODE IS UPDATE
  3. OPEN AREANAME USAGE-MODE IS MODIFY
  4. OPEN AREANAME USAGE MODE IS MODIFY
Question 9 Multiple Choice (Single Answer)

What is the maximum number of areas you can open with a single OPEN statement?

  1. 25
  2. 35
  3. 47
  4. 57
Question 10 Multiple Choice (Single Answer)

Fetch = ?

  1. get+find
  2. find
  3. find+get
  4. none of the above
Question 11 Multiple Choice (Single Answer)

What type of Database is IDMS?

  1. Relational
  2. Hierarchial
  3. Network
  4. None of the above
Question 12 True/False

There is a chance for Currency loss while doing AREA Sweep

  1. True
  2. False
Question 13 Multiple Choice (Single Answer)

What does 1205 Error code represnts in IDMS?

  1. Error while disconnecting a record from its set
  2. Error while storing duplicates
  3. Error while connecting a record to a set
  4. Error while erasing a record
Question 14 Multiple Choice (Single Answer)

select substr('DECCANPARK',3,-1) FROM DUAL would results in?

  1. ARK
  2. CED
  3. DEC
  4. NULL
Question 15 Multiple Choice (Single Answer)

select trunc(10,-1) from dual would results in?

  1. 10
  2. 9
  3. ERROR
  4. 1
Question 16 Multiple Choice (Single Answer)

let sysdate='19-SEP-2009' select round(sysdate,'YEAR'),round(sysdate,'MONTH') from dual would results in?

  1. 09,SEP
  2. 1/1/2010,1/10/2009
  3. 1/1/2009,1/1/2009
  4. 2009,SEPTEMBER
Question 17 Multiple Choice (Multiple Answers)

which of the following are true about natural join?

  1. No advantage
  2. eliminates aliases
  3. Natural join doesnot exist in oracle
  4. eliminates join comparision
Question 18 True/False

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

  1. True
  2. False
Question 19 Multiple Choice (Single Answer)

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)

  1. syntax error and 09/26/2009,
  2. 09/25/2009 and 09/25/2009
  3. 09/25/2009 and syntax error
  4. 09/25/2009,09/26/2009
Question 20 Multiple Choice (Multiple Answers)

which of the following comes under General Functions category in Single Row Functions

  1. COALESCE()
  2. NVL()
  3. NVL2()
  4. CASE