For More Quiz Questions click here to download Global Quiz on Google PlayStore

NATIONAL OPEN UNIVERSITY OF NIGERIA

UNIVERSITY VILLAGE, PLOT 91, CASDASTRAL ZONE, NNAMDI AZIKIWE EXPRESS WAY, JABI, ABUJA.
FACULTY OF SCIENCES
JANUARY 2021 EXAMINATION

DAM401: ORACLE DATABASE  Credit: 2 units
TIME ALLOWED: 2 Hours
INSTRUCTION: Answer Question 1 and any other THREE (3) Questions


1a) Define DML. Give five examples of DML commands(4 ½ marks)
1b) Discuss the various data dictionary views you are familiar with (7 ½ marks)
1c) Write short notes on the following:
i. User-defined data type (3 marks)
ii. Index (3 marks)
iii. Cluster (3 marks)
1d) (i) What is deadlock? (2 marks)
(ii) Explain how Oracle handles deadlock situations (2 marks)


2a) Briefly describe the following stating examples where necessary:
i) DML locks (datalocks) (2 marks)
ii) DDL locks (dictionary locks) (2 marks)
iii) Internal locks and latches (2 marks)
2b)Extensively discuss the operations of Share Row Exclusive Table Locks (SRX)(6 marks)
2c) ) State the three common uses of Triggers (3 marks)


3a) Produce the SQL commands that accomplish the following tasks:
i. Completely remove a table named tbl (1 mark)
ii. Change the structure of a table named tbl by adding a column named col2(1 mark)
iii. Amend the content of table tbl by changing a record with ID=123. Set a new value of field fld as fld*2 (1 mark)
iv. Query table tbl for records with field values fld > 10(1 mark)
v. Create a view named vw1 from record of a table tbl with field fld =20(1 mark)
vi. Display all the content of table tbl (1 mark)


3b)Outline any six data types supported by Oracle database (3 marks)
3c) The execution of a SQL statement goes through a number of stages. Discuss (6 marks)

4a) Explain the task performed by each of the following SQL codes:

i. DELETE FROM emp WHERE empno=0001;(2 marks)

ii. INSERT INTO customers VALUES(1,'John'); (2 marks)

iii. DELETE FROM emp WHERE last_name='Don';(2 marks)

iv. SELECT first_name, last_name FROM emp (2 marks)

4b)Explain the file formats/types generated by Data Pumps (7 marks)

 

5a)Discuss how SQL Loader can be used to upload data into Oracle databases (8 marks)

5b) Explain the following PL/SQL code: 1 CREATE PACKAGE numb 2 AS 3 FUNCTION odd_even (v1 NUMBER) RETURN VARCHAR2; 4 PROCEDURE ins_ints (v1 in NUMBER); 5 END num; 6/ (7 marks)


For More Quiz Questions click here to download Global Quiz on Google PlayStore


Select NOUN Past Questions & Answers by Faculties

Sciences

National Open University of Nigeria (NOUN) Faculty of Sciences Past Questions and Answers.

Education

National Open University of Nigeria (NOUN) Faculty of Education Past Questions and Answers.

Arts & Social Sciences

National Open University of Nigeria (NOUN) Faculty of Arts and Social Sciences Past Questions and Answers.

Law

National Open University of Nigeria (NOUN) Faculty of Law Past Questions and Answers.

Management Sciences

National Open University of Nigeria (NOUN) Faculty of Management Sciences Past Questions and Answers.

Health Sciences

National Open University of Nigeria (NOUN) Faculty of Health Sciences Past Questions and Answers.

Agriculture Sciences

National Open University of Nigeria (NOUN) Faculty of Agricultural Sciences Past Questions and Answers.

Select Project Topics & Materials by Categories

Accounting

Universities, Polytechnic's and Colleges of Education Accounting Project Topics and Materials.

Biology

Universities, Polytechnic's and Colleges of Education Biology Project Topics and Materials.

Business Education

Universities, Polytechnic's and Colleges of Education Business Education Project Topics and Materials.

Chemistry

Universities, Polytechnic's and Colleges of Education Chemistry Project Topics and Materials.

Computer Science

Universities, Polytechnic's and Colleges of Education Computer Science Project Topics and Materials.

Criminology & Security

Universities, Polytechnic's and Colleges of Education Criminology & Security Project Topics and Materials.

Economics

Universities, Polytechnic's and Colleges of Education Economics Project Topics and Materials.

Education

Universities, Polytechnic's and Colleges of Education Education Project Topics and Materials.

English/Linguistic

Universities, Polytechnic's and Colleges of Education English/Linguistic Project Topics and Materials.

Entrepreneurship

Universities, Polytechnic's and Colleges of Education Entrepreneurship Project Topics and Materials.

Environmental Science

Universities, Polytechnic's and Colleges of Education Environmental Science Project Topics and Materials.

Law

Universities, Polytechnic's and Colleges of Education Law Project Topics and Materials.

Marketing

Universities, Polytechnic's and Colleges of Education Marketing Project Topics and Materials.

Physics

Universities, Polytechnic's and Colleges of Education Physics Project Topics and Materials.

Political Science

Universities, Polytechnic's and Colleges of Education Political Science Project Topics and Materials.

Public Administration

Universities, Polytechnic's and Colleges of Education Public Administration Project Topics and Materials.

How to login to NOUN Elearn Portal

You can now use you matric number to login as your username and  password in a lowercase.

https://elearn.nouedu2.net/login/

Note that you are to change your passw...

Facebook posts