
變數與輸出結果測試
Authored by Lam Ken
Computers
8th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. 以下哪個是正確的變數名稱?
class1
student name
B. student_name
student@name
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2. 以下哪個變數名稱是不正確的?
C. while
12age
user-name
score_
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3. 以上程式碼會輸出什麼?
x * y
A. 15
20
15.0
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4. 以上程式碼會輸出什麼?
Greetings, Alice
Hello, Bob
A. Hello, Alice
Hi, Alice
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5. 空格應該填寫什麼變數名稱?
player+score
playerScore
score2
player_score
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6. 以上程式碼會輸出什麼?
B. 24
A. 21
A. 14
C. 9
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
8. 以上程式碼會輸出什麼?
banana
orange
grape
A. apple
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?