Search Header Logo

DBMS QUIZZ

Authored by sushant raj

Computers

University

Used 6+ times

DBMS QUIZZ
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

1.     A company is experiencing rapid growth, and they need to store customer information, product data, and sales transactions efficiently.

Which system would be more suitable, a database system or a file system?

Database System

File System

Both are equally suitable

It depends on the specific requirements

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

1.     You are developing a database for a social media platform. You have tables for 'Users' and 'Posts.' Each post is created by a user, and a user can have multiple posts. How would you implement this relationship using foreign keys?

In the social media database scenario, how would you establish the relationship between the 'Users' and 'Posts' tables using foreign keys?

Create a foreign key in the 'Users' table referencing 'Posts'

Create a foreign key in the 'Posts' table referencing 'Users'

Create a separate table for 'UserPosts' with foreign keys referencing 'Users' and 'Posts'

No need for foreign keys in this scenario

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

1.     Consider a database table "Students" with the following attributes:

Student_ID (Primary Key)

Student_Name

Course_ID (Foreign Key)

 

If there are 100 records in the "Students" table, and each student is enrolled in one of the five available courses, how many unique values can the "Course_ID" column have?

5 unique values

100 unique values

50 unique values

It depends on the number of records in the "Courses" table.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1.     A car rental company manages its fleet of vehicles in a database. The vehicles can be categorized as cars, trucks, and vans. Each category has specific attributes, such as maximum cargo capacity for trucks. Which DBMS concept is most appropriate for modeling this scenario?

 

Aggregation

Specialization

Generalization

Normalization

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

1.  Identify the minimum number of tables required for the following ER diagram in relational model-

3

2

1

4

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1.     You are designing a database for an e-commerce platform. Each customer has a unique email address, and you want to ensure that this email address is used as a unique identifier for customer accounts.

Which key should you use?

Primary Key

Composite Key

Candidate Key

Foreign Key

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

1.     A university wants to model its student information system. Students have a unique ID, name, date of birth, and email address. Students are also enrolled in courses, and each course has a name and a unique course code.

What entities and relationships are involved?

Entity: Student; Relationship: Enrolls In; Entity: Course

Entity: University; Relationship: Manages; Entity: Student

Entity: Student; Relationship: Attends; Entity: University

Entity: Course; Relationship: Teaches; Entity: Professor

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers