Computer Science GCES EDEXCEL
-
Decomposition And Abstraction Edexcel2 主题
-
Algorithms Edexcel11 主题
-
Follow And Write Algorithms Edexcel
-
Introduction To Programming Concepts Edexcel
-
Basic Programming Concepts Edexcel
-
Variables Constants And Assignments Edexcel
-
Data Structures And Arrays Edexcel
-
Arithmetic Relational And Logical Operations Edexcel
-
Determine Outputs Of An Algorithm Edexcel
-
Types Of Errors Edexcel
-
Standard Sorting Algorithms Edexcel
-
Standard Searching Algorithms Edexcel
-
Algorithm Efficiency Edexcel
-
Follow And Write Algorithms Edexcel
-
Truth Tables Edexcel3 主题
-
Binary Edexcel6 主题
-
Data Representation Edexcel4 主题
-
Data Storage And Compression Edexcel2 主题
-
Hardware Edexcel5 主题
-
Software Edexcel3 主题
-
Programming Languages Edexcel2 主题
-
Networks Edexcel7 主题
-
Network Security Edexcel2 主题
-
Environmental Issues Edexcel1 主题
-
Ethical And Legal Issues Edexcel3 主题
-
Cybersecurity Edexcel2 主题
-
Develop Code Edexcel6 主题
-
Constructs Edexcel4 主题
-
Data Types And Data Structures Edexcel5 主题
-
Operators Edexcel1 主题
-
Subprograms Edexcel2 主题
Follow And Write Algorithms Edexcel
Exam code:1CP2
What is an algorithm?
-
An algorithm is precise set of rules or instructions to solve a specific problem or task
-
There are two main ways to write an algorithm
-
Flowchart
-
Pseudocode
-
Flowcharts
What is a flowchart?
-
Flowcharts are a visual tool that uses shapes to represent different functions to describe an algorithm
-
Flowcharts show the data that is input and output, the processes that take place and any decisions or repetition
-
Lines are used to show the flow of control

Example
|
Flowchart |
|---|
![]() |
-
The casino would like the algorithm refined so that the user also enters their first name and this is used to greet the user when they access the site
|
Flowchart |
|---|
![]() |
Pseudocode
What is pseudocode?
-
Pseudocode is a text-based tool that uses short English words/statements to describe an algorithm
-
Pseudocode is more structured than writing sentences in English but is very flexible
-
In exams, pseudocode will appear in the format of Python 3 as per the Programming Language Subset (PLS) document from Edexcel (opens in a new tab)
Example
-
A casino would like a program that asks users to enter an age, if they are 18 or over they can enter the site, if not then they are given a suitable message
|
Pseudocode |
|---|
|
-
The casino would like the algorithm refined so that the user also enter their first name and this is used to greet the user when they access the site
|
Pseudocode |
|---|
|


Responses