Skip to main content

Select an OCR site

  • Log in to Interchange
  • About us
  • Facebook
  • Twitter
  • LinkedIn
  • YouTube
  • Blog
  • RSSFeed

OCR homepage

Search using filters

Main navigation

  • Home
  • Qualifications

    Qualifications

    • Apprenticeships
    • AS/A Level GCE
    • Cambridge Nationals
    • Cambridge Progression
    • Cambridge Technicals
    • Cambridge Traineeships
    • Core Maths
    • Employability
    • English Baccalaureate (EBacc)
    • Entry Level
    • Essential Skills Wales
    • Free Standing Maths Qualification (FSMQ)
    • Functional Skills
    • GCSE
    • Cambridge IGCSE
    • Life Skills
    • Offender Learning
    • Other General Qualifications
    • Principal Learning
    • Projects
    • Vocational Education and Skills
    • Vocational Qualifications (QCF, NVQ, NQF)
    • Vocational Qualifications (QCF, NVQ, NQF - Certification only)
    • Wider Key Skills
    GCSE and A Level reform

    GCSE and A Level reform

    • GCSEs and A Levels (from 2015/2016)
    • Teaching and learning resources

    Vocational Education and Skills

    Vocational Education and Skills

  • Subjects

    Subjects

    • Accounting
    • Administration
    • Advice and Guidance
    • Art and Design
    • Banking
    • Being Entrepreneurial
    • Biblical Hebrew
    • Biology
    • Building and Construction
    • Business
    • Certificates of Professional Competence
    • Chemistry
    • Child Development
    • Citizenship
    • Classics
    • Computing/Computer Science
    • Contact Centres
    • Critical Thinking
    • Customer Service
    • Design and Technology
    • Drama
    • Dutch
    • Economics
    • Electronics
    • Employability Skills
    • Engineering
    • English
    • Food Preparation and Nutrition
    • Food Technology
    • French
    • Gateway Science Suite
    • General Studies
    • Geography
    • Geology
    • German
    • Government and Politics
    • Gujarati
    • Health and Safety
    • Health and Social Care
    • History
    • Home Economics
    • Hospitality and Catering
    • Humanities
    • ICT
    • Languages
    • Law and Legal Services
    • Management and Team Leading
    • Manufacturing
    • Mathematics
    • Media and Communication
    • Music
    • Performing Arts
    • Persian
    • Personal and Social Development
    • Physical Education
    • Physics
    • Portuguese
    • Professional Services
    • Projects
    • Psychology
    • Public Services
    • Quantitative Methods
    • Religious Studies
    • Retail
    • Science
    • Sociology
    • Spanish
    • Sport and Leisure
    • Teaching and Support
    • Text Processing
    • Travel and Tourism
    • Turkish
    • Twenty First Century Science Suite
    • Warehousing and Distribution
  • OCR for

    OCR for

    • Assessors
    • Employers
    • Exams officers
    • Higher Education
    • Learners and parents
    • Teachers
    • Training providers
  • I want to

    I want to

    Download past papers

    • Download past papers, mark schemes and examiner reports
    • ExamCreator
    • Past papers policy
    • Past papers availability

    Administer exams and assessments

    • Become a centre
    • Become an assessor
    • Check key dates and timetables
    • Check fees information
    • Check results
    • Create a scheme of work
    • Download admin guides
    • Download basedata
    • Download raw mark and UMS grade boundaries
    • Find out about E-assessment
    • Replace a lost certificate
    • Request a post-results service
    • Submit entries

    Get support and updates

    • Read subject information updates
    • Receive email updates
    • Read exams officer updates
    • Visit other OCR websites
    • Find out about GCSE and A Level reform
    • Offer OCR qualifications

    Find training and development

    • Book Professional Development
  • News

    News

    • Latest news
    • Agenda newsletter
    • OCR Policy Briefing
  • Events

    Events

    • Upcoming events
    • Past events
    • Book Professional Development
  • Community
  • Contact us

    Contact us

    • Complaints policy
    • Customer support
    • Feedback
    • Freedom of information
    • Ireland and Wales
    • Our national offices
    • Press office

    Frequently asked questions

    • Answers@OCR website
  • Help

    Help

    Contact

    • Contact OCR
    • Our national offices
    • Send us feedback

    Help with…

    • Finding qualifications
    • Finding results information
    • Finding past papers
    • Replacing a certificate
    • University placement
    • GCSE and A Level reform
    • Centre approval
    • Our policies
    • Copyright
    • Finding webpages

    Frequent queries

    • Answers@OCR website
  • Log in to Interchange
  • About us
  • GCSE and A Level reform
  • Vocational Education and Skills

