Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: daixieit


CSCI250

Assignment # 1


Question 1:

The marketing department at your company has promised your customers that the next software           release will show a 2x performance improvement. You have been assigned the task of delivering on the promise. You have determined that only 90% of the system can be improved. How much would you        need to improve this part to meet the overall performance target?

 

Question 2:

Write code to implement the following function”

/* return 1 when any odd bit of x equals 1; 0 otherwise. Assume w = 32*/

Your function should follow the bit level integer coding rules except that you may assume that data type int has w = 32 bits.

 

Question 3:

For the function long decode2(long x, long y, long z), write the C code matches the following assembly code: