Computer Knowledge

Database Management Systems

5,344 Questions

Database Management Systems (DBMS) form the core framework for data storage, retrieval, and security in modern software applications. Concepts such as the E-R model, backup planning, SQL integration, and big data architecture are essential for computer knowledge sections. This hub offers a comprehensive set of practice questions to master DBMS fundamentals and advanced database operations.

E-R Model ConceptsBackup and RecoverySQL Server UpgradesJDBC and ODBCBig Data CharacteristicsData VirtualizationOracle Database

Database Management Systems Questions

Multiple choice technology databases
  1. another name for the key linking different tables in a database

  2. another name for a table in an RDBMS

  3. an attribute attached to a record

  4. a row or record in a database table

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

A tuple is the formal database term for a single row or record in a relational database table. Each tuple contains a complete set of attribute values for one entity instance. Options A, B, and C describe other database elements (foreign keys, tables, and attributes respectively).

Multiple choice technology databases
  1. logical model

  2. data flow diagram

  3. entity-relationship diagram

  4. data tree

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

An Entity-Relationship Diagram (ERD) is the standard tool for creating detailed, logical, graphical representations showing entities (objects), their associations (relationships), and the data elements (attributes) that describe them. Logical models focus on structure but may omit graphical representation, data flow diagrams show information movement, and data trees are hierarchical structures not designed for this purpose.

Multiple choice technology databases
  1. computer_id

  2. product_id

  3. company_id

  4. employee_id

  5. order_id

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In this hierarchical model, Company is the parent entity with three child entities (Employee, Product, Order). Each child entity must reference its parent through a foreign key, which is company_id. Therefore, company_id appears exactly three times in the model - once in each child entity. Other keys like computer_id, employee_id, and order_id are local keys or appear fewer times.

Multiple choice technology databases
  1. A diagram showing the domains of all attributes in the data model

  2. A schedule of data modeling steps

  3. A plan of action for database design

  4. A diagram showing the flow of data in an application

  5. A graphical or language representation of a data model or database

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

A schema is a formal, graphical, or language-based representation of a database structure or data model defining how data is organized. The other options describe project schedules, design processes, or data flow diagrams, which are not schemas.

Multiple choice technology databases
  1. Entity

  2. Category

  3. Hierarchy

  4. Relationship

  5. Atttibute

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

In entity-relationship modeling, an attribute is a characteristic or property that describes an entity. Title is a property describing a book, making it an attribute. The book itself would be the entity, genre could be a category, relationships connect entities, and hierarchy refers to structural organization.

Multiple choice technology web technology
  1. Join

  2. View

  3. Field

  4. Table

  5. Tuple

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

In database design, an entity represents a real-world object or concept about which data is stored. Entities are implemented as tables in relational databases. The entity's attributes become columns, and individual instances are rows. Options A (Join), B (View), C (Field), and E (Tuple) are other database concepts but not what entities represent.

Multiple choice technology databases
  1. Data about data

  2. Describe a data dictionary

  3. Self-describing

  4. Includes user data

  5. Supports its own structure

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Metadata is defined as 'data about data' - it describes the structure, meaning, and characteristics of data elements. Metadata includes data dictionaries, is self-describing, and supports its own structure. User data (actual business information like customer names or transaction amounts) is NOT metadata - it's the actual data being managed. Options A, B, C, and E all describe characteristics of metadata, while D describes what metadata is not.

Multiple choice technology databases
  1. third normal form

  2. the standard of a flat file

  3. second normal form

  4. first normal form

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Third Normal Form (3NF) is widely accepted as the practical target for database normalization in production systems. 3NF eliminates most redundancy and update anomalies while maintaining reasonable performance. First and second normal forms are intermediate steps, and flat files lack normalization entirely. Going beyond 3NF to BCNF or 4NF is rarely necessary for most business applications.

Multiple choice technology databases
  1. replace relational design

  2. be close to a users perception of the data

  3. enable detailed descriptions of data query processing

  4. enable low level descriptions of data

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The Entity-Relationship (ER) model is a high-level conceptual data model designed to represent user views and perceptions of data structurally, independent of physical implementation. It does not replace relational design but aids it, and it does not define low-level query execution or physical storage details.

Multiple choice technology databases
  1. top-down approach

  2. bottom-up approach

  3. overview approach

  4. business approach

  5. conceptual approach

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The top-down approach starts with understanding the business itself and derives data model requirements from business goals and processes, rather than working backward from specific reports or screens. Bottom-up begins with existing data structures. The 'conceptual' and 'business' approaches are not standard terminology for data modeling perspectives.

Multiple choice technology databases
  1. is achieved using an information flow digram

  2. uses a dataflow diagram

  3. is necessary to remove database anomalies through normalization

  4. is the same as process modelling

  5. is all of the above

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Data modeling through normalization eliminates insertion, update, and deletion anomalies by organizing data into well-structured tables. Information flow diagrams and dataflow diagrams are process modeling tools, not data modeling. Data modeling is distinct from process modeling, which focuses on how data moves through systems.

Multiple choice technology databases
  1. The relationship between more than one entity which has more than one attribute

  2. An attribute that cannot easily identify a record, but can easily viewed as a field

  3. An attribute, other than primary key, that can be used to identify an instance of an entity

  4. A non-distinguishable primary key which is not used to identify fields or records

  5. A primary key with two or more columns on a non-clustered index

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

An alternate key is any candidate key in a database table that is not selected as the primary key. It still uniquely identifies each row or entity instance. The distractors describe relationships, non-unique attributes, or complex primary/non-clustered index combinations that do not define an alternate key.

Multiple choice technology databases
  1. Business Data Model

  2. Transactional Data Model

  3. Logical Data Model

  4. Conceptual Data Model

  5. Physical Data Model

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Conceptual Data Models provide high-level business-focused overviews showing major entities and relationships without technical details, making them ideal for stakeholders who need to understand transactional data at a business level. Physical models detail storage, logical models show structure but still technical, transactional models aren't a standard category, and business models are broader enterprise architectures.

Multiple choice technology databases
  1. An ER model is concerned primarily with a physical implementation of the data and secondly with a logical view

  2. An ER model provides a view of the logic of the data and not the physical implementation

  3. An ER model is concerned primarily with a logical view of the data and secondly with the physical implementation

  4. An ER model is entirely concerned with modelling the physical implementation

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Entity-Relationship models represent logical data structures, entities, their attributes, and relationships, independent of physical storage implementation. They focus on what data exists and how it relates, not how or where it's stored. Options A, C, and D incorrectly assign physical implementation concerns to the ER model's purpose.

Multiple choice technology databases
  1. Non-identifying

  2. Normalizing

  3. Categorizing

  4. Identifying

  5. Emphasizing

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

When a parent's primary key becomes part of the child's primary key, the child is existence-dependent on the parent, creating an identifying relationship. The child cannot exist without its parent. Non-identifying relationships use foreign keys that aren't part of the child's primary key. 'Normalizing', 'categorizing', and 'emphasizing' are not relationship types.