Sequence (CIE IGCSE Computer Science)

Revision Note

Test Yourself
Becci Peters

Expertise

Computer Science

Sequence

What is Sequence?

  • Sequence is a concept that involves executing instructions in a particular order
  • It is used in programming languages to perform tasks in a step-by-step manner
  • Sequence is a fundamental concept in computer science and is used in many programming languages

Pseudocode example:

PRINT "Hello, World!"

x5

y10

z x + y

PRINT z

Python example:

print("Hello, World!")

x = 5

y = 10

z = x + y

print(z)

Java example:

 System.out.println("Hello, World!");

 int x = 5;

 int y = 10;

 int z = x + y;

 System.out.println(z);

Visual Basic example:

Console.WriteLine("Hello, World!")

Dim x As Integer = 5

Dim y As Integer = 10

Dim z As Integer = x + y

Console.WriteLine(z)

Exam Tip

  • Always remember to write your instructions in the order in which you want them to be executed

You've read 0 of your 0 free revision notes

Get unlimited access

to absolutely everything:

  • Downloadable PDFs
  • Unlimited Revision Notes
  • Topic Questions
  • Past Papers
  • Model Answers
  • Videos (Maths and Science)

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Did this page help you?

Becci Peters

Author: Becci Peters

Becci has been a passionate Computing teacher for over 9 years, teaching Computing across the UK helping to engage, interest and develop confidence in the subject at all levels. Working as a Head of Department and then as an educational consultant, Becci has advised schools in England, where her role was to support and coach teachers to improve Computing teaching for all. Becci is also a senior examiner for multiple exam boards covering GCSE & A-level. She has worked as a lecturer at a university, lecturing trainee teachers for Computing.