Question: Programming Project #1: Signed Integer Representation Objective: The objective of this programming project is for you to apply knowledge gained on the different representations used

 Programming Project #1: Signed Integer Representation Objective: The objective of this
programming project is for you to apply knowledge gained on the different

Programming Project #1: Signed Integer Representation Objective: The objective of this programming project is for you to apply knowledge gained on the different representations used in storing signed integers. Description: We have learned that a 10-bit string may represent different integer values, depending on whether it uses signed magnitude, ones complement, twos complement, or excess-512 notation. In this programming project, you will write an application that will allow the user to enter one of two types of input: an 8-bit string or a decimal integer (-512, +511). Binary String Input: If the user entered a binary string, your pram should calculate and display the decimal equivalents of ti binary string, assuming that it could represent an integer using either signed magnitudes complement, twos complement, or excess-512 notation Decimal Input: If the user entered a decimal integer, your program should calculate and display the equivalent 8-bit strings used to represent the integer value using signed magnitude, ones complement, twos complement, and excess-512 notation. Your program should implement data validation and display properly formatted and labeled output. Tmnortant Notae. Important Notes: 1. You are required to work on this project individually. 2. You may use any high-level programming language to implement this project. The only restriction is that your program should compile and run correctly on the machines in the Computer Science Department lab. (Hint: Make sure you test your program on a machine in the lab.) 3. Provide sufficient documentation in the form of coments, white space, readable identifiers, and a README file describing the project design (.e. w to compile and run) and its components (if your project uses multiple files such as header files, c). 4. Make sure you are familiar with the class policy on Academic Dishonesty Policy Submission Requirements: Upload your source code to the designated Project 1 page of your Canvas account. If your project uses multiple files, store all source code in a directory called YOUR_LAST_NAME_PROMOTI, then zip the directory into a file and upload that SINGLE file. Do not include the executables

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!