每一句英文都有翻譯,可以只看中文部分,也可以對照著看~
Programming Lamps 編程控制的燈泡(Age group: Primary, age 8-10; Difficulty: medium)A beaver controls a grid of lamps by using a special keyboard. By one command he can change states of all lamps in respective column or row: if a lamp is shining – it is turned off, if a lamp is not shining – it is turned on. 小海狸用一塊特殊的鍵盤控制著右邊的燈泡。他一次用一個命令只能改變一行或者一列中所有燈光的狀態:如果是亮著的,就會關掉;如果是關著的,就會打開。Now C represents a column and R a row. For example, a command 1C turns on all lamps of the first column. If we repeat the same command (1C), all lamps of the first column will be turned off. C代表一列,R代表一行。比如,只用一個命令1C,表示把第一列的所有燈泡由關變為開,再重複一次1C就可以把第一列這些燈泡恢復一開始的關狀態。D. 1C 2C 3C 4C 5C 1C 5C 1R 5RTwo of the above programs give the result as shown in the picture. Two of the programs presents a different result. Which of them?其中有兩個選項可以得到現在右邊顯示的結果。請說出是哪兩項?The binary number system plays a central role in how information of all kinds is stored on computers. Understanding binary logic can lift a lot of the mystery from computers, because at a fundamental level they’re really just machines for flipping binary digits on and off. Binary representation is very much used in informatics, since all data are stored into bits, and each bit can take either 0 or 1 as value. Construction of lamp is based on binary logic, or Boolean algebra, when two states are used: light is on (shining) - light is off (not shining).二進位數制系統在計算機信息存儲中佔有重要地位。理解二進位邏輯,可以在很大程度上消除計算機的神秘感,因為計算機本質上就是一臺變換二進位數字的機器。二進位表示在信息學中應用普遍,所有的數據都是按位存儲,每一位只能是0或1兩個值。這道控制燈泡的題目就是基於二進位邏輯或者叫布爾代數,僅有兩種狀態:燈泡是開著的狀態(亮)或者是關著的狀態(滅)。
與非學堂(codingclassonline)
一個專注青少年信息技術教育,探討少兒編程的教與學,交流技巧、分享資源的公眾號。
---
【課件分享】
【超詳細Scratch教學課件分享】簡單倒計時
【超詳細Scratch教學課件分享】可暫停倒計時
【超詳細Scratch教學課件分享】兩位數可暫停倒計時
【超詳細Python教學課件分享】尋寶探路
【超詳細Python教學課件分享】遞歸傳話
藍橋杯青少組選拔賽STEMA考試樣題及解析(科技素養及邏輯思維)
Bebras國際計算思維挑戰賽解析-學前級
【Scratch競賽每日一題】雷電猴與寶箱
【Scratch競賽每日一題】海狸的語言
【Scratch競賽每日一題】限時猜數字
【Scratch競賽每日一題】小貓回城堡
【Scratch競賽每日一題】小貓狐狸賽跑
【Scratch競賽每日一題】小法師的穿牆術
編程是一種新的素養
編程課怎麼安排知識點?
信息技術教師資格證面試和少兒編程老師面試,竟然這麼不同!
少兒編程的幾種課程模式
那些語文老師不會多講,數學老師認為你會的關聯詞
編程卻被我媽一直說成玩遊戲,我該咋辦?
【免費快領】Scratch編程秘籍PDF
零基礎孩子的第一節Scratch課,應該學什麼?
Scratch晉級Python,一路要打通哪些關?
這些東西,比光讓孩子學編程重要100倍