ACCURATE SOLUTIONS
1. If you wanted to create a scatter plot in ggplot2 to analyze the
relationship between two numerical variables, which aesthetic attributes
would you prioritize for effective visualization?
x-axis, legend, shape
x-axis, y-axis, color
title, labels, grid
size, shape, fill
2. If you want to retrieve a list of employees sorted by their hire dates in
descending order, which SQL statement would you use?
SELECT * FROM employees WHERE hire_date IS NOT NULL
SELECT * FROM employees ORDER BY hire_date ASC
SELECT * FROM employees ORDER BY hire_date DESC
SELECT * FROM employees GROUP BY hire_date
3. What is the term used for converting dates to a consistent format in data
analysis?
organizing data
getting input from others
formatting and adjusting data
transforming data
4. If a data professional discovers that a significant number of customers
have low satisfaction scores, what would be an appropriate next step in
,the analyze phase?
Prepare a report for the stakeholders
, Ignore the scores and continue with the analysis
Increase marketing efforts without further analysis
Change the customer service team structure immediately
5. Describe how the CREATE TABLE statement contributes to data
organization in SQL.
The CREATE TABLE statement is used to format data within a table.
The CREATE TABLE statement retrieves data from multiple tables
at once.
The CREATE TABLE statement establishes the structure and
schema for a new table, allowing for organized data storage.
The CREATE TABLE statement is used to delete existing tables
from the database.
6. What is the purpose of the JOIN function in SQL?
To combine rows from two or more tables based on a related
column
To sort data in ascending order
To count the number of rows in a table
To filter rows from a single table
7. If you need to calculate the total sales for a specific product category
using nested functions, which approach would you take?
Use a nested function to create a new product category.
Use a nested function to sum sales based on the product
category.
Use a single function to sum all sales regardless of category.
Use a nested function to filter out non-relevant data.
, 8. If you have a spreadsheet with multiple projects and team members, how
would you implement data validation to ensure only valid team member
names are entered?
By using conditional formatting to highlight invalid entries.
By manually typing team member names for each project.
By using formulas to check for duplicates.
By creating a drop-down list using data validation that includes
all valid team member names.
9. What is the correct syntax for converting Celsius to Fahrenheit using the
CONVERT function in a spreadsheet?
=CONVERT(-37, "C", "F")
=CONVERT(-37, "F", "C")
=CONVERT(-37, "C", "C")
=CONVERT(-37, "F", "F")
10. When one SQL query is nested in another SQL query, this is referred to
as a _____.
subquery
join
WHERE Query
subset query
11. What is the purpose of the sample() function in data analysis?
Sorts data in ascending order.
Creates random unbiased data samples.
Counts the number of entries in a dataset.