2015年Bebras挑战练习题-Theatre(剧院)

Three spotlights are used to light the theatre stage in the beavers' forest -- a red one, a green one and a blue one.

在海狸的森林里,有三盏聚光灯照亮了剧院的舞台——一盏红色的、一盏绿色的和一盏蓝色的。

The colour of the stage depends on which of the three spotlights are turned on.

舞台的颜色取决于三盏聚光灯中哪一盏被打开。

This table shows the possible combinations of colours.

这张表格展示了颜色的可能组合。

2015年Bebras挑战练习题-Theatre(剧院)

From the beginning of the show, the lights will be switched on and off in this pattern:

从演出一开始,灯光就会按照这种模式开启和关闭:

  • The red light repeats the sequence: two minutes off, two minutes on.红灯重复这样的循环:亮两分钟,灭两分钟。
  • The green light repeats the sequence: one minute off, one minute on.绿灯重复这样的模式:熄灭一分钟,亮起一分钟。
  • The blue light repeats the sequence: four minutes on, four minutes off.蓝色的灯光重复着这样的模式:亮四分钟,灭四分钟。

Question: 问题:

What will the colour of the stage be in the first 4 minutes of the show?

演出开始后的前 4 分钟,舞台会是什么颜色?

Drag the correct colour onto the block of the minute.

将正确的颜色拖到分钟的方块上。

 

 

 

 

 

Explanation 解释

The way colors can be constructed from three basic colors of lights is the RGB color model. It is used, among many other places, in computer monitors and TV sets to show pictures. Pictures are made up of pixels, which are colored as a combination of the three basic colors. It is an important principle of computer hardware and computer graphics.

由三种基本色光构建颜色的方式即为 RGB 颜色模型。它被广泛应用于计算机显示器和电视机等众多领域以显示图像。图像由像素组成,每个像素都是由这三种基本颜色组合而成的。这是计算机硬件和计算机图形学中的一个重要原理。2015年Bebras挑战练习题-Theatre(剧院)The task also involves an understanding of sequences of actions – in this case the sequence of switching particular light(s) on and off. It is an important part of algorithmic thinking. This is also an example of parallel execution of three independent sequences.

这项任务还涉及对一系列动作的理解——在这种情况下,就是特定灯光的开启和关闭顺序。这是算法思维的一个重要部分。这也是三个独立序列并行执行的一个例子。

Bebras新赛季备赛已开启,扫码领取Bebras真题资料⇓

欢迎咨询【Bebras专业辅导课程】

(Bebras每日一练部分展示)

在线客服
微信咨询