InfoCode

China · CONTESTS & CERTIFICATIONS

GESP C++

The CCF Programming Ability Certification (GESP) is initiated and hosted by the China Computer Federation, covers all grade levels of primary and secondary schools, and the languages assessed include graphical programming, Python programming, and C++ programming.

Stages, knowledge and performance requirements

Official syllabus entries and site preparation units are labeled separately. Matching topics do not establish equal depth; unmapped does not mean excluded.

Level 1

Knowledge mapping from an official syllabus

Recorded response format: objective answers and program reading + independent programming implementation

Recorded scope: 19 topics. This describes the scope, not the learner’s mastery.

View knowledge scope and syllabus entries

These topics are mapped from the recorded syllabus entries. Expand the entries below for their requirements.

Knowledge areaTopics
Computing foundationsProgram structure, tools and debugging Computer organization, operating systems and history
Variables and typesBasic data types Identifiers and keywords Value ranges and overflow Constants, variables and assignment
ExpressionsArithmetic Integer division and remainder Compound assignment and increments Logical expressions Operator precedence Comparisons Conditional operator
Input and outputcin and cout scanf and printf
Control flowConditional branches break and continue Loops Sequential execution
Syllabus entries · 6 items
EntryRequirement summary
1.1计算机基础与编程环境、计算机历史(计算机的基本构成、操作系统,集成开发环境的编辑、编译与调试,程序的注释)
1.2变量的定义与使用(标识符、关键字、常量、变量、表达式;命名、定义、初始化与赋值)
1.3基本数据类型(整型 int、long long,实数型 float、double,字符型 char,布尔型 bool)
1.4控制语句结构(顺序、循环、选择):if、if-else、switch,for、while、do-while,continue 与 break
1.5基本运算(算术运算含整除与求余、关系运算、逻辑运算、自增与自减、三目运算)
1.6输入输出语句(cin、cout、scanf、printf)、赋值语句

Level 2

Knowledge mapping from an official syllabus

Recorded response format: objective answers and program reading + independent programming implementation

Recorded scope: 27 topics. This describes the scope, not the learner’s mastery.

View knowledge scope and syllabus entries

These topics are mapped from the recorded syllabus entries. Expand the entries below for their requirements.

Knowledge areaTopics
Computing foundationsProgram structure, tools and debugging Computer organization, operating systems and history Programming language characteristics Storage and networks
Variables and typesASCII encoding Basic data types Type conversion Identifiers and keywords Value ranges and overflow Constants, variables and assignment
ExpressionsArithmetic Integer division and remainder Compound assignment and increments Logical expressions Operator precedence Comparisons Conditional operator
Input and outputcin and cout scanf and printf
Control flowConditional branches Nested branches break and continue Loops Nested loops Sequential execution
Mathematical functionsCommon mathematical functions
Algorithm foundationsAlgorithm descriptions and flowcharts
Syllabus entries · 11 items
EntryRequirement summary
1.1计算机基础与编程环境、计算机历史(计算机的基本构成、操作系统,集成开发环境的编辑、编译与调试,程序的注释)
1.2变量的定义与使用(标识符、关键字、常量、变量、表达式;命名、定义、初始化与赋值)
1.3基本数据类型(整型 int、long long,实数型 float、double,字符型 char,布尔型 bool)
1.4控制语句结构(顺序、循环、选择):if、if-else、switch,for、while、do-while,continue 与 break
1.5基本运算(算术运算含整除与求余、关系运算、逻辑运算、自增与自减、三目运算)
1.6输入输出语句(cin、cout、scanf、printf)、赋值语句
2.1计算机的存储(RAM、ROM、Cache)与网络(网络分类:广域网 WAN、城域网 MAN、局域网 LAN;TCP/IP 四层与 OSI 七层模型、不同层级的重要协议;IP 地址及子网划分)、程序设计语言的特点
2.2流程图的概念与描述
2.3ASCII 编码、数据类型的转换(强制类型转换、隐式类型转换)
2.4多层分支 / 循环嵌套结构
2.5常用数学函数(绝对值函数、平方根函数、max 函数、min 函数、随机数函数 rand()/srand())

Level 3

Knowledge mapping from an official syllabus

Recorded response format: objective answers and program reading + independent programming implementation

Recorded scope: 36 topics. This describes the scope, not the learner’s mastery.

View knowledge scope and syllabus entries

These topics are mapped from the recorded syllabus entries. Expand the entries below for their requirements.

