HTML & CSS
719 subscribers
728 photos
1 video
4 files
54 links
πŸ‘Œ HTML & CSS
@html_css_tut

πŸ‘ŒJavaScript
@javascript_tut

πŸ‘Œ PHP
@php_tut


πŸ‘ŒAll About Coding
@codingWithElias
Download Telegram
Signed number representation

▢️ Here we would need to consider sign, meaning we represent both positive and negative numbers.

πŸ“Œ Sign and magnitude
With this method we reserve the most significant bit of the left most bit for sign.

This bit is called sign bit.

range becomes from -2^n-1 -1 to 2^n-1 -1

@Computer_science_course
▢️ Binary to decimal conversion
πŸ“ŒExample @Computer_science_course
▢️ decimal to binary conversion
πŸ“ŒExample @Computer_science_course
Octal Number System

Z = {0,1,2,3,4,5,6,7};
Base = 8

πŸ“Œ Each position to the left of a digit increases by a power of 8.

πŸ“Œ Each position to the right of a digit decreases by a power of 8.

@Computer_science_course
Hexadecimal Number System

Z = (0,1,2,3,4,5,6,7,8,9, A, B, C, D, E, F};
Base = 16

πŸ“Œ Each position to the left of a digit increases by a power of 16.

πŸ“Œ Each position to the right of a digit decreases by a power of 16.

@Computer_science_course
▢️ Computer Number system summary

@Computer_science_course
▢️ Octal to binary conversion
πŸ“ŒExample @Computer_science_course
▢️ Binary to octal conversion
πŸ“ŒExample @Computer_science_course
▢️ Hexadecimal to binary conversion
πŸ“ŒExample @Computer_science_course