Computer Organization and Architecture

answer this please and i need it asap
Question 1: (7 marks)We have a list containing employees working hours. Rearrange the list sothatemployees who worked overtime ( 40 hours) appear first, and employees whoworkedless than 40 hours appear at the end. Example:Input: [35, 45, 50, 30, 42, 38]Output after rearranging: [45, 50, 42, 35, 30, 38]To answer question 1, you need to do the following:1. Write an algorithm to do the above task2. Implement the algorithm using OUBuild script following the above steps. 3. Provide 2 screenshots for different output?4. If we need to sort the values the odd and even which sorting algorithmwecanuse as an efficient one?Question 2: (3 marks)Consider a video with a resolution of 640 480, 8-bit pixels (grayscale). The videohasaframe rate of 15 frames per second (fps) and a total duration of 5 minutes. Question:How many bits and bytes are required to store the entire video?Good luckEnd of the questions

WRITE MY PAPER

Comments

Leave a Reply