Computer Science - Binary and Hexadecimal

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

What are the rules for Binary addition?

0 + 0 = 0 1 + 0 = 1 1 + 1 = 10 (write the 0 carry the 1)

What is a bit, nibble and byte?

A binary digit is referred to as a bit. A nibble consists of 4 bits. A byte consists of 8 bits.

How many Binary combinations does a nibble have?

It has 16 combinations since 2 to the power 4 is 16.

Subtract these two binary numbers: 10000001 and 00111001. And these two numbers: 10011011 and 00011110. Then add their results together.

The first two number make 01001000 which equals to 72 in Denary and the second two create 01111101. These two added together makes 11000101 which in Denary is 197.

What is an Overflow error?

An error that occurs when the computer attempts to process a number that has too many bits to handle (such as if an answer is a 9-bit number but the computer can only handle the 8-bit so it won't tell you the whole answer, only part of it)

What is the difference between an integer and a floating point number?

An integer is a whole number whilst a float is a decimal number.

What base is binary, decimal and what is hexadecimal?

Binary: Base 2 (1 or 0, on or off) Decimal/Denary: Base 10 Hexadecimal: Base 16

Convert 100111011 into Denary and Hexadecimal.

Denary is 315 and in Hexadecimal it is 13B.

How to convert hexadecimal - binary

Hexadecimal numbers are converted to binary by finding the 4-bit code. Write the nibbles together.

How to convert hexadecimal to denary?

Hexadecimal numbers can be converted to the denary system by using the place values. The place value is in the powers of 16. The value of each digit is multiplied with the place value, and the values are added to find the denary equivalent.

What is 11110011 in Denary?

In Denary it is 243.

Convert AF3 into Denary and Binary.

In Denary it is 2803 and in Binary it is 101011110011 which is more than 8 bits.

What is 01101001 in Denary and Hexadecimal?

In Denary its 105, in Hexadecimal its 69.

Convert these two numbers and subtract them from each other: 10001111 and 00010111.

In Denary they are 243 and 23. Subtracted they are 01111000 which equals 120.

How do you convert Denary to Binary?

It is calculated by dividing the number by 2 and calculating all remainders until you reach 1. You read the remainders in opposite order.

Why is it more suitable to represent numbers and characters in hexadecimal?

It is helpful for programmers coding in low-level languages. Instead of 4 bits, it is enough if they type a single character. The memory location in a computer is also stated in hexadecimal form. This making the address more readable.

How to convert binary to hexadecimal?

Starting from right to left, the binary numbers are split into a group of 4 bits. If the group has less than 4 bits, zeros are added to the left. Each nibble is then converted to its equivalent hexadecimal number.

Convert 112 into Binary and then into Hexadecimal.

The Binary number is 1110000 and the Hexadecimal number is 70.

Convert these two numbers and add them together: 11001010 and 01000011

The two numbers are 202 and 67. Added together they make 10000111 which is 135.

How to convert denary to hexadecimal?

To convert a denary number to hexadecimal, the number is converted to binary. The binary number is converted to a hexadecimal system. Ex: Converting the number 14 to hex. The binary form is 1110, which is E in the hexadecimal system.


Kaugnay na mga set ng pag-aaral

Chapter 36, Origin and Spread of Christianity

View Set

Test 1 Workbook Review (Procedures 5)

View Set

Praxis Mathematics - Content Knowledge (5161) Chapter 23 - Polynomials Quiz Questions

View Set

Art History Exam 3, Egypt and Ancient Greece

View Set

MARK3336 Ch. 12 Video: Prime Day Is a "dress rehearsal" for Amazon Logistics

View Set

MKTG 4390 (Personal Selling : Butler) EXAM 1

View Set