## Question 1 Find all subsets for the given set. nums = [6, 7, 8] ### Options 1. [[], [6], [7], [8], [6, 7], [6, 8], [7, 8]] Incorrect The subset [6, 7, 8] is missing. ---------------------------- 2. [[], [6], [7], [8], [6, 7], [6, 8], [7, 8], [6, 7, 8]] Correct All subsets are present. ---------------------------- 3. [[], [6], [6, 7], [6, 8], [7, 8], [6, 7, 8]] Incorrect The subsets [7] and [8] are missing. ---------------------------- 4. [[6], [7], [8], [6, 7], [6, 8], [7, 8], [6, 7, 8]] Incorrect The subset [] is missing. ---------------------------- --------------------------------------------- ## Question 2 Find all subsets for the given set. nums = [10, 20] ### Options 1. [[], [10], [20], [10, 20]] Correct ---------------------------- 2. [[10], [20], [10, 20]] Incorrect The subset [] is missing. ---------------------------- 3. [[], [20], [10, 20]] Incorrect The subset [10] is missing. ---------------------------- 4. [[], [10], [20]] Incorrect The subset [10, 20] is missing. ---------------------------- --------------------------------------------- ## Question 3 Find all subsets for the given set. nums = [4] ### Options 1. [] Incorrect The subset [4] is missing. ---------------------------- 2. [[4]] Incorrect The subset [] is missing. ---------------------------- 3. [[], [4]] Correct ---------------------------- 4. None Incorrect There are two possible subsets, [] and [4]. ---------------------------- --------------------------------------------- ## Question 4 What will be the total number of subsets of the given array? nums = [5, 10, 11] ### Options 1. 10 Incorrect ---------------------------- 2. 6 Incorrect ---------------------------- 3. 8 Correct subsets = [[], [5], [10], [11], [5, 10], [5, 11], [10, 11], [5, 10, 11]]. Also, $2^3$ is 8. ---------------------------- 4. 12 Incorrect ---------------------------- ---------------------------------------------