Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started