Wagi pozycji w systemie dwójkowym

System dwójkowy i kody ASCII: jak komputer zapisuje dane - Informatyka - klasa 7 (doc)

Komputer zapisuje wszystko dwiema cyframi: **0** i **1** (prąd nie płynie albo płynie). To **system dwójkowy** (binarny). Każda pozycja liczby ma swoją **wagę**: od prawej 1, 2, 4, 8, 16, 32, 64, 128. Każda następna waga jest dwa razy większa. Żeby zamienić liczbę dwójkową na dziesiętną, dodaj wagi tych pozycji, na których stoi 1. Przykład: 1011 = 8 + 0 + 2 + 1 = **11**.

{"type":"doc","content":[{"type":"heading","attrs":{"level":2},"content":[{"type":"text","text":"Liczba 1011 w systemie dwójkowym"}]},{"type":"table","content":[{"type":"tableRow","content":[{"type":"tableHeader","content":[{"type":"paragraph","content":[{"type":"text","text":"Waga"}]}]},{"type":"tableHeader","content":[{"type":"paragraph","content":[{"type":"text","text":"8"}]}]},{"type":"tableHeader","content":[{"type":"paragraph","content":[{"type":"text","text":"4"}]}]},{"type":"tableHeader","content":[{"type":"paragraph","content":[{"type":"text","text":"2"}]}]},{"type":"tableHeader","content":[{"type":"paragraph","content":[{"type":"text","text":"1"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","content":[{"type":"paragraph","content":[{"type":"text","text":"Cyfra"}]}]},{"type":"tableCell","content":[{"type":"paragraph","content":[{"type":"text","text":"1"}]}]},{"type":"tableCell","content":[{"type":"paragraph","content":[{"type":"text","text":"0"}]}]},{"type":"tableCell","content":[{"type":"paragraph","content":[{"type":"text","text":"1"}]}]},{"type":"tableCell","content":[{"type":"paragraph","content":[{"type":"text","text":"1"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","content":[{"type":"paragraph","content":[{"type":"text","text":"Wartość"}]}]},{"type":"tableCell","content":[{"type":"paragraph","content":[{"type":"text","text":"8"}]}]},{"type":"tableCell","content":[{"type":"paragraph","content":[{"type":"text","text":"0"}]}]},{"type":"tableCell","content":[{"type":"paragraph","content":[{"type":"text","text":"2"}]}]},{"type":"tableCell","content":[{"type":"paragraph","content":[{"type":"text","text":"1"}]}]}]}]},{"type":"paragraph","content":[{"type":"text","text":"Suma: 8 + 0 + 2 + 1 = "},{"type":"text","text":"11","marks":[{"type":"bold"}]},{"type":"text","text":"."}]},{"type":"heading","attrs":{"level":3},"content":[{"type":"text","text":"Wagi kolejnych pozycji"}]},{"type":"paragraph","content":[{"type":"text","text":"128, 64, 32, 16, 8, 4, 2, 1"}]}]}

Ładowanie interaktywnego edytora... Jeśli się nie pojawi, włącz JavaScript.

Wszystkie lekcje kursu Informatyka - klasa 7·Zaloguj się, aby zapisać postęp na koncie.