Question: Please code in C. Introduction Your fourth assignment will consist of some numeric conversion problems and a small C program. The C program should be
Please code in C. Introduction Your fourth assignment will consist of some numeric conversion problems and a small C program. The C program should be submitted as a standard C source code file. Please note that your computer program should comply with the commenting and formatting rules as described in class. For example, there should be a header for the whbole program that gives the author's name, class name, datie, and description. End braces should be commented and there are alignment and indenting requirements as discussed. Please ask if you have any guestions. Problem 1: Numeric Conversion Problems In all of the following problems, please show your work Binary to Decimal (unsigped) a) 1101 1100 b) 0110 1101 e) 1001 101 2Binary to Decimal (signed) a) 1101 1100 b) 0110 1101 c) 1001 1011 3 Octal (base 8) to Decimal a) 73l b) 2542 4) Hexadecimal (base 16) to Decimal a A5B b) CB7 5) Hexadecimal to Binary a) b) 45F2 CSA 6 Binary to Hexadecimal (binary uasigned) a) 01 0011 1100 CS1325- Introduction to Programming page: 2 b) 0101 1010 111 7Binary to Octal (binary unsigned a) 101 0011 1100 b) 0101 1011 0110 8) Please express the following decimal numbers in 2's Complement (1 byte is sufficient): a) 123 b) 9 c) 76 9 Thought question: Can-150 be expressed in a one byte 2's Complement number? Why or why mot? All of these problems should be worked by hand. Note that no calculators will be allowed on exams. You can submit your work on eL.carning along with your source file for the following
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