Knowledge areaTopics
Computing foundationsProgram structure, tools and debugging Computer organization, operating systems and history Programming language characteristics Storage and networks
Variables and typesASCII encoding Basic data types Type conversion Identifiers and keywords Value ranges and overflow Constants, variables and assignment
ExpressionsArithmetic Integer division and remainder Compound assignment and increments Logical expressions Operator precedence Comparisons Conditional operator
Input and outputcin and cout scanf and printf
Control flowConditional branches Nested branches break and continue Loops Nested loops Sequential execution
Mathematical functionsCommon mathematical functions
Data encodingBitwise operations Sign-magnitude, ones' complement, two's complement Base conversion
ArraysOne-dimensional arrays and bounds Array traversal, totals and extrema
StringsStrings and string operations Character arrays
Algorithm foundationsAlgorithm descriptions and flowcharts Enumeration Simulation
Syllabus entries · 17 items
EntryRequirement summary
1.1计算机基础与编程环境、计算机历史(计算机的基本构成、操作系统,集成开发环境的编辑、编译与调试,程序的注释)
1.2变量的定义与使用(标识符、关键字、常量、变量、表达式;命名、定义、初始化与赋值)
1.3基本数据类型(整型 int、long long,实数型 float、double,字符型 char,布尔型 bool)
1.4控制语句结构(顺序、循环、选择):if、if-else、switch,for、while、do-while,continue 与 break
1.5基本运算(算术运算含整除与求余、关系运算、逻辑运算、自增与自减、三目运算)
1.6输入输出语句(cin、cout、scanf、printf)、赋值语句
2.1计算机的存储(RAM、ROM、Cache)与网络(网络分类:广域网 WAN、城域网 MAN、局域网 LAN;TCP/IP 四层与 OSI 七层模型、不同层级的重要协议;IP 地址及子网划分)、程序设计语言的特点
2.2流程图的概念与描述
2.3ASCII 编码、数据类型的转换(强制类型转换、隐式类型转换)
2.4多层分支 / 循环嵌套结构
2.5常用数学函数(绝对值函数、平方根函数、max 函数、min 函数、随机数函数 rand()/srand())
3.1数据编码(原码、反码、补码)
3.2进制转换(二进制、八进制、十进制、十六进制)
3.3位运算(&、|、~、^、<<、>>)
3.4算法概念与描述(自然语言、流程图、伪代码)
3.5C++ 一维数组基本应用(不包括变长数组)、字符串及其函数(大小写转换、字符串搜索、分割、替换)
3.6算法:枚举法、模拟法

Level 4

Knowledge mapping from an official syllabus

Recorded response format: objective answers and program reading + independent programming implementation

Recorded scope: 47 topics. This describes the scope, not the learner’s mastery.

View knowledge scope and syllabus entries

These topics are mapped from the recorded syllabus entries. Expand the entries below for their requirements.

Knowledge areaTopics
Computing foundationsProgram structure, tools and debugging Computer organization, operating systems and history Programming language characteristics Storage and networks
Variables and typesASCII encoding Basic data types Type conversion Identifiers and keywords Value ranges and overflow Constants, variables and assignment
ExpressionsArithmetic Integer division and remainder Compound assignment and increments Logical expressions Operator precedence Comparisons Conditional operator
Input and outputcin and cout File input/output and redirection scanf and printf
Control flowConditional branches Nested branches break and continue Loops Nested loops Sequential execution
Mathematical functionsCommon mathematical functions
Data encodingBitwise operations Sign-magnitude, ones' complement, two's complement Base conversion
ArraysOne-dimensional arrays and bounds Multidimensional arrays Array traversal, totals and extrema
StringsStrings and string operations Character arrays
Algorithm foundationsComplexity estimation Algorithm descriptions and flowcharts Enumeration Recurrence Simulation
FunctionsFunction definition and invocation Parameter passing: by value, by reference, by pointer Variable scope
Pointers and recordsPointers Structs
SortingBubble, insertion, selection sort and stability
RobustnessException handling
Syllabus entries · 24 items
EntryRequirement summary
1.1计算机基础与编程环境、计算机历史(计算机的基本构成、操作系统,集成开发环境的编辑、编译与调试,程序的注释)
1.2变量的定义与使用(标识符、关键字、常量、变量、表达式;命名、定义、初始化与赋值)
1.3基本数据类型(整型 int、long long,实数型 float、double,字符型 char,布尔型 bool)
1.4控制语句结构(顺序、循环、选择):if、if-else、switch,for、while、do-while,continue 与 break
1.5基本运算(算术运算含整除与求余、关系运算、逻辑运算、自增与自减、三目运算)
1.6输入输出语句(cin、cout、scanf、printf)、赋值语句
2.1计算机的存储(RAM、ROM、Cache)与网络(网络分类:广域网 WAN、城域网 MAN、局域网 LAN;TCP/IP 四层与 OSI 七层模型、不同层级的重要协议;IP 地址及子网划分)、程序设计语言的特点
2.2流程图的概念与描述
2.3ASCII 编码、数据类型的转换(强制类型转换、隐式类型转换)
2.4多层分支 / 循环嵌套结构
2.5常用数学函数(绝对值函数、平方根函数、max 函数、min 函数、随机数函数 rand()/srand())
3.1数据编码(原码、反码、补码)
3.2进制转换(二进制、八进制、十进制、十六进制)
3.3位运算(&、|、~、^、<<、>>)
3.4算法概念与描述(自然语言、流程图、伪代码)
3.5C++ 一维数组基本应用(不包括变长数组)、字符串及其函数(大小写转换、字符串搜索、分割、替换)
3.6算法:枚举法、模拟法
4.1函数的声明、定义与调用(不含匿名函数、类的括号运算符重载)、形参与实参、作用域(全局变量与局部变量)
4.2C++ 指针类型的概念及基本应用(定义、赋值、解引用)
4.3函数参数传递机制(值传递、引用传递、指针传递)
4.4C++ 结构体(结构体数组、结构体指针、嵌套、做函数参数、结构体中 const 使用场景);二维及多维数组(不包括变长数组)
4.5排序的概念(内排序与外排序、时间与空间复杂度、使用场景、稳定性);冒泡排序、插入排序、选择排序
4.6简单算法复杂度估算(含多项式、指数复杂度)
4.7递推算法(递推关系式推导)、文件重定向与读写操作(含文本文件的分类)、异常处理

