Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Computers operate using the base-2 numbering system, also known as ______ How ma

ID: 3833468 • Letter: C

Question

Computers operate using the base-2 numbering system, also known as ______ How many bits are there in a byte? Explain why the ASCII table contains 128 characters by using the fact that 7 bits are used to represent each character. Assume C++ allocates 2 bytes for the data type called short (a variable of this data type holds a whole number just like int) What is the range for this data type (show the least and largest values it can represent)? Show them both in binary and decimal Convert -57_10 to binary using two's compliment notation. Use 8 bits

Explanation / Answer

1. Computer's operate using base-2 numbering system is also known as, Binary numbering system . It uses 0 and 1 to represent.

2. There are 8 bits in a byte .

3. The ASCII table consists of 128 characters from 0 to 127 represented by using 7 bits because the modern keyboards have such limitation which represent some of the special characters and standard characters. By using 7 bits binary 27 possible patterns can be represented. The smallest number represented by using 7 bits in binary is 0000000 and largest is 1111111 (127) .

4. The range of the unsigned short data type is 0 to 65,535 in decimal and in binary it is 00000000 to 01111111111111111

5. The Two's complement binary of 5710 is 00111001 .

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote