Programming Techniques: Operators, Control Flow and Functions | 编程技术:运算符、控制流与函数

📚 Programming Techniques: Operators, Control Flow and Functions | 编程技术:运算符、控制流与函数

In Edexcel A Level Computer Science, programming questions assess more than remembering syntax: they test your ability to read, trace and design algorithms using exam pseudocode, Python or another high-level language. This guide brings together operators, control structures, subprograms, recursion and algorithm efficiency in a focused revision format.

在 Edexcel A Level 计算机科学中,编程题考查的不只是记住语法:它们测试你使用考试伪代码、Python 或其他高级语言阅读、跟踪和设计算法的能力。本指南以集中复习的形式,汇总运算符、控制结构、子程序、递归和算法效率。


1. Operators and Expressions | 运算符与表达式

Operators are the building blocks of expressions. In Edexcel pseudocode, you are expected to know arithmetic operators (+ – * / MOD DIV), comparison operators (= ≠ < > ≤ ≥) and logical operators (AND OR NOT).

运算符是表达式的基本构件。在 Edexcel 伪代码中,你需要掌握算术运算符(+ – * / MOD DIV)、比较运算符(= ≠ < > ≤ ≥)以及逻辑运算符(AND OR NOT)。

The integer division operator DIV returns the whole-number quotient, while MOD returns the remainder. For example, 17 DIV 5 = 3 and 17 MOD 5 = 2.

整数除法运算符 DIV 返回整数商,而 MOD 返回余数。例如,17 DIV 5 = 3,17 MOD 5 = 2。

更多咨询请联系16621398022(同微信)
📞 咨询 / 微信:16621398022(同微信)
A-Level / IGCSE / IB / AP 课程辅导 · 真题资料 · 留学申请规划
查看联系方式 →

Comments

屏轩国际教育cambridge primary/secondary checkpoint, cat4, ukiset,ukcat,igcse,alevel,PAT,STEP,MAT, ibdp,ap,ssat,sat,sat2课程辅导,国外大学本科硕士研究生博士课程论文辅导

Turn on JavaScript to leave a comment.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

咨询微信:16621398022(同微信) · 联系我们