Set 2
Set 2
SET 2
1. If you want to retrieve a list of all customers and their respective orders, which SQL join will you use—
INNER JOIN or OUTER JOIN—and why
Customers table:
| CustomerID | Name | City |
|------------|-------|----------|
| 1 | John | New York |
| 2 | Alice | London |
| 3 | Bob | Paris |
Orders table:
| OrderID | CustomerID | Product |
|---------|------------|-------------|
| 101 | 1 | Laptop |
| 102 | 3 | Phone |
| 103 | 4 | Tablet |
print(grouped_df)
17. Which of the following is a key advantage of using a "differentiation" strategy in marketing?
A. It allows the company to compete primarily on price
B. It attracts a mass market of customers
C. It creates customer loyalty by providing unique value
D. It reduces the need for significant R&D investment
19. Which of the following is a primary advantage of segmenting a market by psychographics rather than
demographics?
A. Psychographics provides more easily accessible data
B. It allows for more precise targeting of customer attitudes, interests, and lifestyles
C. It ensures that the target market consists of high-income consumers
D. It reduces the cost of market research
20. Which of the following methods is typically used to impute missing values in a dataset?