Level 5

Knowledge mapping from an official syllabus

Recorded response format: objective answers and program reading + independent programming implementation

Recorded scope: 60 topics. This describes the scope, not the learner’s mastery.

View knowledge scope and syllabus entries

These topics are mapped from the recorded syllabus entries. Expand the entries below for their requirements.

Knowledge areaTopics
Computing foundationsProgram structure, tools and debugging Computer organization, operating systems and history Programming language characteristics Storage and networks
Variables and typesASCII encoding Basic data types Type conversion Identifiers and keywords Value ranges and overflow Constants, variables and assignment
ExpressionsArithmetic Integer division and remainder Compound assignment and increments Logical expressions Operator precedence Comparisons Conditional operator
Input and outputcin and cout File input/output and redirection scanf and printf
Control flowConditional branches Nested branches break and continue Loops Nested loops Sequential execution
Mathematical functionsCommon mathematical functions
Data encodingBitwise operations Sign-magnitude, ones' complement, two's complement Base conversion
ArraysOne-dimensional arrays and bounds Multidimensional arrays Array traversal, totals and extrema
StringsStrings and string operations Character arrays
Algorithm foundationsComplexity estimation Algorithm descriptions and flowcharts Enumeration Recurrence Simulation
FunctionsFunction definition and invocation Parameter passing: by value, by reference, by pointer Recursion Variable scope
Pointers and recordsPointers Structs
SortingBubble, insertion, selection sort and stability Merge sort Quicksort
RobustnessException handling
Number theoryElementary number theory: properties of prime numbers, divisors, and congruences Unique factorization theorem Euclidean algorithm Sieve of Eratosthenes and linear sieve
Large-number representationsHigh-precision addition, subtraction, multiplication, and division
Data structuresLinked list
Algorithmic strategiesBinary search on answer Binary search Divide and conquer Greedy
Syllabus entries · 32 items
EntryRequirement summary
1.1计算机基础与编程环境、计算机历史(计算机的基本构成、操作系统,集成开发环境的编辑、编译与调试,程序的注释)
1.2变量的定义与使用(标识符、关键字、常量、变量、表达式;命名、定义、初始化与赋值)
1.3基本数据类型(整型 int、long long,实数型 float、double,字符型 char,布尔型 bool)
1.4控制语句结构(顺序、循环、选择):if、if-else、switch,for、while、do-while,continue 与 break
1.5基本运算(算术运算含整除与求余、关系运算、逻辑运算、自增与自减、三目运算)
1.6输入输出语句(cin、cout、scanf、printf)、赋值语句
2.1计算机的存储(RAM、ROM、Cache)与网络(网络分类:广域网 WAN、城域网 MAN、局域网 LAN;TCP/IP 四层与 OSI 七层模型、不同层级的重要协议;IP 地址及子网划分)、程序设计语言的特点
2.2流程图的概念与描述
2.3ASCII 编码、数据类型的转换(强制类型转换、隐式类型转换)
2.4多层分支 / 循环嵌套结构
2.5常用数学函数(绝对值函数、平方根函数、max 函数、min 函数、随机数函数 rand()/srand())
3.1数据编码(原码、反码、补码)
3.2进制转换(二进制、八进制、十进制、十六进制)
3.3位运算(&、|、~、^、<<、>>)
3.4算法概念与描述(自然语言、流程图、伪代码)
3.5C++ 一维数组基本应用(不包括变长数组)、字符串及其函数(大小写转换、字符串搜索、分割、替换)
3.6算法:枚举法、模拟法
4.1函数的声明、定义与调用(不含匿名函数、类的括号运算符重载)、形参与实参、作用域(全局变量与局部变量)
4.2C++ 指针类型的概念及基本应用(定义、赋值、解引用)
4.3函数参数传递机制(值传递、引用传递、指针传递)
4.4C++ 结构体(结构体数组、结构体指针、嵌套、做函数参数、结构体中 const 使用场景);二维及多维数组(不包括变长数组)
4.5排序的概念(内排序与外排序、时间与空间复杂度、使用场景、稳定性);冒泡排序、插入排序、选择排序
4.6简单算法复杂度估算(含多项式、指数复杂度)
4.7递推算法(递推关系式推导)、文件重定向与读写操作(含文本文件的分类)、异常处理
5.1初等数论:素数与合数、最大公约数与最小公倍数、同余与模运算、约数与倍数、质因数分解、奇偶性;辗转相除法(欧几里得算法)、唯一分解定理
5.2素数表的埃氏筛法和线性筛法
5.3(C++)数组模拟高精度加、减、乘、除
5.4链表:单链表、双链表、循环链表的创建、插入、删除、遍历、查找与反转
5.5二分查找 / 二分答案(二分枚举法)
5.6贪心算法(最优子结构);分治算法(归并排序和快速排序)
5.7算法复杂度估算(含多项式、指数、对数复杂度)
5.8递归:基本原理与应用,递归的时间与空间复杂度分析,递归的优化策略

