Name: Data Representation in Computers. The OCR Specification says that you should be able to:

Similar documents
AQA GCSE in Computer Science Computer Science Microsoft IT Academy Mapping

SPECIMEN A451 GENERAL CERTIFICATE OF SECONDARY EDUCATION COMPUTING. Duration: 1 hour 30 minutes. Unit A451: Computer systems and programming

Computer Logic (2.2.3)

Computers. Hardware. The Central Processing Unit (CPU) CMPT 125: Lecture 1: Understanding the Computer

Counting in base 10, 2 and 16

Memory is implemented as an array of electronic switches

Data Storage: Each time you create a variable in memory, a certain amount of memory is allocated for that variable based on its data type (or class).

Revised: November GCSE Computer Science

The use of binary codes to represent characters

Solution for Homework 2

Base Conversion written by Cathy Saxton

ELECTRONIC DOCUMENT IMAGING

Introduction To Computers: Hardware and Software

MEMORY STORAGE CALCULATIONS. Professor Jonathan Eckstein (adapted from a document due to M. Sklar and C. Iyigun)

The Hexadecimal Number System and Memory Addressing

Data Storage 3.1. Foundations of Computer Science Cengage Learning

2 Number Systems. Source: Foundations of Computer Science Cengage Learning. Objectives After studying this chapter, the student should be able to:

Chapter 3: Computer Hardware Components: CPU, Memory, and I/O

Systems I: Computer Organization and Architecture

Today s topics. Digital Computers. More on binary. Binary Digits (Bits)

Data Storage. Chapter 3. Objectives. 3-1 Data Types. Data Inside the Computer. After studying this chapter, students should be able to:

Computer Science 281 Binary and Hexadecimal Review

The string of digits in the binary number system represents the quantity

Logical Operations. Control Unit. Contents. Arithmetic Operations. Objectives. The Central Processing Unit: Arithmetic / Logic Unit.

Chapter 4 System Unit Components. Discovering Computers Your Interactive Guide to the Digital World

LSN 2 Number Systems. ECT 224 Digital Computer Fundamentals. Department of Engineering Technology

CHAPTER 2: HARDWARE BASICS: INSIDE THE BOX

HOMEWORK # 2 SOLUTIO

winhex Disk Editor, RAM Editor PRESENTED BY: OMAR ZYADAT and LOAI HATTAR

Place Values the values are doubled as you add more digits starting from the least significant bit

Discovering Computers Living in a Digital World

Main Memory & Backing Store. Main memory backing storage devices

How To Store Data On A Computer (For A Computer)

Chapter 4: Computer Codes

Binary Representation

Cloud storage Megas, Gigas and Teras

GCSE. Mark Scheme for January Computing (Pilot) General Certificate of Secondary Education Unit A451: Computer systems and programming

Using Patterns of Integer Exponents

Cambridge International Examinations Cambridge International General Certificate of Secondary Education

General Certificate of Education Advanced Subsidiary Examination June 2015

Number Systems. Introduction / Number Systems

lesson 1 An Overview of the Computer System

Traveling Circuits Lesson 1 Binary Baubles

CHAPTER 3: DIGITAL IMAGING IN DIAGNOSTIC RADIOLOGY. 3.1 Basic Concepts of Digital Imaging

How to represent characters?

HOW TO BECOME AN ESI HERO

CSCA0102 IT & Business Applications. Foundation in Business Information Technology School of Engineering & Computing Sciences FTMS College Global

Lecture 2. Binary and Hexadecimal Numbers

2011, The McGraw-Hill Companies, Inc. Chapter 3

GCSE Computing Revision Booklet

Chapter 6. Inside the System Unit. What You Will Learn... Computers Are Your Future. What You Will Learn... Describing Hardware Performance

Section 1.4 Place Value Systems of Numeration in Other Bases

To convert an arbitrary power of 2 into its English equivalent, remember the rules of exponential arithmetic:

Data Storage. 1s and 0s

Prof. Dr. Ing. Axel Hunger Dipl.-Ing. Bogdan Marin. Operation Systems and Computer Networks Betriebssysteme und Computer Netzwerke

CS101 Lecture 11: Number Systems and Binary Numbers. Aaron Stevens 14 February 2011

Chapter 8 Memory Units

Number Representation

Oct: 50 8 = 6 (r = 2) 6 8 = 0 (r = 6) Writing the remainders in reverse order we get: (50) 10 = (62) 8

CDA 3200 Digital Systems. Instructor: Dr. Janusz Zalewski Developed by: Dr. Dahai Guo Spring 2012

Algorithms and Methods for Distributed Storage Networks 7 File Systems Christian Schindelhauer

The programming language C. sws1 1

Binary Representation. Number Systems. Base 10, Base 2, Base 16. Positional Notation. Conversion of Any Base to Decimal.

Automating SQL Injection Exploits

EE 261 Introduction to Logic Circuits. Module #2 Number Systems

STUDY GUIDE CHAPTER 1

Analog Representations of Sound

Decimal to Binary Conversion

SECTION C [short essay] [Not to exceed 120 words, Answer any SIX questions. Each question carries FOUR marks] 6 x 4=24 marks

1. Give the 16 bit signed (twos complement) representation of the following decimal numbers, and convert to hexadecimal:

Binary, Hexadecimal, Octal, and BCD Numbers

Decimal Number (base 10) Binary Number (base 2)

Outline. mass storage hash functions. logical key values nested tables. storing information between executions using DBM files

Technical Support Bulletin Nr.18 Modbus Tips

Package png. February 20, 2015

MMGD0203 Multimedia Design MMGD0203 MULTIMEDIA DESIGN. Chapter 3 Graphics and Animations

The Central Processing Unit:

