You are on page 1of 1

Quiz 1

There are so many objectives to use Boolean method in a dataset. However, the most important
objective of Boolean method is to make comparison between values or variables. This can be
done within single variable or multiple variables with the help of putting some conditions.
1. Consider Dataset CARS and use single variable SELL_PRICE.
a. Calculate sum of cars that are greater than Rs. 500,000.
b. Find the mean of cars whose MSRP is greater than Rs. 500,000.
c. Find the percentage of cars which are greater than Rs. 500,000 and less than Rs.
50,00,000.
d. Show summary statistics of this variable.
2. Consider Dataset CARS and use variable SELL_PRICE, TRANSMISSION and NAME.
a. Find the NAME of cars whose SELL_PRICE is greater than 20,00,000 and
TRANSMISSION is “Automatic” and YEAR of manufacturing is between 2010 and
2015.
3. Consider Dataset CARS and use variable SELL_PRICE, OWNER and NAME.
a. Find the NAME of cars whose SELL_PRICE is greater than 20,00,000 and OWNER IS
“First Owner” and YEAR of manufacturing is between 2010 and 2015.

You might also like