Question: This is Assembly Language. CS 2318 (Assembly Language, S003 & S004, Fall 2018) by Lee S. Koh Assignment 1 (posted 9/4/2018, DUE 9/13/2018) 1 (3




This is Assembly Language.
CS 2318 (Assembly Language, S003 & S004, Fall 2018) by Lee S. Koh Assignment 1 (posted 9/4/2018, DUE 9/13/2018) 1 (3 points) A certain online vendor requires cach 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 (O' through 9'). mmne enen digth, ryo qed yole throuth 7 How many different (distinct) passwords can be supported using the above rules?, NOTE: CAUTION:You will earn NO CREDITS if you don't clearly show working (i.e., how you arrive at the required quantity) You can leave your answer as an expression involving terms containing numbers raised to certain powers 2 (3 points) Using Horner's scheme, represent (evaluate) the binary unsigned whole number 10010101 in decimal. CAUTION: You will earn NO CREDITS if you don't use Horner's scheme to more efficiently evaluate polynomial You will earn NO CREDITS if you simply show the final result and not clearly show working (i.c., intermediate steps) 3 (3 points) Using Horner's scheme, represent (evaluate) the base-7 unsigned whole number 1243 in decimal. CAUTION: You will carn NO CREDITS if you don't use Horner's scheme to more efficiently evaluate polynomial You will earn NO CREDITS if you simply show the final result and not clearly show working (ie., intermediate steps) 4 (3 points) Using the repeated division method, represent the decimal unsigned whole number 302 in binary. CAUTION: You will earn NO CREDITS if you simply show the final result and not clearly show working (i.c., intermediate steps) 5 (3 points) Re-write the result obtained in the preceding question (decimal unsigned whole number 302 in binary) in hex. CAUTION: You will earn NO CREDITS if you simply show the final result and not clearly show working (i.c., how you group the bits)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
