Question: Part V 1. Use 8 bits binary number to represent the following expressions, where A is -65 and B is 73 (A and B are

 Part V 1. Use 8 bits binary number to represent the

Part V 1. Use 8 bits binary number to represent the following expressions, where A is -65 and B is 73 (A and B are octal numbers): (5 points) A. original code of A; B. original code of B; C. complement of A; D. complement of B; 2. Use 8 bits binary number to represent the following expressions, where the original code of A is 11111110 and B is 00000010. Please write down the calculation steps. (10 points) A. complement of A; B. complement of -A; C. complement of A+B; D. complement of A-B; E. complement of -B; F. complement of B; G. A+B; H. A-B 3. Directions: Design an algorithm for the problem. Use a flowchart to represent the algorithm. (10 points) There are N students in the class. The teacher needs to know how many students in his class are above the average score. Please design an algorithm in flowchart to accept N inputs of numbers, and output the following two results: (a) The average score; (b) The number of students whose score is above the average. Hint: The teach will input N numbers one by one, marked as S[i] and i = 1, 2, ..., N

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!