Computer Science - 4CP0 PearsonEdexcel

Binary

Overzicht

A computer's processor only ever switches between two electrical states, and everything it stores or calculates has to be built out of those two states. Numbers, letters, photographs and even the instructions of the program itself are all, deep down, patterns of binary digits.

In this lesson you will learn to convert confidently between binary, denary and hexadecimal, add two binary numbers and recognise when the result overflows an 8-bit register, shift a binary pattern left and right, and represent both positive and negative whole numbers using sign-and-magnitude and two's complement.

Doelstellingen

  1. Understand that computers use binary to represent data (numbers, text, sound, graphics) and program instructions
  2. Understand how computers represent and manipulate numbers (unsigned integers, signed integers (sign and magnitude, two's complement))
  3. Be able to convert between binary and denary whole numbers (0-255)
  4. Understand how to perform binary arithmetic (add, shifts (logical and arithmetic)) and understand the concept of overflow
  5. Understand why hexadecimal notation is used and be able to convert between hexadecimal and binary

Lesnotitie

A computer's circuits are built from switches that are only ever fully on or fully off; there is no reliable middle state to detect at high speed. Binary, the base-2 number system using only the digits 0 and 1, maps perfectly onto this: 1 for on, 0 for off. Every kind of data a computer handles, whole numbers, text, sound, images and even the program instructions themselves, is ultimately stored as a pattern of these binary digits (bits), just interpreted differently depending on what it represents.

Beschikbaar in de Green Bridge-app

Download de Green Bridge CBT-app op je telefoon of computer voor toegang tot volledige lesnotities, oefenvragen en meer.

Volledige lesnotities met diagrammen
AI-gestuurde leerassistent
Offline studeren, altijd en overal
Beschikbaar voor Android, Windows, macOS en Linux

Lesevaluatie

Gefeliciteerd met het voltooien van de les op Binary. Nu je de sleutelconcepten en ideeën, het is tijd om uw kennis op de proef te stellen. Deze sectie biedt een verscheidenheid aan oefeningen vragen die bedoeld zijn om uw begrip te vergroten en u te helpen uw begrip van de stof te peilen.

Je zult een mix van vraagtypen tegenkomen, waaronder meerkeuzevragen, korte antwoordvragen en essayvragen. Elke vraag is zorgvuldig samengesteld om verschillende aspecten van je kennis en kritisch denkvermogen te beoordelen.

Gebruik dit evaluatiegedeelte als een kans om je begrip van het onderwerp te versterken en om gebieden te identificeren waar je mogelijk extra studie nodig hebt. Laat je niet ontmoedigen door eventuele uitdagingen die je tegenkomt; beschouw ze in plaats daarvan als kansen voor groei en verbetering.

  1. What is the denary value of the 8-bit binary number 00110010? A) 48 B) 50 C) 52 D) 56 Answer: B
  2. How many bits are grouped together to form a single hexadecimal digit? A) 2 B) 3 C) 4 D) 8 Answer: C
  3. An 8-bit unsigned register adds 250 and 10. What happens? A) The result 260 is stored correctly B) Overflow occurs and the stored result is incorrect C) The register automatically becomes 16-bit D) The addition is rejected and nothing is stored Answer: B
  4. Which type of shift copies the sign bit into new positions created by a right shift? A) Logical shift B) Arithmetic shift C) Circular shift D) Hexadecimal shift Answer: B
  5. In two's complement, what does the leftmost bit of an 8-bit number represent? A) A place value of +128 B) A place value of -128 C) Always 0 D) The number of bits used Answer: B

Beschikbaar in de Green Bridge-app

Download de Green Bridge CBT-app op je telefoon of computer voor toegang tot volledige lesnotities, oefenvragen en meer.

Volledige lesnotities met diagrammen
AI-gestuurde leerassistent
Offline studeren, altijd en overal
Beschikbaar voor Android, Windows, macOS en Linux

Beschikbaar in de Green Bridge-app

Download de Green Bridge CBT-app op je telefoon of computer voor toegang tot volledige lesnotities, oefenvragen en meer.

Volledige lesnotities met diagrammen
AI-gestuurde leerassistent
Offline studeren, altijd en overal
Beschikbaar voor Android, Windows, macOS en Linux

Oefen Proefexamenvragen

Wilt u proefexamenvragen over Binary oefenen? Download de Green Bridge CBT-app voor toegang tot proefexamenvragen en volledige oefentoetsen over dit onderwerp.

Download de app in de Google Playstore

Alles wat je nodig hebt om uit te blinken in JAMB, WAEC en NECO.

Green Bridge CBT Mobile App
Persoonlijke AI Leerchat Assistent
Duizenden IGCSE, JAMB-, WAEC- en NECO-examenvragen uit het verleden.
Meer dan 1200 lesnotities
Offline ondersteuning - Leer altijd en overal
Dienstregeling Groene Brug
Literatuursamenvattingen & Potentiële Vragen
Volg je prestaties en vooruitgang.
Diepgaande Uitleg voor Uitgebreid Leren