1 (3 points) A certain online vendor requires each of its registered users to ch
ID: 3749439 • Letter: 1
Question
1 (3 points) A certain online vendor requires each of its registered users to choose a password that must be 7 characters long and subject to the following:- The 1st character must be an uppercase letter ('A' through 'Z').
- The 2nd character must be one of 8 specified (non-alphanumeric) symbols. (NOTE: You don't have to know what exactly these 8 symbols are.)
- The 3rd character must be one of the digits ('0' through '9').
- Each of the remaining (4th throuth 7th) characters can be any combination of uppercase or lowercase letters, digits, or symbols, where the symbols are from the 8 specified symbols.
Explanation / Answer
A)
a. carry: 000000100
01010110
01100111
sum: 10111101
1) A,D,H
overflow: N
2s complement of both numbers are: 10101010,10011001
carry: 101110000
10101010
10011001
sum: 01000011
2) B, G, I
overflow : Y
b)
carry: 111111100
10111111
01000010
sum: 00000001
1) B,C,I
overflow: Y
2s complement of both numbers are: 01000001,10111110
carry: 000000000
01000001
10111110
sum: 11111111
2) A,C,H
overflow : N
c)
carry: 111100000
11110000
10110110
sum: 10100110
1)B, G, I
overflow : Y
2s complement of both numbers are: 00010000,01001010
carry: 000011110
00010000
01001010
sum: 01011010
2) A,D,H
overflow : N
d)
carry: 011100000
01111101
00110001
sum: 10101110
1)A,D,H
overflow : N
2s complement of both numbers are: 10000011,11001111
carry: 100011110
10000011
11001111
sum: 01010010
2) B,G,I
overflow : Y
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.