1Which of the following best describes the Data Redundancy problem in a file-based system?
A.Data is hidden from unauthorized users
B.The same data is stored in multiple files leading to wastage of storage
C.Data cannot be accessed by multiple users
D.Data is lost due to system failure
Correct Answer: The same data is stored in multiple files leading to wastage of storage
Explanation:Data redundancy occurs in file processing systems when the same piece of information is held in two or more separate files, leading to wasted storage and potential inconsistency.
Incorrect! Try again.
2In the context of DBMS, what is Data Inconsistency?
A.Data is structured in a hierarchical format
B.Different versions of the same data exist in different places
C.Data is encrypted for security
D.The database schema is constantly changing
Correct Answer: Different versions of the same data exist in different places
Explanation:Data inconsistency occurs when various copies of the same data do not agree with each other, often resulting from redundancy where one copy is updated and others are not.
Incorrect! Try again.
3Which component of the DBMS interacts with file systems to store data physically?
A.Query Processor
B.Storage Manager
C.Transaction Manager
D.DDL Compiler
Correct Answer: Storage Manager
Explanation:The Storage Manager is the component that provides the interface between the low-level data stored in the database and the application programs and queries submitted to the system.
Incorrect! Try again.
4What is the primary role of a Database Administrator (DBA)?
A.To write application code in Java or Python
B.To build the hardware for the server
C.To have central control over the system and data definitions
D.To enter data into the database daily
Correct Answer: To have central control over the system and data definitions
Explanation:The DBA is responsible for authorizing access, monitoring use, acquiring software/hardware resources, and defining the schema.
Incorrect! Try again.
5In the Three-Schema Architecture, which level describes how the data is actually stored on the storage medium?
A.External Level
B.Conceptual Level
C.Logical Level
D.Physical (Internal) Level
Correct Answer: Physical (Internal) Level
Explanation:The Physical (or Internal) level deals with the complex low-level data structures and physical storage details.
Incorrect! Try again.
6The Conceptual (Logical) Level in the Three-Schema Architecture hides which of the following?
A.The entities and relationships
B.The physical storage structures
C.The user views
D.The security constraints
Correct Answer: The physical storage structures
Explanation:The Conceptual level describes what data is stored in the database and the relationships among the data, hiding the details of physical storage.
Incorrect! Try again.
7Which level of the database architecture provides a personalized view of the data to different users?
A.Internal Level
B.Conceptual Level
C.External (View) Level
D.Hardware Level
Correct Answer: External (View) Level
Explanation:The External level includes a number of user views, allowing different users to see only the data relevant to them.
Incorrect! Try again.
8Physical Data Independence refers to the ability to modify the:
A.Conceptual schema without affecting the External schema
B.Physical schema without affecting the Conceptual schema
C.External schema without affecting the Physical schema
D.Data values without affecting the constraints
Correct Answer: Physical schema without affecting the Conceptual schema
Explanation:Physical Data Independence is the capacity to change the internal schema (physical storage) without having to change the conceptual schema.
Incorrect! Try again.
9Which type of data independence is generally harder to achieve?
A.Physical Data Independence
B.Logical Data Independence
C.Hardware Independence
D.Network Independence
Correct Answer: Logical Data Independence
Explanation:Logical Data Independence (changing the conceptual schema without changing external views) is harder to achieve because applications are often heavily dependent on the logical structure of data.
Incorrect! Try again.
10What is a Database Schema?
A.The actual data stored in the database at a particular moment
B.The overall design and structure of the database
C.The hardware configuration of the server
D.The set of users authorized to access the DB
Correct Answer: The overall design and structure of the database
Explanation:A database schema is the skeleton structure that represents the logical view of the entire database. It rarely changes.
Incorrect! Try again.
11A Database Instance refers to:
A.The variable declarations in a program
B.The collection of information stored in the database at a specific moment
C.The graphical representation of relationships
D.The process of normalization
Correct Answer: The collection of information stored in the database at a specific moment
Explanation:An instance is the actual content of the database at a specific point in time (snapshot). It changes frequently.
Incorrect! Try again.
12In the Entity-Relationship (ER) Model, what does a Rectangle represent?
A.Attribute
B.Relationship Set
C.Entity Set
D.Weak Entity Set
Correct Answer: Entity Set
Explanation:In standard ER notation, a rectangle represents an Entity Set.
Incorrect! Try again.
13In ER diagrams, an Ellipse represents:
A.Relationship
B.Entity
C.Attribute
D.Constraint
Correct Answer: Attribute
Explanation:Ellipses are used to represent attributes of an entity.
Incorrect! Try again.
14In ER diagrams, a Diamond shape is used to represent:
A.Relationship Set
B.Weak Entity
C.Multivalued Attribute
D.Derived Attribute
Correct Answer: Relationship Set
Explanation:Diamonds represent the relationship sets connecting entity sets.
Incorrect! Try again.
15Which symbol represents a Multivalued Attribute in an ER diagram?
A.Dashed Ellipse
B.Double Ellipse
C.Double Rectangle
D.Underlined Ellipse
Correct Answer: Double Ellipse
Explanation:A double ellipse indicates a multivalued attribute (an attribute that can have multiple values for a single entity, e.g., phone numbers).
Incorrect! Try again.
16What does a Dashed Ellipse represent in an ER model?
A.Key Attribute
B.Composite Attribute
C.Derived Attribute
D.Weak Entity
Correct Answer: Derived Attribute
Explanation:A derived attribute (one calculated from other attributes, e.g., Age from DateOfBirth) is represented by a dashed ellipse.
Incorrect! Try again.
17An entity set that does not have sufficient attributes to form a primary key is called a:
A.Strong Entity Set
B.Weak Entity Set
C.Simple Entity Set
D.Derived Entity Set
Correct Answer: Weak Entity Set
Explanation:A Weak Entity Set does not have a primary key of its own and depends on the existence of a standard (identifying) entity set.
Incorrect! Try again.
18How is a Weak Entity Set represented in an ER diagram?
A.Rectangle
B.Double Rectangle
C.Diamond
D.Double Diamond
Correct Answer: Double Rectangle
Explanation:A double rectangle (rectangle with double borders) represents a Weak Entity Set.
Incorrect! Try again.
19The number of entities to which another entity can be associated via a relationship set is expressed as:
A.Degree of Relationship
B.Mapping Cardinality
C.Participation Constraint
D.Schema Definition
Correct Answer: Mapping Cardinality
Explanation:Mapping Cardinality (or cardinality ratio) expresses the number of entities to which another entity can be associated (e.g., 1:1, 1:N, M:N).
Incorrect! Try again.
20If an entity can be associated with at most one entity in , and can be associated with many entities in , the relationship is:
A.One-to-One
B.One-to-Many
C.Many-to-One
D.Many-to-Many
Correct Answer: Many-to-One
Explanation:From the perspective of to , many entities relate to one entity. Thus, it is Many-to-One.
Incorrect! Try again.
21Total participation of an entity set in a relationship is represented in an ER diagram by:
A.Single line
B.Double line
C.Dashed line
D.Arrow
Correct Answer: Double line
Explanation:A double line connecting the entity set to the relationship diamond indicates Total Participation (every entity must participate).
Incorrect! Try again.
22In the Relational Model, a row in a table is technically referred to as a:
A.Attribute
B.Tuple
C.Domain
D.Degree
Correct Answer: Tuple
Explanation:In relational terminology, a row is called a Tuple.
Incorrect! Try again.
23In the Relational Model, a column in a table is technically referred to as a:
A.Tuple
B.Relation
C.Attribute
D.Degree
Correct Answer: Attribute
Explanation:In relational terminology, a column header is called an Attribute.
Incorrect! Try again.
24The set of permitted values for each attribute is called its:
A.Range
B.Schema
C.Domain
D.Tuple
Correct Answer: Domain
Explanation:The Domain is the set of atomic values that an attribute is allowed to take.
Incorrect! Try again.
25The Degree of a relation is defined as:
A.The number of tuples (rows)
B.The number of attributes (columns)
C.The size of the file in bytes
D.The number of relationships it participates in
Correct Answer: The number of attributes (columns)
Explanation:Degree refers to the number of columns (arity) in a relation table.
Incorrect! Try again.
26The Cardinality of a relation refers to:
A.The number of tuples (rows)
B.The number of attributes (columns)
C.The number of primary keys
D.The number of foreign keys
Correct Answer: The number of tuples (rows)
Explanation:Cardinality in the context of a relation instance is the count of rows/tuples currently in the table.
Incorrect! Try again.
27Which of the following represents a NULL value in a database?
A.Value 0
B.Empty String ""
C.Missing or Unknown value
D.Value -1
Correct Answer: Missing or Unknown value
Explanation:NULL signifies that the value is either unknown, missing, or not applicable. It is distinct from zero or spaces.
Incorrect! Try again.
28A Super Key is defined as:
A.A minimal set of attributes that uniquely identifies a tuple
B.A set of one or more attributes that, taken collectively, uniquely identify a tuple
C.A key that relates two tables
D.A key used for encryption
Correct Answer: A set of one or more attributes that, taken collectively, uniquely identify a tuple
Explanation:A Super Key is any set of attributes that ensures uniqueness. A Candidate Key is a minimal Super Key.
Incorrect! Try again.
29A Candidate Key is:
A.Any super key
B.A super key with no redundant attributes (minimal)
C.Always a single attribute
D.A foreign key
Correct Answer: A super key with no redundant attributes (minimal)
Explanation:A Candidate Key is a minimal super key; if any attribute is removed from it, it no longer uniquely identifies tuples.
Incorrect! Try again.
30The Primary Key is selected from the set of:
A.Foreign Keys
B.Super Keys
C.Candidate Keys
D.Secondary Keys
Correct Answer: Candidate Keys
Explanation:The database designer chooses one of the Candidate Keys to be the Primary Key.
Incorrect! Try again.
31Which constraint ensures that a value that appears in one relation for a given set of attributes also appears for a certain set of attributes in another relation?
A.Domain Constraint
B.Entity Integrity Constraint
C.Referential Integrity Constraint
D.Key Constraint
Correct Answer: Referential Integrity Constraint
Explanation:Referential Integrity (implemented via Foreign Keys) ensures that a value in one table points to a valid, existing record in another table.
Incorrect! Try again.
32Which of the following is NOT a component of the DBMS environment?
A.Hardware
B.Software
C.Data
D.The Internet Service Provider (ISP)
Correct Answer: The Internet Service Provider (ISP)
Explanation:While a DBMS might use a network, the ISP is an external service provider, not a core component of the DBMS environment itself (Hardware, Software, Data, Procedures, People).
Incorrect! Try again.
33What is the function of the DDL (Data Definition Language) compiler?
A.To execute queries like SELECT *
B.To convert schema definitions into data dictionary metadata
C.To manage concurrent transactions
D.To backup data
Correct Answer: To convert schema definitions into data dictionary metadata
Explanation:The DDL compiler processes schema definitions (CREATE TABLE, etc.) and stores the description in the data dictionary.
Incorrect! Try again.
34Which language is used to access and manipulate data in an existing database (Insert, Delete, Update)?
A.DDL (Data Definition Language)
B.DML (Data Manipulation Language)
C.DCL (Data Control Language)
D.HTML
Correct Answer: DML (Data Manipulation Language)
Explanation:DML is used for CRUD operations (Create, Read, Update, Delete) on the data itself.
Incorrect! Try again.
35Which abstraction allows viewing the data as a set of tables?
A.Physical Model
B.Network Model
C.Relational Model
D.Hierarchical Model
Correct Answer: Relational Model
Explanation:The Relational Model represents data logically as a collection of relations (tables).
Incorrect! Try again.
36The property of a transaction that ensures it is treated as a single, indivisible unit (all or nothing) is called:
A.Atomicity
B.Consistency
C.Isolation
D.Durability
Correct Answer: Atomicity
Explanation:Atomicity ensures that all operations in a transaction happen, or none of them do.
Incorrect! Try again.
37In a university database, a 'Student' entity relates to a 'Course' entity via 'Enrolls'. If a student can take many courses and a course can have many students, the cardinality is:
A.1:1
B.1:N
C.N:1
D.M:N
Correct Answer: M:N
Explanation:This is a Many-to-Many relationship.
Incorrect! Try again.
38Which attribute represents the primary key in an ER diagram?
A.Dashed Ellipse
B.Double Ellipse
C.Underlined text inside an Ellipse
D.Bold text inside a Rectangle
Correct Answer: Underlined text inside an Ellipse
Explanation:The name of the primary key attribute is underlined in the ellipse.
Incorrect! Try again.
39Data Dictionary (System Catalog) stores:
A.The actual customer data
B.Metadata (data about data)
C.Transaction logs only
D.Deleted files
Correct Answer: Metadata (data about data)
Explanation:The Data Dictionary contains metadata, such as schema definitions, user constraints, and storage details.
Incorrect! Try again.
40Which of the following is a legacy data model (predating the Relational Model)?
A.NoSQL
B.Hierarchical Model
C.Object-Oriented Model
D.NewSQL
Correct Answer: Hierarchical Model
Explanation:The Hierarchical and Network models are older, legacy systems used before the Relational model became dominant.
Incorrect! Try again.
41In the relational model, the order of tuples in a relation is:
A.Alphabetical
B.Immaterial (Irrelevant)
C.Chronological
D.Sorted by Primary Key strictly
Correct Answer: Immaterial (Irrelevant)
Explanation:Mathematically, a relation is a set of tuples. Sets are unordered, so the physical order does not matter to the logic of the model.
Incorrect! Try again.
42A Composite Attribute is an attribute that:
A.Can be divided into smaller sub-parts
B.Has multiple values
C.Is derived from other attributes
D.Is a primary key
Correct Answer: Can be divided into smaller sub-parts
Explanation:A composite attribute (e.g., Address) can be divided into sub-parts (Street, City, Zip).
Incorrect! Try again.
43The discriminator (or partial key) of a weak entity set is denoted in an ER diagram by:
A.Solid underline
B.Dashed underline
C.Double underline
D.No underline
Correct Answer: Dashed underline
Explanation:The partial key, which distinguishes weak entities only within the context of the strong entity, is marked with a dashed underline.
Incorrect! Try again.
44Which application type requires OLTP (Online Transaction Processing)?
A.Data Warehousing
B.Weather Forecasting
C.Airline Reservation System
D.Historical Data Analysis
Correct Answer: Airline Reservation System
Explanation:OLTP systems are designed for high-volume, short transactions like booking a ticket or banking.
Incorrect! Try again.
45If relation has attributes and relation has attributes, the Cartesian Product will have how many attributes?
A.
B.
C.
D.
Correct Answer:
Explanation:The Cartesian product combines all columns from both tables, resulting in a degree of .
Incorrect! Try again.
46Which user interacts with the system by invoking one of the permanent application programs that have been written previously?
A.Database Administrator
B.Sophisticated User
C.Naïve User
D.Application Programmer
Correct Answer: Naïve User
Explanation:Naïve users (e.g., bank tellers) interact with the system via standard interfaces/applications without knowing the underlying query language.
Incorrect! Try again.
47In a Relational Schema , if determines (), then is called the:
A.Dependent
B.Determinant
C.Relation
D.Tuple
Correct Answer: Determinant
Explanation:In a functional dependency , the left side is the determinant.
Incorrect! Try again.
48What is the primary benefit of using a DBMS over a file system regarding Security?
A.DBMS uses smaller files
B.DBMS allows defining access controls and authorization levels
C.DBMS requires no passwords
D.File systems are always read-only
Correct Answer: DBMS allows defining access controls and authorization levels
Explanation:DBMS provides robust security mechanisms to restrict unauthorized access to data, which is difficult to enforce in standard file systems.
Incorrect! Try again.
49The association between entity sets is referred to as:
A.Participation
B.Generalization
C.Relationship
D.Specialization
Correct Answer: Relationship
Explanation:A relationship is an association among several entities.
Incorrect! Try again.
50Which model organizes data in a tree-like structure with parent-child relationships?
A.Relational Model
B.Network Model
C.Hierarchical Model
D.ER Model
Correct Answer: Hierarchical Model
Explanation:The Hierarchical model structures data like a tree, where a child record has only one parent.
Incorrect! Try again.
Give Feedback
Help us improve by sharing your thoughts or reporting issues.