
Python 程式碼基礎
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Medium
玉曄 陳
Used 13+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
在 Python 中,單行註解使用哪個符號?
//
#
/*
--
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Python 中的基本資料型態,用type( )指出的型態,何者錯誤?
int整數
float浮點數
string字串
bool布林值
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
要取得字串的倒序排列,應使用哪個語法?
A) str[::-1]
B) str.reverse()
C) str.split()
D) str.sort()
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
在 Python 中,哪個函數用來輸出資料?
input()
print()
output()
display()
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
使用哪個方法可以將字串轉換為整數?
str()
int()
float()
bool()
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
在 Python 中,哪個運算符用於取餘數?
A) +
B) -
C) *
D) %
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
在 Python 中,如何使用 if 條件判斷?
if (條件) { }
if 條件:
if [條件]
if {條件}
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
16 questions
Lesson Plan 2.2
Quiz
•
9th - 12th Grade
16 questions
Python Functions
Quiz
•
9th - 12th Grade
20 questions
Bab 3 : Kod Arahan T2
Quiz
•
7th - 10th Grade
20 questions
BÀI 24-25 TIN 10
Quiz
•
10th Grade
20 questions
G10 CS Programming Constructs/Concepts
Quiz
•
10th Grade
22 questions
Coding basics
Quiz
•
4th - 12th Grade
20 questions
ask t3
Quiz
•
10th Grade
15 questions
Информатика
Quiz
•
9th - 11th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
