Professional Documents
Culture Documents
BCA, DM-SQL
Question Bank
1) What are the main benefits of using a DBMS to manage data in applications
involving extensive data access?
2) When would you store data in a DBMS instead of in operating system files
and vice-versa?
3) Why would you choose a database system instead of simply storing data in
operating system files? When would it make sense not to use a database
system?
4) What is logical data independence and why is it important?
5) What is Data Independence? Explain its levels.
6) What are the responsibilities of a DBA? If we assume that the DBA is never
interested in running his or her own queries, does the DBA still need to
understand query optimization? Why
7) Explain the difference between external, internal, and conceptual schemas.
How are these different schema layers related to the concepts of logical and
physical data independence?
8) Write a note on Data security and data integrity.
9) Explain DBMS architecture.
10) Name the main steps in database design. What is the goal of each step? In
which step is the ER model mainly used?SECTION 2.1
11) Define these terms: entity, entity set, attribute, key, with example.
SECTION 2.2
12) Define these terms: relationship, relationship set, descriptive attributes with
example. SECT. 2.3
13) Define the following kinds of constraints, and give an example of each: key
constraint, participation constraint. What is a weak entity? What are class
hierarchies'? What is aggregation? Give an example scenario motivating the
use of each of these ER model design constructs. SECTION 2.4
14) What guidelines would you use for each of these choices when doing ER
design: Whether to use an attribute or an entity set, an entity or a
relationship set, a binary or ternary relationship, or aggregation. SECT 2.5
15) What is UML? How does database design fit into the overall design of a
data-intensive software system? How is UML related to ER diagrams? SECT
2.7
A number of technicians work at the airport. You need to store the name,
SSN, address, phone number, and salary of each technician.
TECHNICIANS – SSN- ADDRESS-PHONE-SALARY
Each technician is an expert on one or more plane model(s), and his or her
expertise may overlap with that of other technicians. This information
about technicians must also be recorded. TECHINICIAN -EXPERT-
PLANE MODELS – COMMON EXPERTISE AMONG OTHER
TECHNICIANS
The airport has a number of tests that are used periodically to ensure that
airplanes are still airworthy. Each test has a Federal Aviation
Administration (FAA) test number, a name, and a maximum possible
score. FAA TESTS-TEST NUMBER-NAME-MAX POSSIBLE SCORE
The FAA requires the airport to keep track of each time a given airplane is
tested by a given technician using a given test. For each testing event, the
information needed is the date, the number of hours the technician spent
doing the test, and the score the airplane received on the test . FAA TEST
DATE – TECHNICIAN NAME- TIME TAKEN- SCORE
SQL
17) List DDL Commands in SQL. Explain with example.
18) List DML commands in SQL. Explain with example.
19) What is SQL? What are the advantages of SQL?
20) What is NULL value? Explain with example.
21) Problem:
Table Name: Client_master
Clientno varchar(6),
Name varchar(40),
Address varchar(100),
City varchar(30),
Pincode int(10),
State varchar(20)
Queries:
1) Find out the names of all clients.
2) List all the clients who are located in “Mumbai”
3) Change the city of clientno ‘C00003’ to ‘Bangalore’.
4) Add a column ‘mobileno’ with datatype int(10) to client_master
5) Rename client_master table to clients_details.
6) Delete all NULL records in client_master table.
7) List all clients whose city are “Mumbai”, “Pune”,”Nagpur”.