Level 6

Knowledge mapping from an official syllabus

Recorded response format: objective answers and program reading + independent programming implementation

Recorded scope: 71 topics. This describes the scope, not the learner’s mastery.

View knowledge scope and syllabus entries

These topics are mapped from the recorded syllabus entries. Expand the entries below for their requirements.

Knowledge areaTopics
Computing foundationsProgram structure, tools and debugging Computer organization, operating systems and history Programming language characteristics Storage and networks
Variables and typesASCII encoding Basic data types Type conversion Identifiers and keywords Value ranges and overflow Constants, variables and assignment
ExpressionsArithmetic Integer division and remainder Compound assignment and increments Logical expressions Operator precedence Comparisons Conditional operator
Input and outputcin and cout File input/output and redirection scanf and printf
Control flowConditional branches Nested branches break and continue Loops Nested loops Sequential execution
Mathematical functionsCommon mathematical functions
Data encodingBitwise operations Sign-magnitude, ones' complement, two's complement Gray code Base conversion
ArraysOne-dimensional arrays and bounds Multidimensional arrays Array traversal, totals and extrema
StringsStrings and string operations Character arrays
Algorithm foundationsComplexity estimation Algorithm descriptions and flowcharts Enumeration Recurrence Simulation
FunctionsFunction definition and invocation Parameter passing: by value, by reference, by pointer Recursion Variable scope
Pointers and recordsClasses and object-oriented programming Pointers Structs
SortingBubble, insertion, selection sort and stability Merge sort Quicksort
RobustnessException handling
Number theoryElementary number theory: properties of prime numbers, divisors, and congruences Unique factorization theorem Euclidean algorithm Sieve of Eratosthenes and linear sieve
Large-number representationsHigh-precision addition, subtraction, multiplication, and division
Data structuresLinked list Queues Stack
Algorithmic strategiesBinary search on answer Binary search Divide and conquer Greedy
TreesTrees and binary trees: definition, storage, and traversal Complete binary tree and binary search tree Huffman tree and Huffman coding
SearchBreadth-first search Depth-first search
Dynamic programmingSimple knapsack One-dimensional dynamic programming
Syllabus entries · 38 items
EntryRequirement summary
1.1计算机基础与编程环境、计算机历史(计算机的基本构成、操作系统,集成开发环境的编辑、编译与调试,程序的注释)
1.2变量的定义与使用(标识符、关键字、常量、变量、表达式;命名、定义、初始化与赋值)
1.3基本数据类型(整型 int、long long,实数型 float、double,字符型 char,布尔型 bool)
1.4控制语句结构(顺序、循环、选择):if、if-else、switch,for、while、do-while,continue 与 break
1.5基本运算(算术运算含整除与求余、关系运算、逻辑运算、自增与自减、三目运算)
1.6输入输出语句(cin、cout、scanf、printf)、赋值语句
2.1计算机的存储(RAM、ROM、Cache)与网络(网络分类:广域网 WAN、城域网 MAN、局域网 LAN;TCP/IP 四层与 OSI 七层模型、不同层级的重要协议;IP 地址及子网划分)、程序设计语言的特点
2.2流程图的概念与描述
2.3ASCII 编码、数据类型的转换(强制类型转换、隐式类型转换)
2.4多层分支 / 循环嵌套结构
2.5常用数学函数(绝对值函数、平方根函数、max 函数、min 函数、随机数函数 rand()/srand())
3.1数据编码(原码、反码、补码)
3.2进制转换(二进制、八进制、十进制、十六进制)
3.3位运算(&、|、~、^、<<、>>)
3.4算法概念与描述(自然语言、流程图、伪代码)
3.5C++ 一维数组基本应用(不包括变长数组)、字符串及其函数(大小写转换、字符串搜索、分割、替换)
3.6算法:枚举法、模拟法
4.1函数的声明、定义与调用(不含匿名函数、类的括号运算符重载)、形参与实参、作用域(全局变量与局部变量)
4.2C++ 指针类型的概念及基本应用(定义、赋值、解引用)
4.3函数参数传递机制(值传递、引用传递、指针传递)
4.4C++ 结构体(结构体数组、结构体指针、嵌套、做函数参数、结构体中 const 使用场景);二维及多维数组(不包括变长数组)
4.5排序的概念(内排序与外排序、时间与空间复杂度、使用场景、稳定性);冒泡排序、插入排序、选择排序
4.6简单算法复杂度估算(含多项式、指数复杂度)
4.7递推算法(递推关系式推导)、文件重定向与读写操作(含文本文件的分类)、异常处理
5.1初等数论:素数与合数、最大公约数与最小公倍数、同余与模运算、约数与倍数、质因数分解、奇偶性;辗转相除法(欧几里得算法)、唯一分解定理
5.2素数表的埃氏筛法和线性筛法
5.3(C++)数组模拟高精度加、减、乘、除
5.4链表:单链表、双链表、循环链表的创建、插入、删除、遍历、查找与反转
5.5二分查找 / 二分答案(二分枚举法)
5.6贪心算法(最优子结构);分治算法(归并排序和快速排序)
5.7算法复杂度估算(含多项式、指数、对数复杂度)
5.8递归:基本原理与应用,递归的时间与空间复杂度分析,递归的优化策略
6.1树的定义、构造与遍历;哈夫曼树、完全二叉树、二叉排序树
6.2哈夫曼编码、格雷编码
6.3深度优先搜索(DFS)、宽度优先搜索(BFS)、二叉树的搜索算法
6.4简单动态规划(一维动态规划、简单背包问题)
6.5面向对象的思想(封装、继承、多态)、类的创建和初始化
6.6数据结构:栈、队列、循环队列

