Sample Question Paper

Similar documents
Sankalchand Patel College of Engineering, Visnagar B.E. Semester III (CE/IT) Database Management System Question Bank / Assignment

Techno India Batanagar Computer Science and Engineering. Model Questions. Subject Name: Database Management System Subject Code: CS 601

SQL. Char (30) can store ram, ramji007 or 80- b

1 Prepared By Heena Patel (Asst. Prof)

Introduction. Introduction to Oracle: SQL and PL/SQL

Databases - 4. Other relational operations and DDL. How to write RA expressions for dummies

Chapter 1 SQL and Data

Oracle Database 10g: Introduction to SQL

Name :. Roll No. :... Invigilator s Signature : DATABASE MANAGEMENT SYSTEM

Assignment Session : July-March

Database Management System 9

SYSTEM CODE COURSE NAME DESCRIPTION SEM

2011 DATABASE MANAGEMENT SYSTEM

Business Analytics. SQL PL SQL [Oracle 10 g] P r i n c e S e t h i w w w. x l m a c r o. w e b s. c o m

CS6312 DATABASE MANAGEMENT SYSTEMS LABORATORY L T P C

COSC 304 Introduction to Database Systems. Views and Security. Dr. Ramon Lawrence University of British Columbia Okanagan

Database Management Systems

Data about data is database Select correct option: True False Partially True None of the Above

Objectives. After completing this lesson, you should be able to do the following:

CS2255 DATABASE MANAGEMENT SYSTEMS QUESTION BANK UNIT I

Oracle. SQL(Structured Query Language) Introduction of DBMS. Build In Function. Introduction of RDBMS. Grouping the Result of a Query

JSPM s Bhivarabai Sawant Institute of Technology & Research, Wagholi, Pune Department of Information Technology

ORACLE VIEWS ORACLE VIEWS. Techgoeasy.com

UNIT-IV (Relational Database Language, PL/SQL)

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION

Oracle Class VII More on Exception Sequence Triggers RowID & Rownum Views

Creating and Managing Tables Schedule: Timing Topic

Database Systems Laboratory 5 Grouping, DCL & TCL

MySQL Introduction. By Prof. B.A.Khivsara

GIFT Department of Computing Science Data Selection and Filtering using the SELECT Statement

SQL Interview Questions

INTERNATIONAL INDIAN SCHOOL, RIYADH XI XII BOYS SECTION. Subject- Informatics Practices

EDUVITZ TECHNOLOGIES

ajpatelit.wordpress.com

Deccansoft softwareservices-microsoft Silver Learing Partner. SQL Server Syllabus

DATABASE MANAGEMENT SYSTEMS

King Fahd University of Petroleum and Minerals

D.K.M COLLEGE FOR WOMEN(AUTONOMOUS),VELLORE DATABASE MANAGEMENT SYSTEM QUESTION BANK

A Unit of SequelGate Innovative Technologies Pvt. Ltd. All Training Sessions are Completely Practical & Real-time

Review -Chapter 4. Review -Chapter 5

INTERNATIONAL INDIAN SCHOOL, RIYADH XI XII BOYS SECTION

Solved MCQ on fundamental of DBMS. Set-1

INDEX. 1 Basic SQL Statements. 2 Restricting and Sorting Data. 3 Single Row Functions. 4 Displaying data from multiple tables

@vmahawar. Agenda Topics Quiz Useful Links

Views. COSC 304 Introduction to Database Systems. Views and Security. Creating Views. Views Example. Removing Views.

Oracle SQL & PL SQL Course

Based on the following Table(s), Write down the queries as indicated: 1. Write an SQL query to insert a new row in table Dept with values: 4, Prog, MO

normalization are being violated o Apply the rule of Third Normal Form to resolve a violation in the model

CS430 Final March 14, 2005

Downloaded from

CS6302- DATABASE MANAGEMENT SYSTEMS- QUESTION BANK- II YEAR CSE- III SEM UNIT I

Oracle User Administration


P.G.D.C.M. (Semester I) Examination, : ELEMENTS OF INFORMATION TECHNOLOGY AND OFFICE AUTOMATION (2008 Pattern)

