Which of the following is NOT a property of a database?
Database Concepts — Important Questions
SUMMARY: This chapter introduces the fundamental concepts of databases, focusing on their design, management, and application in computer systems.
KEY TOPICS: database management system (DBMS), relational databases, SQL, normalization, ER model, data integrity, transactions, database design, data redundancy, primary key
A primary key in a database table is:
Check answerHide answer
The relational model represents data in:
Check answerHide answer
A foreign key is used to:
Check answerHide answer
A column in a relational database is called a/an:
Check answerHide answer
Define database and database management system (DBMS).
Differentiate between primary key and foreign key.
Define cardinality and degree of a relation.
Define unique key and candidate key with one example each.
What are the advantages of using a DBMS over file system?
Explain the relational data model with the help of a sample student table.
Discuss the various database keys — primary candidate alternate foreign and composite — with examples.
Compare DBMS and traditional file system on five points.
Explain ACID properties of a database transaction.
Discuss the different levels of data abstraction in a DBMS — physical conceptual and view level.
Differentiate between primary key and foreign key in tabular form.
Assertion (A): Primary key uniquely identifies each row.
Reason (R): It must be unique and not null.
Show explanationHide explanation
Assertion (A): A foreign key creates a relationship between two tables.
Reason (R): It refers to the primary key of another table.
Show explanationHide explanation
Assertion (A): Tables in relational DBMS are also called relations.
Reason (R): Each row is a tuple and each column is an attribute.
Show explanationHide explanation
Assertion (A): DBMS provides data independence.
Reason (R): Application programs are independent of the data structure.
Show explanationHide explanation
Assertion (A): Normalisation reduces redundancy.
Reason (R): It organises data efficiently and eliminates anomalies.
Show explanationHide explanation
Statement 1: A database is a collection of related data.
Statement 2: A DBMS is software to manage that data.
Show answerHide answer
Statement 1: Cardinality of a relation is the number of tuples (rows).
Statement 2: Degree is the number of attributes (columns).
Show answerHide answer
Statement 1: A candidate key can serve as a primary key.
Statement 2: Among multiple candidate keys one is chosen as the primary.
Show answerHide answer
Statement 1: A composite key consists of two or more attributes.
Statement 2: It is needed when no single attribute can uniquely identify a tuple.
Show answerHide answer
Statement 1: Examples of DBMS include MySQL Oracle PostgreSQL and SQL Server.
Statement 2: All support SQL as the standard query language.
Show answerHide answer
-
book_id in the Book table is the:AComposite keyBPrimary keyCForeign keyDCandidate key
-
member_id in BorrowRecord table referring to Member.member_id is a:APrimary keyBForeign keyCCandidate keyDComposite key
-
Identify all primary and foreign keys in the library database design.
Show answersHide answers
Match each database key with its definition.
| Key | Definition |
|---|---|
| Primary | ? |
| Candidate | ? |
| Alternate | ? |
| Foreign | ? |
| Composite | ? |
Match each level of normalisation with its key requirement.
| Normal Form | Requirement |
|---|---|
| 1NF | ? |
| 2NF | ? |
| 3NF | ? |
| BCNF | ? |
Study the database keys table and answer:
| Key | Definition | Example |
|---|---|---|
| Primary | Unique not null | roll_no |
| Candidate | Could be primary | roll_no, email |
| Alternate | Candidate not chosen | |
| Foreign | Refers to another | dept_id in Employee |
| Composite | Multi-column key | (order_id, item_id) |
-
Which key uniquely identifies each row and cannot be NULL?APrimaryBCandidateCAlternateDForeign
-
Which key creates a relationship between two tables?APrimaryBForeignCCompositeDAlternate
-
Explain different types of database keys with one example each.
Show answersHide answers
Study the ER diagram of the library system and answer:
-
In the diagram which is a relationship?AMemberBBookCBorrowsDmember_id
-
Entities in an ER diagram are represented by:ARectangleBDiamondCEllipseDCircle
-
Explain the components of an ER diagram with the library example.
Show answersHide answers
Make a full Computer Science paper on Database Concepts.
Pick the question mix, set the marks, hit generate. You get a ready-to-print paper with an answer key.
Generate your paper — free