Professional Documents
Culture Documents
Therefore, N(A - B) = N(A) - N(B) = 1,679,616 – 1,413,720 = 265,896 PINs that contain at least
one repeated symbol.
This study source was downloaded by 100000830545686 from CourseHero.com on 06-29-2022 10:28:30 GMT -05:00
https://www.coursehero.com/file/43357285/-Mid-1-Exam-Solutionspdf/
(b) Suppose five members of a group of twelve are to be chosen to work as a team on a
special project. How many distinct five-person teams can be selected?
(c) Suppose two members of a group of twelve insist on working as a pair- any team
either contains both or neither. How many five-person teams can be formed?
This study source was downloaded by 100000830545686 from CourseHero.com on 06-29-2022 10:28:30 GMT -05:00
https://www.coursehero.com/file/43357285/-Mid-1-Exam-Solutionspdf/
2. SOLUTION of Problem 2 (a):
Perform the binary operations and check the results: (i) 1101 + 1111 = 11100
CHECK: 1101 13
1111 15 Hence, 13 + 15 = 28
11100 28
CHECK: 10101 21
1111 15 Hence 21 + 15 = 36
100100 36
This study source was downloaded by 100000830545686 from CourseHero.com on 06-29-2022 10:28:30 GMT -05:00
https://www.coursehero.com/file/43357285/-Mid-1-Exam-Solutionspdf/
SOLUTION of Problem 2 (b):
Perform the binary operations and check the results:
(i) 1001 - 1011
This problem has an error so everyone will get the marks for it.
CHECK: 1000 8
11 3
CHECK:
111 7
100011 35
CHECK:
11001 25
1000001101 525
This study source was downloaded by 100000830545686 from CourseHero.com on 06-29-2022 10:28:30 GMT -05:00
https://www.coursehero.com/file/43357285/-Mid-1-Exam-Solutionspdf/
SOLUTION of Problem 2 (d):
Perform the binary operations and check the results:
CHECK:
11111 37
111 7
31 ÷ 7 = 4 Remainder 3
CHECK:
110001 49
1010 10
49 ÷ 10 = 4 Remainder 9
This study source was downloaded by 100000830545686 from CourseHero.com on 06-29-2022 10:28:30 GMT -05:00
https://www.coursehero.com/file/43357285/-Mid-1-Exam-Solutionspdf/
(b) For all integers 𝑛 ≥ 4 evaluate 𝑛 𝑃4 + 𝑛 𝑃3 .
(d) Define power set. Find the power of the following set: A = {1, 3, 7, 9}.
P(A) = {ϕ, {1}, {3}, {7}, {9}, {1,3}, {1,7}, {1,9}, {3,7}, {3,9}, {7,9}, {1,3,7}, {1,3,9},
{1,7,9}, {3,7,9}, {1,3,7,9}}
This study source was downloaded by 100000830545686 from CourseHero.com on 06-29-2022 10:28:30 GMT -05:00
https://www.coursehero.com/file/43357285/-Mid-1-Exam-Solutionspdf/
(e) How many different ways can three of the letters of the word BYTES be chosen and
written in a row? How many different ways this can be done if the first letter must be B?
This study source was downloaded by 100000830545686 from CourseHero.com on 06-29-2022 10:28:30 GMT -05:00
https://www.coursehero.com/file/43357285/-Mid-1-Exam-Solutionspdf/
Powered by TCPDF (www.tcpdf.org)