Database quiz
60 Questions
1 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

Which term refers to a structured collection of data that is stored through a computer system?

  • Managed database
  • Database management system
  • Database (correct)
  • Database model

What is the software used by end-users and client-side applications to access the data in a database called?

  • Database management system (correct)
  • Database
  • Database schema
  • Managed database

What is the term for the process of defining data models and is an essential step in designing a database?

  • Database schema
  • Data modeling (correct)
  • Managed database
  • Database model

What is a logical unit of work performed on a database called?

<p>Transaction (A)</p> Signup and view all the answers

Which type of data model is the most technically detailed?

<p>Physical data model (C)</p> Signup and view all the answers

Which one of these is NOT a measure of database reliability?

<p>Availability (A)</p> Signup and view all the answers

Which type of memory refers to storage that retains data even when not powered?

<p>Non-volatile memory (B)</p> Signup and view all the answers

What is the purpose of an operation in a database transaction?

<p>To complete the transaction (D)</p> Signup and view all the answers

Which term is used to represent a rectangle or a rounded rectangle in an ER Diagram?

<p>Entity (D)</p> Signup and view all the answers

What does a solid line represent in an ER Diagram?

<p>A strong relationship (D)</p> Signup and view all the answers

What is the purpose of an ER Diagram?

<p>To illustrate a data model that can be converted into a database schema (B)</p> Signup and view all the answers

What is the maximum number of elements of an entity that can be associated with the elements in another entity in a one-to-many relationship?

<p>Multiple (D)</p> Signup and view all the answers

Which type of database does not enforce relationships within the data?

<p>NOSQL database (B)</p> Signup and view all the answers

What is the primary key in the Song table of a relational database?

<p>song_id (C)</p> Signup and view all the answers

Which type of database uses a table format for data modeling?

<p>Relational database (A)</p> Signup and view all the answers

What is the primary key in the Playlist table of a NOSQL database?

<p>playlist_id (C)</p> Signup and view all the answers

Which type of database does not store data in tables?

<p>NOSQL database (C)</p> Signup and view all the answers

What is the purpose of a primary key in a relational database?

<p>To uniquely identify each row of a table (A)</p> Signup and view all the answers

Which type of database uses a flexible schema and can easily scale to high request throughput and large data sizes?

<p>NOSQL database (B)</p> Signup and view all the answers

What is the most common type of NOSQL database?

<p>Key-value database (A)</p> Signup and view all the answers

Which type of database design technique stores data in a non-redundant and consistent schema?

<p>Normalization (C)</p> Signup and view all the answers

What is the cardinality of the parent to the embedded elements in an embedded schema?

<p>One-to-few (C)</p> Signup and view all the answers

Which type of schema is more efficient for fetching playlists with song information when checking if a song is already in an existing playlist?

<p>Non-embedded schema (D)</p> Signup and view all the answers

What is the purpose of denormalization in database design?

<p>To improve query performance (A)</p> Signup and view all the answers

Which approach stores two copies of the song's information, once in the Song table and again in the Playlist table?

<p>Denormalized approach (B)</p> Signup and view all the answers

What is the primary advantage of denormalization in a database?

<p>Improved read performance (C)</p> Signup and view all the answers

What does denormalization mean in the context of a database?

<p>Combining data by grouping or embedding (B)</p> Signup and view all the answers

In the denormalized schema, where are the redundant copies of the song's title, artist, and album stored?

<p>Playlist table (C)</p> Signup and view all the answers

What is the primary trade-off of adding redundant copies of data within a database?

<p>Decreased write performance (D)</p> Signup and view all the answers

What is the purpose of denormalization in a database?

<p>To improve read performance (B)</p> Signup and view all the answers

Which term refers to the physical implementation of a database model to a specific database platform?

<p>Database schema (B)</p> Signup and view all the answers

What is the process of defining data models and is an essential step in designing a database called?

<p>Data modeling (B)</p> Signup and view all the answers

What is the term for a logical unit of work performed on a database?

<p>Database transaction (C)</p> Signup and view all the answers

What is the purpose of denormalization in a database?

<p>To improve performance by reducing data redundancy (D)</p> Signup and view all the answers

Which type of database is commonly used for online transaction processing (OLTP) and online analytical processing (OLAP)?

<p>Relational database (B)</p> Signup and view all the answers

What is the primary key in the Song table of a relational database?

<p>song_id (C)</p> Signup and view all the answers

Which type of database stores data in a non-tabular format and is often referred to as a non-relational database?

<p>NOSQL database (C)</p> Signup and view all the answers

What is the purpose of denormalization in database design?

<p>To improve query performance (D)</p> Signup and view all the answers

Which type of data model provides the most detailed information about data structure, including entities, attributes, and relationships?

<p>Physical data model (B)</p> Signup and view all the answers

What is the measure of a database's integrity, safety, and recoverability called?

<p>Reliability (C)</p> Signup and view all the answers

Which type of memory retains data even when not powered?

<p>Non-volatile memory (B)</p> Signup and view all the answers

What is the purpose of a primary key in a relational database?

<p>To uniquely identify a record in a table (C)</p> Signup and view all the answers

Which type of database design technique eliminates inconsistencies during write and modify operations?

<p>Normalization (D)</p> Signup and view all the answers

What is the cardinality of the parent to the embedded elements in an embedded schema?

<p>One-to-few (D)</p> Signup and view all the answers

Which type of schema is more efficient for fetching playlists with song information when checking if a song is already in an existing playlist?

<p>Non-embedded schema (A)</p> Signup and view all the answers

What is the primary advantage of denormalization in a database?

<p>Improved query performance (B)</p> Signup and view all the answers

Which one of these is true about ER diagrams?

<p>ER diagrams are used to design databases conceptually (C)</p> Signup and view all the answers

Which one of these is true about attributes in an ER diagram?

<p>Attributes can be denoted as primary keys or foreign keys (D)</p> Signup and view all the answers

Which one of these is true about relationships in an ER diagram?

<p>A solid line represents a strong (identifying) relationship (D)</p> Signup and view all the answers

Which one of these is true about cardinality and modality in an ER diagram?

<p>Cardinality refers to the maximum number of elements associated with another entity (A)</p> Signup and view all the answers

Which type of database design technique stores data in a non-redundant and consistent schema?

<p>Normalized schema (A)</p> Signup and view all the answers

What is the cardinality of the parent to the embedded elements in an embedded schema?

<p>One-to-One (D)</p> Signup and view all the answers

What is the maximum number of elements of an entity that can be associated with the elements in another entity in a one-to-many relationship?

<p>Unlimited (C)</p> Signup and view all the answers

What is the purpose of denormalization in database design?

<p>To improve write performance (C)</p> Signup and view all the answers

Which approach stores two copies of the song's information, once in the Song table and again in the Playlist table?

<p>Denormalized approach (C)</p> Signup and view all the answers

What is the purpose of a primary key in a relational database?

<p>To uniquely identify records (B)</p> Signup and view all the answers

Which type of database uses a table format for data modeling?

<p>Relational database (B)</p> Signup and view all the answers

Which type of database does not store data in tables?

<p>NOSQL database (D)</p> Signup and view all the answers

What is the primary trade-off of adding redundant copies of data within a database?

<p>Increased complexity and maintenance (A)</p> Signup and view all the answers

What is the purpose of an ER Diagram?

<p>To visualize relationships within data in a relational database (A)</p> Signup and view all the answers

More Like This

Use Quizgecko on...
Browser
Browser