Course Content
Course Syllabus & Exams
0/1
Week 33 – End of Year 1 Mock Exam (Paper 1 Theory)
0/1
Week 34 – End of Year 1 Mock Exam (Paper 2 Programming)
0/1
Week 43 – Identifying Types of Database & Understanding Database Structures
0/4
Week 51 – Robotics in the Home & Programming Challenge 15
0/3
Week 52 – Assistance Robots for Disabilities
0/2
Week 53 – The Impact of Plagiarism
0/2
Week 54 – Artificial Intelligence
0/2
Week 55 – Exam Paper Walkthrough (Paper 1 Theory)
0/1
Week 56 – Exam Paper Walkthrough (Paper 2 Programming)
0/1
iGCSE Computer Science – Network International School
About Lesson
IntroductionData Types VideoData Type DefinitionsProgramming ActivityDiscussion Activity

There are five main data types that are used at GCSE, and as a part of your course (and later your exam) you will be expected to understand how they work and when it is most appropriate to use them. Creating practice programs on a regular basis is the best way to do this – although we are introducing data types this week, we will be referring back to each of these five types regularly throughout the course.

The definitions below will give you the basic knowledge needed to use these data types, but I strongly recommend that you complete the full Data Types section to give you more information and practical ways to apply your knowledge.

Char – a single character (symbol)

String – one or more characters, often forming a word or phrase

Integer – a whole number

Real – a decimal number (aka. a float)

Boolean – a special type that only holds either True or False

Activity

Try using the python below to test the data types of each piece of code (you can change & run the code directly on this webpage – to save any code that you change, either copy it into your own coding program or use the Repl “fork”):

Discussion

Add to the discussion in the “Comments” section above – identify the different data types that we use everyday. Try to add an example that hasn’t been suggested yet.

Join the conversation
0% Complete
Verified by MonsterInsights