wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

COMPAI Online Quiz #3

Total questions: 20

Worksheet time: 20mins

Name
Class
Date
1.

Scenario: The online store sells various products such as electronics, clothing, and accessories. The store has customers who can create accounts, add items to their shopping carts, and place orders. The database will have tables for customers, products, orders, and order items.

Question: There will be an entity for Customers in the ERD.

a)

TRUE

b)

FALSE

2.

Scenario: The online store sells various products such as electronics, clothing, and accessories. The store has customers who can create accounts, add items to their shopping carts, and place orders. The database will have tables for customers, products, orders, and order items.

Question: There will be an entity for Products in the ERD.

a)

TRUE

b)

FALSE

3.

Scenario: The online store sells various products such as electronics, clothing, and accessories. The store has customers who can create accounts, add items to their shopping carts, and place orders. The database will have tables for customers, products, orders, and order items.

Question: There will be an entity for Orders in the ERD.

a)

TRUE

b)

FALSE

4.

Scenario: The online store sells various products such as electronics, clothing, and accessories. The store has customers who can create accounts, add items to their shopping carts, and place orders. The database will have tables for customers, products, orders, and order items.

Question: There will be an entity for Shopping Carts in the ERD.

a)

TRUE

b)

FALSE

5.

Scenario: The online store sells various products such as electronics, clothing, and accessories. The store has customers who can create accounts, add items to their shopping carts, and place orders. The database will have tables for customers, products, orders, and order items.

Question: There will be a one-to-many relationship between Customers and Orders.

a)

TRUE

b)

FALSE

6.

Scenario: The online store sells various products such as electronics, clothing, and accessories. The store has customers who can create accounts, add items to their shopping carts, and place orders. The database will have tables for customers, products, orders, and order items.

Question: There will be a many-to-many relationship between Products and Orders.

a)

TRUE

b)

FALSE

7.

Scenario: The online store sells various products such as electronics, clothing, and accessories. The store has customers who can create accounts, add items to their shopping carts, and place orders. The database will have tables for customers, products, orders, and order items.

Question: There will be an attribute in the Orders entity to represent the order date.

a)

TRUE

b)

FALSE

8.

Scenario: The online store sells various products such as electronics, clothing, and accessories. The store has customers who can create accounts, add items to their shopping carts, and place orders. The database will have tables for customers, products, orders, and order items.

Question: There will be a many-to-many relationship between Customers and Products to represent products in their shopping cart.

a)

TRUE

b)

FALSE

9.

Scenario: The online store sells various products such as electronics, clothing, and accessories. The store has customers who can create accounts, add items to their shopping carts, and place orders. The database will have tables for customers, products, orders, and order items.

Question: There will be an attribute in the Products entity to represent the product price.

a)

TRUE

b)

FALSE

10.

Scenario: The online store sells various products such as electronics, clothing, and accessories. The store has customers who can create accounts, add items to their shopping carts, and place orders. The database will have tables for customers, products, orders, and order items.

Question: There will be an entity for Order Items in the ERD to represent the products in each order.

a)

TRUE

b)

FALSE

11.

What is the main purpose of the online store's database?

a)

To manage employee accounts

b)

To store customer information and order data

c)

To track inventory levels

d)

To create marketing campaigns

12.

Scenario: The online store sells various products such as electronics, clothing, and accessories. The store has customers who can create accounts, add items to their shopping carts, and place orders. The database will have tables for customers, products, orders, and order items. Which of the following entities will not be included in the ERD for the online store's database?

a)

Customers

b)

Products

c)

Orders

d)

Shopping Carts

13.

Scenario: The online store sells various products such as electronics, clothing, and accessories. The store has customers who can create accounts, add items to their shopping carts, and place orders. The database will have tables for customers, products, orders, and order items. What kind of relationship exists between the Customers and Orders entities?

a)

One-to-one

b)

One-to-many

c)

Many-to-one

d)

Many-to-many

14.

Scenario: The online store sells various products such as electronics, clothing, and accessories. The store has customers who can create accounts, add items to their shopping carts, and place orders. The database will have tables for customers, products, orders, and order items. What kind of relationship exists between the Products and Orders entities?

a)

One-to-one

b)

One-to-many

c)

Many-to-one

d)

Many-to-many

15.

Scenario: The online store sells various products such as electronics, clothing, and accessories. The store has customers who can create accounts, add items to their shopping carts, and place orders. The database will have tables for customers, products, orders, and order items. Which of the following is an example of an attribute that would be included in the Orders entity?

a)

Product ID

b)

Customer Name

c)

Order Date

d)

Order Total

16.

Scenario: The online store sells various products such as electronics, clothing, and accessories. The store has customers who can create accounts, add items to their shopping carts, and place orders. The database will have tables for customers, products, orders, and order items. Which of the following is an example of an attribute that would be included in the Products entity?

a)

Order ID

b)

Product Price

c)

Customer ID

d)

Order Quantity

17.

Scenario: The online store sells various products such as electronics, clothing, and accessories. The store has customers who can create accounts, add items to their shopping carts, and place orders. The database will have tables for customers, products, orders, and order items. Which of the following is an example of an attribute that would be included in the Customers entity?

a)

Product Name

b)

Customer Address

c)

Order Quantity

d)

Order Total

18.

Scenario: The online store sells various products such as electronics, clothing, and accessories. The store has customers who can create accounts, add items to their shopping carts, and place orders. The database will have tables for customers, products, orders, and order items. Which of the following represents the correct cardinality for the relationship between Customers and Orders?

a)

One-to-one

b)

One-to-many

c)

Many-to-one

d)

Many-to-many

19.

Scenario: The online store sells various products such as electronics, clothing, and accessories. The store has customers who can create accounts, add items to their shopping carts, and place orders. The database will have tables for customers, products, orders, and order items. Which of the following represents the correct cardinality for the relationship between Products and Orders?

a)

One-to-one

b)

One-to-many

c)

Many-to-one

d)

Many-to-many

20.

Scenario: The online store sells various products such as electronics, clothing, and accessories. The store has customers who can create accounts, add items to their shopping carts, and place orders. The database will have tables for customers, products, orders, and order items. Which of the following entities would be used to represent the products in each order?

a)

Customers

b)

Products

c)

Orders

d)

Order Items