Binary Numbers. Binary Octal Hexadecimal

RECORDS & INFORMATION MANAGEMENT

Chapter 2: Basics on computers and digital information coding. A.A Information Technology and Arts Organizations

Levent EREN A-306 Office Phone: INTRODUCTION TO DIGITAL LOGIC

Introduction to Information System Layers and Hardware. Introduction to Information System Components Chapter 1 Part 1 of 4 CA M S Mehta, FCA

Numeration systems. Resources and methods for learning about these subjects (list a few here, in preparation for your research):

Storing Measurement Data

MassArt Studio Foundation: Visual Language Digital Media Cookbook, Fall 2013

File Management Using Microsoft Windows

Goals. Unary Numbers. Decimal Numbers. 3,148 is s 100 s 10 s 1 s. Number Bases 1/12/2009. COMP370 Intro to Computer Architecture 1

Digital System Design Prof. D Roychoudhry Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur

DNA Data and Program Representation. Alexandre David

Subject knowledge requirements for entry into computer science teacher training. Expert group s recommendations

Machine Architecture and Number Systems. Major Computer Components. Schematic Diagram of a Computer. The CPU. The Bus. Main Memory.

Everything you wanted to know about using Hexadecimal and Octal Numbers in Visual Basic 6

Chapter 1: Digital Systems and Binary Numbers

plc numbers Encoded values; BCD and ASCII Error detection; parity, gray code and checksums

Definition of Computers. INTRODUCTION to COMPUTERS. Historical Development ENIAC

Byte Ordering of Multibyte Data Items

Middle School. Sixth Grade

Simple Image File Formats

Digital Versus Analog Lesson 2 of 2

Hardware: Input, Processing, and Output Devices. A PC in Every Home. Assembling a Computer System

Transcription:

Name: Data Representation in Computers The OCR Specification says that you should be able to: Units define the terms bit, nibble, byte, kilobyte, megabyte, gigabyte, terabyte understand that data needs to be converted into a binary format to be processed by a computer Numbers convert positive denary whole numbers (0-255) into 8-bit binary numbers and vice versa add two 8-bit binary integers and explain overflow errors which may occur convert positive denary integers (0-255) into 2-digit hexadecimal numbers and vice versa convert between binary and hexadecimal equivalents of the same number explain the use of hexadecimal numbers to represent binary numbers Characters explain the use of binary codes to represent characters explain the term character set describe with examples (for example ASCII and Unicode) the relationship between the number of bits per character in a character set and the number of characters which can be represented Images explain the representation of an image as a series of pixels represented in binary explain the need for metadata to be included in the file such as height, width and colour depth discuss the effect of colour depth and resolution on the size of an image file Sound explain how sound can be sampled and stored in digital form explain how sampling intervals and other considerations affect the size of a sound file and the quality of its playback Instructions explain how instructions are coded as bit patterns explain how the computer distinguishes between instructions and data

Past Paper Exam questions Jan 2011 1. (a) Calculate the denary value of the 8-bit binary number 10010111. You must show your working. (b) Add the following two 8-bit binary numbers and explain the result. You must show your working. 2. (a) Explain how ASCII is used to represent text in a computer system. (b) State what is meant by the character set of a computer.

(c) Unicode is also used to represent text in a computer system. Explain the difference between the character sets of Unicode and ASCII. June 2011 3. (a) Convert the hexadecimal number 6A to denary. You must show your working. (b) Convert the hexadecimal number 6A to binary. (c) Convert the binary number 00111101 to hexadecimal. (d) Explain why hexadecimal numbers are often used to represent binary numbers.

Jan 2012 4. Bytes, Kilobytes and Megabytes are units used for the amount of data stored in a computer. (a) State which of these units is most appropriate for the following items of data. A one page text document: A ten minute movie clip: A person s surname: (b) A computer has a hard disk of 2 Terabytes. How much is this in Gigabytes? You must show your working.

5. Peter takes a picture of himself and his friends to put on a social networking site. The picture is converted into pixels and stored as a bitmap file. (a) Tick one box in each row to show whether or not each of the following items must be included in the bitmap file. [5] (b) (i) What is meant by the resolution of the picture? (ii) How does the resolution affect the size of the bitmap file? June 2012 6 (a) Convert the denary number 55 to an 8 bit binary number. (b) Convert the denary number 55 to hexadecimal.

Jan 2013 7 (a) Add the following bytes. (b) State the problem that will occur if a computer is to store the result as a byte. 8. When recording a sound file on a computer, the sound needs to be sampled. (i) Describe how sampling is used when storing sound. (ii) Explain the effect of the sampling interval on the size and quality of the sound file recorded.

9 (a) Explain why data is stored in computers in a binary format. (b) In the ASCII character set, the character codes for the first three capital letters are given below. (ii) State how the ASCII character set is used to represent text i a computer. (ii) Convert the word CAB into binary using the ASCII character set.

(iii) Explain why the ASCII character set is not suitable for representing text in all the languages of the world. June 2013 2. Bob s computer has 512 kilobytes of ROM and 8 gigabytes of RAM. State how many bytes are in a kilobyte and a gigabyte. a kilobyte... a gigabyte... 5 Numbers can be represented in denary, binary or hexadecimal. (a) (i) Convert the binary number 01101001 to denary, showing your working. (ii) Convert the denary number 154 to binary.

(b) The security code for an alarm system is a long binary number which begins 10001111100101111011... The technicians prefer to use hexadecimal to enter the security code. (i) When the number is converted into hexadecimal, the first two digits are 8F as shown below Complete the gaps to show the next three digits. Binary: 1000 1111 1001 0111 1011 Hexadecimal: 8 F (ii) Explain why the technicians prefer to use hexadecimal.