Skip to content · ⁨Bỏ qua nội dung⁩

Bits, binary, and bitwise operators · ⁨Bits, nhị phân và toán tử bit⁩

English

Numbers are bits

  • Inside the computer, every int is a row of bits — each bit is a 0 or a 1.
  • We usually read numbers in base 10, but the machine stores them in base 2 (binary).
  • Bitwise operators let you look at and change individual bits.
Tiếng Việt

Số là bit

  • Bên trong máy tính, mỗi int là một hàng bits — mỗi bit là một 0 hoặc một 1.
  • Chúng ta thường đọc số ở cơ số 10, nhưng máy lưu chúng ở cơ số 2 ( nhị phân).
  • Toán tử bit cho phép bạn xem và thay đổi từng bit riêng lẻ.

Handout · ⁨Tài liệu⁩

Log in or create account · ⁨Đăng nhập hoặc tạo tài khoản⁩

IGCSE, A-Level & AP