COMP 3400 Mainframe Administration 1

Table of Contents. PDF created with FinePrint pdffactory Pro trial version

RDBMS-Day3. SQL Basic DDL statements DML statements Aggregate functions

Course Title: Introduction to Database Management System Course Code: CSIT116 Course Level: UG Course Credits:04 L T P/ S SW/F W

Translating Entity-Relationship to Relational Tables

"Charting the Course... Oracle18c SQL (5 Day) Course Summary

Relation Databases. By- Neha Tyagi PGT CS KV 5 Jaipur II Shift Jaipur Region. Based on CBSE Curriculum Class -11. Neha Tyagi, PGT CS II Shift Jaipur

Database Management Systems,

Certification Exam Preparation Seminar: Oracle Database SQL

Basant Group of Institution

Downloaded from

VALLIAMMAI ENGINEERING COLLEGE

Mahathma Gandhi University

II B.Sc(IT) [ BATCH] IV SEMESTER CORE: RELATIONAL DATABASE MANAGEMENT SYSTEM - 412A Multiple Choice Questions.

UNIVERSITY OF BOLTON WESTERN INTERNATIONAL COLLEGE FZE BSC (HONS) COMPUTING SEMESTER ONE EXAMINATION 2015/2016 DATABASE THEORY AND PRACTICE

An Introduction to Structured Query Language

SYED AMMAL ENGINEERING COLLEGE

B.C.A DATA BASE MANAGEMENT SYSTEM MODULE SPECIFICATION SHEET. Course Outline

Information Systems. Database System Architecture. Relational Databases. Nikolaj Popov

Department of Information Technology B.E/B.Tech : CSE/IT Regulation: 2013 Sub. Code / Sub. Name : CS6302 Database Management Systems

CS2 Current Technologies Lecture 2: SQL Programming Basics

5. Single-row function

M.C.A. (CBCS) Sem.-III Examination November-2013 CCA-3004 : Database Concepts and Tools. Faculty Code: 003 Subject Code:

An Introduction to Structured Query Language

An Introduction to Structured Query Language

Oracle Database 11g: SQL and PL/SQL Fundamentals

PL/SQL. Exception. When the PL/SQL engine cannot execute the PLSQL block it raise an error. Every Oracle error has an error number

Introduction to Computer Science and Business

Table of Contents. Oracle SQL PL/SQL Training Courses

RDBMS Topic 4 Adv. SQL, MSBTE Questions and Answers ( 12 Marks)

SUPERKEY A superkey is a combination of attributes that can be used to uniquely identify a database record. A table might have many superkeys.

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified)

Translating Entity-Relationship to Relational Tables

WEEK 1 Day 1 Day 2 Day 3

Database Programming with PL/SQL

Code No. : 9919 Sub. Code : HCAM 35

Total No. of Questions : 6] [Total No. of Printed Pages : 2 [3689]-101. P. G. D. C. M. (Semester - I) Examination

Introduction to the Structured Query Language [ SQL ] (Significant Concepts)

1 Writing Basic SQL SELECT Statements 2 Restricting and Sorting Data

Chapter 9: Working with MySQL

Schema And Draw The Dependency Diagram

An Introduction to Structured Query Language

DATABASE MANAGEMENT SYSTEM

INTRODUCTION TO DATABASE

Objectives. After completing this lesson, you should be able to do the following:

Database Foundations. 6-3 Data Definition Language (DDL) Copyright 2015, Oracle and/or its affiliates. All rights reserved.

Transcription:

Sample Question Paper Marks : 70 Time:3 Hour Q.1) Attempt any FIVE of the following. a) List any four applications of DBMS. b) State the four database users. c) Define normalization. Enlist its type. d) Enlist DDL and DML commands. e) Define the following i) Primary Key ii) Foreign Key f) Enlist four aggregate functions. g) Draw PL/SQL block structure. 10 Marks Q.2) Attempt any THREE of the following. a) Write and explain syntax for creating procedure. b) Explain aggregate function with syntax and example. c) Explain grant and revoke command with syntax and example. d) Distinguish any four points between network model and hierarchical model. Q.3) Attempt any THREE of the following. a) Explain create and rename command with syntax and example. b) Write and explain the syntax for creating and dropping synonyms with an example. 1

