CS1考題

CS1考題

10th Grade

23 Qs

quiz-placeholder

Similar activities

Access Lesson 6

Access Lesson 6

9th - 12th Grade

20 Qs

Microsoft Word 2013Review

Microsoft Word 2013Review

KG - University

20 Qs

SQA Presentations Quiz 1

SQA Presentations Quiz 1

10th Grade

18 Qs

UNIT 1.3 STORAGE

UNIT 1.3 STORAGE

10th Grade

20 Qs

Module 20 - Essentials of Networking 1

Module 20 - Essentials of Networking 1

9th - 12th Grade

20 Qs

Komjardas KD 10

Komjardas KD 10

10th Grade

20 Qs

adobe photoshop 2015 certification quiz 2

adobe photoshop 2015 certification quiz 2

9th - 12th Grade

20 Qs

ĐÁP ÁN KTTX số 1 - Tin 7 - HK2  - NH: 24 -25

ĐÁP ÁN KTTX số 1 - Tin 7 - HK2 - NH: 24 -25

1st Grade - University

20 Qs

CS1考題

CS1考題

Assessment

Quiz

Computers

10th Grade

Practice Problem

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?