CS1考題

CS1考題

10th Grade

23 Qs

quiz-placeholder

Similar activities

11900系發21-40

11900系發21-40

9th - 12th Grade

20 Qs

CSDC_TEST

CSDC_TEST

KG - Professional Development

25 Qs

11900程61-80

11900程61-80

9th - 12th Grade

20 Qs

11900程101-120

11900程101-120

9th - 12th Grade

20 Qs

112年度一般人員資通安全通識教育訓練測驗

112年度一般人員資通安全通識教育訓練測驗

9th - 12th Grade

20 Qs

L1 Quiz

L1 Quiz

4th - 12th Grade

22 Qs

1819 電腦科 校本課程

1819 電腦科 校本課程

5th - 11th Grade

28 Qs

2122 EXAM Paper 1A

2122 EXAM Paper 1A

10th Grade

20 Qs

CS1考題

CS1考題

Assessment

Quiz

Computers

10th Grade

Medium

Created by

SUIHUAI HUANG

Used 4+ times

FREE Resource

23 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

遊戲的主角是誰?

princess

hero

Demon

king

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

如何命令英雄攻擊名為"Treg"的目標?

hero.attack("Treg")

hero.attend("Treg")

hero.hit('Treg')

hero.hit("Treg")

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

如何在Python中定義一個變數名為score並賦值為10?

score = 10

var score = 10

int score = 10

let score = 10

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

在Python中,如何定義一個變數name並將其值設為字符串"John"?

name2= 'John' 

name = John

name = "John" 

var name = 'John'

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

如何在Python中定義一個迴圈,使其重複執行三次?

for i in range(5):

for i in range(3): 

while i < 3:

while True:

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

如何使用while迴圈讓英雄無限次數地向右移動兩步然後向下移動一步?(先省略縮排問題)

while True:
hero.moveRight(2)
hero.moveDown()

while i < 3:
hero.moveRight(2)
hero.moveDown()

for i in range(3):
hero.moveRight(2)
hero.moveDown()

for i in range(5):
hero.moveRight(2)
hero.moveDown()

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

在英雄指令中,如何命令英雄說出“1+1”?

hero.say("1+1")

hero.speak("1+1")

hero.tell("1+1")

hero.say(1+1)

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?