Level 7

Knowledge mapping from an official syllabus

Recorded response format: objective answers and program reading + independent programming implementation

Recorded scope: 79 topics. This describes the scope, not the learner’s mastery.

View knowledge scope and syllabus entries

These topics are mapped from the recorded syllabus entries. Expand the entries below for their requirements.

Knowledge areaTopics
Computing foundationsProgram structure, tools and debugging Computer organization, operating systems and history Programming language characteristics Storage and networks
Variables and typesASCII encoding Basic data types Type conversion Identifiers and keywords Value ranges and overflow Constants, variables and assignment
ExpressionsArithmetic Integer division and remainder Compound assignment and increments Logical expressions Operator precedence Comparisons Conditional operator
Input and outputcin and cout File input/output and redirection scanf and printf
Control flowConditional branches Nested branches break and continue Loops Nested loops Sequential execution
Mathematical functionsCommon mathematical functions Math library: trigonometric, logarithmic, exponential
Data encodingBitwise operations Sign-magnitude, ones' complement, two's complement Gray code Base conversion
ArraysOne-dimensional arrays and bounds Multidimensional arrays Array traversal, totals and extrema
StringsStrings and string operations Character arrays
Algorithm foundationsComplexity estimation Algorithm descriptions and flowcharts Enumeration Recurrence Simulation
FunctionsFunction definition and invocation Parameter passing: by value, by reference, by pointer Recursion Variable scope
Pointers and recordsClasses and object-oriented programming Pointers Structs
SortingBubble, insertion, selection sort and stability Merge sort Quicksort
RobustnessException handling
Number theoryElementary number theory: properties of prime numbers, divisors, and congruences Unique factorization theorem Euclidean algorithm Sieve of Eratosthenes and linear sieve
Large-number representationsHigh-precision addition, subtraction, multiplication, and division
Data structuresHash table Linked list Queues Stack
Algorithmic strategiesBinary search on answer Binary search Divide and conquer Greedy
TreesTrees and binary trees: definition, storage, and traversal Complete binary tree and binary search tree Huffman tree and Huffman coding
SearchBreadth-first search Depth-first search Flood fill algorithm
Dynamic programmingTwo-dimensional dynamic programming Interval dynamic programming Simple knapsack One-dimensional dynamic programming Dynamic programming extremum optimization and rolling array
GraphsGraph representations Graph traversal
Syllabus entries · 42 items
EntryRequirement summary
1.1计算机基础与编程环境、计算机历史(计算机的基本构成、操作系统,集成开发环境的编辑、编译与调试,程序的注释)
1.2变量的定义与使用(标识符、关键字、常量、变量、表达式;命名、定义、初始化与赋值)
1.3基本数据类型(整型 int、long long,实数型 float、double,字符型 char,布尔型 bool)
1.4控制语句结构(顺序、循环、选择):if、if-else、switch,for、while、do-while,continue 与 break
1.5基本运算(算术运算含整除与求余、关系运算、逻辑运算、自增与自减、三目运算)
1.6输入输出语句(cin、cout、scanf、printf)、赋值语句
2.1计算机的存储(RAM、ROM、Cache)与网络(网络分类:广域网 WAN、城域网 MAN、局域网 LAN;TCP/IP 四层与 OSI 七层模型、不同层级的重要协议;IP 地址及子网划分)、程序设计语言的特点
2.2流程图的概念与描述
2.3ASCII 编码、数据类型的转换(强制类型转换、隐式类型转换)
2.4多层分支 / 循环嵌套结构
2.5常用数学函数(绝对值函数、平方根函数、max 函数、min 函数、随机数函数 rand()/srand())
3.1数据编码(原码、反码、补码)
3.2进制转换(二进制、八进制、十进制、十六进制)
3.3位运算(&、|、~、^、<<、>>)
3.4算法概念与描述(自然语言、流程图、伪代码)
3.5C++ 一维数组基本应用(不包括变长数组)、字符串及其函数(大小写转换、字符串搜索、分割、替换)
3.6算法:枚举法、模拟法
4.1函数的声明、定义与调用(不含匿名函数、类的括号运算符重载)、形参与实参、作用域(全局变量与局部变量)
4.2C++ 指针类型的概念及基本应用(定义、赋值、解引用)
4.3函数参数传递机制(值传递、引用传递、指针传递)
4.4C++ 结构体(结构体数组、结构体指针、嵌套、做函数参数、结构体中 const 使用场景);二维及多维数组(不包括变长数组)
4.5排序的概念(内排序与外排序、时间与空间复杂度、使用场景、稳定性);冒泡排序、插入排序、选择排序
4.6简单算法复杂度估算(含多项式、指数复杂度)
4.7递推算法(递推关系式推导)、文件重定向与读写操作(含文本文件的分类)、异常处理
5.1初等数论:素数与合数、最大公约数与最小公倍数、同余与模运算、约数与倍数、质因数分解、奇偶性;辗转相除法(欧几里得算法)、唯一分解定理
5.2素数表的埃氏筛法和线性筛法
5.3(C++)数组模拟高精度加、减、乘、除
5.4链表:单链表、双链表、循环链表的创建、插入、删除、遍历、查找与反转
5.5二分查找 / 二分答案(二分枚举法)
5.6贪心算法(最优子结构);分治算法(归并排序和快速排序)
5.7算法复杂度估算(含多项式、指数、对数复杂度)
5.8递归:基本原理与应用,递归的时间与空间复杂度分析,递归的优化策略
6.1树的定义、构造与遍历;哈夫曼树、完全二叉树、二叉排序树
6.2哈夫曼编码、格雷编码
6.3深度优先搜索(DFS)、宽度优先搜索(BFS)、二叉树的搜索算法
6.4简单动态规划(一维动态规划、简单背包问题)
6.5面向对象的思想(封装、继承、多态)、类的创建和初始化
6.6数据结构:栈、队列、循环队列
7.1数学库常用函数(三角 sin、cos,对数 log10、log2,指数 exp)
7.2复杂动态规划:二维动态规划、动态规划最值优化,包括区间动态规划、最长上升子序列(LIS)、最长公共子序列(LCS),基于滚动数组的空间优化
7.3图的定义(有向图、无向图、节点的度)与存储表示,基于 DFS、BFS 的图遍历,泛洪(flood fill)算法
7.4哈希表的概念及应用

