Chinese (zh-CN)

Name

编程原理-语句和函数

Overview

我们将从为自己的视频游戏创建小程序开始,展示语句和函数是如何工作的。我们不会用特定语言编写代码,但是我们将向您展示条件语句,例如IF和ELSE语句,而循环和FOR循环如何控制几乎所有语言中的程序流,然后我们将这些指令打包成我们的游戏调用的函数,以执行越来越复杂的操作。

English (en-US)

Name

Programming Basics: Statements & Functions

Overview

Today, Carrie Anne is going to start our overview of the fundamental building blocks of programming languages. We’ll start by creating small programs for our very own video game to show how statements and functions work. We aren’t going to code in a specific language, but we’ll show you how conditional statements like IF and ELSE statements, WHILE loops, and FOR loops control the flow of programs in nearly all languages, and then we’ll finish by packaging up these instructions into functions that can be called by our game to perform more and more complex actions.

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login