This action might not be possible to undo. Are you sure you want to continue?
COMMON TO BTECH CSE-II AND IT
UNIT I 1. Define DBMS? List Database system Applications. [8m] 2. Explain Database Administrator’s responsibilities. [8m] [OR] Explain the main functions of Database Administrator? [8m], [6m] [OR] What are the five main functions of Database Administrator? [8m] 3. List four significant differences between a File processing system and a DBMS. [8m], [10m] 4. Explain the differences between Logical and Physical data independence. 5. Give short notes on Transaction Management. [8m] [OR] Explain the Transaction management in a database. [8m] 6. Describe storage manager component of database system structure. [8m] 7. Explain levels of abstraction in DBMS? [8m] 8. What is Data modeling and explain different types of data modeling in brief. [8m] 9. What is DBMS? Explain the advantages of DBMS. [8m] 10. Explain the drawbacks of traditional file processing systems with examples. [8m] [OR] *What are the major disadvantages of file processing system? [8m], [16m] 11. What is data modeling ? Explain the relational data model in detail. [8m] 12. What are the advantages of DBMS over file processing system? Explain in detail. [8m] 13. Explain different languages that are supported to manage the data in DBMS. [8m] [OR} * What are the types of languages a database system provides? Explain with examples [8m] , [16m]. 14. Explain about Buffer Manager. [8m] 15. Explain about tertiary storage media in detail. [8m] 16. Discuss the Query Processor of Database system structure. [8m] 17. Why would choose a database system instead of simply storing data in operating system files ? When would it makes sense not to use a database system? [8m] 18. What is logical data independence and why is it important? 19. *Explain the different types of integrity constraints with suitable examples. [16m]
com . Attributes and relations are represented with an example an example.DBMS IMPORTANT QUESTIONS COMMON TO BTECH CSE-II AND IT UNIT II 1. What is composite attribute? How to model it in the ER diagram. Represent the same using an ER Diagram.[6m 11. What is a weak entity set? Differentiate between entity set and strong entity set. Define Aggregation. What is descriptive attribute? Explain [4m] 5. Only consider the personal details and the college and branch details of the student belong. their deposits. *Explain different constructs that adds expressiveness to the ER Model. Explain with an example. [16m] PRASAD SIR 2 prasad17gumpina@gmail.Design a university level database for maintaining the Student details of different colleges in the university. [10m] 17. lockers. [8m] 3. Explain different symbols that are used in ER Diagrams with an example. What is the problem associated with aggregation? Discuss the remedies. What is a partial key? How is it represented in ER diagram? Give an example. Explain the purpose of the ER diagrams and describe how the Entities. Discuss the usage of ISA feature in ER diagrams. [8m] 9. sex. 13.*Explain the ER diagram components and notations with their extended features. [8m] 7.. [6m] 6. Construct an ER diagram for a bank Database. [10m] 12.Design a database for maintaining the employee data where each employee is assigned with a project and working under a project manager. age. [8m] 15. Bank maintains data about customers. age. [8m] 2.Design a database for maintaining the Sales data of a Super Market where each customer purchase different products. [6m] 16. Represent the sane using an ER Diagram. Represent the same using an ER diagram. Determine the entities and relationships. What is the class hierarchy? How is it represented in the ER diagrams? 8. sex and different items purchased etc. customer personal details such as income. [6m] 4. [8m] 10. [8m] 14.Explain how ER diagrams are used in representing the database design. Explain additional features of ER Model that helps in Conceptual Design for Large enterprises. Write a detail note on participation constraint. their loans. which enables to analyze the customers interest basing on income. Maintain the sales details. [16m] 18.
(3m) ii. each department is managed by an employee. What is the difference between a candidate key and a primary key for a given relation? What is a super key? [6m] 24. Draw an ER Diagram that captures this information. [4m] 22. (3m) 25. phone). [16m] 21. departments(dno. designation.com . We are not interested in information about child once the parent leaves the organization. [8m PRASAD SIR 3 prasad17gumpina@gmail. Key constraints. budget) and children of employees (name. salary. describe how an ER diagram translated into a relational database schema (collection of tables with associated constraints) [16m] 26. age). [16m] 20. Employee works in departments. a child must be identified uniquely by name when the parent (who is an employee. *Explain the several choices and issues involved in Conceptual design with ER Model. [6m] 23. General constraints. (2m) iii.* A company database needs to store information about employees (ssn. Foreign key constraints. Write about the different types of attributes. In logical database design. Explain the concept of aggregation and specialization with examples. What are the two types of constraints in E.Explain the following i.R diagram? Explain. address.DBMS IMPORTANT QUESTIONS COMMON TO BTECH CSE-II AND IT 19. name. dname. assume that only one parent works for the company) is known.
pid: integer. pname: string. pname. (b) Find the sids of suppliees who supply every red part or supply every green part. saddress) Parts (pid. [8m] [8m] 8. [8m] 3. [8m] 7. What is a view? How does views support logical data independence and how queries on views are evaluated? Algebra. color: string) Catalog (sid: integer. Explain the distinction. Key constraints ii. sname. Why is the join operation given special attention? Cannot we express every join operation in terms of Cross-product. Unlike join. List the suppliers details who supply “Bolts” colored “Red” i. The catalog relation lists the price changes for parts by supplies. Explain why. Relational calculus is said to be a declarative language. Selection and Projection? [8m] 5. Specifying foreign key constraints in SQL with an example. (a) Find the sids of suppliees who supply every red part. What is a view? Explain about views in detail. in contrast to algebra. Write the following Queries in Tuple relational calculus and Domain relational calculus. which is a procedural language. color) Catalog (sid. [8m] 4.DBMS IMPORTANT QUESTIONS COMMON TO BTECH CSE-II AND IT UNIT III 1. 6. pid. Explain about the following i. PRASAD SIR 4 prasad17gumpina@gmail. Using the following schema answer the following queries in Relational Suppliers (sid. Describe a typical query that calls for division. cost) List the names of suppliers who supply blue part. 2. Consider the following Schema: [16m] Suppliers (sid: integer. cost: real) The key fields are underlined. Define all the variations of the join operation. sname: string. Define the divisible operation in terms of the basic Relational Algebra operations.com . (c) Find the names of suppliees who supply some red part (d) Find the parts of sids such that the supplies with the first sid changes more. address: string) Parts (pid: integer. ii. the division operation is not given special treatment in database systems.
iv. Explain the following fundamental operations of relational algebra. iii. 13. What are domain constraints. boat-color) Reserves (sailor-id. What is view. [8m] 18. Using the following schema write the queries using Relational Algebra. sailor-name. 14. ProjectType. List the employees who are working in more than one project. 9. [8m] 15. What is a relation? Differentiate between relation schema and relation instance. [6m] 12. Using the following schema represent the following queries using Tuple relational calculas : [8m] PROJECT (Projectnum. Empname) ASSIGNED_TO (Projectnum. updatable and non-updatable views? Explain the advantages of view in maintaining the security. Explain View and how it is different from Table. Empnum) i. List the supplier details and part details of those whose cost is less than $30. iv. Define the terms unity and degree of relation. Explain Inner Join and outer Join with suitable example. What is a relational database query? Explain with an example. List all the employee details who are working under project manager “Clevee” iii. [8m] 10. sailor-rating. select project set rename. Project Manager) EMPLOYEE (Empnum. Find Employee details working on a project name starts with ‘L’ ii. ii. sailor-age) Boats (boat-id. [8m] 17. Explain how a view/table can be created/destroyed with proper syntax and example. ProjectName. [8m] 11. List the part details that are supplied by supplier whose name starts with “S”. booked-date) List all the boat details whose color is “Red” List the Sailor details whose have not booked a boat on “10/10/2009” List the Sailor details who are aged more than 50. iv. List the employees who are still not assigned with any project. v.Explain in brief different types of Joins with suitable example.com . boat-id. What SQL construct enables the definition of a relation? What PRASAD SIR 5 prasad17gumpina@gmail. Relational Calculas: [10m] Sailors (sailor-id. [8m] 16. List the Sailors who booked Red boat on “10/10/2009” List the sailor whose rating is “A” and booked a “Red” boat i. boat-name.DBMS IMPORTANT QUESTIONS COMMON TO BTECH CSE-II AND IT iii.
tuple relational calculus and domain relational calculus for the following queries. What is relational completeness? If a query language is relationally PRASAD SIR 6 prasad17gumpina@gmail. Consider the following database . age of the youngest sailor? ii. iii. city) Manager (employee-name. Employee (employee-name. Find the sailorname. age) Reserves (Sailor id. Consider the following database. manager-name) Give an expression in the relational algebra. sailorname. rating. Day) Boat (boat id. Find the average age of sailor for each rating level. In logical the weak the SQL constructs to modify destroy the structure of tables. city of the employee working under manager “Krishna”. [5m] ii. Boat id. manager-name) Give an expression in the relational algebra. and the domain relational calculus. [6m] 25. street. company-name. Find the names of all employees who work for “XYZ” bank. city) Works (employee-name. i. What are views? 24. Employee (employee-name. salary) Company (company-name. color of the boat reserved of those sailors whose age is more than 35. company-name. salary) Company (company-name. Boatname. Write the relational algebra. city) Manager (employee-name. Tuple and Domain relational calculus. [5m] 22. [5m] database design. Find the number of reservations for each red boat on a particular day? iv. Define relational algebra. color) i. Find the names of all employees who work for estate bank. the tuple relational calculus expressions for the following relational database queries? (4+4+4+4m) Sailor( sailor id. city) Works (employee-name. for the following query. while converting ER to relational model how entity set is translated. Find the street.com . Boat id. [16m] 20. Find the sailorname. What is a view and explain different types of views and how they can be created using SQL? [6m] 21. 26.DBMS IMPORTANT QUESTIONS COMMON TO BTECH CSE-II AND IT constructs allow modification of relation instances? [8m] 19. [5m] 23. street. the tuple relational calculus.
ii. [8m] 32. Explain in brief about SELECTION and PROJECTION with suitable example. Bdate. 28. iv.000 per year or work in department 5 and make over 30. Relationship) Write the queries in Relational Algebra to (3+3+3+3m) i. Does a view has a separate set of data? Explain [6m] 31. Explain about Null values in SQL. [4m] 27. Dnumber. Retrieve all employees who either work in department 4 and make over 25. SSN. Retrieve the Social Security numbers of all employees who either work in department 5 or directly supervise a employee who works in department 5. Plocation. Sex. [8m] PRASAD SIR 7 prasad17gumpina@gmail. Employee (Name. Address. Explain Outer Join with suitable example and how it differs from other joins. Pnumber. Dnumber) Department (Dname. MGRSTART_date) Dept-locations (Dnumber.000. can you write any desired query in that language. [4m] 29. Consider the following schema for a COMPANY database.DBMS IMPORTANT QUESTIONS COMMON TO BTECH CSE-II AND IT complete. MGRSSN. Explain. Dlocations) Project (Pname. [6m] 30. Salary. Hours) Dependents (ESSN. Sex.com . List all the projects on which employee “Smith” is working. iii. Pnumber. Dnumber) Works-on (ESSN. Dependent-name. Retrieve the name and address of all employees who work for the “Research” department. Are there any restrictions on updating a view formed from a single table.
cost: real) (a) The key fields are underlined. color: string) Reserves (sid: integer. [12m] Sailors (sid: integer. The catalog relation lists the price changes for parts by supplies. 2. iv. Find sailors whose rating is better than some sailor called raghu. [16m] (a) Nested Queries (b) Correlated Queries (c) Grooup by and Having Clauses (d) Triggers 3. Find the pnames of parts supplied by raghu supplier and no one else. sname: string. What is correlated nested query? Explain with an example. Find the names of sailors who have reserved both red and a green boat ii. Find the snames of suppliers who supply every part. Write the following queries in SQL. print the name of the supplier. What is grouping? Is there a counterpart in Relational Algebra? Explain this feature and discuss the interaction of the HAVING and WHERE PRASAD SIR 8 prasad17gumpina@gmail. Write the following queries in SQL. address: string) Parts (pid: integer. Write the following queries in SQL using Nested queries concept for following Schema. iii. ii. bid: integer. iii. rating: integer. iii. Find sids of suppliers who supply a red part or a green part. [8m] i. Find the sids of suppliers who supply only red part. color: string) Catalog (sid: integer.DBMS IMPORTANT QUESTIONS COMMON TO BTECH CSE-II AND IT UNIT IV 1. 5. iv. Find the pnames of parts for which there is some supplier. bname: string. For every suppliers that only supplies green parts. pname: string. Find the names of sailors who have reserved all boats. (b) The key fields are underlined. [8m] i. pid: integer. sname: string. The catalog relation lists the price changes for parts by supplies.com . ii. Explain the following in SQL with examples. [4m] 4. What are the differences between Integrity constraints and Triggers? [6m] 6. age: real) Boats (bid: integer. Find sids of suppliers who supply a red part and a green part. Consider the following Schema: Suppliers (sid: integer. day: date) i. Find the names of sailors who have not reserved red boat.
List all the names of suppliers who supply blue part.com . color) i. Mention any restrictions that must be satisfied by the fields that appears in the GROUP BY Clause. Explain any three Aggregate operators with proper syntax and suitable example. saddress) Parts (pid. 11. [6m] 10. [10m] Suppliers (sid. ii. [4m] 15. Boat_id.Describe Embedded SQL with suitable examples. 16. List the part details that are supplied by supplier whose name starts with “B”. List the parts that are supplied by supplier “HMT” whose cost is more than 5000. [6m] 12. sname. age) Reserves (sailor_id. pid.Using the following schema answer the following queries in SQL. What is NULL and explain its importance? [4m] 9. cost) i. Find the No. What is a trigger and explain in brief about different types of Triggers. boat_id. color) Catalog (sid. boatname. List the supplier details who supply “Bolts” colored “Red” iii. pname. of reservations for each red boat? iv. [6m] 14. Find the average of sailor for each rating level that at least 2 sailors. day) Boat_Schema (boat_id.DBMS IMPORTANT QUESTIONS COMMON TO BTECH CSE-II AND IT clauses. v. Explain nested queries with example in SQL? [6m] 8. Find the age of the youngest sailor for each rating level? ii. sailorname. [6m 13. rating. 7. Why null values not preferable in a relation. Explain GROUP BY and HAVING clauses with suitable examples. Find the age of the youngest sailor who is eligible to vote for each rating level with at least two such sailors? iii. Write the SQL expressions for the following relational database? [10m] Sailor_schema (sailor_id. iv. List the supplier details and part details of those whose cost is less than $30. Write queries for the following using the given information Emp_Name DOB DOJ Emp_Salary Bonus Buelin 06-12-1983 07-08-2005 15000 600 Andy 12-01-1970 06-12-1973 20000 1200 Lubber 07-08-1985 12-04-2006 13000 500 Zobra 08-02-1960 07-03-1982 25000 1500 [16m] DOR 07-08-2055 06-12-2043 12-04-2056 07-03-2032 PRASAD SIR 9 prasad17gumpina@gmail.
Account number. Assets) Customer (customername. customercity) Loan (Branchname. Find the customers from all branches who have maximum loan or deposit in that branch. Average. Find all customers who have a loan at Newyork bank and whose name is neither smith nor jones. empname. Find all customers having laon. customerstreet. Find the names of all branches in Loan Schema? ii.com . loan number. Branchcity. Find set of all customer names who have an account at the bank? 21. customerstreet. Describe the “dynamic SQL” [3m] 19.DBMS IMPORTANT QUESTIONS COMMON TO BTECH CSE-II AND IT (a) Find total salary of employees from emptable? (b) Find months between employee DOJ and DOR from emp-schema? (c) Create new salary table using the empno. v. Find all the customers who reside outside Newyork and having both Loan and Deposit at Newyork branch. give the expressions in SQL. iv. loan number) Account (Branchname. Branchcity. account or both at bank? iii. Display customernames in alphabetical order who have a loan at the Newyork branch? iv. (3+3+3+3+4m) 22. Find the names of all customers whose street address include substring ‘Main’ ii. Account number) i. What is an unsafe query? Give an example and explain why it is important to disallow such queries. Assets) Customer (customername. Using the following relational database. For the following relational database write the expressions in SQL. [8m] Branch (branch name. Explain different Binary Operations? [6m] 18. Stnum. Account number) i. Account number. Year. Branch (branch name. customercity) Loan (Branchname. [4m] 20. Amount) Borrower (customername. Amount) Borrower (customername. Totalmarks. loan number. Find average balance for each customer who lives in Harrison and having at least three accounts? iii. Using the relational schema: STUDENT (Stname. and empsalary from existing table? (d) Arrange empnames in ascending and descending order? 17. balance) Depositor (customername. Semester) PRASAD SIR 10 prasad17gumpina@gmail. balance) Depositor (customername. loan number) Account (Branchname.
DBMS IMPORTANT QUESTIONS COMMON TO BTECH CSE-II AND IT HOSTEL (Stnum. [5m] PRASAD SIR 11 prasad17gumpina@gmail. Get the name and marks of students who are in the room number 101 in ascending order of name. Get the student details such as name and total marks of 2nd year 2nd semester students. (3+3+3+3m) 23. [5m] 24. iv. Obtain the names of students staying in room number 101 and secured more than 60% of marks. What are the steps to be followed while creating a table in SQL. What are the various salient features of the SQL. Roomnum) Represent the following queries in SQL. i.com . Obtain the room number allotted to “Kumar” iii. ii.
This action might not be possible to undo. Are you sure you want to continue?