AS and A Level OCR AS/A Level Computer Science

  • Home
  • Qualifications
  • By type
  • AS and A Level
  • OCR AS/A Level Computer Science
  • Data types (1.4.1)
  • 01 Computer systems
  • Structure and function of the processor (1.1.1)
  • Types of processor (1.1.2)
  • Input, output and storage devices (1.1.3)
  • System software development (1.2.1)
  • System application generation (1.2.2)
  • Software development (1.2.3)
  • Types of programming language (1.2.4)
  • Compression, encryption and hashing (1.3.1)
  • Networks (1.3.3)
  • Web technologies (1.3.4)
  • Data types (1.4.1)
  • Data structures (1.4.2)
  • Boolean Algebra (1.4.3)

Share

Data types (1.4.1)

Navigate to resources by choosing units within one of the unit groups shown below.

Introduction

Overview

Delivery guides are designed to represent a body of knowledge about teaching a particular topic and contain: 

  • Content: A clear outline of the content covered by the delivery guide; 
  • Thinking Conceptually: Expert guidance on the key concepts involved, common difficulties students may have, approaches to teaching that can help students understand these concepts and how this topic links conceptually to other areas of the subject; 
  • Thinking Contextually: A range of suggested teaching activities using a variety of themes so that different activities can be selected which best suit particular classes, learning styles or teaching approaches.

Curriculum content

Overview

a) Primitive data types, integer, real/floating point, character, string and Boolean 

b) Represent positive integers in binary. 

c) Use of Sign and Magnitude and Two’s Complement to represent negative numbers in binary. 

d) Addition and subtraction of binary integers. 

e) Represent positive integers in hexadecimal 

f) Convert positive integers between Binary Hexadecimal and denary 

g) Representation and normalisation of floating point numbers in binary. 

h) Floating point arithmetic, positive and negative numbers, addition and subtraction. 

i) Bitwise manipulation and masks: shifts, combining with AND, OR, and XOR. 

j) How character sets (ASCII and UNICODE) are used to represent text. 

Numbers and Binary addition

The BBC Bitesize website for computer science contains much of the content needed for this topic. Learners could use this resource independently and can also self-test since there are multiple-choice tests for each section.

Share activity

  • Copy URL
  • Email

Resources

  • Numbers and Binary addition
    • Copy URL
    • Email

Thinking conceptually

Overview

Data types are the fundamental building block of understanding about how data is stored in a computer program. 

It is important that students have an appreciation of how the computer stores data and carries out calculations even though these may not be used in many day-to-day programming activities and can therefore even be considered esoteric. Some might say it is important that you draw this line as to not put off students from entering the field after study as it is one of the more ‘dry’ parts of the course content. A good proportion of those in industry who ‘code’ might never touch binary, let alone bitwise operators. 

Common misconceptions or difficulties students may have 

Students usually have issues with treating numbers in a different way than they are normally used to, but this is something that students must overcome. There are mathematical components such as addition, multiplication and using exponents that students should have a solid grasp of before starting this part of the course. Students’ learning and understanding will benefit through having worked-through examples to reference and lots of practice. Parallels could be drawn between these and puzzles such as Sudoku in that they require you to have lots of practice to become versed in doing the calculations and complete them with speed. 

It also must be noted that the subject matter isn’t particularly relatable to real life and so can seem quite abstract and dull at times. It would be a good idea to weave in and out of this topic with something that is a bit less taxing on the mind. It might, for example, be a good idea to cover a topic like 1.5.2 Moral and Ethical Issues at the same time, so that this topic has chance to sink in and helps to maintain student interest. 

This may also give some time to get exemplar questions completed for homework or as lesson starters/plenaries to help students remember, and if students have any large problems with it from a mathematical perspective and need any additional help.

