From 638ab1695947d1b2b6bcd3fead2dd23f0a396a7c Mon Sep 17 00:00:00 2001 From: Jing Li <118187476+lijing-22@users.noreply.github.com> Date: Wed, 25 Dec 2024 20:05:33 +0800 Subject: [PATCH] fix --- pages/blog/_meta.json | 1 + .../blog/dbms-mcqs-to-ace-database-exams.mdx | 80 +++++++++---------- 2 files changed, 41 insertions(+), 40 deletions(-) diff --git a/pages/blog/_meta.json b/pages/blog/_meta.json index 4ff3579..40af9b6 100644 --- a/pages/blog/_meta.json +++ b/pages/blog/_meta.json @@ -1,4 +1,5 @@ { + "dbms-mcqs-to-ace-database-exams" : "Top 10 Essential DBMS MCQs to Ace Your Database Exams", "create-effective-er-diagrams-in-dbms" : "How to Create Effective ER Diagrams in DBMS: A Step-by-Step Guide", "relational-calculus-in-database-management" : "How Relational Calculus Enhances Database Management: Key Concepts and Applications in DBMS", "normal-forms-in-dbms" : "Understanding Normal Forms in DBMS: A Comprehensive Guide to Efficient Database Design", diff --git a/pages/blog/dbms-mcqs-to-ace-database-exams.mdx b/pages/blog/dbms-mcqs-to-ace-database-exams.mdx index 5f4a1f0..58bae1a 100644 --- a/pages/blog/dbms-mcqs-to-ace-database-exams.mdx +++ b/pages/blog/dbms-mcqs-to-ace-database-exams.mdx @@ -79,73 +79,73 @@ Utilizing [Chat2DB](https://chat2db.ai) can simplify the creation of complex SQL ## Top 10 Essential DBMS MCQs ### 1. What does ACID stand for in DBMS? -- **A**) Automatic, Consistent, Isolated, Durable -- **B**) Atomicity, Consistency, Isolation, Durability -- **C**) Aggregate, Consistent, Interrelated, Dynamic -- **D**) None of the above +- **A** Automatic, Consistent, Isolated, Durable +- **B** Atomicity, Consistency, Isolation, Durability +- **C** Aggregate, Consistent, Interrelated, Dynamic +- **D** None of the above **Answer: B** [Learn more about ACID properties](https://en.wikipedia.org/wiki/ACID). ### 2. Which of the following is a type of database model? -- **A**) Hierarchical -- **B**) Relational -- **C**) Network -- **D**) All of the above +- **A** Hierarchical +- **B** Relational +- **C** Network +- **D** All of the above **Answer: D** [Explore different database models](https://en.wikipedia.org/wiki/Database_model). ### 3. What is normalization? -- **A**) The process of minimizing redundancy in a database -- **B**) The process of creating backups -- **C**) The process of indexing data -- **D**) The process of deleting data +- **A** The process of minimizing redundancy in a database +- **B** The process of creating backups +- **C** The process of indexing data +- **D** The process of deleting data **Answer: A** [Read more about normalization](https://en.wikipedia.org/wiki/Database_normalization). ### 4. Which SQL command is used to retrieve data? -- **A**) GET -- **B**) SELECT -- **C**) FETCH -- **D**) RETRIEVE +- **A** GET +- **B** SELECT +- **C** FETCH +- **D** RETRIEVE **Answer: B** [Learn more about SQL commands](https://en.wikipedia.org/wiki/SQL). ### 5. Which of the following is a characteristic of a relational database? -- **A**) Data is stored in tables -- **B**) Supports complex data types -- **C**) Requires a specific query language -- **D**) All of the above +- **A** Data is stored in tables +- **B** Supports complex data types +- **C** Requires a specific query language +- **D** All of the above **Answer: A** [Find out more about relational databases](https://en.wikipedia.org/wiki/Relational_database). ### 6. What is a primary key? -- **A**) A key that uniquely identifies a record in a table -- **B**) A key that allows duplicate values -- **C**) A secondary identifier for records -- **D**) None of the above +- **A** A key that uniquely identifies a record in a table +- **B** A key that allows duplicate values +- **C** A secondary identifier for records +- **D** None of the above **Answer: A** [Learn about primary keys](https://en.wikipedia.org/wiki/Primary_key). ### 7. What is a foreign key? -- **A**) A key that links two tables together -- **B**) A key that only exists in one table -- **C**) A unique identifier for a table -- **D**) None of the above +- **A** A key that links two tables together +- **B** A key that only exists in one table +- **C** A unique identifier for a table +- **D** None of the above **Answer: A** [Explore foreign keys in databases](https://en.wikipedia.org/wiki/Foreign_key). ### 8. Which SQL command is used to update existing records in a database? -- **A**) CHANGE -- **B**) MODIFY -- **C**) UPDATE -- **D**) ALTER +- **A** CHANGE +- **B** MODIFY +- **C** UPDATE +- **D** ALTER **Answer: C** [Learn about SQL UPDATE command](https://en.wikipedia.org/wiki/SQL#Data_manipulation_language). ### 9. What is the purpose of indexing in a database? -- **A**) To reduce data redundancy -- **B**) To speed up data retrieval -- **C**) To create backups -- **D**) To enforce data integrity +- **A** To reduce data redundancy +- **B** To speed up data retrieval +- **C** To create backups +- **D** To enforce data integrity **Answer: B** [Read more about indexing](https://en.wikipedia.org/wiki/Database_index). ### 10. What is data integrity? -- **A**) The accuracy and consistency of data -- **B**) The process of deleting data -- **C**) The process of backing up data -- **D**) None of the above +- **A** The accuracy and consistency of data +- **B** The process of deleting data +- **C** The process of backing up data +- **D** None of the above **Answer: A** [Learn about data integrity](https://en.wikipedia.org/wiki/Data_integrity). ## Common Pitfalls in DBMS Exams