You are on page 1of 4

1. What is a database? What is DBMS? A.

A database is a collection of information that is organized so that it can easily be accessed, managed, and updated. In one view, databases can be classified according to types of content: bibliographic, full-text, numeric, and images.

In computing, databases are sometimes classified according to their organizational approaches. The most prevalent approach is the relational database, a tabular database in which data is defined so that it can be reorganized and accessed in a number of different ways. A distributed database is one that can be dispersed or replicated among different points in a network. An object-oriented programming database is one that is congruent with the data defined in object classes and subclasses. Database Management System, in short a DBMS is a database program. Technically speaking, it is a software system that uses a standard method of cataloguing, retrieving, and running queries on data. The DBMS manages incoming data, organizes it, and provides ways for the data to be modified or extracted by users or other programs. Some DBMS examples include MySQL, PostgreSQL, Microsoft Access, SQL Server, FileMaker, Oracle, RDBMS, dBASE, Clipper, and FoxPro. Since there are so many database management systems available, it is important for there to be a way for them to communicate with each other. For this reason, most database software comes with an Open Database Connectivity (ODBC) driver that allows the database to integrate with other databases. For example, common SQL statements such as SELECT and INSERT are translated from a program's proprietary syntax into a syntax other databases can understand.

2. Why would you choose a database system instead of simply storing the data in Operating system files? A. The advantages of using a database system and that is simply storing data and operating system files is because in the event of a power outage were some other disaster all of the databases information could be lost and you will never get it back again. It is always good to have a backup file.
A database is an integrated collection of data, usually so large that it has to be stored on secondary storage devices such as disks or tapes. This data can be maintained as a collection of operating system les, or stored in a DBMS (database management system). The advantages of using a DBMS are: Data independence and ecient access. Reduced application development time. Data integrity and security. Data administration. Concurrent access and crash recovery.

3. What is the difference between Logical Independence and Physical Independence? A. Logical data independence means that users are shielded from changes in the logical structure of the data, while physical data independence insulates users from changes in the physical storage of the data. Consider the Students relation. We could choose to store Students tuples in a heap le, with a clustered index on the sname eld. Alternatively, we could choose to store it with an index on the gpa eld,or to create indexes on both elds, or to store it as a le sorted by gpa. These storage alternatives are not visible to users, except in terms of improved performance, since they simply see a relation as a set of tuples. This is what is meant by physical data independence.

4. What are the different types of languages supported in database? A. A database system provides two different types of languages: One to specify the database schema and other to express database queries and updates.
1. Data Definition Language (DDL) a. Acts as the formal language. b. Generally used by the various computer professionals. c. Helps in the specification of the database schema. d. The result of the compilation of the Data Definition Language statements is a set of the tables. e. Defines each of the data element at it appears in the database. 2. Data Manipulation Language (DML) a. Acts as a very specialized language. b. Mainly used by the end users and the programmers. c. Helps in manipulating the data in the database. d. Provides the facility for the retrieval of the information that has been stored. e. Helps in the insertion of the new information. f. Also helps in deleting some particular information. g. Modifies the stored information. h. Consists of some commands. i. These commands help in the extraction of the data from the database. j. Satisfies the information requests. k. Helps in the development of the applications.

5. What is meant by data modelling? A. Data model: A data model is the collection of conceptual tools for describing data, data relationships, data semantics and consistency constrains. A data model provides a way to describe the design of a database at the physical, logical and view level.
There are a number of different data models. The data models can be classified in four different categories:

Relational model: The relational model uses a collection of tables to represent both data and the relationships among those data. Each table has multiple columns and each column has a unique name. The relational model is an example of a record based model and so named because the database is structured in fixed format records of several types. Each table contains records of a particular type and defines a fixed number of fields or attributes. The columns of the table correspond to the attributes of the record type. The entity relationship model: The entity relationship data model is based on a perception of a real world that consists of a collection of basic objects, called entities and of relationships among these objects. An entity is a thing or object in the real world that is distinguishable from other objects. Object base data model: The object oriented data model is another data model that has seen increasing attention. The object oriented model can be seen as extending to E-R model with notations of encapsulation, methods and object identity. The object relational data model combines features of the object oriented data model and relational data model. Semi structured data model: The semi structured data model permits the specification of data where individual data items of the same type may have different sets of attributes. This is in contrast to the data models mentioned earlier where every data item of a particular type must have the same set of attributes. The extensible mark up language is widely used to represent semi structured data.

6. Who are the different types of users accessing the database and
in what way?
A. Database administrators DBA is responsible for authorizing access to the database, for coordinating and monitoring its use, and acquiring software and hardware resources as needed. Database designers identify data to be stored in the database and choosing appropriate structures to represent and store the data. Most of these functions are done before the database is implemented and populated with the data. It is the responsibility of the database designers to communicate with all prospective users to understand their requirements and come up with a design that meets these requirements. Database designers interact with all

potential users and develop views of the database that meet the data and processing requirements of these groups. The final database must support the requirements of all user groups.

End Users Casual End Users occasionally access, may need different information each time. Use query language to specify requests. Nave or parametric end users main job is to query and update the database using standard queries and updates. These canned transactions have been carefully programmed and tested. Examples? Sophisticated end users engineers, scientists, analysts who implement applications to meet their requirements. Stand alone users maintain personal databases using ready made packages.

System Analysts and Programmers Determine the end user requirements (especially nave and parametric end users) and develop specifications for canned transactions that meet the requirements. Application programmers implement the specifications as programs, then test and debug the programs.

You might also like