Level 8

Knowledge mapping from an official syllabus

Recorded response format: objective answers and program reading + independent programming implementation

Recorded scope: 89 topics. This describes the scope, not the learner’s mastery.

View knowledge scope and syllabus entries

These topics are mapped from the recorded syllabus entries. Expand the entries below for their requirements.

Knowledge areaTopics
Computing foundationsProgram structure, tools and debugging Computer organization, operating systems and history Programming language characteristics Storage and networks
Variables and typesASCII encoding Basic data types Type conversion Identifiers and keywords Value ranges and overflow Constants, variables and assignment
ExpressionsArithmetic Integer division and remainder Compound assignment and increments Logical expressions Operator precedence Comparisons Conditional operator
Input and outputcin and cout File input/output and redirection scanf and printf
Control flowConditional branches Nested branches break and continue Loops Nested loops Sequential execution
Mathematical functionsCommon mathematical functions Math library: trigonometric, logarithmic, exponential
Data encodingBitwise operations Sign-magnitude, ones' complement, two's complement Gray code Base conversion
ArraysOne-dimensional arrays and bounds Multidimensional arrays Array traversal, totals and extrema
StringsStrings and string operations Character arrays
Algorithm foundationsComplexity estimation Algorithm descriptions and flowcharts Enumeration Complexity optimization Recurrence Simulation
FunctionsFunction definition and invocation Parameter passing: by value, by reference, by pointer Recursion Variable scope
Pointers and recordsClasses and object-oriented programming Pointers Structs
SortingBubble, insertion, selection sort and stability Merge sort Quicksort
RobustnessException handling
Number theoryElementary number theory: properties of prime numbers, divisors, and congruences Unique factorization theorem Euclidean algorithm Sieve of Eratosthenes and linear sieve
Large-number representationsHigh-precision addition, subtraction, multiplication, and division
Data structuresHash table Linked list Queues Stack
Algorithmic strategiesBinary lifting Binary search on answer Binary search Divide and conquer Greedy
TreesTrees and binary trees: definition, storage, and traversal Complete binary tree and binary search tree Huffman tree and Huffman coding
SearchBreadth-first search Depth-first search Flood fill algorithm
Dynamic programmingTwo-dimensional dynamic programming Interval dynamic programming Simple knapsack One-dimensional dynamic programming Dynamic programming extremum optimization and rolling array
GraphsMinimum spanning trees Shortest paths Graph representations Graph traversal
CombinatoricsCounting principles Pascal's triangle Permutations and combinations
Mathematical reasoningAlgebraic operations Equations and applications Plane geometry and coordinates
Syllabus entries · 48 items
EntryRequirement summary
1.1计算机基础与编程环境、计算机历史(计算机的基本构成、操作系统,集成开发环境的编辑、编译与调试,程序的注释)
1.2变量的定义与使用(标识符、关键字、常量、变量、表达式;命名、定义、初始化与赋值)
1.3基本数据类型(整型 int、long long,实数型 float、double,字符型 char,布尔型 bool)
1.4控制语句结构(顺序、循环、选择):if、if-else、switch,for、while、do-while,continue 与 break
1.5基本运算(算术运算含整除与求余、关系运算、逻辑运算、自增与自减、三目运算)
1.6输入输出语句(cin、cout、scanf、printf)、赋值语句
2.1计算机的存储(RAM、ROM、Cache)与网络(网络分类:广域网 WAN、城域网 MAN、局域网 LAN;TCP/IP 四层与 OSI 七层模型、不同层级的重要协议;IP 地址及子网划分)、程序设计语言的特点
2.2流程图的概念与描述
2.3ASCII 编码、数据类型的转换(强制类型转换、隐式类型转换)
2.4多层分支 / 循环嵌套结构
2.5常用数学函数(绝对值函数、平方根函数、max 函数、min 函数、随机数函数 rand()/srand())
3.1数据编码(原码、反码、补码)
3.2进制转换(二进制、八进制、十进制、十六进制)
3.3位运算(&、|、~、^、<<、>>)
3.4算法概念与描述(自然语言、流程图、伪代码)
3.5C++ 一维数组基本应用(不包括变长数组)、字符串及其函数(大小写转换、字符串搜索、分割、替换)
3.6算法:枚举法、模拟法
4.1函数的声明、定义与调用(不含匿名函数、类的括号运算符重载)、形参与实参、作用域(全局变量与局部变量)
4.2C++ 指针类型的概念及基本应用(定义、赋值、解引用)
4.3函数参数传递机制(值传递、引用传递、指针传递)
4.4C++ 结构体(结构体数组、结构体指针、嵌套、做函数参数、结构体中 const 使用场景);二维及多维数组(不包括变长数组)
4.5排序的概念(内排序与外排序、时间与空间复杂度、使用场景、稳定性);冒泡排序、插入排序、选择排序
4.6简单算法复杂度估算(含多项式、指数复杂度)
4.7递推算法(递推关系式推导)、文件重定向与读写操作(含文本文件的分类)、异常处理
5.1初等数论:素数与合数、最大公约数与最小公倍数、同余与模运算、约数与倍数、质因数分解、奇偶性;辗转相除法(欧几里得算法)、唯一分解定理
5.2素数表的埃氏筛法和线性筛法
5.3(C++)数组模拟高精度加、减、乘、除
5.4链表:单链表、双链表、循环链表的创建、插入、删除、遍历、查找与反转
5.5二分查找 / 二分答案(二分枚举法)
5.6贪心算法(最优子结构);分治算法(归并排序和快速排序)
5.7算法复杂度估算(含多项式、指数、对数复杂度)
5.8递归:基本原理与应用,递归的时间与空间复杂度分析,递归的优化策略
6.1树的定义、构造与遍历;哈夫曼树、完全二叉树、二叉排序树
6.2哈夫曼编码、格雷编码
6.3深度优先搜索(DFS)、宽度优先搜索(BFS)、二叉树的搜索算法
6.4简单动态规划(一维动态规划、简单背包问题)
6.5面向对象的思想(封装、继承、多态)、类的创建和初始化
6.6数据结构:栈、队列、循环队列
7.1数学库常用函数(三角 sin、cos,对数 log10、log2,指数 exp)
7.2复杂动态规划:二维动态规划、动态规划最值优化,包括区间动态规划、最长上升子序列(LIS)、最长公共子序列(LCS),基于滚动数组的空间优化
7.3图的定义(有向图、无向图、节点的度)与存储表示,基于 DFS、BFS 的图遍历,泛洪(flood fill)算法
7.4哈希表的概念及应用
8.1计数原理(加法原理、乘法原理)、排列与组合、杨辉三角
8.2倍增法(概念与时间复杂度)
8.3代数与平面几何(初中数学部分):一元一次方程、二元一次方程,基础平面几何概念,长方形、三角形、圆形等基本图形的面积
8.4图论算法及综合应用:最小生成树(kruskal、prim)、最短路径(单源 dijkstra、Floyd)
8.5较复杂算法的时间和空间效率分析(排序、查找、树和图的遍历、搜索、分治、动态规划等)
8.6算法优化(比较不同解法的复杂度,用数学知识辅助求解,如等差、等比数列求和公式)

