Given:
There are 10 smartphones.
Out of 10, there are 7 good and 3 defective smartphones.
Step-by-step explanation:
a) To find: The number of ways exactly 4 good smartphones are selected when buying 5 smartphones
The number of ways is,

b) To find: The number of ways atleast 3 good smartphones are selected when buying 5 smartphones
The number of ways is,

Final answer:
a) 105 ways
b) 231 ways