Professional Documents
Culture Documents
_________
MARWADI UNIVERSITY
Faculty of Computer Applications
Question: 1.
1) Which of the following symbol is used to show the relationship in E-R Diagram ?
a) b) c) d)
5) Statement-1 : Drop table command will remove table data as well as structure
Statement-2 : Delete command will remove table data forever which can’t be rollbacked.
a) Only Statement-1 is true c) Both Statements are true
b) Only Statement-2 is true d) Both Statements are false
7) Which of the following will return all the values by eliminating repeated values of connected
tables.
a) UNION b) INTERSECT c) MINUS d) UNIQUE
8) Which of the join will return only matching rows ? It will eliminate the entries which are not
matching.
a) Equi Join b) Non Equi Join c) Outer Join d) Self Join
MARWADI UNIVERSITY 1|
10) What will be the effect of following command
SELECT * FROM STUDENT WHERE NAME LIKE ‘N%’
a) Above command will return all the students whose name starts with ‘N’
b) Above command will return all students whose name ends with ‘N’
c) Above command will return all students whose name contains ‘N’ anywhere
d) Above command will return all students whose name does not contain ‘N’
Question: 2.
(a) Explain E-R Diagram and its symbols. Explain with an example [08]
Question: 3.
(a) What do you mean by Normalization ? Explain 1NF and 2NF [08]
(b) Explain IN and NOT IN with example which can be used in where clause [04]
(c) Explain alter table command with atleast 2 various options. [04]
OR
(a) What do you mean by View ? Explain advantages of using views [08]
(c) What do you mean by Subquery ? Explain with suitable example [04]
Question: 4.
(a) Explain generic PL-SQL Block with a small example [08]
(b) Explain how to update the records of table with example. [04]
(c) Describe the use of “group by” clause in select command. [04]
OR
(a) Explain PL-SQL Data Types with example of how to create variable. [08]
(c) Explain TO_CHAR() function as far as date options are concerned. [04]
Question: 5.
(a) Mr. Bean is new to Database technology. He is trying to apply constraints on a table but doesn’t
know what are different types of Data Constraints ? Explain in detail. [08]
(c) A programmer is willing to write PL-SQL Block. He is willing to go for condition in PL-SQL
block. What are the options for him ? Describe briefly. [04]
OR
MARWADI UNIVERSITY 2|
(a) Mr. Charlie is new to Database technology. He is willing to learn different types of delete
operations on table. Explain different ways of doing so. [08]
(c) A programmer is willing to write some Repeating lines in PL-SQL Block. What various options
can be taken be him as far repeating lines are concerned. Describe briefly. [04]
Question: 6.
(a) Consider following tables and solve following query [08]
customer (custid, custname, address, city, contact, email)
order (orderid, odate, amount, custid)
1) Write command to create order table with suitable structure and constraints (3)
2) Write query to display customers from “Mumbai” city (1)
3) Write query to display name of customer who has given maximum order (2)
4) Write query to display customer id, customer name, order id, odate and amount (2)
OR
1) Write command to create book table with suitable structure and constraints (3)
2) Write query to display all the books published by ‘PHI’ (1)
3) Write query to display all the books written by ‘Mr. Abc’ (2)
4) Write query to display list of book name, isbn and related author name. (2)
(b) Explain the difference between Column Level and Table Level Constraint [04]
---Best of Luck---
MARWADI UNIVERSITY 3|
Recommended % Que. Paper weight-age as per Bloom’s Taxonomy
No. Que. Level % of weight-age
For UG First & For UG 3rd year onward &
Second Year PG Course all Sem.
1 Remember/Knowledge 20 10
2 Understand 30 20
3 Apply 25 25
4 Analyze 15 25
5 Evaluate 10 10
6 Higher order Thinking -- 10
1 Remember/Knowledge 24 1,2
2 Understand 32 2,3
3 Apply 20 3,4
4 Analyze 13 5,6
5 Evaluate 11 5,6
6 Higher order Thinking -- --
MARWADI UNIVERSITY 4|