c) Explain predefined and user defined exception handling with the help of example. d) Explain ACID properties of transaction. Q.4) Attempt any THREE of the following. a) List and explain DCL commands b) Write and explain syntax for creating function. c) Explain steps of cursor implementation with syntax and example. d) Explain 2NF with example. e) Explain the four roles of database administrator. Q.5) Attempt any TWO of the following. a) Draw ER diagram for Hospital Management System (Use DOCTOR,PATIENT,HOSPITAL and MEDICAL_RECORD Entity). Identify Primary Key and Foreign Key. b) Normalize database Employee(emp_id,emp_name,phone,skill,salary,deptno,dept_name,jobno,jo b_title) upto 3NF c) Write SQL query for following consider table EMP(empno, deptno, ename,salary, Designation, joiningdate, DOB,city) i) Display names of employees whose experience is more than 10 years ii) Display age of employees iii) Display average salary of all employee iv) Display name of employee who earned highest salary Q.6) Attempt any TWO of the following. a) Create table EMP( empno, deptno, ename,salary, Designation, joiningdate, DOB,city). i) Insert one row into the table ii) Save the data iii) Insert second row into the table iv) Undo the insertion of second row v) Insert two rows into the table vi) Create Savepoint s1 vii) Insert one row into the table viii) Undo upto savepoint s1 2

b) Write a PL/SQL program to check whether specified employee is present in EMP table or not. Accept empno from user. If employee does not exist display message using exception handling. c) Write SQL query for following consider table EMP(empno, deptno, ename,salary, Designation, joiningdate, DOB,city) i) Display employees name and number in an increasing order of salary ii) Display employee name and employee number dept wise iii) Display total salary of all employee iv) Display number of employees dept wise v) Display employee name having experience more than 3 years vi) Display employee name staring with S and working in deptno 1002 3

Sample Test Paper - I Marks : 20 Time: 1 Hour Q.1 Attempt any FOUR. 08 Marks a) Define the following i) Instance ii) Schema b) State the four database users. c) Define the following i) Primary Key ii) Foreign Key d) State four Dr. E. F. Codd s rules. e) Enlist DDL and DML commands. f) Define normalization. Enlist its type. Q.2 Attempt any THREE. a) State four advantages of DBMS over file processing system. b) Draw ER diagram for Library Management System. c) Define Normalization and state three advantages of normalization. d) Write syntax for Create, Alter, Drop and Rename table commands. e) Write SQL queries for following i) Create table EMP with following attributes using suitable data types (Eno, Ename, Deptname, Salary, designation, Joining_Date ) ii) Display names of employee whose name start with alphabet A iii) Display names of employee who joined before 1/1/2000 iv) Increase the salary of employees by 20% who joined after 1/1/2005 f) Explain grant and revoke command with syntax and example 4

Sample Test Paper - II Marks : 20 Time: 1 Hour Q.1 Attempt any FOUR. 08 Marks a) Enlist string and arithmetic functions. b) State the advantages of PL/SQL. (c) Define cursor and state its types. d) Enlist system privileges and object privileges. e) State the causes of database failures. f) Enlist properties of transaction. Q.2 Attempt any THREE. a) Write and explain creating views, updating views and dropping views. b) Write SQL query for following consider table stud(rollno,name,sub1,sub2,sub3) i) Display name of student who got minimum marks in sub1 ii) Display name of student who obtained highest marks in sub3 iii) Display number of students failed in sub2 iv) Find total marks of sub1 of all student c) Write a PL/SQL code to print largest number from three numbers (accept three numbers from user) d) Write a PL/SQL code to print number of employees working in specified department. Consider employee table and accept deptno from user. e) Pass empno as a parameter to function and write a function to return salary of that employee. f) Write SQL queries for following i) Create table EMP (empno, deptno, ename, salary, Designation, joiningdate, DOB, city). ii) Revoke select, insert and update privileges from the user. 5