Exam and preparation information

Covers all grade levels of primary and secondary schools, with levels one through eight in total

Graphical, Python, C++

Items still requiring verification
  • The subsequent registration arrangements for the 16th certification are subject to the registration notice

Official resources and scope

Sources checked: 2026-10-13 · Supplementary verification of recent notices and certification standard attachments

Check dates, eligibility, ranking and advancement against the organizer’s current rules. Site practice records do not replace official results or eligibility.

Questions and answers

What is GESP C++?

The CCF Programming Ability Certification (GESP) is initiated and hosted by the China Computer Federation, covers all grade levels of primary and secondary schools, and the languages assessed include graphical programming, Python programming, and C++ programming.

Which stages and preparation scopes are available?

Recorded stages / groups: Level 1 · Level 2 · Level 3 · Level 4 · Level 5 · Level 6 · Level 7 · Level 8

Are these official past problems or complete mocks?

Open the stage practice and paper catalogue to see available content. Reference papers retain their original exam identities. Full past-paper practice requires membership; short objective sessions are free. Available papers do not represent a current official exam.

Can practice from other goals inform my preparation?

Independent, scored work in the current language profile can be matched by knowledge identity across goals. Objective and programming evidence remain separate. Records do not establish mastery or passing; unpracticed topics lack evidence.

Can I compare knowledge and performance requirements with another contest?

Choose two stages or groups to compare recorded knowledge scopes, source requirements or site preparation units. Overlapping topics do not establish equal depth. Unmapped requirements remain unknown, rather than excluded.

Back to contests and certifications · Compare knowledge and requirements