MindStudy, question and answer site designed to help students, to help each other:
To ask, to learn, to share, to grow.
Get the right answers. Fast
Submit answers for community.
Pat yourself on the back. You deserve it.
524 questions
State the steps involved in query processing. Why is the query optimization needed?
Query processing refers to the range of activities involved in extracting data from a database. The activities include translation of queries in high-level database languages into expressions that can be used at the physical level of the file system,
Explain how to reduce a relationship set of an E-R diagram into relational schema.
There are several processes and algorithms available to convert ER Diagrams into Relational Schema. Some of them are automated and some of them are manual. We may focus here on the mapping diagram contents to relational basics.
Consider the following relations and write down expressions for the following queries:
EMP (eid, ename, age, address, salary)
Works (eid, did, hours)
Dept (did, dname, managerid)
What is the need for normalization? Explain 2nd and 3rd normal form with example.
Consider the following relation:
EMP_PROJ { SSn, Pnumber, Hours, Ename, Pname, Plocation}
Assume { SSn, Pnumber} as primary key.
The dependencies are {SSn, Pnumber}→ Hours; SSn →Ename; Pnumber → {Pname, Plocation}.
Normalize the above relation into 2NF.
Develop a good description of the data, its relationships and constraints Produce a stable set of relations that Is a faithful model of the enterprise Is highly flexible
Write short notes: B tree
A B-tree is a tree structure where every node corresponds to a disk page and which satisfies the following properties:
What is a minimum spanning tree ? Describe Huffman’s Algorithm.
A spanning tree of a graph is just a subgraph that contains all the vertices and is a tree. Huffman’s algorithm is a method for building an extended binary tree with a minimum weighted path length from a set of given weights.
What are the differences between AVL Tree & Binary Search Tree ?
A binary search tree (BST) is a binary tree data structure which has the following properties: ->each node has a value;
Find the time complexity of Binary Search Algorithm.
In binary search each step of the algorithm divides the list of items being searched in half of the list. So we can say that
Copyright © 2025 MindStudy
A product by Shunya Intelliware Solution
(Registered under MSME Uddyam)