C++ Basics (GESP Level 1)

In this article, I will guide you through the content of GESP Level 1, helping you to successfully pass the exam.

01

Level 1 Knowledge Points

C++ Basics (GESP Level 1)

“The above image is from the GESP official website gesp.ccf.org.cn”

Looking ahead, you will see the first two knowledge points, which are secondary focuses. A dedicated article will be published later on these topics. Today, we will discuss: the definition and usage of variables, basic data types, control statement structures, basic operations, and input/output statements.

(1) Definition and Usage of Variables

The definition of variables was covered in the previous article, so I will briefly explain it here.

C++ Basics (GESP Level 1)

I provided an example of defining and using an int type variable, along with three simple examples.

(2) Basic Data Types

This was also discussed in the previous article, so I will summarize it briefly.

C++ Basics (GESP Level 1)

Each variable type is defined with a variable and includes comments.

(3) Control Statement Structures

These are divided into sequential, loop, and logical structures.

Sequential Structure: Simply put, it executes in order from top to bottom.

Example below:

C++ Basics (GESP Level 1)

Loop Structure: for loop and while loop.

Example below:

C++ Basics (GESP Level 1)

You can see that the for statement is slightly simpler.

Selection Structure: if and if…else.

Example below:

C++ Basics (GESP Level 1)

Here I inputted a 5, and the output was less than 10.

The remaining two knowledge points are relatively simple, so I won’t cover them. If you have any questions, feel free to add the author’s WeChat.

02

How to Find the Outline

Type gesp.ccf.org.cn in the browser.

C++ Basics (GESP Level 1)

When the mouse hovers over the four characters of certification materials, select the certification outline in this section to download.

That’s it, it’s time to say goodbye.

If you have any questions, please add the author’s WeChat.

WeChat ID: morning_ak

WeChat same as phone number: 18999261126 (please do not call, I will not answer).

It was not easy to create this, so please give a follow.

Leave a Comment