CS1考題

CS1考題

10th Grade

23 Qs

quiz-placeholder

Similar activities

HTML DİLİNE GİRİŞ

HTML DİLİNE GİRİŞ

1st - 10th Grade

19 Qs

DASAR DASAR KREATIVITAS

DASAR DASAR KREATIVITAS

10th Grade

20 Qs

Review Unit 1-3

Review Unit 1-3

5th Grade - University

20 Qs

EXCEL TEST

EXCEL TEST

KG - University

23 Qs

Photoshop3

Photoshop3

2nd Grade - University

20 Qs

EV3

EV3

9th - 11th Grade

21 Qs

MS EXCEL

MS EXCEL

8th - 10th Grade

20 Qs

CS1考題

CS1考題

Assessment

Quiz

Computers

10th Grade

Medium

Created by

SUIHUAI HUANG

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?