GoConqr has a new look! Let us know what you think.

Flashcards

4. Data Representation and Data Types

Clark McDonald Computer Science AS - Level English 4 cards

Cards in this deck (4)

  1. 1Representation of data as bit patternsBit - Smallest unit of data as a single binary value, either 1 or 0.
    Byte - A sequence of bits, usually 8 bits.
    Word - Fixed-sized piece of data handled as a unit by the instruction set or the hardware of the processor. Usual word size of 32 or 64 bits.
  2. 2Storage of charactersAny kind of data needs to be converted into binary for the computer to understand it.
    Therefore represented as a series of 1's and 0's unique to each character.
    An example of a character set would be ASCII which assigns a binary number to each character on the keyboard.
  3. 3Data typesBoolean - Only holds one or two set values, either true or false.
    Character - Any one character, stored in one byte. E.g. "e"
    String - A block of text. E.g. "Hello"
    Integer - Stores whole numbers. E.g. "23"
    Real - Numerical data which can hold decimals. E.g. "4.67"
  4. 4Representation of numbers as bit patternsRules of Binary addition:
    0 + 0 = 0
    1 + 0 = 1
    0 + 1 = 1
    1 + 1 = 0, and carry to the next bit.
    Rules of binary subtraction:
    0 - 0 = 0
    1 - 0 = 1
    0 - 1 = 1, and borrow 1 from next bit.
    1 - 1 = 0

Information

Description
AS - Level Computer Science (Fundamentals) Flashcards on 4. Data Representation and Data Types, created by Clark McDonald on 05/06/2016.
Created by
Clark McDonald
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?