Conceptual links to other areas of the specification – useful ways to approach this topic to set students up for topics later in the course. 

Other areas of the specification that would link to Data Types are 1.4.2 Data Structures and 1.4.3 Boolean Algebra. It would be advised that this topic is taught first as it covers primitive data types. 

This topic also has a direct link to the programming element and so if possible, it would be good to teach points a) and j) using an actual programming language such as: 

  • Python 
  • C family of languages (for example C# C+ etc.) 
  • Java 
  • Visual Basic 
  • Delphi.

Thinking contextually

Overview

ACTIVITIES 

Unless the learner has studied Computer Science before, it is unlikely that they have come across many of the data types present since we are unlikely to encounter them outside the realm of the subject area. 

It is suggested that: 

  • Lots of examples are given 
  • Perhaps get students to make up their own examples as this can make the process seem more real and meaningful 
  • Where possible using an actual programming language to demonstrate examples such as points a) and j) would make it more practical and therefore meaningful for students.

Denary to Hex conversion jigsaw

This activity works best in pairs or groups of 3. It addresses misconceptions and provides practice of converting Denary to Hex. 

Cut out the 24 triangular jigsaw pieces for each group. 

The group task is to match sides to create a hexagon from the triangular pieces. 

Use matching pairs to further consolidate concepts, for example: 38 = 26h and 61 = 3Dh 

Ask students how many possible sets of numbers they can find. 

Furthermore students could find ASCII equivalents (see 'ASCII Table' resource). 

Further jigsaws can be created yourself using freely available Tarsia software (see 'Further jigsaws' resource).

Share activity

  • Copy URL
  • Email

Resources

  • Learner resource 1
    • Copy URL
    • Email
  • Teacher resource 1
    • Copy URL
    • Email
  • ASCII Table
    • Copy URL
    • Email
  • Further jigsaws
    • Copy URL
    • Email

Bitwise manipulation activity

Each member of the class should be given one of the unfilled worksheets. 

The students should fill in these worksheets using what they have learnt about bitwise manipulation and shifting in order to consolidate their learning.

Share activity

  • Copy URL
  • Email

Resources

  • Learner resource 2
    • Copy URL
    • Email
  • Teacher resource 2
    • Copy URL
    • Email

Binary numbers

Activity in many different languages along with other interpretations and links to similar activities in order to get students out of their seats.

Share activity

  • Copy URL
  • Email

Resources

  • Binary numbers
    • Copy URL
    • Email

Binary numbers game

Online flash game that students can use to test out their skills. Could be used as a competition with prizes.

Share activity

  • Copy URL
  • Email

Resources

  • Binary numbers game
    • Copy URL
    • Email

Acknowledgements

Overview

OCR’s resources are provided to support the teaching of OCR specifications, but in no way constitute an endorsed teaching method that is required by the Board and the decision to use them lies with the individual teacher. Whilst every effort is made to ensure the accuracy of the content, OCR cannot be held responsible for any errors or omissions within these resources. We update our resources on a regular basis, so please check the OCR website to ensure you have the most up to date version.

© OCR 2015 - This resource may be freely copied and distributed, as long as the OCR logo and this message remain intact and OCR is acknowledged as the originator of this work.

About us

  • Contact us
  • Jobs
  • Our policies
  • What we do
  • Who we are

Help and support

  • Answers@OCR website
  • OCR Blogs
  • OCR Community
  • OCR CPD Hub

I want to

  • Book Professional Development
  • Check key dates and timetables
  • Check results
  • Download past papers, mark schemes and examiner reports
  • Find out about GCSE and A Level reform
  • Submit entries

Part of

  • Cambridge Assessment logo
  • LRQA logo

Select an OCR site

Administration

  • Interchange Opens in new window

Support

  • Answers@OCR website Opens in new window
  • OCR Blogs Opens in new window
  • OCR Community Opens in new window
  • OCR CPD Hub Opens in new window

Qualifications

  • Cambridge GCSE Computing Online Opens in new window
  • OCR STEM Developing skills and knowledge across the STEM spectrum.
  • TIME Training in Maths and English for post 16 learners

© OCR

  • Sitemap
  • Privacy policy
  • Terms and conditions
  • Accessibility
  • Copyright statement
  • Use of cookies
Back to top